amazonka-cloudwatch-events 1.6.1 → 2.0
raw patch · 265 files changed
+27428/−4196 lines, 265 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.CloudWatchEvents: Disabled :: RuleState
- Network.AWS.CloudWatchEvents: Enabled :: RuleState
- Network.AWS.CloudWatchEvents: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: _InternalException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: _InvalidEventPatternException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: _PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents: bapSize :: Lens' BatchArrayProperties (Maybe Int)
- Network.AWS.CloudWatchEvents: batchArrayProperties :: BatchArrayProperties
- Network.AWS.CloudWatchEvents: batchParameters :: Text -> Text -> BatchParameters
- Network.AWS.CloudWatchEvents: batchRetryStrategy :: BatchRetryStrategy
- Network.AWS.CloudWatchEvents: bpArrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
- Network.AWS.CloudWatchEvents: bpJobDefinition :: Lens' BatchParameters Text
- Network.AWS.CloudWatchEvents: bpJobName :: Lens' BatchParameters Text
- Network.AWS.CloudWatchEvents: bpRetryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
- Network.AWS.CloudWatchEvents: brsAttempts :: Lens' BatchRetryStrategy (Maybe Int)
- Network.AWS.CloudWatchEvents: cloudWatchEvents :: Service
- Network.AWS.CloudWatchEvents: data BatchArrayProperties
- Network.AWS.CloudWatchEvents: data BatchParameters
- Network.AWS.CloudWatchEvents: data BatchRetryStrategy
- Network.AWS.CloudWatchEvents: data EcsParameters
- Network.AWS.CloudWatchEvents: data InputTransformer
- Network.AWS.CloudWatchEvents: data KinesisParameters
- Network.AWS.CloudWatchEvents: data PutEventsRequestEntry
- Network.AWS.CloudWatchEvents: data PutEventsResultEntry
- Network.AWS.CloudWatchEvents: data PutTargetsResultEntry
- Network.AWS.CloudWatchEvents: data RemoveTargetsResultEntry
- Network.AWS.CloudWatchEvents: data Rule
- Network.AWS.CloudWatchEvents: data RuleState
- Network.AWS.CloudWatchEvents: data RunCommandParameters
- Network.AWS.CloudWatchEvents: data RunCommandTarget
- Network.AWS.CloudWatchEvents: data SqsParameters
- Network.AWS.CloudWatchEvents: data Target
- Network.AWS.CloudWatchEvents: ecsParameters :: Text -> EcsParameters
- Network.AWS.CloudWatchEvents: epTaskCount :: Lens' EcsParameters (Maybe Natural)
- Network.AWS.CloudWatchEvents: epTaskDefinitionARN :: Lens' EcsParameters Text
- Network.AWS.CloudWatchEvents: inputTransformer :: Text -> InputTransformer
- Network.AWS.CloudWatchEvents: itInputPathsMap :: Lens' InputTransformer (HashMap Text Text)
- Network.AWS.CloudWatchEvents: itInputTemplate :: Lens' InputTransformer Text
- Network.AWS.CloudWatchEvents: kinesisParameters :: Text -> KinesisParameters
- Network.AWS.CloudWatchEvents: kpPartitionKeyPath :: Lens' KinesisParameters Text
- Network.AWS.CloudWatchEvents: pereDetail :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereDetailType :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereErrorCode :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereErrorMessage :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereEventId :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereResources :: Lens' PutEventsRequestEntry [Text]
- Network.AWS.CloudWatchEvents: pereSource :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime)
- Network.AWS.CloudWatchEvents: ptreErrorCode :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: ptreErrorMessage :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: ptreTargetId :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: putEventsRequestEntry :: PutEventsRequestEntry
- Network.AWS.CloudWatchEvents: putEventsResultEntry :: PutEventsResultEntry
- Network.AWS.CloudWatchEvents: putTargetsResultEntry :: PutTargetsResultEntry
- Network.AWS.CloudWatchEvents: rARN :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rDescription :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rEventPattern :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rName :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rRoleARN :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rScheduleExpression :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents: rState :: Lens' Rule (Maybe RuleState)
- Network.AWS.CloudWatchEvents: rcpRunCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)
- Network.AWS.CloudWatchEvents: rctKey :: Lens' RunCommandTarget Text
- Network.AWS.CloudWatchEvents: rctValues :: Lens' RunCommandTarget (NonEmpty Text)
- Network.AWS.CloudWatchEvents: removeTargetsResultEntry :: RemoveTargetsResultEntry
- Network.AWS.CloudWatchEvents: rtreErrorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: rtreErrorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: rtreTargetId :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents: rule :: Rule
- Network.AWS.CloudWatchEvents: runCommandParameters :: NonEmpty RunCommandTarget -> RunCommandParameters
- Network.AWS.CloudWatchEvents: runCommandTarget :: Text -> NonEmpty Text -> RunCommandTarget
- Network.AWS.CloudWatchEvents: spMessageGroupId :: Lens' SqsParameters (Maybe Text)
- Network.AWS.CloudWatchEvents: sqsParameters :: SqsParameters
- Network.AWS.CloudWatchEvents: tARN :: Lens' Target Text
- Network.AWS.CloudWatchEvents: tBatchParameters :: Lens' Target (Maybe BatchParameters)
- Network.AWS.CloudWatchEvents: tEcsParameters :: Lens' Target (Maybe EcsParameters)
- Network.AWS.CloudWatchEvents: tId :: Lens' Target Text
- Network.AWS.CloudWatchEvents: tInput :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents: tInputPath :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents: tInputTransformer :: Lens' Target (Maybe InputTransformer)
- Network.AWS.CloudWatchEvents: tKinesisParameters :: Lens' Target (Maybe KinesisParameters)
- Network.AWS.CloudWatchEvents: tRoleARN :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents: tRunCommandParameters :: Lens' Target (Maybe RunCommandParameters)
- Network.AWS.CloudWatchEvents: tSqsParameters :: Lens' Target (Maybe SqsParameters)
- Network.AWS.CloudWatchEvents: target :: Text -> Text -> Target
- Network.AWS.CloudWatchEvents.DeleteRule: data DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: data DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: deleteRule :: Text -> DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: deleteRuleResponse :: DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: drName :: Lens' DeleteRule Text
- Network.AWS.CloudWatchEvents.DeleteRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DeleteRule.DeleteRuleResponse
- Network.AWS.CloudWatchEvents.DeleteRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DeleteRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.DeleteRule.DeleteRule
- Network.AWS.CloudWatchEvents.DescribeEventBus: data DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: data DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: debrsARN :: Lens' DescribeEventBusResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeEventBus: debrsName :: Lens' DescribeEventBusResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeEventBus: debrsPolicy :: Lens' DescribeEventBusResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeEventBus: debrsResponseStatus :: Lens' DescribeEventBusResponse Int
- Network.AWS.CloudWatchEvents.DescribeEventBus: describeEventBus :: DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: describeEventBusResponse :: Int -> DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Data.Data.Data Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Data.Data.Data Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeEventBus: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.DescribeEventBus.DescribeEventBus
- Network.AWS.CloudWatchEvents.DescribeRule: data DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: data DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: desName :: Lens' DescribeRule Text
- Network.AWS.CloudWatchEvents.DescribeRule: describeRule :: Text -> DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: describeRuleResponse :: Int -> DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: drrsARN :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsDescription :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsEventPattern :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsName :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsResponseStatus :: Lens' DescribeRuleResponse Int
- Network.AWS.CloudWatchEvents.DescribeRule: drrsRoleARN :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsScheduleExpression :: Lens' DescribeRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.DescribeRule: drrsState :: Lens' DescribeRuleResponse (Maybe RuleState)
- Network.AWS.CloudWatchEvents.DescribeRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DescribeRule.DescribeRuleResponse
- Network.AWS.CloudWatchEvents.DescribeRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DescribeRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.DescribeRule.DescribeRule
- Network.AWS.CloudWatchEvents.DisableRule: dName :: Lens' DisableRule Text
- Network.AWS.CloudWatchEvents.DisableRule: data DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: data DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: disableRule :: Text -> DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: disableRuleResponse :: DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.DisableRule.DisableRuleResponse
- Network.AWS.CloudWatchEvents.DisableRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.DisableRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.DisableRule.DisableRule
- Network.AWS.CloudWatchEvents.EnableRule: data EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: data EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: enableRule :: Text -> EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: enableRuleResponse :: EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: erName :: Lens' EnableRule Text
- Network.AWS.CloudWatchEvents.EnableRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.EnableRule.EnableRuleResponse
- Network.AWS.CloudWatchEvents.EnableRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.EnableRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.EnableRule.EnableRule
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: data ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: data ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTarget :: Text -> ListRuleNamesByTarget
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTargetResponse :: Int -> ListRuleNamesByTargetResponse
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtLimit :: Lens' ListRuleNamesByTarget (Maybe Natural)
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtNextToken :: Lens' ListRuleNamesByTarget (Maybe Text)
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtTargetARN :: Lens' ListRuleNamesByTarget Text
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtrsNextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtrsResponseStatus :: Lens' ListRuleNamesByTargetResponse Int
- Network.AWS.CloudWatchEvents.ListRuleNamesByTarget: lrnbtrsRuleNames :: Lens' ListRuleNamesByTargetResponse [Text]
- Network.AWS.CloudWatchEvents.ListRules: data ListRules
- Network.AWS.CloudWatchEvents.ListRules: data ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListRules.ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.ListRules.ListRules
- Network.AWS.CloudWatchEvents.ListRules: listRules :: ListRules
- Network.AWS.CloudWatchEvents.ListRules: listRulesResponse :: Int -> ListRulesResponse
- Network.AWS.CloudWatchEvents.ListRules: lrLimit :: Lens' ListRules (Maybe Natural)
- Network.AWS.CloudWatchEvents.ListRules: lrNamePrefix :: Lens' ListRules (Maybe Text)
- Network.AWS.CloudWatchEvents.ListRules: lrNextToken :: Lens' ListRules (Maybe Text)
- Network.AWS.CloudWatchEvents.ListRules: lrrsNextToken :: Lens' ListRulesResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.ListRules: lrrsResponseStatus :: Lens' ListRulesResponse Int
- Network.AWS.CloudWatchEvents.ListRules: lrrsRules :: Lens' ListRulesResponse [Rule]
- Network.AWS.CloudWatchEvents.ListTargetsByRule: data ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: data ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: listTargetsByRule :: Text -> ListTargetsByRule
- Network.AWS.CloudWatchEvents.ListTargetsByRule: listTargetsByRuleResponse :: Int -> ListTargetsByRuleResponse
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrLimit :: Lens' ListTargetsByRule (Maybe Natural)
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrNextToken :: Lens' ListTargetsByRule (Maybe Text)
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrRule :: Lens' ListTargetsByRule Text
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrrsNextToken :: Lens' ListTargetsByRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrrsResponseStatus :: Lens' ListTargetsByRuleResponse Int
- Network.AWS.CloudWatchEvents.ListTargetsByRule: ltbrrsTargets :: Lens' ListTargetsByRuleResponse (Maybe (NonEmpty Target))
- Network.AWS.CloudWatchEvents.PutEvents: data PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: data PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutEvents.PutEventsResponse
- Network.AWS.CloudWatchEvents.PutEvents: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.PutEvents.PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: peEntries :: Lens' PutEvents (NonEmpty PutEventsRequestEntry)
- Network.AWS.CloudWatchEvents.PutEvents: persEntries :: Lens' PutEventsResponse [PutEventsResultEntry]
- Network.AWS.CloudWatchEvents.PutEvents: persFailedEntryCount :: Lens' PutEventsResponse (Maybe Int)
- Network.AWS.CloudWatchEvents.PutEvents: persResponseStatus :: Lens' PutEventsResponse Int
- Network.AWS.CloudWatchEvents.PutEvents: putEvents :: NonEmpty PutEventsRequestEntry -> PutEvents
- Network.AWS.CloudWatchEvents.PutEvents: putEventsResponse :: Int -> PutEventsResponse
- Network.AWS.CloudWatchEvents.PutPermission: data PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: data PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutPermission.PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutPermission: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.PutPermission.PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: ppAction :: Lens' PutPermission Text
- Network.AWS.CloudWatchEvents.PutPermission: ppPrincipal :: Lens' PutPermission Text
- Network.AWS.CloudWatchEvents.PutPermission: ppStatementId :: Lens' PutPermission Text
- Network.AWS.CloudWatchEvents.PutPermission: putPermission :: Text -> Text -> Text -> PutPermission
- Network.AWS.CloudWatchEvents.PutPermission: putPermissionResponse :: PutPermissionResponse
- Network.AWS.CloudWatchEvents.PutRule: data PutRule
- Network.AWS.CloudWatchEvents.PutRule: data PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutRule.PutRuleResponse
- Network.AWS.CloudWatchEvents.PutRule: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.PutRule.PutRule
- Network.AWS.CloudWatchEvents.PutRule: prDescription :: Lens' PutRule (Maybe Text)
- Network.AWS.CloudWatchEvents.PutRule: prEventPattern :: Lens' PutRule (Maybe Text)
- Network.AWS.CloudWatchEvents.PutRule: prName :: Lens' PutRule Text
- Network.AWS.CloudWatchEvents.PutRule: prRoleARN :: Lens' PutRule (Maybe Text)
- Network.AWS.CloudWatchEvents.PutRule: prScheduleExpression :: Lens' PutRule (Maybe Text)
- Network.AWS.CloudWatchEvents.PutRule: prState :: Lens' PutRule (Maybe RuleState)
- Network.AWS.CloudWatchEvents.PutRule: prrsResponseStatus :: Lens' PutRuleResponse Int
- Network.AWS.CloudWatchEvents.PutRule: prrsRuleARN :: Lens' PutRuleResponse (Maybe Text)
- Network.AWS.CloudWatchEvents.PutRule: putRule :: Text -> PutRule
- Network.AWS.CloudWatchEvents.PutRule: putRuleResponse :: Int -> PutRuleResponse
- Network.AWS.CloudWatchEvents.PutTargets: data PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: data PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Data.Data.Data Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Read.Read Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance GHC.Show.Show Network.AWS.CloudWatchEvents.PutTargets.PutTargetsResponse
- Network.AWS.CloudWatchEvents.PutTargets: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.PutTargets.PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: ptRule :: Lens' PutTargets Text
- Network.AWS.CloudWatchEvents.PutTargets: ptTargets :: Lens' PutTargets (NonEmpty Target)
- Network.AWS.CloudWatchEvents.PutTargets: ptrsFailedEntries :: Lens' PutTargetsResponse [PutTargetsResultEntry]
- Network.AWS.CloudWatchEvents.PutTargets: ptrsFailedEntryCount :: Lens' PutTargetsResponse (Maybe Int)
- Network.AWS.CloudWatchEvents.PutTargets: ptrsResponseStatus :: Lens' PutTargetsResponse Int
- Network.AWS.CloudWatchEvents.PutTargets: putTargets :: Text -> NonEmpty Target -> PutTargets
- Network.AWS.CloudWatchEvents.PutTargets: putTargetsResponse :: Int -> PutTargetsResponse
- Network.AWS.CloudWatchEvents.RemovePermission: data RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: data RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Data.Data.Data Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Data.Data.Data Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Read.Read Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Read.Read Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Show.Show Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance GHC.Show.Show Network.AWS.CloudWatchEvents.RemovePermission.RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.RemovePermission.RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: removePermission :: Text -> RemovePermission
- Network.AWS.CloudWatchEvents.RemovePermission: removePermissionResponse :: RemovePermissionResponse
- Network.AWS.CloudWatchEvents.RemovePermission: rpStatementId :: Lens' RemovePermission Text
- Network.AWS.CloudWatchEvents.RemoveTargets: data RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: data RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Data.Data.Data Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Data.Data.Data Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Read.Read Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Read.Read Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Show.Show Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance GHC.Show.Show Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.RemoveTargets.RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: removeTargets :: Text -> NonEmpty Text -> RemoveTargets
- Network.AWS.CloudWatchEvents.RemoveTargets: removeTargetsResponse :: Int -> RemoveTargetsResponse
- Network.AWS.CloudWatchEvents.RemoveTargets: rtIds :: Lens' RemoveTargets (NonEmpty Text)
- Network.AWS.CloudWatchEvents.RemoveTargets: rtRule :: Lens' RemoveTargets Text
- Network.AWS.CloudWatchEvents.RemoveTargets: rtrsFailedEntries :: Lens' RemoveTargetsResponse [RemoveTargetsResultEntry]
- Network.AWS.CloudWatchEvents.RemoveTargets: rtrsFailedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int)
- Network.AWS.CloudWatchEvents.RemoveTargets: rtrsResponseStatus :: Lens' RemoveTargetsResponse Int
- Network.AWS.CloudWatchEvents.TestEventPattern: data TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: data TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Control.DeepSeq.NFData Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Data.Data.Data Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Data.Data.Data Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Classes.Eq Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Generics.Generic Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Read.Read Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Read.Read Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Show.Show Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance GHC.Show.Show Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: instance Network.AWS.Types.AWSRequest Network.AWS.CloudWatchEvents.TestEventPattern.TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: tepEvent :: Lens' TestEventPattern Text
- Network.AWS.CloudWatchEvents.TestEventPattern: tepEventPattern :: Lens' TestEventPattern Text
- Network.AWS.CloudWatchEvents.TestEventPattern: teprsResponseStatus :: Lens' TestEventPatternResponse Int
- Network.AWS.CloudWatchEvents.TestEventPattern: teprsResult :: Lens' TestEventPatternResponse (Maybe Bool)
- Network.AWS.CloudWatchEvents.TestEventPattern: testEventPattern :: Text -> Text -> TestEventPattern
- Network.AWS.CloudWatchEvents.TestEventPattern: testEventPatternResponse :: Int -> TestEventPatternResponse
- Network.AWS.CloudWatchEvents.Types: Disabled :: RuleState
- Network.AWS.CloudWatchEvents.Types: Enabled :: RuleState
- Network.AWS.CloudWatchEvents.Types: _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: _InternalException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: _InvalidEventPatternException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: _PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudWatchEvents.Types: bapSize :: Lens' BatchArrayProperties (Maybe Int)
- Network.AWS.CloudWatchEvents.Types: batchArrayProperties :: BatchArrayProperties
- Network.AWS.CloudWatchEvents.Types: batchParameters :: Text -> Text -> BatchParameters
- Network.AWS.CloudWatchEvents.Types: batchRetryStrategy :: BatchRetryStrategy
- Network.AWS.CloudWatchEvents.Types: bpArrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
- Network.AWS.CloudWatchEvents.Types: bpJobDefinition :: Lens' BatchParameters Text
- Network.AWS.CloudWatchEvents.Types: bpJobName :: Lens' BatchParameters Text
- Network.AWS.CloudWatchEvents.Types: bpRetryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
- Network.AWS.CloudWatchEvents.Types: brsAttempts :: Lens' BatchRetryStrategy (Maybe Int)
- Network.AWS.CloudWatchEvents.Types: cloudWatchEvents :: Service
- Network.AWS.CloudWatchEvents.Types: data BatchArrayProperties
- Network.AWS.CloudWatchEvents.Types: data BatchParameters
- Network.AWS.CloudWatchEvents.Types: data BatchRetryStrategy
- Network.AWS.CloudWatchEvents.Types: data EcsParameters
- Network.AWS.CloudWatchEvents.Types: data InputTransformer
- Network.AWS.CloudWatchEvents.Types: data KinesisParameters
- Network.AWS.CloudWatchEvents.Types: data PutEventsRequestEntry
- Network.AWS.CloudWatchEvents.Types: data PutEventsResultEntry
- Network.AWS.CloudWatchEvents.Types: data PutTargetsResultEntry
- Network.AWS.CloudWatchEvents.Types: data RemoveTargetsResultEntry
- Network.AWS.CloudWatchEvents.Types: data Rule
- Network.AWS.CloudWatchEvents.Types: data RuleState
- Network.AWS.CloudWatchEvents.Types: data RunCommandParameters
- Network.AWS.CloudWatchEvents.Types: data RunCommandTarget
- Network.AWS.CloudWatchEvents.Types: data SqsParameters
- Network.AWS.CloudWatchEvents.Types: data Target
- Network.AWS.CloudWatchEvents.Types: ecsParameters :: Text -> EcsParameters
- Network.AWS.CloudWatchEvents.Types: epTaskCount :: Lens' EcsParameters (Maybe Natural)
- Network.AWS.CloudWatchEvents.Types: epTaskDefinitionARN :: Lens' EcsParameters Text
- Network.AWS.CloudWatchEvents.Types: inputTransformer :: Text -> InputTransformer
- Network.AWS.CloudWatchEvents.Types: itInputPathsMap :: Lens' InputTransformer (HashMap Text Text)
- Network.AWS.CloudWatchEvents.Types: itInputTemplate :: Lens' InputTransformer Text
- Network.AWS.CloudWatchEvents.Types: kinesisParameters :: Text -> KinesisParameters
- Network.AWS.CloudWatchEvents.Types: kpPartitionKeyPath :: Lens' KinesisParameters Text
- Network.AWS.CloudWatchEvents.Types: pereDetail :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereDetailType :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereErrorCode :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereErrorMessage :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereEventId :: Lens' PutEventsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereResources :: Lens' PutEventsRequestEntry [Text]
- Network.AWS.CloudWatchEvents.Types: pereSource :: Lens' PutEventsRequestEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime)
- Network.AWS.CloudWatchEvents.Types: ptreErrorCode :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: ptreErrorMessage :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: ptreTargetId :: Lens' PutTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: putEventsRequestEntry :: PutEventsRequestEntry
- Network.AWS.CloudWatchEvents.Types: putEventsResultEntry :: PutEventsResultEntry
- Network.AWS.CloudWatchEvents.Types: putTargetsResultEntry :: PutTargetsResultEntry
- Network.AWS.CloudWatchEvents.Types: rARN :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rDescription :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rEventPattern :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rName :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rRoleARN :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rScheduleExpression :: Lens' Rule (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rState :: Lens' Rule (Maybe RuleState)
- Network.AWS.CloudWatchEvents.Types: rcpRunCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)
- Network.AWS.CloudWatchEvents.Types: rctKey :: Lens' RunCommandTarget Text
- Network.AWS.CloudWatchEvents.Types: rctValues :: Lens' RunCommandTarget (NonEmpty Text)
- Network.AWS.CloudWatchEvents.Types: removeTargetsResultEntry :: RemoveTargetsResultEntry
- Network.AWS.CloudWatchEvents.Types: rtreErrorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rtreErrorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rtreTargetId :: Lens' RemoveTargetsResultEntry (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: rule :: Rule
- Network.AWS.CloudWatchEvents.Types: runCommandParameters :: NonEmpty RunCommandTarget -> RunCommandParameters
- Network.AWS.CloudWatchEvents.Types: runCommandTarget :: Text -> NonEmpty Text -> RunCommandTarget
- Network.AWS.CloudWatchEvents.Types: spMessageGroupId :: Lens' SqsParameters (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: sqsParameters :: SqsParameters
- Network.AWS.CloudWatchEvents.Types: tARN :: Lens' Target Text
- Network.AWS.CloudWatchEvents.Types: tBatchParameters :: Lens' Target (Maybe BatchParameters)
- Network.AWS.CloudWatchEvents.Types: tEcsParameters :: Lens' Target (Maybe EcsParameters)
- Network.AWS.CloudWatchEvents.Types: tId :: Lens' Target Text
- Network.AWS.CloudWatchEvents.Types: tInput :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: tInputPath :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: tInputTransformer :: Lens' Target (Maybe InputTransformer)
- Network.AWS.CloudWatchEvents.Types: tKinesisParameters :: Lens' Target (Maybe KinesisParameters)
- Network.AWS.CloudWatchEvents.Types: tRoleARN :: Lens' Target (Maybe Text)
- Network.AWS.CloudWatchEvents.Types: tRunCommandParameters :: Lens' Target (Maybe RunCommandParameters)
- Network.AWS.CloudWatchEvents.Types: tSqsParameters :: Lens' Target (Maybe SqsParameters)
- Network.AWS.CloudWatchEvents.Types: target :: Text -> Text -> Target
+ Amazonka.CloudWatchEvents: ActivateEventSource' :: Text -> ActivateEventSource
+ Amazonka.CloudWatchEvents: ActivateEventSourceResponse' :: ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents: ApiDestination' :: Maybe Text -> Maybe ApiDestinationState -> Maybe Text -> Maybe POSIX -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Maybe POSIX -> Maybe Text -> ApiDestination
+ Amazonka.CloudWatchEvents: ApiDestinationHttpMethod' :: Text -> ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: ApiDestinationState' :: Text -> ApiDestinationState
+ Amazonka.CloudWatchEvents: Archive' :: Maybe Text -> Maybe POSIX -> Maybe Integer -> Maybe Text -> Maybe Natural -> Maybe Integer -> Maybe ArchiveState -> Maybe Text -> Archive
+ Amazonka.CloudWatchEvents: ArchiveState' :: Text -> ArchiveState
+ Amazonka.CloudWatchEvents: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.CloudWatchEvents: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.CloudWatchEvents: BatchArrayProperties' :: Maybe Int -> BatchArrayProperties
+ Amazonka.CloudWatchEvents: BatchParameters' :: Maybe BatchArrayProperties -> Maybe BatchRetryStrategy -> Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents: BatchRetryStrategy' :: Maybe Int -> BatchRetryStrategy
+ Amazonka.CloudWatchEvents: CancelReplay' :: Text -> CancelReplay
+ Amazonka.CloudWatchEvents: CancelReplayResponse' :: Maybe Text -> Maybe ReplayState -> Maybe Text -> Int -> CancelReplayResponse
+ Amazonka.CloudWatchEvents: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents: Condition' :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents: Connection' :: Maybe ConnectionAuthorizationType -> Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Connection
+ Amazonka.CloudWatchEvents: ConnectionApiKeyAuthResponseParameters' :: Maybe Text -> ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents: ConnectionAuthResponseParameters' :: Maybe ConnectionApiKeyAuthResponseParameters -> Maybe ConnectionBasicAuthResponseParameters -> Maybe ConnectionHttpParameters -> Maybe ConnectionOAuthResponseParameters -> ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents: ConnectionAuthorizationType' :: Text -> ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents: ConnectionBasicAuthResponseParameters' :: Maybe Text -> ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents: ConnectionBodyParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionBodyParameter
+ Amazonka.CloudWatchEvents: ConnectionHeaderParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents: ConnectionHttpParameters' :: Maybe [ConnectionBodyParameter] -> Maybe [ConnectionHeaderParameter] -> Maybe [ConnectionQueryStringParameter] -> ConnectionHttpParameters
+ Amazonka.CloudWatchEvents: ConnectionOAuthClientResponseParameters' :: Maybe Text -> ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents: ConnectionOAuthHttpMethod' :: Text -> ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents: ConnectionOAuthResponseParameters' :: Maybe Text -> Maybe ConnectionOAuthClientResponseParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents: ConnectionQueryStringParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents: ConnectionState' :: Text -> ConnectionState
+ Amazonka.CloudWatchEvents: CreateApiDestination' :: Maybe Text -> Maybe Natural -> Text -> Text -> Text -> ApiDestinationHttpMethod -> CreateApiDestination
+ Amazonka.CloudWatchEvents: CreateApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe POSIX -> Maybe POSIX -> Int -> CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents: CreateArchive' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> Text -> CreateArchive
+ Amazonka.CloudWatchEvents: CreateArchiveResponse' :: Maybe Text -> Maybe POSIX -> Maybe ArchiveState -> Maybe Text -> Int -> CreateArchiveResponse
+ Amazonka.CloudWatchEvents: CreateConnection' :: Maybe Text -> Text -> ConnectionAuthorizationType -> CreateConnectionAuthRequestParameters -> CreateConnection
+ Amazonka.CloudWatchEvents: CreateConnectionApiKeyAuthRequestParameters' :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: CreateConnectionAuthRequestParameters' :: Maybe CreateConnectionApiKeyAuthRequestParameters -> Maybe CreateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe CreateConnectionOAuthRequestParameters -> CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: CreateConnectionBasicAuthRequestParameters' :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: CreateConnectionOAuthClientRequestParameters' :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: CreateConnectionOAuthRequestParameters' :: Maybe ConnectionHttpParameters -> CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: CreateConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Int -> CreateConnectionResponse
+ Amazonka.CloudWatchEvents: CreateEndpoint' :: Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Text -> RoutingConfig -> NonEmpty EndpointEventBus -> CreateEndpoint
+ Amazonka.CloudWatchEvents: CreateEndpointResponse' :: Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Int -> CreateEndpointResponse
+ Amazonka.CloudWatchEvents: CreateEventBus' :: Maybe Text -> Maybe [Tag] -> Text -> CreateEventBus
+ Amazonka.CloudWatchEvents: CreateEventBusResponse' :: Maybe Text -> Int -> CreateEventBusResponse
+ Amazonka.CloudWatchEvents: CreatePartnerEventSource' :: Text -> Text -> CreatePartnerEventSource
+ Amazonka.CloudWatchEvents: CreatePartnerEventSourceResponse' :: Maybe Text -> Int -> CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: DeactivateEventSource' :: Text -> DeactivateEventSource
+ Amazonka.CloudWatchEvents: DeactivateEventSourceResponse' :: DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents: DeadLetterConfig' :: Maybe Text -> DeadLetterConfig
+ Amazonka.CloudWatchEvents: DeauthorizeConnection' :: Text -> DeauthorizeConnection
+ Amazonka.CloudWatchEvents: DeauthorizeConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents: DeleteApiDestination' :: Text -> DeleteApiDestination
+ Amazonka.CloudWatchEvents: DeleteApiDestinationResponse' :: Int -> DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents: DeleteArchive' :: Text -> DeleteArchive
+ Amazonka.CloudWatchEvents: DeleteArchiveResponse' :: Int -> DeleteArchiveResponse
+ Amazonka.CloudWatchEvents: DeleteConnection' :: Text -> DeleteConnection
+ Amazonka.CloudWatchEvents: DeleteConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> DeleteConnectionResponse
+ Amazonka.CloudWatchEvents: DeleteEndpoint' :: Text -> DeleteEndpoint
+ Amazonka.CloudWatchEvents: DeleteEndpointResponse' :: Int -> DeleteEndpointResponse
+ Amazonka.CloudWatchEvents: DeleteEventBus' :: Text -> DeleteEventBus
+ Amazonka.CloudWatchEvents: DeleteEventBusResponse' :: DeleteEventBusResponse
+ Amazonka.CloudWatchEvents: DeletePartnerEventSource' :: Text -> Text -> DeletePartnerEventSource
+ Amazonka.CloudWatchEvents: DeletePartnerEventSourceResponse' :: DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: DeleteRule' :: Maybe Text -> Maybe Bool -> Text -> DeleteRule
+ Amazonka.CloudWatchEvents: DeleteRuleResponse' :: DeleteRuleResponse
+ Amazonka.CloudWatchEvents: DescribeApiDestination' :: Text -> DescribeApiDestination
+ Amazonka.CloudWatchEvents: DescribeApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Int -> DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents: DescribeArchive' :: Text -> DescribeArchive
+ Amazonka.CloudWatchEvents: DescribeArchiveResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Integer -> Maybe ArchiveState -> Maybe Text -> Int -> DescribeArchiveResponse
+ Amazonka.CloudWatchEvents: DescribeConnection' :: Text -> DescribeConnection
+ Amazonka.CloudWatchEvents: DescribeConnectionResponse' :: Maybe ConnectionAuthResponseParameters -> Maybe ConnectionAuthorizationType -> Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeConnectionResponse
+ Amazonka.CloudWatchEvents: DescribeEndpoint' :: Maybe Text -> Text -> DescribeEndpoint
+ Amazonka.CloudWatchEvents: DescribeEndpointResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe POSIX -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Maybe Text -> Int -> DescribeEndpointResponse
+ Amazonka.CloudWatchEvents: DescribeEventBus' :: Maybe Text -> DescribeEventBus
+ Amazonka.CloudWatchEvents: DescribeEventBusResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeEventBusResponse
+ Amazonka.CloudWatchEvents: DescribeEventSource' :: Text -> DescribeEventSource
+ Amazonka.CloudWatchEvents: DescribeEventSourceResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe EventSourceState -> Int -> DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents: DescribePartnerEventSource' :: Text -> DescribePartnerEventSource
+ Amazonka.CloudWatchEvents: DescribePartnerEventSourceResponse' :: Maybe Text -> Maybe Text -> Int -> DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: DescribeReplay' :: Text -> DescribeReplay
+ Amazonka.CloudWatchEvents: DescribeReplayResponse' :: Maybe Text -> Maybe ReplayDestination -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Int -> DescribeReplayResponse
+ Amazonka.CloudWatchEvents: DescribeRule' :: Maybe Text -> Text -> DescribeRule
+ Amazonka.CloudWatchEvents: DescribeRuleResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Int -> DescribeRuleResponse
+ Amazonka.CloudWatchEvents: DisableRule' :: Maybe Text -> Text -> DisableRule
+ Amazonka.CloudWatchEvents: DisableRuleResponse' :: DisableRuleResponse
+ Amazonka.CloudWatchEvents: EcsParameters' :: Maybe [CapacityProviderStrategyItem] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Text -> EcsParameters
+ Amazonka.CloudWatchEvents: EnableRule' :: Maybe Text -> Text -> EnableRule
+ Amazonka.CloudWatchEvents: EnableRuleResponse' :: EnableRuleResponse
+ Amazonka.CloudWatchEvents: Endpoint' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe POSIX -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Maybe Text -> Endpoint
+ Amazonka.CloudWatchEvents: EndpointEventBus' :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents: EndpointState' :: Text -> EndpointState
+ Amazonka.CloudWatchEvents: EventBus' :: Maybe Text -> Maybe Text -> Maybe Text -> EventBus
+ Amazonka.CloudWatchEvents: EventSource' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe EventSourceState -> EventSource
+ Amazonka.CloudWatchEvents: EventSourceState' :: Text -> EventSourceState
+ Amazonka.CloudWatchEvents: FailoverConfig' :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents: HttpParameters' :: Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe (HashMap Text Text) -> HttpParameters
+ Amazonka.CloudWatchEvents: InputTransformer' :: Maybe (HashMap Text Text) -> Text -> InputTransformer
+ Amazonka.CloudWatchEvents: KinesisParameters' :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents: LaunchType' :: Text -> LaunchType
+ Amazonka.CloudWatchEvents: ListApiDestinations' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListApiDestinations
+ Amazonka.CloudWatchEvents: ListApiDestinationsResponse' :: Maybe [ApiDestination] -> Maybe Text -> Int -> ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents: ListArchives' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ArchiveState -> ListArchives
+ Amazonka.CloudWatchEvents: ListArchivesResponse' :: Maybe [Archive] -> Maybe Text -> Int -> ListArchivesResponse
+ Amazonka.CloudWatchEvents: ListConnections' :: Maybe ConnectionState -> Maybe Natural -> Maybe Text -> Maybe Text -> ListConnections
+ Amazonka.CloudWatchEvents: ListConnectionsResponse' :: Maybe [Connection] -> Maybe Text -> Int -> ListConnectionsResponse
+ Amazonka.CloudWatchEvents: ListEndpoints' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListEndpoints
+ Amazonka.CloudWatchEvents: ListEndpointsResponse' :: Maybe [Endpoint] -> Maybe Text -> Int -> ListEndpointsResponse
+ Amazonka.CloudWatchEvents: ListEventBuses' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListEventBuses
+ Amazonka.CloudWatchEvents: ListEventBusesResponse' :: Maybe [EventBus] -> Maybe Text -> Int -> ListEventBusesResponse
+ Amazonka.CloudWatchEvents: ListEventSources' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListEventSources
+ Amazonka.CloudWatchEvents: ListEventSourcesResponse' :: Maybe [EventSource] -> Maybe Text -> Int -> ListEventSourcesResponse
+ Amazonka.CloudWatchEvents: ListPartnerEventSourceAccounts' :: Maybe Natural -> Maybe Text -> Text -> ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents: ListPartnerEventSourceAccountsResponse' :: Maybe Text -> Maybe [PartnerEventSourceAccount] -> Int -> ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents: ListPartnerEventSources' :: Maybe Natural -> Maybe Text -> Text -> ListPartnerEventSources
+ Amazonka.CloudWatchEvents: ListPartnerEventSourcesResponse' :: Maybe Text -> Maybe [PartnerEventSource] -> Int -> ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents: ListReplays' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ReplayState -> ListReplays
+ Amazonka.CloudWatchEvents: ListReplaysResponse' :: Maybe Text -> Maybe [Replay] -> Int -> ListReplaysResponse
+ Amazonka.CloudWatchEvents: ListRuleNamesByTarget' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents: ListRuleNamesByTargetResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents: ListRules' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListRules
+ Amazonka.CloudWatchEvents: ListRulesResponse' :: Maybe Text -> Maybe [Rule] -> Int -> ListRulesResponse
+ Amazonka.CloudWatchEvents: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.CloudWatchEvents: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents: ListTargetsByRule' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> ListTargetsByRule
+ Amazonka.CloudWatchEvents: ListTargetsByRuleResponse' :: Maybe Text -> Maybe (NonEmpty Target) -> Int -> ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.CloudWatchEvents: PartnerEventSource' :: Maybe Text -> Maybe Text -> PartnerEventSource
+ Amazonka.CloudWatchEvents: PartnerEventSourceAccount' :: Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe EventSourceState -> PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.CloudWatchEvents: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.CloudWatchEvents: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.CloudWatchEvents: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.CloudWatchEvents: Primary' :: Text -> Primary
+ Amazonka.CloudWatchEvents: PropagateTags' :: Text -> PropagateTags
+ Amazonka.CloudWatchEvents: PutEvents' :: Maybe Text -> NonEmpty PutEventsRequestEntry -> PutEvents
+ Amazonka.CloudWatchEvents: PutEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe Text -> PutEventsRequestEntry
+ Amazonka.CloudWatchEvents: PutEventsResponse' :: Maybe [PutEventsResultEntry] -> Maybe Int -> Int -> PutEventsResponse
+ Amazonka.CloudWatchEvents: PutEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutEventsResultEntry
+ Amazonka.CloudWatchEvents: PutPartnerEvents' :: NonEmpty PutPartnerEventsRequestEntry -> PutPartnerEvents
+ Amazonka.CloudWatchEvents: PutPartnerEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents: PutPartnerEventsResponse' :: Maybe [PutPartnerEventsResultEntry] -> Maybe Int -> Int -> PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents: PutPartnerEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents: PutPermission' :: Maybe Text -> Maybe Condition -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PutPermission
+ Amazonka.CloudWatchEvents: PutPermissionResponse' :: PutPermissionResponse
+ Amazonka.CloudWatchEvents: PutRule' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Maybe [Tag] -> Text -> PutRule
+ Amazonka.CloudWatchEvents: PutRuleResponse' :: Maybe Text -> Int -> PutRuleResponse
+ Amazonka.CloudWatchEvents: PutTargets' :: Maybe Text -> Text -> NonEmpty Target -> PutTargets
+ Amazonka.CloudWatchEvents: PutTargetsResponse' :: Maybe [PutTargetsResultEntry] -> Maybe Int -> Int -> PutTargetsResponse
+ Amazonka.CloudWatchEvents: PutTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutTargetsResultEntry
+ Amazonka.CloudWatchEvents: RedshiftDataParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents: RemovePermission' :: Maybe Text -> Maybe Bool -> Maybe Text -> RemovePermission
+ Amazonka.CloudWatchEvents: RemovePermissionResponse' :: RemovePermissionResponse
+ Amazonka.CloudWatchEvents: RemoveTargets' :: Maybe Text -> Maybe Bool -> Text -> NonEmpty Text -> RemoveTargets
+ Amazonka.CloudWatchEvents: RemoveTargetsResponse' :: Maybe [RemoveTargetsResultEntry] -> Maybe Int -> Int -> RemoveTargetsResponse
+ Amazonka.CloudWatchEvents: RemoveTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents: Replay' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Replay
+ Amazonka.CloudWatchEvents: ReplayDestination' :: Maybe [Text] -> Text -> ReplayDestination
+ Amazonka.CloudWatchEvents: ReplayState' :: Text -> ReplayState
+ Amazonka.CloudWatchEvents: ReplicationConfig' :: Maybe ReplicationState -> ReplicationConfig
+ Amazonka.CloudWatchEvents: ReplicationState' :: Text -> ReplicationState
+ Amazonka.CloudWatchEvents: RetryPolicy' :: Maybe Natural -> Maybe Natural -> RetryPolicy
+ Amazonka.CloudWatchEvents: RoutingConfig' :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents: Rule' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Rule
+ Amazonka.CloudWatchEvents: RuleState' :: Text -> RuleState
+ Amazonka.CloudWatchEvents: RunCommandParameters' :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents: RunCommandTarget' :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents: SageMakerPipelineParameter' :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents: SageMakerPipelineParameters' :: Maybe [SageMakerPipelineParameter] -> SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents: Secondary' :: Text -> Secondary
+ Amazonka.CloudWatchEvents: SqsParameters' :: Maybe Text -> SqsParameters
+ Amazonka.CloudWatchEvents: StartReplay' :: Maybe Text -> Text -> Text -> POSIX -> POSIX -> ReplayDestination -> StartReplay
+ Amazonka.CloudWatchEvents: StartReplayResponse' :: Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Int -> StartReplayResponse
+ Amazonka.CloudWatchEvents: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.CloudWatchEvents: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CloudWatchEvents: Target' :: Maybe BatchParameters -> Maybe DeadLetterConfig -> Maybe EcsParameters -> Maybe HttpParameters -> Maybe Text -> Maybe Text -> Maybe InputTransformer -> Maybe KinesisParameters -> Maybe RedshiftDataParameters -> Maybe RetryPolicy -> Maybe Text -> Maybe RunCommandParameters -> Maybe SageMakerPipelineParameters -> Maybe SqsParameters -> Text -> Text -> Target
+ Amazonka.CloudWatchEvents: TestEventPattern' :: Text -> Text -> TestEventPattern
+ Amazonka.CloudWatchEvents: TestEventPatternResponse' :: Maybe Bool -> Int -> TestEventPatternResponse
+ Amazonka.CloudWatchEvents: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.CloudWatchEvents: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CloudWatchEvents: UpdateApiDestination' :: Maybe Text -> Maybe Text -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Text -> UpdateApiDestination
+ Amazonka.CloudWatchEvents: UpdateApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe POSIX -> Maybe POSIX -> Int -> UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents: UpdateArchive' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> UpdateArchive
+ Amazonka.CloudWatchEvents: UpdateArchiveResponse' :: Maybe Text -> Maybe POSIX -> Maybe ArchiveState -> Maybe Text -> Int -> UpdateArchiveResponse
+ Amazonka.CloudWatchEvents: UpdateConnection' :: Maybe UpdateConnectionAuthRequestParameters -> Maybe ConnectionAuthorizationType -> Maybe Text -> Text -> UpdateConnection
+ Amazonka.CloudWatchEvents: UpdateConnectionApiKeyAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: UpdateConnectionAuthRequestParameters' :: Maybe UpdateConnectionApiKeyAuthRequestParameters -> Maybe UpdateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe UpdateConnectionOAuthRequestParameters -> UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: UpdateConnectionBasicAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: UpdateConnectionOAuthClientRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: UpdateConnectionOAuthRequestParameters' :: Maybe Text -> Maybe UpdateConnectionOAuthClientRequestParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: UpdateConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> UpdateConnectionResponse
+ Amazonka.CloudWatchEvents: UpdateEndpoint' :: Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Text -> UpdateEndpoint
+ Amazonka.CloudWatchEvents: UpdateEndpointResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Int -> UpdateEndpointResponse
+ Amazonka.CloudWatchEvents: [fromApiDestinationHttpMethod] :: ApiDestinationHttpMethod -> Text
+ Amazonka.CloudWatchEvents: [fromApiDestinationState] :: ApiDestinationState -> Text
+ Amazonka.CloudWatchEvents: [fromArchiveState] :: ArchiveState -> Text
+ Amazonka.CloudWatchEvents: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.CloudWatchEvents: [fromConnectionAuthorizationType] :: ConnectionAuthorizationType -> Text
+ Amazonka.CloudWatchEvents: [fromConnectionOAuthHttpMethod] :: ConnectionOAuthHttpMethod -> Text
+ Amazonka.CloudWatchEvents: [fromConnectionState] :: ConnectionState -> Text
+ Amazonka.CloudWatchEvents: [fromEndpointState] :: EndpointState -> Text
+ Amazonka.CloudWatchEvents: [fromEventSourceState] :: EventSourceState -> Text
+ Amazonka.CloudWatchEvents: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.CloudWatchEvents: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.CloudWatchEvents: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.CloudWatchEvents: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.CloudWatchEvents: [fromReplayState] :: ReplayState -> Text
+ Amazonka.CloudWatchEvents: [fromReplicationState] :: ReplicationState -> Text
+ Amazonka.CloudWatchEvents: [fromRuleState] :: RuleState -> Text
+ Amazonka.CloudWatchEvents: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _IllegalStatusException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _InternalException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _InvalidEventPatternException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _InvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _ManagedRuleException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _OperationDisabledException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _PolicyLengthExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents: data ActivateEventSource
+ Amazonka.CloudWatchEvents: data ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents: data ApiDestination
+ Amazonka.CloudWatchEvents: data Archive
+ Amazonka.CloudWatchEvents: data AwsVpcConfiguration
+ Amazonka.CloudWatchEvents: data BatchArrayProperties
+ Amazonka.CloudWatchEvents: data BatchParameters
+ Amazonka.CloudWatchEvents: data BatchRetryStrategy
+ Amazonka.CloudWatchEvents: data CancelReplay
+ Amazonka.CloudWatchEvents: data CancelReplayResponse
+ Amazonka.CloudWatchEvents: data CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents: data Condition
+ Amazonka.CloudWatchEvents: data Connection
+ Amazonka.CloudWatchEvents: data ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents: data ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents: data ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents: data ConnectionBodyParameter
+ Amazonka.CloudWatchEvents: data ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents: data ConnectionHttpParameters
+ Amazonka.CloudWatchEvents: data ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents: data ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents: data ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents: data CreateApiDestination
+ Amazonka.CloudWatchEvents: data CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents: data CreateArchive
+ Amazonka.CloudWatchEvents: data CreateArchiveResponse
+ Amazonka.CloudWatchEvents: data CreateConnection
+ Amazonka.CloudWatchEvents: data CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: data CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: data CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: data CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: data CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: data CreateConnectionResponse
+ Amazonka.CloudWatchEvents: data CreateEndpoint
+ Amazonka.CloudWatchEvents: data CreateEndpointResponse
+ Amazonka.CloudWatchEvents: data CreateEventBus
+ Amazonka.CloudWatchEvents: data CreateEventBusResponse
+ Amazonka.CloudWatchEvents: data CreatePartnerEventSource
+ Amazonka.CloudWatchEvents: data CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: data DeactivateEventSource
+ Amazonka.CloudWatchEvents: data DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents: data DeadLetterConfig
+ Amazonka.CloudWatchEvents: data DeauthorizeConnection
+ Amazonka.CloudWatchEvents: data DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents: data DeleteApiDestination
+ Amazonka.CloudWatchEvents: data DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents: data DeleteArchive
+ Amazonka.CloudWatchEvents: data DeleteArchiveResponse
+ Amazonka.CloudWatchEvents: data DeleteConnection
+ Amazonka.CloudWatchEvents: data DeleteConnectionResponse
+ Amazonka.CloudWatchEvents: data DeleteEndpoint
+ Amazonka.CloudWatchEvents: data DeleteEndpointResponse
+ Amazonka.CloudWatchEvents: data DeleteEventBus
+ Amazonka.CloudWatchEvents: data DeleteEventBusResponse
+ Amazonka.CloudWatchEvents: data DeletePartnerEventSource
+ Amazonka.CloudWatchEvents: data DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: data DeleteRule
+ Amazonka.CloudWatchEvents: data DeleteRuleResponse
+ Amazonka.CloudWatchEvents: data DescribeApiDestination
+ Amazonka.CloudWatchEvents: data DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents: data DescribeArchive
+ Amazonka.CloudWatchEvents: data DescribeArchiveResponse
+ Amazonka.CloudWatchEvents: data DescribeConnection
+ Amazonka.CloudWatchEvents: data DescribeConnectionResponse
+ Amazonka.CloudWatchEvents: data DescribeEndpoint
+ Amazonka.CloudWatchEvents: data DescribeEndpointResponse
+ Amazonka.CloudWatchEvents: data DescribeEventBus
+ Amazonka.CloudWatchEvents: data DescribeEventBusResponse
+ Amazonka.CloudWatchEvents: data DescribeEventSource
+ Amazonka.CloudWatchEvents: data DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents: data DescribePartnerEventSource
+ Amazonka.CloudWatchEvents: data DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: data DescribeReplay
+ Amazonka.CloudWatchEvents: data DescribeReplayResponse
+ Amazonka.CloudWatchEvents: data DescribeRule
+ Amazonka.CloudWatchEvents: data DescribeRuleResponse
+ Amazonka.CloudWatchEvents: data DisableRule
+ Amazonka.CloudWatchEvents: data DisableRuleResponse
+ Amazonka.CloudWatchEvents: data EcsParameters
+ Amazonka.CloudWatchEvents: data EnableRule
+ Amazonka.CloudWatchEvents: data EnableRuleResponse
+ Amazonka.CloudWatchEvents: data Endpoint
+ Amazonka.CloudWatchEvents: data EndpointEventBus
+ Amazonka.CloudWatchEvents: data EventBus
+ Amazonka.CloudWatchEvents: data EventSource
+ Amazonka.CloudWatchEvents: data FailoverConfig
+ Amazonka.CloudWatchEvents: data HttpParameters
+ Amazonka.CloudWatchEvents: data InputTransformer
+ Amazonka.CloudWatchEvents: data KinesisParameters
+ Amazonka.CloudWatchEvents: data ListApiDestinations
+ Amazonka.CloudWatchEvents: data ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents: data ListArchives
+ Amazonka.CloudWatchEvents: data ListArchivesResponse
+ Amazonka.CloudWatchEvents: data ListConnections
+ Amazonka.CloudWatchEvents: data ListConnectionsResponse
+ Amazonka.CloudWatchEvents: data ListEndpoints
+ Amazonka.CloudWatchEvents: data ListEndpointsResponse
+ Amazonka.CloudWatchEvents: data ListEventBuses
+ Amazonka.CloudWatchEvents: data ListEventBusesResponse
+ Amazonka.CloudWatchEvents: data ListEventSources
+ Amazonka.CloudWatchEvents: data ListEventSourcesResponse
+ Amazonka.CloudWatchEvents: data ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents: data ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents: data ListPartnerEventSources
+ Amazonka.CloudWatchEvents: data ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents: data ListReplays
+ Amazonka.CloudWatchEvents: data ListReplaysResponse
+ Amazonka.CloudWatchEvents: data ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents: data ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents: data ListRules
+ Amazonka.CloudWatchEvents: data ListRulesResponse
+ Amazonka.CloudWatchEvents: data ListTagsForResource
+ Amazonka.CloudWatchEvents: data ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents: data ListTargetsByRule
+ Amazonka.CloudWatchEvents: data ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents: data NetworkConfiguration
+ Amazonka.CloudWatchEvents: data PartnerEventSource
+ Amazonka.CloudWatchEvents: data PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents: data PlacementConstraint
+ Amazonka.CloudWatchEvents: data PlacementStrategy
+ Amazonka.CloudWatchEvents: data Primary
+ Amazonka.CloudWatchEvents: data PutEvents
+ Amazonka.CloudWatchEvents: data PutEventsRequestEntry
+ Amazonka.CloudWatchEvents: data PutEventsResponse
+ Amazonka.CloudWatchEvents: data PutEventsResultEntry
+ Amazonka.CloudWatchEvents: data PutPartnerEvents
+ Amazonka.CloudWatchEvents: data PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents: data PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents: data PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents: data PutPermission
+ Amazonka.CloudWatchEvents: data PutPermissionResponse
+ Amazonka.CloudWatchEvents: data PutRule
+ Amazonka.CloudWatchEvents: data PutRuleResponse
+ Amazonka.CloudWatchEvents: data PutTargets
+ Amazonka.CloudWatchEvents: data PutTargetsResponse
+ Amazonka.CloudWatchEvents: data PutTargetsResultEntry
+ Amazonka.CloudWatchEvents: data RedshiftDataParameters
+ Amazonka.CloudWatchEvents: data RemovePermission
+ Amazonka.CloudWatchEvents: data RemovePermissionResponse
+ Amazonka.CloudWatchEvents: data RemoveTargets
+ Amazonka.CloudWatchEvents: data RemoveTargetsResponse
+ Amazonka.CloudWatchEvents: data RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents: data Replay
+ Amazonka.CloudWatchEvents: data ReplayDestination
+ Amazonka.CloudWatchEvents: data ReplicationConfig
+ Amazonka.CloudWatchEvents: data RetryPolicy
+ Amazonka.CloudWatchEvents: data RoutingConfig
+ Amazonka.CloudWatchEvents: data Rule
+ Amazonka.CloudWatchEvents: data RunCommandParameters
+ Amazonka.CloudWatchEvents: data RunCommandTarget
+ Amazonka.CloudWatchEvents: data SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents: data SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents: data Secondary
+ Amazonka.CloudWatchEvents: data SqsParameters
+ Amazonka.CloudWatchEvents: data StartReplay
+ Amazonka.CloudWatchEvents: data StartReplayResponse
+ Amazonka.CloudWatchEvents: data Tag
+ Amazonka.CloudWatchEvents: data TagResource
+ Amazonka.CloudWatchEvents: data TagResourceResponse
+ Amazonka.CloudWatchEvents: data Target
+ Amazonka.CloudWatchEvents: data TestEventPattern
+ Amazonka.CloudWatchEvents: data TestEventPatternResponse
+ Amazonka.CloudWatchEvents: data UntagResource
+ Amazonka.CloudWatchEvents: data UntagResourceResponse
+ Amazonka.CloudWatchEvents: data UpdateApiDestination
+ Amazonka.CloudWatchEvents: data UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents: data UpdateArchive
+ Amazonka.CloudWatchEvents: data UpdateArchiveResponse
+ Amazonka.CloudWatchEvents: data UpdateConnection
+ Amazonka.CloudWatchEvents: data UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: data UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: data UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: data UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: data UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: data UpdateConnectionResponse
+ Amazonka.CloudWatchEvents: data UpdateEndpoint
+ Amazonka.CloudWatchEvents: data UpdateEndpointResponse
+ Amazonka.CloudWatchEvents: defaultService :: Service
+ Amazonka.CloudWatchEvents: newActivateEventSource :: Text -> ActivateEventSource
+ Amazonka.CloudWatchEvents: newActivateEventSourceResponse :: ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents: newApiDestination :: ApiDestination
+ Amazonka.CloudWatchEvents: newArchive :: Archive
+ Amazonka.CloudWatchEvents: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.CloudWatchEvents: newBatchArrayProperties :: BatchArrayProperties
+ Amazonka.CloudWatchEvents: newBatchParameters :: Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents: newBatchRetryStrategy :: BatchRetryStrategy
+ Amazonka.CloudWatchEvents: newCancelReplay :: Text -> CancelReplay
+ Amazonka.CloudWatchEvents: newCancelReplayResponse :: Int -> CancelReplayResponse
+ Amazonka.CloudWatchEvents: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents: newCondition :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents: newConnection :: Connection
+ Amazonka.CloudWatchEvents: newConnectionApiKeyAuthResponseParameters :: ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents: newConnectionAuthResponseParameters :: ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents: newConnectionBasicAuthResponseParameters :: ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents: newConnectionBodyParameter :: ConnectionBodyParameter
+ Amazonka.CloudWatchEvents: newConnectionHeaderParameter :: ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents: newConnectionHttpParameters :: ConnectionHttpParameters
+ Amazonka.CloudWatchEvents: newConnectionOAuthClientResponseParameters :: ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents: newConnectionOAuthResponseParameters :: ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents: newConnectionQueryStringParameter :: ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents: newCreateApiDestination :: Text -> Text -> Text -> ApiDestinationHttpMethod -> CreateApiDestination
+ Amazonka.CloudWatchEvents: newCreateApiDestinationResponse :: Int -> CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents: newCreateArchive :: Text -> Text -> CreateArchive
+ Amazonka.CloudWatchEvents: newCreateArchiveResponse :: Int -> CreateArchiveResponse
+ Amazonka.CloudWatchEvents: newCreateConnection :: Text -> ConnectionAuthorizationType -> CreateConnectionAuthRequestParameters -> CreateConnection
+ Amazonka.CloudWatchEvents: newCreateConnectionApiKeyAuthRequestParameters :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: newCreateConnectionAuthRequestParameters :: CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: newCreateConnectionBasicAuthRequestParameters :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: newCreateConnectionOAuthClientRequestParameters :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: newCreateConnectionOAuthRequestParameters :: CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: newCreateConnectionResponse :: Int -> CreateConnectionResponse
+ Amazonka.CloudWatchEvents: newCreateEndpoint :: Text -> RoutingConfig -> NonEmpty EndpointEventBus -> CreateEndpoint
+ Amazonka.CloudWatchEvents: newCreateEndpointResponse :: Int -> CreateEndpointResponse
+ Amazonka.CloudWatchEvents: newCreateEventBus :: Text -> CreateEventBus
+ Amazonka.CloudWatchEvents: newCreateEventBusResponse :: Int -> CreateEventBusResponse
+ Amazonka.CloudWatchEvents: newCreatePartnerEventSource :: Text -> Text -> CreatePartnerEventSource
+ Amazonka.CloudWatchEvents: newCreatePartnerEventSourceResponse :: Int -> CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: newDeactivateEventSource :: Text -> DeactivateEventSource
+ Amazonka.CloudWatchEvents: newDeactivateEventSourceResponse :: DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents: newDeadLetterConfig :: DeadLetterConfig
+ Amazonka.CloudWatchEvents: newDeauthorizeConnection :: Text -> DeauthorizeConnection
+ Amazonka.CloudWatchEvents: newDeauthorizeConnectionResponse :: Int -> DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents: newDeleteApiDestination :: Text -> DeleteApiDestination
+ Amazonka.CloudWatchEvents: newDeleteApiDestinationResponse :: Int -> DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents: newDeleteArchive :: Text -> DeleteArchive
+ Amazonka.CloudWatchEvents: newDeleteArchiveResponse :: Int -> DeleteArchiveResponse
+ Amazonka.CloudWatchEvents: newDeleteConnection :: Text -> DeleteConnection
+ Amazonka.CloudWatchEvents: newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
+ Amazonka.CloudWatchEvents: newDeleteEndpoint :: Text -> DeleteEndpoint
+ Amazonka.CloudWatchEvents: newDeleteEndpointResponse :: Int -> DeleteEndpointResponse
+ Amazonka.CloudWatchEvents: newDeleteEventBus :: Text -> DeleteEventBus
+ Amazonka.CloudWatchEvents: newDeleteEventBusResponse :: DeleteEventBusResponse
+ Amazonka.CloudWatchEvents: newDeletePartnerEventSource :: Text -> Text -> DeletePartnerEventSource
+ Amazonka.CloudWatchEvents: newDeletePartnerEventSourceResponse :: DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: newDeleteRule :: Text -> DeleteRule
+ Amazonka.CloudWatchEvents: newDeleteRuleResponse :: DeleteRuleResponse
+ Amazonka.CloudWatchEvents: newDescribeApiDestination :: Text -> DescribeApiDestination
+ Amazonka.CloudWatchEvents: newDescribeApiDestinationResponse :: Int -> DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents: newDescribeArchive :: Text -> DescribeArchive
+ Amazonka.CloudWatchEvents: newDescribeArchiveResponse :: Int -> DescribeArchiveResponse
+ Amazonka.CloudWatchEvents: newDescribeConnection :: Text -> DescribeConnection
+ Amazonka.CloudWatchEvents: newDescribeConnectionResponse :: Int -> DescribeConnectionResponse
+ Amazonka.CloudWatchEvents: newDescribeEndpoint :: Text -> DescribeEndpoint
+ Amazonka.CloudWatchEvents: newDescribeEndpointResponse :: Int -> DescribeEndpointResponse
+ Amazonka.CloudWatchEvents: newDescribeEventBus :: DescribeEventBus
+ Amazonka.CloudWatchEvents: newDescribeEventBusResponse :: Int -> DescribeEventBusResponse
+ Amazonka.CloudWatchEvents: newDescribeEventSource :: Text -> DescribeEventSource
+ Amazonka.CloudWatchEvents: newDescribeEventSourceResponse :: Int -> DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents: newDescribePartnerEventSource :: Text -> DescribePartnerEventSource
+ Amazonka.CloudWatchEvents: newDescribePartnerEventSourceResponse :: Int -> DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents: newDescribeReplay :: Text -> DescribeReplay
+ Amazonka.CloudWatchEvents: newDescribeReplayResponse :: Int -> DescribeReplayResponse
+ Amazonka.CloudWatchEvents: newDescribeRule :: Text -> DescribeRule
+ Amazonka.CloudWatchEvents: newDescribeRuleResponse :: Int -> DescribeRuleResponse
+ Amazonka.CloudWatchEvents: newDisableRule :: Text -> DisableRule
+ Amazonka.CloudWatchEvents: newDisableRuleResponse :: DisableRuleResponse
+ Amazonka.CloudWatchEvents: newEcsParameters :: Text -> EcsParameters
+ Amazonka.CloudWatchEvents: newEnableRule :: Text -> EnableRule
+ Amazonka.CloudWatchEvents: newEnableRuleResponse :: EnableRuleResponse
+ Amazonka.CloudWatchEvents: newEndpoint :: Endpoint
+ Amazonka.CloudWatchEvents: newEndpointEventBus :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents: newEventBus :: EventBus
+ Amazonka.CloudWatchEvents: newEventSource :: EventSource
+ Amazonka.CloudWatchEvents: newFailoverConfig :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents: newHttpParameters :: HttpParameters
+ Amazonka.CloudWatchEvents: newInputTransformer :: Text -> InputTransformer
+ Amazonka.CloudWatchEvents: newKinesisParameters :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents: newListApiDestinations :: ListApiDestinations
+ Amazonka.CloudWatchEvents: newListApiDestinationsResponse :: Int -> ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents: newListArchives :: ListArchives
+ Amazonka.CloudWatchEvents: newListArchivesResponse :: Int -> ListArchivesResponse
+ Amazonka.CloudWatchEvents: newListConnections :: ListConnections
+ Amazonka.CloudWatchEvents: newListConnectionsResponse :: Int -> ListConnectionsResponse
+ Amazonka.CloudWatchEvents: newListEndpoints :: ListEndpoints
+ Amazonka.CloudWatchEvents: newListEndpointsResponse :: Int -> ListEndpointsResponse
+ Amazonka.CloudWatchEvents: newListEventBuses :: ListEventBuses
+ Amazonka.CloudWatchEvents: newListEventBusesResponse :: Int -> ListEventBusesResponse
+ Amazonka.CloudWatchEvents: newListEventSources :: ListEventSources
+ Amazonka.CloudWatchEvents: newListEventSourcesResponse :: Int -> ListEventSourcesResponse
+ Amazonka.CloudWatchEvents: newListPartnerEventSourceAccounts :: Text -> ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents: newListPartnerEventSourceAccountsResponse :: Int -> ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents: newListPartnerEventSources :: Text -> ListPartnerEventSources
+ Amazonka.CloudWatchEvents: newListPartnerEventSourcesResponse :: Int -> ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents: newListReplays :: ListReplays
+ Amazonka.CloudWatchEvents: newListReplaysResponse :: Int -> ListReplaysResponse
+ Amazonka.CloudWatchEvents: newListRuleNamesByTarget :: Text -> ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents: newListRuleNamesByTargetResponse :: Int -> ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents: newListRules :: ListRules
+ Amazonka.CloudWatchEvents: newListRulesResponse :: Int -> ListRulesResponse
+ Amazonka.CloudWatchEvents: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.CloudWatchEvents: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents: newListTargetsByRule :: Text -> ListTargetsByRule
+ Amazonka.CloudWatchEvents: newListTargetsByRuleResponse :: Int -> ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.CloudWatchEvents: newPartnerEventSource :: PartnerEventSource
+ Amazonka.CloudWatchEvents: newPartnerEventSourceAccount :: PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents: newPlacementConstraint :: PlacementConstraint
+ Amazonka.CloudWatchEvents: newPlacementStrategy :: PlacementStrategy
+ Amazonka.CloudWatchEvents: newPrimary :: Text -> Primary
+ Amazonka.CloudWatchEvents: newPutEvents :: NonEmpty PutEventsRequestEntry -> PutEvents
+ Amazonka.CloudWatchEvents: newPutEventsRequestEntry :: PutEventsRequestEntry
+ Amazonka.CloudWatchEvents: newPutEventsResponse :: Int -> PutEventsResponse
+ Amazonka.CloudWatchEvents: newPutEventsResultEntry :: PutEventsResultEntry
+ Amazonka.CloudWatchEvents: newPutPartnerEvents :: NonEmpty PutPartnerEventsRequestEntry -> PutPartnerEvents
+ Amazonka.CloudWatchEvents: newPutPartnerEventsRequestEntry :: PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents: newPutPartnerEventsResponse :: Int -> PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents: newPutPartnerEventsResultEntry :: PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents: newPutPermission :: PutPermission
+ Amazonka.CloudWatchEvents: newPutPermissionResponse :: PutPermissionResponse
+ Amazonka.CloudWatchEvents: newPutRule :: Text -> PutRule
+ Amazonka.CloudWatchEvents: newPutRuleResponse :: Int -> PutRuleResponse
+ Amazonka.CloudWatchEvents: newPutTargets :: Text -> NonEmpty Target -> PutTargets
+ Amazonka.CloudWatchEvents: newPutTargetsResponse :: Int -> PutTargetsResponse
+ Amazonka.CloudWatchEvents: newPutTargetsResultEntry :: PutTargetsResultEntry
+ Amazonka.CloudWatchEvents: newRedshiftDataParameters :: Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents: newRemovePermission :: RemovePermission
+ Amazonka.CloudWatchEvents: newRemovePermissionResponse :: RemovePermissionResponse
+ Amazonka.CloudWatchEvents: newRemoveTargets :: Text -> NonEmpty Text -> RemoveTargets
+ Amazonka.CloudWatchEvents: newRemoveTargetsResponse :: Int -> RemoveTargetsResponse
+ Amazonka.CloudWatchEvents: newRemoveTargetsResultEntry :: RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents: newReplay :: Replay
+ Amazonka.CloudWatchEvents: newReplayDestination :: Text -> ReplayDestination
+ Amazonka.CloudWatchEvents: newReplicationConfig :: ReplicationConfig
+ Amazonka.CloudWatchEvents: newRetryPolicy :: RetryPolicy
+ Amazonka.CloudWatchEvents: newRoutingConfig :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents: newRule :: Rule
+ Amazonka.CloudWatchEvents: newRunCommandParameters :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents: newRunCommandTarget :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents: newSageMakerPipelineParameter :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents: newSageMakerPipelineParameters :: SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents: newSecondary :: Text -> Secondary
+ Amazonka.CloudWatchEvents: newSqsParameters :: SqsParameters
+ Amazonka.CloudWatchEvents: newStartReplay :: Text -> Text -> UTCTime -> UTCTime -> ReplayDestination -> StartReplay
+ Amazonka.CloudWatchEvents: newStartReplayResponse :: Int -> StartReplayResponse
+ Amazonka.CloudWatchEvents: newTag :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents: newTagResource :: Text -> TagResource
+ Amazonka.CloudWatchEvents: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CloudWatchEvents: newTarget :: Text -> Text -> Target
+ Amazonka.CloudWatchEvents: newTestEventPattern :: Text -> Text -> TestEventPattern
+ Amazonka.CloudWatchEvents: newTestEventPatternResponse :: Int -> TestEventPatternResponse
+ Amazonka.CloudWatchEvents: newUntagResource :: Text -> UntagResource
+ Amazonka.CloudWatchEvents: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CloudWatchEvents: newUpdateApiDestination :: Text -> UpdateApiDestination
+ Amazonka.CloudWatchEvents: newUpdateApiDestinationResponse :: Int -> UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents: newUpdateArchive :: Text -> UpdateArchive
+ Amazonka.CloudWatchEvents: newUpdateArchiveResponse :: Int -> UpdateArchiveResponse
+ Amazonka.CloudWatchEvents: newUpdateConnection :: Text -> UpdateConnection
+ Amazonka.CloudWatchEvents: newUpdateConnectionApiKeyAuthRequestParameters :: UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents: newUpdateConnectionAuthRequestParameters :: UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents: newUpdateConnectionBasicAuthRequestParameters :: UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents: newUpdateConnectionOAuthClientRequestParameters :: UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents: newUpdateConnectionOAuthRequestParameters :: UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents: newUpdateConnectionResponse :: Int -> UpdateConnectionResponse
+ Amazonka.CloudWatchEvents: newUpdateEndpoint :: Text -> UpdateEndpoint
+ Amazonka.CloudWatchEvents: newUpdateEndpointResponse :: Int -> UpdateEndpointResponse
+ Amazonka.CloudWatchEvents: newtype ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: newtype ApiDestinationState
+ Amazonka.CloudWatchEvents: newtype ArchiveState
+ Amazonka.CloudWatchEvents: newtype AssignPublicIp
+ Amazonka.CloudWatchEvents: newtype ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents: newtype ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents: newtype ConnectionState
+ Amazonka.CloudWatchEvents: newtype EndpointState
+ Amazonka.CloudWatchEvents: newtype EventSourceState
+ Amazonka.CloudWatchEvents: newtype LaunchType
+ Amazonka.CloudWatchEvents: newtype PlacementConstraintType
+ Amazonka.CloudWatchEvents: newtype PlacementStrategyType
+ Amazonka.CloudWatchEvents: newtype PropagateTags
+ Amazonka.CloudWatchEvents: newtype ReplayState
+ Amazonka.CloudWatchEvents: newtype ReplicationState
+ Amazonka.CloudWatchEvents: newtype RuleState
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_DELETE :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_GET :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_HEAD :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_OPTIONS :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_PATCH :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_POST :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationHttpMethod_PUT :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents: pattern ApiDestinationState_ACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents: pattern ApiDestinationState_INACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_CREATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_CREATING :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_DISABLED :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_ENABLED :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_UPDATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern ArchiveState_UPDATING :: ArchiveState
+ Amazonka.CloudWatchEvents: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents: pattern ConnectionAuthorizationType_API_KEY :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents: pattern ConnectionAuthorizationType_BASIC :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents: pattern ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents: pattern ConnectionOAuthHttpMethod_GET :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents: pattern ConnectionOAuthHttpMethod_POST :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents: pattern ConnectionOAuthHttpMethod_PUT :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents: pattern ConnectionState_AUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_AUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_CREATING :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_DEAUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_DEAUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_DELETING :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern ConnectionState_UPDATING :: ConnectionState
+ Amazonka.CloudWatchEvents: pattern EndpointState_ACTIVE :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_CREATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_CREATING :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_DELETE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_DELETING :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_UPDATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EndpointState_UPDATING :: EndpointState
+ Amazonka.CloudWatchEvents: pattern EventSourceState_ACTIVE :: EventSourceState
+ Amazonka.CloudWatchEvents: pattern EventSourceState_DELETED :: EventSourceState
+ Amazonka.CloudWatchEvents: pattern EventSourceState_PENDING :: EventSourceState
+ Amazonka.CloudWatchEvents: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.CloudWatchEvents: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.CloudWatchEvents: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.CloudWatchEvents: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.CloudWatchEvents: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.CloudWatchEvents: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.CloudWatchEvents: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.CloudWatchEvents: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.CloudWatchEvents: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.CloudWatchEvents: pattern ReplayState_CANCELLED :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplayState_CANCELLING :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplayState_COMPLETED :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplayState_FAILED :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplayState_RUNNING :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplayState_STARTING :: ReplayState
+ Amazonka.CloudWatchEvents: pattern ReplicationState_DISABLED :: ReplicationState
+ Amazonka.CloudWatchEvents: pattern ReplicationState_ENABLED :: ReplicationState
+ Amazonka.CloudWatchEvents: pattern RuleState_DISABLED :: RuleState
+ Amazonka.CloudWatchEvents: pattern RuleState_ENABLED :: RuleState
+ Amazonka.CloudWatchEvents.ActivateEventSource: ActivateEventSource' :: Text -> ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: ActivateEventSourceResponse' :: ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: [$sel:name:ActivateEventSource'] :: ActivateEventSource -> Text
+ Amazonka.CloudWatchEvents.ActivateEventSource: activateEventSource_name :: Lens' ActivateEventSource Text
+ Amazonka.CloudWatchEvents.ActivateEventSource: data ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: data ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.ActivateEventSource.ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.ActivateEventSource: newActivateEventSource :: Text -> ActivateEventSource
+ Amazonka.CloudWatchEvents.ActivateEventSource: newActivateEventSourceResponse :: ActivateEventSourceResponse
+ Amazonka.CloudWatchEvents.CancelReplay: CancelReplay' :: Text -> CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: CancelReplayResponse' :: Maybe Text -> Maybe ReplayState -> Maybe Text -> Int -> CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: [$sel:httpStatus:CancelReplayResponse'] :: CancelReplayResponse -> Int
+ Amazonka.CloudWatchEvents.CancelReplay: [$sel:replayArn:CancelReplayResponse'] :: CancelReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CancelReplay: [$sel:replayName:CancelReplay'] :: CancelReplay -> Text
+ Amazonka.CloudWatchEvents.CancelReplay: [$sel:state:CancelReplayResponse'] :: CancelReplayResponse -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.CancelReplay: [$sel:stateReason:CancelReplayResponse'] :: CancelReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CancelReplay: cancelReplayResponse_httpStatus :: Lens' CancelReplayResponse Int
+ Amazonka.CloudWatchEvents.CancelReplay: cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CancelReplay: cancelReplayResponse_state :: Lens' CancelReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.CancelReplay: cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CancelReplay: cancelReplay_replayName :: Lens' CancelReplay Text
+ Amazonka.CloudWatchEvents.CancelReplay: data CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: data CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CancelReplay.CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CancelReplay.CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CancelReplay.CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.CancelReplay.CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.CancelReplay.CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.CancelReplay.CancelReplayResponse
+ Amazonka.CloudWatchEvents.CancelReplay: newCancelReplay :: Text -> CancelReplay
+ Amazonka.CloudWatchEvents.CancelReplay: newCancelReplayResponse :: Int -> CancelReplayResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: CreateApiDestination' :: Maybe Text -> Maybe Natural -> Text -> Text -> Text -> ApiDestinationHttpMethod -> CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: CreateApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe POSIX -> Maybe POSIX -> Int -> CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:apiDestinationArn:CreateApiDestinationResponse'] :: CreateApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:apiDestinationState:CreateApiDestinationResponse'] :: CreateApiDestinationResponse -> Maybe ApiDestinationState
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:connectionArn:CreateApiDestination'] :: CreateApiDestination -> Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:creationTime:CreateApiDestinationResponse'] :: CreateApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:description:CreateApiDestination'] :: CreateApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:httpMethod:CreateApiDestination'] :: CreateApiDestination -> ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:httpStatus:CreateApiDestinationResponse'] :: CreateApiDestinationResponse -> Int
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:invocationEndpoint:CreateApiDestination'] :: CreateApiDestination -> Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:invocationRateLimitPerSecond:CreateApiDestination'] :: CreateApiDestination -> Maybe Natural
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:lastModifiedTime:CreateApiDestinationResponse'] :: CreateApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.CreateApiDestination: [$sel:name:CreateApiDestination'] :: CreateApiDestination -> Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestinationResponse_apiDestinationArn :: Lens' CreateApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestinationResponse_apiDestinationState :: Lens' CreateApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestinationResponse_creationTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestinationResponse_httpStatus :: Lens' CreateApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestinationResponse_lastModifiedTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_connectionArn :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_description :: Lens' CreateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_httpMethod :: Lens' CreateApiDestination ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_invocationEndpoint :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_invocationRateLimitPerSecond :: Lens' CreateApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.CreateApiDestination: createApiDestination_name :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.CreateApiDestination: data CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: data CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateApiDestination.CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateApiDestination: newCreateApiDestination :: Text -> Text -> Text -> ApiDestinationHttpMethod -> CreateApiDestination
+ Amazonka.CloudWatchEvents.CreateApiDestination: newCreateApiDestinationResponse :: Int -> CreateApiDestinationResponse
+ Amazonka.CloudWatchEvents.CreateArchive: CreateArchive' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> Text -> CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: CreateArchiveResponse' :: Maybe Text -> Maybe POSIX -> Maybe ArchiveState -> Maybe Text -> Int -> CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:archiveArn:CreateArchiveResponse'] :: CreateArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:archiveName:CreateArchive'] :: CreateArchive -> Text
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:creationTime:CreateArchiveResponse'] :: CreateArchiveResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:description:CreateArchive'] :: CreateArchive -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:eventPattern:CreateArchive'] :: CreateArchive -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:eventSourceArn:CreateArchive'] :: CreateArchive -> Text
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:httpStatus:CreateArchiveResponse'] :: CreateArchiveResponse -> Int
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:retentionDays:CreateArchive'] :: CreateArchive -> Maybe Natural
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:state:CreateArchiveResponse'] :: CreateArchiveResponse -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.CreateArchive: [$sel:stateReason:CreateArchiveResponse'] :: CreateArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateArchive: createArchiveResponse_archiveArn :: Lens' CreateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchiveResponse_creationTime :: Lens' CreateArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchiveResponse_httpStatus :: Lens' CreateArchiveResponse Int
+ Amazonka.CloudWatchEvents.CreateArchive: createArchiveResponse_state :: Lens' CreateArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchiveResponse_stateReason :: Lens' CreateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchive_archiveName :: Lens' CreateArchive Text
+ Amazonka.CloudWatchEvents.CreateArchive: createArchive_description :: Lens' CreateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchive_eventPattern :: Lens' CreateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateArchive: createArchive_eventSourceArn :: Lens' CreateArchive Text
+ Amazonka.CloudWatchEvents.CreateArchive: createArchive_retentionDays :: Lens' CreateArchive (Maybe Natural)
+ Amazonka.CloudWatchEvents.CreateArchive: data CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: data CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateArchive.CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateArchive.CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateArchive.CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateArchive.CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateArchive.CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateArchive.CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateArchive: newCreateArchive :: Text -> Text -> CreateArchive
+ Amazonka.CloudWatchEvents.CreateArchive: newCreateArchiveResponse :: Int -> CreateArchiveResponse
+ Amazonka.CloudWatchEvents.CreateConnection: CreateConnection' :: Maybe Text -> Text -> ConnectionAuthorizationType -> CreateConnectionAuthRequestParameters -> CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: CreateConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Int -> CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:authParameters:CreateConnection'] :: CreateConnection -> CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:authorizationType:CreateConnection'] :: CreateConnection -> ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:connectionArn:CreateConnectionResponse'] :: CreateConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:connectionState:CreateConnectionResponse'] :: CreateConnectionResponse -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:creationTime:CreateConnectionResponse'] :: CreateConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:description:CreateConnection'] :: CreateConnection -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:httpStatus:CreateConnectionResponse'] :: CreateConnectionResponse -> Int
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:lastModifiedTime:CreateConnectionResponse'] :: CreateConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.CreateConnection: [$sel:name:CreateConnection'] :: CreateConnection -> Text
+ Amazonka.CloudWatchEvents.CreateConnection: createConnectionResponse_connectionArn :: Lens' CreateConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateConnection: createConnectionResponse_connectionState :: Lens' CreateConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.CreateConnection: createConnectionResponse_creationTime :: Lens' CreateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.CreateConnection: createConnectionResponse_httpStatus :: Lens' CreateConnectionResponse Int
+ Amazonka.CloudWatchEvents.CreateConnection: createConnectionResponse_lastModifiedTime :: Lens' CreateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.CreateConnection: createConnection_authParameters :: Lens' CreateConnection CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.CreateConnection: createConnection_authorizationType :: Lens' CreateConnection ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.CreateConnection: createConnection_description :: Lens' CreateConnection (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateConnection: createConnection_name :: Lens' CreateConnection Text
+ Amazonka.CloudWatchEvents.CreateConnection: data CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: data CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateConnection.CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateConnection.CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateConnection.CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateConnection.CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateConnection.CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateConnection.CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateConnection: newCreateConnection :: Text -> ConnectionAuthorizationType -> CreateConnectionAuthRequestParameters -> CreateConnection
+ Amazonka.CloudWatchEvents.CreateConnection: newCreateConnectionResponse :: Int -> CreateConnectionResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: CreateEndpoint' :: Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Text -> RoutingConfig -> NonEmpty EndpointEventBus -> CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: CreateEndpointResponse' :: Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Int -> CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:arn:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:description:CreateEndpoint'] :: CreateEndpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:eventBuses:CreateEndpoint'] :: CreateEndpoint -> NonEmpty EndpointEventBus
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:eventBuses:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:httpStatus:CreateEndpointResponse'] :: CreateEndpointResponse -> Int
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:name:CreateEndpoint'] :: CreateEndpoint -> Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:name:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:replicationConfig:CreateEndpoint'] :: CreateEndpoint -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:replicationConfig:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:roleArn:CreateEndpoint'] :: CreateEndpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:roleArn:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:routingConfig:CreateEndpoint'] :: CreateEndpoint -> RoutingConfig
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:routingConfig:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.CreateEndpoint: [$sel:state:CreateEndpointResponse'] :: CreateEndpointResponse -> Maybe EndpointState
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_arn :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_eventBuses :: Lens' CreateEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_httpStatus :: Lens' CreateEndpointResponse Int
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_name :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_replicationConfig :: Lens' CreateEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_roleArn :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_routingConfig :: Lens' CreateEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpointResponse_state :: Lens' CreateEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_description :: Lens' CreateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_eventBuses :: Lens' CreateEndpoint (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_name :: Lens' CreateEndpoint Text
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_replicationConfig :: Lens' CreateEndpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_roleArn :: Lens' CreateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEndpoint: createEndpoint_routingConfig :: Lens' CreateEndpoint RoutingConfig
+ Amazonka.CloudWatchEvents.CreateEndpoint: data CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: data CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateEndpoint.CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEndpoint: newCreateEndpoint :: Text -> RoutingConfig -> NonEmpty EndpointEventBus -> CreateEndpoint
+ Amazonka.CloudWatchEvents.CreateEndpoint: newCreateEndpointResponse :: Int -> CreateEndpointResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: CreateEventBus' :: Maybe Text -> Maybe [Tag] -> Text -> CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: CreateEventBusResponse' :: Maybe Text -> Int -> CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: [$sel:eventBusArn:CreateEventBusResponse'] :: CreateEventBusResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEventBus: [$sel:eventSourceName:CreateEventBus'] :: CreateEventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.CreateEventBus: [$sel:httpStatus:CreateEventBusResponse'] :: CreateEventBusResponse -> Int
+ Amazonka.CloudWatchEvents.CreateEventBus: [$sel:name:CreateEventBus'] :: CreateEventBus -> Text
+ Amazonka.CloudWatchEvents.CreateEventBus: [$sel:tags:CreateEventBus'] :: CreateEventBus -> Maybe [Tag]
+ Amazonka.CloudWatchEvents.CreateEventBus: createEventBusResponse_eventBusArn :: Lens' CreateEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEventBus: createEventBusResponse_httpStatus :: Lens' CreateEventBusResponse Int
+ Amazonka.CloudWatchEvents.CreateEventBus: createEventBus_eventSourceName :: Lens' CreateEventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.CreateEventBus: createEventBus_name :: Lens' CreateEventBus Text
+ Amazonka.CloudWatchEvents.CreateEventBus: createEventBus_tags :: Lens' CreateEventBus (Maybe [Tag])
+ Amazonka.CloudWatchEvents.CreateEventBus: data CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: data CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreateEventBus.CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreateEventBus: newCreateEventBus :: Text -> CreateEventBus
+ Amazonka.CloudWatchEvents.CreateEventBus: newCreateEventBusResponse :: Int -> CreateEventBusResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: CreatePartnerEventSource' :: Text -> Text -> CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: CreatePartnerEventSourceResponse' :: Maybe Text -> Int -> CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: [$sel:account:CreatePartnerEventSource'] :: CreatePartnerEventSource -> Text
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: [$sel:eventSourceArn:CreatePartnerEventSourceResponse'] :: CreatePartnerEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: [$sel:httpStatus:CreatePartnerEventSourceResponse'] :: CreatePartnerEventSourceResponse -> Int
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: [$sel:name:CreatePartnerEventSource'] :: CreatePartnerEventSource -> Text
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: createPartnerEventSourceResponse_eventSourceArn :: Lens' CreatePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: createPartnerEventSourceResponse_httpStatus :: Lens' CreatePartnerEventSourceResponse Int
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: createPartnerEventSource_account :: Lens' CreatePartnerEventSource Text
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: createPartnerEventSource_name :: Lens' CreatePartnerEventSource Text
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: data CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: data CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.CreatePartnerEventSource.CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: newCreatePartnerEventSource :: Text -> Text -> CreatePartnerEventSource
+ Amazonka.CloudWatchEvents.CreatePartnerEventSource: newCreatePartnerEventSourceResponse :: Int -> CreatePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: DeactivateEventSource' :: Text -> DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: DeactivateEventSourceResponse' :: DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: [$sel:name:DeactivateEventSource'] :: DeactivateEventSource -> Text
+ Amazonka.CloudWatchEvents.DeactivateEventSource: data DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: data DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: deactivateEventSource_name :: Lens' DeactivateEventSource Text
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeactivateEventSource.DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeactivateEventSource: newDeactivateEventSource :: Text -> DeactivateEventSource
+ Amazonka.CloudWatchEvents.DeactivateEventSource: newDeactivateEventSourceResponse :: DeactivateEventSourceResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: DeauthorizeConnection' :: Text -> DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: DeauthorizeConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:connectionArn:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:connectionState:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:creationTime:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:httpStatus:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Int
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:lastAuthorizedTime:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:lastModifiedTime:DeauthorizeConnectionResponse'] :: DeauthorizeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: [$sel:name:DeauthorizeConnection'] :: DeauthorizeConnection -> Text
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: data DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: data DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_connectionState :: Lens' DeauthorizeConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_httpStatus :: Lens' DeauthorizeConnectionResponse Int
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: deauthorizeConnection_name :: Lens' DeauthorizeConnection Text
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeauthorizeConnection.DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: newDeauthorizeConnection :: Text -> DeauthorizeConnection
+ Amazonka.CloudWatchEvents.DeauthorizeConnection: newDeauthorizeConnectionResponse :: Int -> DeauthorizeConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: DeleteApiDestination' :: Text -> DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: DeleteApiDestinationResponse' :: Int -> DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: [$sel:httpStatus:DeleteApiDestinationResponse'] :: DeleteApiDestinationResponse -> Int
+ Amazonka.CloudWatchEvents.DeleteApiDestination: [$sel:name:DeleteApiDestination'] :: DeleteApiDestination -> Text
+ Amazonka.CloudWatchEvents.DeleteApiDestination: data DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: data DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: deleteApiDestinationResponse_httpStatus :: Lens' DeleteApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.DeleteApiDestination: deleteApiDestination_name :: Lens' DeleteApiDestination Text
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteApiDestination.DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteApiDestination: newDeleteApiDestination :: Text -> DeleteApiDestination
+ Amazonka.CloudWatchEvents.DeleteApiDestination: newDeleteApiDestinationResponse :: Int -> DeleteApiDestinationResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: DeleteArchive' :: Text -> DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: DeleteArchiveResponse' :: Int -> DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: [$sel:archiveName:DeleteArchive'] :: DeleteArchive -> Text
+ Amazonka.CloudWatchEvents.DeleteArchive: [$sel:httpStatus:DeleteArchiveResponse'] :: DeleteArchiveResponse -> Int
+ Amazonka.CloudWatchEvents.DeleteArchive: data DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: data DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: deleteArchiveResponse_httpStatus :: Lens' DeleteArchiveResponse Int
+ Amazonka.CloudWatchEvents.DeleteArchive: deleteArchive_archiveName :: Lens' DeleteArchive Text
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteArchive.DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteArchive: newDeleteArchive :: Text -> DeleteArchive
+ Amazonka.CloudWatchEvents.DeleteArchive: newDeleteArchiveResponse :: Int -> DeleteArchiveResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: DeleteConnection' :: Text -> DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: DeleteConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:connectionArn:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:connectionState:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:creationTime:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:httpStatus:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Int
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:lastAuthorizedTime:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:lastModifiedTime:DeleteConnectionResponse'] :: DeleteConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DeleteConnection: [$sel:name:DeleteConnection'] :: DeleteConnection -> Text
+ Amazonka.CloudWatchEvents.DeleteConnection: data DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: data DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_connectionArn :: Lens' DeleteConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_connectionState :: Lens' DeleteConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DeleteConnection: deleteConnection_name :: Lens' DeleteConnection Text
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteConnection.DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteConnection: newDeleteConnection :: Text -> DeleteConnection
+ Amazonka.CloudWatchEvents.DeleteConnection: newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: DeleteEndpoint' :: Text -> DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: DeleteEndpointResponse' :: Int -> DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: [$sel:httpStatus:DeleteEndpointResponse'] :: DeleteEndpointResponse -> Int
+ Amazonka.CloudWatchEvents.DeleteEndpoint: [$sel:name:DeleteEndpoint'] :: DeleteEndpoint -> Text
+ Amazonka.CloudWatchEvents.DeleteEndpoint: data DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: data DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
+ Amazonka.CloudWatchEvents.DeleteEndpoint: deleteEndpoint_name :: Lens' DeleteEndpoint Text
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteEndpoint.DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEndpoint: newDeleteEndpoint :: Text -> DeleteEndpoint
+ Amazonka.CloudWatchEvents.DeleteEndpoint: newDeleteEndpointResponse :: Int -> DeleteEndpointResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: DeleteEventBus' :: Text -> DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: DeleteEventBusResponse' :: DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: [$sel:name:DeleteEventBus'] :: DeleteEventBus -> Text
+ Amazonka.CloudWatchEvents.DeleteEventBus: data DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: data DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: deleteEventBus_name :: Lens' DeleteEventBus Text
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteEventBus.DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeleteEventBus: newDeleteEventBus :: Text -> DeleteEventBus
+ Amazonka.CloudWatchEvents.DeleteEventBus: newDeleteEventBusResponse :: DeleteEventBusResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: DeletePartnerEventSource' :: Text -> Text -> DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: DeletePartnerEventSourceResponse' :: DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: [$sel:account:DeletePartnerEventSource'] :: DeletePartnerEventSource -> Text
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: [$sel:name:DeletePartnerEventSource'] :: DeletePartnerEventSource -> Text
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: data DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: data DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: deletePartnerEventSource_account :: Lens' DeletePartnerEventSource Text
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: deletePartnerEventSource_name :: Lens' DeletePartnerEventSource Text
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeletePartnerEventSource.DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: newDeletePartnerEventSource :: Text -> Text -> DeletePartnerEventSource
+ Amazonka.CloudWatchEvents.DeletePartnerEventSource: newDeletePartnerEventSourceResponse :: DeletePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DeleteRule: DeleteRule' :: Maybe Text -> Maybe Bool -> Text -> DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: DeleteRuleResponse' :: DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: [$sel:eventBusName:DeleteRule'] :: DeleteRule -> Maybe Text
+ Amazonka.CloudWatchEvents.DeleteRule: [$sel:force:DeleteRule'] :: DeleteRule -> Maybe Bool
+ Amazonka.CloudWatchEvents.DeleteRule: [$sel:name:DeleteRule'] :: DeleteRule -> Text
+ Amazonka.CloudWatchEvents.DeleteRule: data DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: data DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: deleteRule_eventBusName :: Lens' DeleteRule (Maybe Text)
+ Amazonka.CloudWatchEvents.DeleteRule: deleteRule_force :: Lens' DeleteRule (Maybe Bool)
+ Amazonka.CloudWatchEvents.DeleteRule: deleteRule_name :: Lens' DeleteRule Text
+ Amazonka.CloudWatchEvents.DeleteRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DeleteRule.DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DeleteRule.DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DeleteRule.DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DeleteRule.DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteRule.DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DeleteRule.DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DeleteRule: newDeleteRule :: Text -> DeleteRule
+ Amazonka.CloudWatchEvents.DeleteRule: newDeleteRuleResponse :: DeleteRuleResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: DescribeApiDestination' :: Text -> DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: DescribeApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Int -> DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:apiDestinationArn:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:apiDestinationState:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe ApiDestinationState
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:connectionArn:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:creationTime:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:description:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:httpMethod:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:httpStatus:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:invocationEndpoint:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:invocationRateLimitPerSecond:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Natural
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:lastModifiedTime:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:name:DescribeApiDestination'] :: DescribeApiDestination -> Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: [$sel:name:DescribeApiDestinationResponse'] :: DescribeApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: data DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: data DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_apiDestinationState :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_description :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_httpMethod :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_invocationEndpoint :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestinationResponse_name :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeApiDestination: describeApiDestination_name :: Lens' DescribeApiDestination Text
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeApiDestination.DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeApiDestination: newDescribeApiDestination :: Text -> DescribeApiDestination
+ Amazonka.CloudWatchEvents.DescribeApiDestination: newDescribeApiDestinationResponse :: Int -> DescribeApiDestinationResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: DescribeArchive' :: Text -> DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: DescribeArchiveResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Integer -> Maybe ArchiveState -> Maybe Text -> Int -> DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:archiveArn:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:archiveName:DescribeArchive'] :: DescribeArchive -> Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:archiveName:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:creationTime:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:description:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:eventCount:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Integer
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:eventPattern:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:eventSourceArn:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:httpStatus:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:retentionDays:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Natural
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:sizeBytes:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Integer
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:state:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.DescribeArchive: [$sel:stateReason:DescribeArchiveResponse'] :: DescribeArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeArchive: data DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: data DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_archiveArn :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_archiveName :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_creationTime :: Lens' DescribeArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_description :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_eventCount :: Lens' DescribeArchiveResponse (Maybe Integer)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_eventPattern :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_eventSourceArn :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_httpStatus :: Lens' DescribeArchiveResponse Int
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_retentionDays :: Lens' DescribeArchiveResponse (Maybe Natural)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_sizeBytes :: Lens' DescribeArchiveResponse (Maybe Integer)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_state :: Lens' DescribeArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchiveResponse_stateReason :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeArchive: describeArchive_archiveName :: Lens' DescribeArchive Text
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeArchive.DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeArchive: newDescribeArchive :: Text -> DescribeArchive
+ Amazonka.CloudWatchEvents.DescribeArchive: newDescribeArchiveResponse :: Int -> DescribeArchiveResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: DescribeConnection' :: Text -> DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: DescribeConnectionResponse' :: Maybe ConnectionAuthResponseParameters -> Maybe ConnectionAuthorizationType -> Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:authParameters:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:authorizationType:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:connectionArn:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:connectionState:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:creationTime:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:description:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:httpStatus:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:lastAuthorizedTime:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:lastModifiedTime:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:name:DescribeConnection'] :: DescribeConnection -> Text
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:name:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:secretArn:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeConnection: [$sel:stateReason:DescribeConnectionResponse'] :: DescribeConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeConnection: data DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: data DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_authParameters :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthResponseParameters)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_authorizationType :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_connectionArn :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_connectionState :: Lens' DescribeConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_description :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_httpStatus :: Lens' DescribeConnectionResponse Int
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_name :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeConnection: describeConnection_name :: Lens' DescribeConnection Text
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeConnection.DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeConnection: newDescribeConnection :: Text -> DescribeConnection
+ Amazonka.CloudWatchEvents.DescribeConnection: newDescribeConnectionResponse :: Int -> DescribeConnectionResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: DescribeEndpoint' :: Maybe Text -> Text -> DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: DescribeEndpointResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe POSIX -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Maybe Text -> Int -> DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:arn:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:creationTime:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:description:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:endpointId:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:endpointUrl:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:eventBuses:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:homeRegion:DescribeEndpoint'] :: DescribeEndpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:httpStatus:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:lastModifiedTime:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:name:DescribeEndpoint'] :: DescribeEndpoint -> Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:name:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:replicationConfig:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:roleArn:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:routingConfig:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:state:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe EndpointState
+ Amazonka.CloudWatchEvents.DescribeEndpoint: [$sel:stateReason:DescribeEndpointResponse'] :: DescribeEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: data DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: data DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_arn :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_creationTime :: Lens' DescribeEndpointResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_description :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_endpointId :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_endpointUrl :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_eventBuses :: Lens' DescribeEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_lastModifiedTime :: Lens' DescribeEndpointResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_name :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_replicationConfig :: Lens' DescribeEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_roleArn :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_routingConfig :: Lens' DescribeEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_state :: Lens' DescribeEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpointResponse_stateReason :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpoint_homeRegion :: Lens' DescribeEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEndpoint: describeEndpoint_name :: Lens' DescribeEndpoint Text
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEndpoint.DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEndpoint: newDescribeEndpoint :: Text -> DescribeEndpoint
+ Amazonka.CloudWatchEvents.DescribeEndpoint: newDescribeEndpointResponse :: Int -> DescribeEndpointResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: DescribeEventBus' :: Maybe Text -> DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: DescribeEventBusResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: [$sel:arn:DescribeEventBusResponse'] :: DescribeEventBusResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventBus: [$sel:httpStatus:DescribeEventBusResponse'] :: DescribeEventBusResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeEventBus: [$sel:name:DescribeEventBus'] :: DescribeEventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventBus: [$sel:name:DescribeEventBusResponse'] :: DescribeEventBusResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventBus: [$sel:policy:DescribeEventBusResponse'] :: DescribeEventBusResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventBus: data DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: data DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: describeEventBusResponse_arn :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventBus: describeEventBusResponse_httpStatus :: Lens' DescribeEventBusResponse Int
+ Amazonka.CloudWatchEvents.DescribeEventBus: describeEventBusResponse_name :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventBus: describeEventBusResponse_policy :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventBus: describeEventBus_name :: Lens' DescribeEventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEventBus.DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventBus: newDescribeEventBus :: DescribeEventBus
+ Amazonka.CloudWatchEvents.DescribeEventBus: newDescribeEventBusResponse :: Int -> DescribeEventBusResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: DescribeEventSource' :: Text -> DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: DescribeEventSourceResponse' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe EventSourceState -> Int -> DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:arn:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:createdBy:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:creationTime:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:expirationTime:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:httpStatus:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:name:DescribeEventSource'] :: DescribeEventSource -> Text
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:name:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeEventSource: [$sel:state:DescribeEventSourceResponse'] :: DescribeEventSourceResponse -> Maybe EventSourceState
+ Amazonka.CloudWatchEvents.DescribeEventSource: data DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: data DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_arn :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_httpStatus :: Lens' DescribeEventSourceResponse Int
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_name :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.DescribeEventSource: describeEventSource_name :: Lens' DescribeEventSource Text
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeEventSource.DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeEventSource: newDescribeEventSource :: Text -> DescribeEventSource
+ Amazonka.CloudWatchEvents.DescribeEventSource: newDescribeEventSourceResponse :: Int -> DescribeEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: DescribePartnerEventSource' :: Text -> DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: DescribePartnerEventSourceResponse' :: Maybe Text -> Maybe Text -> Int -> DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: [$sel:arn:DescribePartnerEventSourceResponse'] :: DescribePartnerEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: [$sel:httpStatus:DescribePartnerEventSourceResponse'] :: DescribePartnerEventSourceResponse -> Int
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: [$sel:name:DescribePartnerEventSource'] :: DescribePartnerEventSource -> Text
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: [$sel:name:DescribePartnerEventSourceResponse'] :: DescribePartnerEventSourceResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: data DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: data DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: describePartnerEventSourceResponse_arn :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: describePartnerEventSourceResponse_httpStatus :: Lens' DescribePartnerEventSourceResponse Int
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: describePartnerEventSourceResponse_name :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: describePartnerEventSource_name :: Lens' DescribePartnerEventSource Text
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribePartnerEventSource.DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: newDescribePartnerEventSource :: Text -> DescribePartnerEventSource
+ Amazonka.CloudWatchEvents.DescribePartnerEventSource: newDescribePartnerEventSourceResponse :: Int -> DescribePartnerEventSourceResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: DescribeReplay' :: Text -> DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: DescribeReplayResponse' :: Maybe Text -> Maybe ReplayDestination -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Int -> DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:description:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:destination:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe ReplayDestination
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:eventEndTime:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:eventLastReplayedTime:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:eventSourceArn:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:eventStartTime:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:httpStatus:DescribeReplayResponse'] :: DescribeReplayResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:replayArn:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:replayEndTime:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:replayName:DescribeReplay'] :: DescribeReplay -> Text
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:replayName:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:replayStartTime:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:state:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.DescribeReplay: [$sel:stateReason:DescribeReplayResponse'] :: DescribeReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeReplay: data DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: data DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_description :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_destination :: Lens' DescribeReplayResponse (Maybe ReplayDestination)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_eventEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_eventLastReplayedTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_eventSourceArn :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_eventStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_httpStatus :: Lens' DescribeReplayResponse Int
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_replayArn :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_replayEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_replayName :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_replayStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_state :: Lens' DescribeReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplayResponse_stateReason :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeReplay: describeReplay_replayName :: Lens' DescribeReplay Text
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeReplay.DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeReplay: newDescribeReplay :: Text -> DescribeReplay
+ Amazonka.CloudWatchEvents.DescribeReplay: newDescribeReplayResponse :: Int -> DescribeReplayResponse
+ Amazonka.CloudWatchEvents.DescribeRule: DescribeRule' :: Maybe Text -> Text -> DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: DescribeRuleResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Int -> DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:arn:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:createdBy:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:description:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:eventBusName:DescribeRule'] :: DescribeRule -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:eventBusName:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:eventPattern:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:httpStatus:DescribeRuleResponse'] :: DescribeRuleResponse -> Int
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:managedBy:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:name:DescribeRule'] :: DescribeRule -> Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:name:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:roleArn:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:scheduleExpression:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.DescribeRule: [$sel:state:DescribeRuleResponse'] :: DescribeRuleResponse -> Maybe RuleState
+ Amazonka.CloudWatchEvents.DescribeRule: data DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: data DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_arn :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_createdBy :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_description :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_eventBusName :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_eventPattern :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_httpStatus :: Lens' DescribeRuleResponse Int
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_managedBy :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_name :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_roleArn :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_scheduleExpression :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRuleResponse_state :: Lens' DescribeRuleResponse (Maybe RuleState)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRule_eventBusName :: Lens' DescribeRule (Maybe Text)
+ Amazonka.CloudWatchEvents.DescribeRule: describeRule_name :: Lens' DescribeRule Text
+ Amazonka.CloudWatchEvents.DescribeRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DescribeRule.DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DescribeRule.DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DescribeRule.DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DescribeRule.DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeRule.DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DescribeRule.DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DescribeRule: newDescribeRule :: Text -> DescribeRule
+ Amazonka.CloudWatchEvents.DescribeRule: newDescribeRuleResponse :: Int -> DescribeRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: DisableRule' :: Maybe Text -> Text -> DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: DisableRuleResponse' :: DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: [$sel:eventBusName:DisableRule'] :: DisableRule -> Maybe Text
+ Amazonka.CloudWatchEvents.DisableRule: [$sel:name:DisableRule'] :: DisableRule -> Text
+ Amazonka.CloudWatchEvents.DisableRule: data DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: data DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: disableRule_eventBusName :: Lens' DisableRule (Maybe Text)
+ Amazonka.CloudWatchEvents.DisableRule: disableRule_name :: Lens' DisableRule Text
+ Amazonka.CloudWatchEvents.DisableRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.DisableRule.DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.DisableRule.DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.DisableRule.DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.DisableRule.DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DisableRule.DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.DisableRule.DisableRuleResponse
+ Amazonka.CloudWatchEvents.DisableRule: newDisableRule :: Text -> DisableRule
+ Amazonka.CloudWatchEvents.DisableRule: newDisableRuleResponse :: DisableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: EnableRule' :: Maybe Text -> Text -> EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: EnableRuleResponse' :: EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: [$sel:eventBusName:EnableRule'] :: EnableRule -> Maybe Text
+ Amazonka.CloudWatchEvents.EnableRule: [$sel:name:EnableRule'] :: EnableRule -> Text
+ Amazonka.CloudWatchEvents.EnableRule: data EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: data EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: enableRule_eventBusName :: Lens' EnableRule (Maybe Text)
+ Amazonka.CloudWatchEvents.EnableRule: enableRule_name :: Lens' EnableRule Text
+ Amazonka.CloudWatchEvents.EnableRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.EnableRule.EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.EnableRule.EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.EnableRule.EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.EnableRule.EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.EnableRule.EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.EnableRule.EnableRuleResponse
+ Amazonka.CloudWatchEvents.EnableRule: newEnableRule :: Text -> EnableRule
+ Amazonka.CloudWatchEvents.EnableRule: newEnableRuleResponse :: EnableRuleResponse
+ Amazonka.CloudWatchEvents.Lens: activateEventSource_name :: Lens' ActivateEventSource Text
+ Amazonka.CloudWatchEvents.Lens: apiDestination_apiDestinationArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_apiDestinationState :: Lens' ApiDestination (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: apiDestination_name :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: archive_archiveName :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: archive_creationTime :: Lens' Archive (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: archive_eventCount :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Lens: archive_eventSourceArn :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: archive_retentionDays :: Lens' Archive (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: archive_sizeBytes :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Lens: archive_state :: Lens' Archive (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Lens: archive_stateReason :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.CloudWatchEvents.Lens: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.CloudWatchEvents.Lens: batchArrayProperties_size :: Lens' BatchArrayProperties (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: batchParameters_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
+ Amazonka.CloudWatchEvents.Lens: batchParameters_jobDefinition :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Lens: batchParameters_jobName :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Lens: batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
+ Amazonka.CloudWatchEvents.Lens: batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: cancelReplayResponse_httpStatus :: Lens' CancelReplayResponse Int
+ Amazonka.CloudWatchEvents.Lens: cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: cancelReplayResponse_state :: Lens' CancelReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Lens: cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: cancelReplay_replayName :: Lens' CancelReplay Text
+ Amazonka.CloudWatchEvents.Lens: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.CloudWatchEvents.Lens: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: condition_key :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Lens: condition_type :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Lens: condition_value :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Lens: connectionApiKeyAuthResponseParameters_apiKeyName :: Lens' ConnectionApiKeyAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionAuthResponseParameters_apiKeyAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionApiKeyAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionAuthResponseParameters_basicAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionBasicAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionAuthResponseParameters_invocationHttpParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionAuthResponseParameters_oAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionOAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionBasicAuthResponseParameters_username :: Lens' ConnectionBasicAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionBodyParameter_isValueSecret :: Lens' ConnectionBodyParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: connectionBodyParameter_key :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionBodyParameter_value :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionHeaderParameter_isValueSecret :: Lens' ConnectionHeaderParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: connectionHeaderParameter_key :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionHeaderParameter_value :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionHttpParameters_bodyParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionBodyParameter])
+ Amazonka.CloudWatchEvents.Lens: connectionHttpParameters_headerParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionHeaderParameter])
+ Amazonka.CloudWatchEvents.Lens: connectionHttpParameters_queryStringParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionQueryStringParameter])
+ Amazonka.CloudWatchEvents.Lens: connectionOAuthClientResponseParameters_clientID :: Lens' ConnectionOAuthClientResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionOAuthResponseParameters_authorizationEndpoint :: Lens' ConnectionOAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionOAuthResponseParameters_clientParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthClientResponseParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionOAuthResponseParameters_httpMethod :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Lens: connectionOAuthResponseParameters_oAuthHttpParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: connectionQueryStringParameter_isValueSecret :: Lens' ConnectionQueryStringParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: connectionQueryStringParameter_key :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connectionQueryStringParameter_value :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connection_authorizationType :: Lens' Connection (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.Lens: connection_connectionArn :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connection_connectionState :: Lens' Connection (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: connection_creationTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: connection_lastAuthorizedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: connection_lastModifiedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: connection_name :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: connection_stateReason :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createApiDestinationResponse_apiDestinationArn :: Lens' CreateApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createApiDestinationResponse_apiDestinationState :: Lens' CreateApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Lens: createApiDestinationResponse_creationTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: createApiDestinationResponse_httpStatus :: Lens' CreateApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.Lens: createApiDestinationResponse_lastModifiedTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_connectionArn :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_description :: Lens' CreateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_httpMethod :: Lens' CreateApiDestination ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_invocationEndpoint :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_invocationRateLimitPerSecond :: Lens' CreateApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: createApiDestination_name :: Lens' CreateApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: createArchiveResponse_archiveArn :: Lens' CreateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createArchiveResponse_creationTime :: Lens' CreateArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: createArchiveResponse_httpStatus :: Lens' CreateArchiveResponse Int
+ Amazonka.CloudWatchEvents.Lens: createArchiveResponse_state :: Lens' CreateArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Lens: createArchiveResponse_stateReason :: Lens' CreateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createArchive_archiveName :: Lens' CreateArchive Text
+ Amazonka.CloudWatchEvents.Lens: createArchive_description :: Lens' CreateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createArchive_eventPattern :: Lens' CreateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createArchive_eventSourceArn :: Lens' CreateArchive Text
+ Amazonka.CloudWatchEvents.Lens: createArchive_retentionDays :: Lens' CreateArchive (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: createConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: createConnectionAuthRequestParameters_basicAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: createConnectionAuthRequestParameters_invocationHttpParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: createConnectionAuthRequestParameters_oAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: createConnectionBasicAuthRequestParameters_password :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionBasicAuthRequestParameters_username :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthClientRequestParameters_clientID :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthClientRequestParameters_clientSecret :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' CreateConnectionOAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthRequestParameters_clientParameters :: Lens' CreateConnectionOAuthRequestParameters CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthRequestParameters_httpMethod :: Lens' CreateConnectionOAuthRequestParameters ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Lens: createConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' CreateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: createConnectionResponse_connectionArn :: Lens' CreateConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createConnectionResponse_connectionState :: Lens' CreateConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: createConnectionResponse_creationTime :: Lens' CreateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: createConnectionResponse_httpStatus :: Lens' CreateConnectionResponse Int
+ Amazonka.CloudWatchEvents.Lens: createConnectionResponse_lastModifiedTime :: Lens' CreateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: createConnection_authParameters :: Lens' CreateConnection CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Lens: createConnection_authorizationType :: Lens' CreateConnection ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Lens: createConnection_description :: Lens' CreateConnection (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createConnection_name :: Lens' CreateConnection Text
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_arn :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_eventBuses :: Lens' CreateEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_httpStatus :: Lens' CreateEndpointResponse Int
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_name :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_replicationConfig :: Lens' CreateEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_roleArn :: Lens' CreateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_routingConfig :: Lens' CreateEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Lens: createEndpointResponse_state :: Lens' CreateEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_description :: Lens' CreateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_eventBuses :: Lens' CreateEndpoint (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_name :: Lens' CreateEndpoint Text
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_replicationConfig :: Lens' CreateEndpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_roleArn :: Lens' CreateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEndpoint_routingConfig :: Lens' CreateEndpoint RoutingConfig
+ Amazonka.CloudWatchEvents.Lens: createEventBusResponse_eventBusArn :: Lens' CreateEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEventBusResponse_httpStatus :: Lens' CreateEventBusResponse Int
+ Amazonka.CloudWatchEvents.Lens: createEventBus_eventSourceName :: Lens' CreateEventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createEventBus_name :: Lens' CreateEventBus Text
+ Amazonka.CloudWatchEvents.Lens: createEventBus_tags :: Lens' CreateEventBus (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Lens: createPartnerEventSourceResponse_eventSourceArn :: Lens' CreatePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: createPartnerEventSourceResponse_httpStatus :: Lens' CreatePartnerEventSourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: createPartnerEventSource_account :: Lens' CreatePartnerEventSource Text
+ Amazonka.CloudWatchEvents.Lens: createPartnerEventSource_name :: Lens' CreatePartnerEventSource Text
+ Amazonka.CloudWatchEvents.Lens: deactivateEventSource_name :: Lens' DeactivateEventSource Text
+ Amazonka.CloudWatchEvents.Lens: deadLetterConfig_arn :: Lens' DeadLetterConfig (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_connectionState :: Lens' DeauthorizeConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_httpStatus :: Lens' DeauthorizeConnectionResponse Int
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deauthorizeConnection_name :: Lens' DeauthorizeConnection Text
+ Amazonka.CloudWatchEvents.Lens: deleteApiDestinationResponse_httpStatus :: Lens' DeleteApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.Lens: deleteApiDestination_name :: Lens' DeleteApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: deleteArchiveResponse_httpStatus :: Lens' DeleteArchiveResponse Int
+ Amazonka.CloudWatchEvents.Lens: deleteArchive_archiveName :: Lens' DeleteArchive Text
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_connectionArn :: Lens' DeleteConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_connectionState :: Lens' DeleteConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: deleteConnection_name :: Lens' DeleteConnection Text
+ Amazonka.CloudWatchEvents.Lens: deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
+ Amazonka.CloudWatchEvents.Lens: deleteEndpoint_name :: Lens' DeleteEndpoint Text
+ Amazonka.CloudWatchEvents.Lens: deleteEventBus_name :: Lens' DeleteEventBus Text
+ Amazonka.CloudWatchEvents.Lens: deletePartnerEventSource_account :: Lens' DeletePartnerEventSource Text
+ Amazonka.CloudWatchEvents.Lens: deletePartnerEventSource_name :: Lens' DeletePartnerEventSource Text
+ Amazonka.CloudWatchEvents.Lens: deleteRule_eventBusName :: Lens' DeleteRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: deleteRule_force :: Lens' DeleteRule (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: deleteRule_name :: Lens' DeleteRule Text
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_apiDestinationArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_apiDestinationState :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_description :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_httpMethod :: Lens' DescribeApiDestinationResponse (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_httpStatus :: Lens' DescribeApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_invocationEndpoint :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestinationResponse_name :: Lens' DescribeApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeApiDestination_name :: Lens' DescribeApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_archiveArn :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_archiveName :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_creationTime :: Lens' DescribeArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_description :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_eventCount :: Lens' DescribeArchiveResponse (Maybe Integer)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_eventPattern :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_eventSourceArn :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_httpStatus :: Lens' DescribeArchiveResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_retentionDays :: Lens' DescribeArchiveResponse (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_sizeBytes :: Lens' DescribeArchiveResponse (Maybe Integer)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_state :: Lens' DescribeArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Lens: describeArchiveResponse_stateReason :: Lens' DescribeArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeArchive_archiveName :: Lens' DescribeArchive Text
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_authParameters :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_authorizationType :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_connectionArn :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_connectionState :: Lens' DescribeConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_description :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_httpStatus :: Lens' DescribeConnectionResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_name :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeConnection_name :: Lens' DescribeConnection Text
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_arn :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_creationTime :: Lens' DescribeEndpointResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_description :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_endpointId :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_endpointUrl :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_eventBuses :: Lens' DescribeEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_httpStatus :: Lens' DescribeEndpointResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_lastModifiedTime :: Lens' DescribeEndpointResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_name :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_replicationConfig :: Lens' DescribeEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_roleArn :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_routingConfig :: Lens' DescribeEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_state :: Lens' DescribeEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Lens: describeEndpointResponse_stateReason :: Lens' DescribeEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpoint_homeRegion :: Lens' DescribeEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEndpoint_name :: Lens' DescribeEndpoint Text
+ Amazonka.CloudWatchEvents.Lens: describeEventBusResponse_arn :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventBusResponse_httpStatus :: Lens' DescribeEventBusResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeEventBusResponse_name :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventBusResponse_policy :: Lens' DescribeEventBusResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventBus_name :: Lens' DescribeEventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_arn :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_httpStatus :: Lens' DescribeEventSourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_name :: Lens' DescribeEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Lens: describeEventSource_name :: Lens' DescribeEventSource Text
+ Amazonka.CloudWatchEvents.Lens: describePartnerEventSourceResponse_arn :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describePartnerEventSourceResponse_httpStatus :: Lens' DescribePartnerEventSourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: describePartnerEventSourceResponse_name :: Lens' DescribePartnerEventSourceResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describePartnerEventSource_name :: Lens' DescribePartnerEventSource Text
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_description :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_destination :: Lens' DescribeReplayResponse (Maybe ReplayDestination)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_eventEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_eventLastReplayedTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_eventSourceArn :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_eventStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_httpStatus :: Lens' DescribeReplayResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_replayArn :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_replayEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_replayName :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_replayStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_state :: Lens' DescribeReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Lens: describeReplayResponse_stateReason :: Lens' DescribeReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeReplay_replayName :: Lens' DescribeReplay Text
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_arn :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_createdBy :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_description :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_eventBusName :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_eventPattern :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_httpStatus :: Lens' DescribeRuleResponse Int
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_managedBy :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_name :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_roleArn :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_scheduleExpression :: Lens' DescribeRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRuleResponse_state :: Lens' DescribeRuleResponse (Maybe RuleState)
+ Amazonka.CloudWatchEvents.Lens: describeRule_eventBusName :: Lens' DescribeRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: describeRule_name :: Lens' DescribeRule Text
+ Amazonka.CloudWatchEvents.Lens: disableRule_eventBusName :: Lens' DisableRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: disableRule_name :: Lens' DisableRule Text
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem])
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_group :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint])
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy])
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_tags :: Lens' EcsParameters (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text
+ Amazonka.CloudWatchEvents.Lens: enableRule_eventBusName :: Lens' EnableRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: enableRule_name :: Lens' EnableRule Text
+ Amazonka.CloudWatchEvents.Lens: endpointEventBus_eventBusArn :: Lens' EndpointEventBus Text
+ Amazonka.CloudWatchEvents.Lens: endpoint_arn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_creationTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: endpoint_description :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_endpointId :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_endpointUrl :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_eventBuses :: Lens' Endpoint (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Lens: endpoint_lastModifiedTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: endpoint_name :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_replicationConfig :: Lens' Endpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: endpoint_roleArn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: endpoint_routingConfig :: Lens' Endpoint (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Lens: endpoint_state :: Lens' Endpoint (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Lens: endpoint_stateReason :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventBus_arn :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventBus_name :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventBus_policy :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventSource_arn :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventSource_createdBy :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventSource_creationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: eventSource_expirationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: eventSource_name :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: eventSource_state :: Lens' EventSource (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Lens: failoverConfig_primary :: Lens' FailoverConfig Primary
+ Amazonka.CloudWatchEvents.Lens: failoverConfig_secondary :: Lens' FailoverConfig Secondary
+ Amazonka.CloudWatchEvents.Lens: httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Lens: httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Lens: inputTransformer_inputPathsMap :: Lens' InputTransformer (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Lens: inputTransformer_inputTemplate :: Lens' InputTransformer Text
+ Amazonka.CloudWatchEvents.Lens: kinesisParameters_partitionKeyPath :: Lens' KinesisParameters Text
+ Amazonka.CloudWatchEvents.Lens: listApiDestinationsResponse_apiDestinations :: Lens' ListApiDestinationsResponse (Maybe [ApiDestination])
+ Amazonka.CloudWatchEvents.Lens: listApiDestinationsResponse_httpStatus :: Lens' ListApiDestinationsResponse Int
+ Amazonka.CloudWatchEvents.Lens: listApiDestinationsResponse_nextToken :: Lens' ListApiDestinationsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listApiDestinations_connectionArn :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listApiDestinations_limit :: Lens' ListApiDestinations (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listApiDestinations_namePrefix :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listApiDestinations_nextToken :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listArchivesResponse_archives :: Lens' ListArchivesResponse (Maybe [Archive])
+ Amazonka.CloudWatchEvents.Lens: listArchivesResponse_httpStatus :: Lens' ListArchivesResponse Int
+ Amazonka.CloudWatchEvents.Lens: listArchivesResponse_nextToken :: Lens' ListArchivesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listArchives_eventSourceArn :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listArchives_limit :: Lens' ListArchives (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listArchives_namePrefix :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listArchives_nextToken :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listArchives_state :: Lens' ListArchives (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Lens: listConnectionsResponse_connections :: Lens' ListConnectionsResponse (Maybe [Connection])
+ Amazonka.CloudWatchEvents.Lens: listConnectionsResponse_httpStatus :: Lens' ListConnectionsResponse Int
+ Amazonka.CloudWatchEvents.Lens: listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listConnections_connectionState :: Lens' ListConnections (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: listConnections_limit :: Lens' ListConnections (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listConnections_namePrefix :: Lens' ListConnections (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listConnections_nextToken :: Lens' ListConnections (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEndpointsResponse_endpoints :: Lens' ListEndpointsResponse (Maybe [Endpoint])
+ Amazonka.CloudWatchEvents.Lens: listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int
+ Amazonka.CloudWatchEvents.Lens: listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEndpoints_homeRegion :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listEndpoints_namePrefix :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventBusesResponse_eventBuses :: Lens' ListEventBusesResponse (Maybe [EventBus])
+ Amazonka.CloudWatchEvents.Lens: listEventBusesResponse_httpStatus :: Lens' ListEventBusesResponse Int
+ Amazonka.CloudWatchEvents.Lens: listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventBuses_limit :: Lens' ListEventBuses (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventSourcesResponse_eventSources :: Lens' ListEventSourcesResponse (Maybe [EventSource])
+ Amazonka.CloudWatchEvents.Lens: listEventSourcesResponse_httpStatus :: Lens' ListEventSourcesResponse Int
+ Amazonka.CloudWatchEvents.Lens: listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventSources_limit :: Lens' ListEventSources (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listEventSources_nextToken :: Lens' ListEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount])
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourcesResponse_httpStatus :: Lens' ListPartnerEventSourcesResponse Int
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourcesResponse_nextToken :: Lens' ListPartnerEventSourcesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSourcesResponse_partnerEventSources :: Lens' ListPartnerEventSourcesResponse (Maybe [PartnerEventSource])
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSources_limit :: Lens' ListPartnerEventSources (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSources_namePrefix :: Lens' ListPartnerEventSources Text
+ Amazonka.CloudWatchEvents.Lens: listPartnerEventSources_nextToken :: Lens' ListPartnerEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listReplaysResponse_httpStatus :: Lens' ListReplaysResponse Int
+ Amazonka.CloudWatchEvents.Lens: listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay])
+ Amazonka.CloudWatchEvents.Lens: listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listReplays_limit :: Lens' ListReplays (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listReplays_namePrefix :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listReplays_nextToken :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listReplays_state :: Lens' ListReplays (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTargetResponse_httpStatus :: Lens' ListRuleNamesByTargetResponse Int
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTargetResponse_nextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTargetResponse_ruleNames :: Lens' ListRuleNamesByTargetResponse (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTarget_eventBusName :: Lens' ListRuleNamesByTarget (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTarget_limit :: Lens' ListRuleNamesByTarget (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTarget_nextToken :: Lens' ListRuleNamesByTarget (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRuleNamesByTarget_targetArn :: Lens' ListRuleNamesByTarget Text
+ Amazonka.CloudWatchEvents.Lens: listRulesResponse_httpStatus :: Lens' ListRulesResponse Int
+ Amazonka.CloudWatchEvents.Lens: listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [Rule])
+ Amazonka.CloudWatchEvents.Lens: listRules_eventBusName :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRules_limit :: Lens' ListRules (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listRules_namePrefix :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listRules_nextToken :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Lens: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRuleResponse_httpStatus :: Lens' ListTargetsByRuleResponse Int
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRuleResponse_nextToken :: Lens' ListTargetsByRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRuleResponse_targets :: Lens' ListTargetsByRuleResponse (Maybe (NonEmpty Target))
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRule_eventBusName :: Lens' ListTargetsByRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRule_limit :: Lens' ListTargetsByRule (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRule_nextToken :: Lens' ListTargetsByRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: listTargetsByRule_rule :: Lens' ListTargetsByRule Text
+ Amazonka.CloudWatchEvents.Lens: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSourceAccount_account :: Lens' PartnerEventSourceAccount (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSourceAccount_creationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSourceAccount_expirationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSourceAccount_state :: Lens' PartnerEventSourceAccount (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSource_arn :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: partnerEventSource_name :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.CloudWatchEvents.Lens: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.CloudWatchEvents.Lens: primary_healthCheck :: Lens' Primary Text
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsResponse_entries :: Lens' PutEventsResponse (Maybe [PutEventsResultEntry])
+ Amazonka.CloudWatchEvents.Lens: putEventsResponse_failedEntryCount :: Lens' PutEventsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: putEventsResponse_httpStatus :: Lens' PutEventsResponse Int
+ Amazonka.CloudWatchEvents.Lens: putEventsResultEntry_errorCode :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsResultEntry_errorMessage :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEventsResultEntry_eventId :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEvents_endpointId :: Lens' PutEvents (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putEvents_entries :: Lens' PutEvents (NonEmpty PutEventsRequestEntry)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsRequestEntry_detail :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsRequestEntry_detailType :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsRequestEntry_resources :: Lens' PutPartnerEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsRequestEntry_source :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsRequestEntry_time :: Lens' PutPartnerEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry])
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResponse_httpStatus :: Lens' PutPartnerEventsResponse Int
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResultEntry_errorCode :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResultEntry_errorMessage :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEventsResultEntry_eventId :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPartnerEvents_entries :: Lens' PutPartnerEvents (NonEmpty PutPartnerEventsRequestEntry)
+ Amazonka.CloudWatchEvents.Lens: putPermission_action :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPermission_condition :: Lens' PutPermission (Maybe Condition)
+ Amazonka.CloudWatchEvents.Lens: putPermission_eventBusName :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPermission_policy :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPermission_principal :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putPermission_statementId :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRuleResponse_httpStatus :: Lens' PutRuleResponse Int
+ Amazonka.CloudWatchEvents.Lens: putRuleResponse_ruleArn :: Lens' PutRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_description :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_eventBusName :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_eventPattern :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_name :: Lens' PutRule Text
+ Amazonka.CloudWatchEvents.Lens: putRule_roleArn :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_scheduleExpression :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putRule_state :: Lens' PutRule (Maybe RuleState)
+ Amazonka.CloudWatchEvents.Lens: putRule_tags :: Lens' PutRule (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Lens: putTargetsResponse_failedEntries :: Lens' PutTargetsResponse (Maybe [PutTargetsResultEntry])
+ Amazonka.CloudWatchEvents.Lens: putTargetsResponse_failedEntryCount :: Lens' PutTargetsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: putTargetsResponse_httpStatus :: Lens' PutTargetsResponse Int
+ Amazonka.CloudWatchEvents.Lens: putTargetsResultEntry_errorCode :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putTargetsResultEntry_errorMessage :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putTargetsResultEntry_targetId :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putTargets_eventBusName :: Lens' PutTargets (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: putTargets_rule :: Lens' PutTargets Text
+ Amazonka.CloudWatchEvents.Lens: putTargets_targets :: Lens' PutTargets (NonEmpty Target)
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_database :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_dbUser :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_secretManagerArn :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_sql :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_statementName :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: redshiftDataParameters_withEvent :: Lens' RedshiftDataParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: removePermission_eventBusName :: Lens' RemovePermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removePermission_removeAllPermissions :: Lens' RemovePermission (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: removePermission_statementId :: Lens' RemovePermission (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResponse_failedEntries :: Lens' RemoveTargetsResponse (Maybe [RemoveTargetsResultEntry])
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResponse_failedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResponse_httpStatus :: Lens' RemoveTargetsResponse Int
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResultEntry_errorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResultEntry_errorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargetsResultEntry_targetId :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargets_eventBusName :: Lens' RemoveTargets (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargets_force :: Lens' RemoveTargets (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: removeTargets_ids :: Lens' RemoveTargets (NonEmpty Text)
+ Amazonka.CloudWatchEvents.Lens: removeTargets_rule :: Lens' RemoveTargets Text
+ Amazonka.CloudWatchEvents.Lens: replayDestination_arn :: Lens' ReplayDestination Text
+ Amazonka.CloudWatchEvents.Lens: replayDestination_filterArns :: Lens' ReplayDestination (Maybe [Text])
+ Amazonka.CloudWatchEvents.Lens: replay_eventEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: replay_eventLastReplayedTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: replay_eventSourceArn :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: replay_eventStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: replay_replayEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: replay_replayName :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: replay_replayStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: replay_state :: Lens' Replay (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Lens: replay_stateReason :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: replicationConfig_state :: Lens' ReplicationConfig (Maybe ReplicationState)
+ Amazonka.CloudWatchEvents.Lens: retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: routingConfig_failoverConfig :: Lens' RoutingConfig FailoverConfig
+ Amazonka.CloudWatchEvents.Lens: rule_arn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_description :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_eventBusName :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_eventPattern :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_managedBy :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_name :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_roleArn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_scheduleExpression :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: rule_state :: Lens' Rule (Maybe RuleState)
+ Amazonka.CloudWatchEvents.Lens: runCommandParameters_runCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)
+ Amazonka.CloudWatchEvents.Lens: runCommandTarget_key :: Lens' RunCommandTarget Text
+ Amazonka.CloudWatchEvents.Lens: runCommandTarget_values :: Lens' RunCommandTarget (NonEmpty Text)
+ Amazonka.CloudWatchEvents.Lens: sageMakerPipelineParameter_name :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Lens: sageMakerPipelineParameter_value :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Lens: sageMakerPipelineParameters_pipelineParameterList :: Lens' SageMakerPipelineParameters (Maybe [SageMakerPipelineParameter])
+ Amazonka.CloudWatchEvents.Lens: secondary_route :: Lens' Secondary Text
+ Amazonka.CloudWatchEvents.Lens: sqsParameters_messageGroupId :: Lens' SqsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: startReplayResponse_httpStatus :: Lens' StartReplayResponse Int
+ Amazonka.CloudWatchEvents.Lens: startReplayResponse_replayArn :: Lens' StartReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: startReplayResponse_replayStartTime :: Lens' StartReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: startReplayResponse_state :: Lens' StartReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Lens: startReplayResponse_stateReason :: Lens' StartReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: startReplay_description :: Lens' StartReplay (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: startReplay_destination :: Lens' StartReplay ReplayDestination
+ Amazonka.CloudWatchEvents.Lens: startReplay_eventEndTime :: Lens' StartReplay UTCTime
+ Amazonka.CloudWatchEvents.Lens: startReplay_eventSourceArn :: Lens' StartReplay Text
+ Amazonka.CloudWatchEvents.Lens: startReplay_eventStartTime :: Lens' StartReplay UTCTime
+ Amazonka.CloudWatchEvents.Lens: startReplay_replayName :: Lens' StartReplay Text
+ Amazonka.CloudWatchEvents.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.CloudWatchEvents.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.CloudWatchEvents.Lens: tag_key :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Lens: tag_value :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Lens: target_arn :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Lens: target_batchParameters :: Lens' Target (Maybe BatchParameters)
+ Amazonka.CloudWatchEvents.Lens: target_deadLetterConfig :: Lens' Target (Maybe DeadLetterConfig)
+ Amazonka.CloudWatchEvents.Lens: target_ecsParameters :: Lens' Target (Maybe EcsParameters)
+ Amazonka.CloudWatchEvents.Lens: target_httpParameters :: Lens' Target (Maybe HttpParameters)
+ Amazonka.CloudWatchEvents.Lens: target_id :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Lens: target_input :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: target_inputPath :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: target_inputTransformer :: Lens' Target (Maybe InputTransformer)
+ Amazonka.CloudWatchEvents.Lens: target_kinesisParameters :: Lens' Target (Maybe KinesisParameters)
+ Amazonka.CloudWatchEvents.Lens: target_redshiftDataParameters :: Lens' Target (Maybe RedshiftDataParameters)
+ Amazonka.CloudWatchEvents.Lens: target_retryPolicy :: Lens' Target (Maybe RetryPolicy)
+ Amazonka.CloudWatchEvents.Lens: target_roleArn :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: target_runCommandParameters :: Lens' Target (Maybe RunCommandParameters)
+ Amazonka.CloudWatchEvents.Lens: target_sageMakerPipelineParameters :: Lens' Target (Maybe SageMakerPipelineParameters)
+ Amazonka.CloudWatchEvents.Lens: target_sqsParameters :: Lens' Target (Maybe SqsParameters)
+ Amazonka.CloudWatchEvents.Lens: testEventPatternResponse_httpStatus :: Lens' TestEventPatternResponse Int
+ Amazonka.CloudWatchEvents.Lens: testEventPatternResponse_result :: Lens' TestEventPatternResponse (Maybe Bool)
+ Amazonka.CloudWatchEvents.Lens: testEventPattern_event :: Lens' TestEventPattern Text
+ Amazonka.CloudWatchEvents.Lens: testEventPattern_eventPattern :: Lens' TestEventPattern Text
+ Amazonka.CloudWatchEvents.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CloudWatchEvents.Lens: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.CloudWatchEvents.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.CloudWatchEvents.Lens: updateApiDestinationResponse_apiDestinationArn :: Lens' UpdateApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestinationResponse_apiDestinationState :: Lens' UpdateApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestinationResponse_creationTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestinationResponse_httpStatus :: Lens' UpdateApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.Lens: updateApiDestinationResponse_lastModifiedTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_connectionArn :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_description :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_httpMethod :: Lens' UpdateApiDestination (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_invocationEndpoint :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_invocationRateLimitPerSecond :: Lens' UpdateApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: updateApiDestination_name :: Lens' UpdateApiDestination Text
+ Amazonka.CloudWatchEvents.Lens: updateArchiveResponse_archiveArn :: Lens' UpdateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateArchiveResponse_creationTime :: Lens' UpdateArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateArchiveResponse_httpStatus :: Lens' UpdateArchiveResponse Int
+ Amazonka.CloudWatchEvents.Lens: updateArchiveResponse_state :: Lens' UpdateArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Lens: updateArchiveResponse_stateReason :: Lens' UpdateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateArchive_archiveName :: Lens' UpdateArchive Text
+ Amazonka.CloudWatchEvents.Lens: updateArchive_description :: Lens' UpdateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateArchive_eventPattern :: Lens' UpdateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateArchive_retentionDays :: Lens' UpdateArchive (Maybe Natural)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionAuthRequestParameters_basicAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionAuthRequestParameters_invocationHttpParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionAuthRequestParameters_oAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionBasicAuthRequestParameters_password :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionBasicAuthRequestParameters_username :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthClientRequestParameters_clientID :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthClientRequestParameters_clientSecret :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' UpdateConnectionOAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthRequestParameters_clientParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe UpdateConnectionOAuthClientRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthRequestParameters_httpMethod :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_connectionArn :: Lens' UpdateConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_connectionState :: Lens' UpdateConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Lens: updateConnection_authParameters :: Lens' UpdateConnection (Maybe UpdateConnectionAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Lens: updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.Lens: updateConnection_description :: Lens' UpdateConnection (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateConnection_name :: Lens' UpdateConnection Text
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_arn :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_endpointId :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_endpointUrl :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_eventBuses :: Lens' UpdateEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_name :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_replicationConfig :: Lens' UpdateEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_roleArn :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_routingConfig :: Lens' UpdateEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Lens: updateEndpointResponse_state :: Lens' UpdateEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_description :: Lens' UpdateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_eventBuses :: Lens' UpdateEndpoint (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_name :: Lens' UpdateEndpoint Text
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_replicationConfig :: Lens' UpdateEndpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_roleArn :: Lens' UpdateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Lens: updateEndpoint_routingConfig :: Lens' UpdateEndpoint (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.ListApiDestinations: ListApiDestinations' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: ListApiDestinationsResponse' :: Maybe [ApiDestination] -> Maybe Text -> Int -> ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:apiDestinations:ListApiDestinationsResponse'] :: ListApiDestinationsResponse -> Maybe [ApiDestination]
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:connectionArn:ListApiDestinations'] :: ListApiDestinations -> Maybe Text
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:httpStatus:ListApiDestinationsResponse'] :: ListApiDestinationsResponse -> Int
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:limit:ListApiDestinations'] :: ListApiDestinations -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:namePrefix:ListApiDestinations'] :: ListApiDestinations -> Maybe Text
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:nextToken:ListApiDestinations'] :: ListApiDestinations -> Maybe Text
+ Amazonka.CloudWatchEvents.ListApiDestinations: [$sel:nextToken:ListApiDestinationsResponse'] :: ListApiDestinationsResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListApiDestinations: data ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: data ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListApiDestinations.ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinationsResponse_apiDestinations :: Lens' ListApiDestinationsResponse (Maybe [ApiDestination])
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinationsResponse_httpStatus :: Lens' ListApiDestinationsResponse Int
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinationsResponse_nextToken :: Lens' ListApiDestinationsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinations_connectionArn :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinations_limit :: Lens' ListApiDestinations (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinations_namePrefix :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.ListApiDestinations: listApiDestinations_nextToken :: Lens' ListApiDestinations (Maybe Text)
+ Amazonka.CloudWatchEvents.ListApiDestinations: newListApiDestinations :: ListApiDestinations
+ Amazonka.CloudWatchEvents.ListApiDestinations: newListApiDestinationsResponse :: Int -> ListApiDestinationsResponse
+ Amazonka.CloudWatchEvents.ListArchives: ListArchives' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ArchiveState -> ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: ListArchivesResponse' :: Maybe [Archive] -> Maybe Text -> Int -> ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:archives:ListArchivesResponse'] :: ListArchivesResponse -> Maybe [Archive]
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:eventSourceArn:ListArchives'] :: ListArchives -> Maybe Text
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:httpStatus:ListArchivesResponse'] :: ListArchivesResponse -> Int
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:limit:ListArchives'] :: ListArchives -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:namePrefix:ListArchives'] :: ListArchives -> Maybe Text
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:nextToken:ListArchives'] :: ListArchives -> Maybe Text
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:nextToken:ListArchivesResponse'] :: ListArchivesResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListArchives: [$sel:state:ListArchives'] :: ListArchives -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.ListArchives: data ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: data ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListArchives.ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListArchives.ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListArchives.ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListArchives.ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListArchives.ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListArchives.ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListArchives: listArchivesResponse_archives :: Lens' ListArchivesResponse (Maybe [Archive])
+ Amazonka.CloudWatchEvents.ListArchives: listArchivesResponse_httpStatus :: Lens' ListArchivesResponse Int
+ Amazonka.CloudWatchEvents.ListArchives: listArchivesResponse_nextToken :: Lens' ListArchivesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListArchives: listArchives_eventSourceArn :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.ListArchives: listArchives_limit :: Lens' ListArchives (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListArchives: listArchives_namePrefix :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.ListArchives: listArchives_nextToken :: Lens' ListArchives (Maybe Text)
+ Amazonka.CloudWatchEvents.ListArchives: listArchives_state :: Lens' ListArchives (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.ListArchives: newListArchives :: ListArchives
+ Amazonka.CloudWatchEvents.ListArchives: newListArchivesResponse :: Int -> ListArchivesResponse
+ Amazonka.CloudWatchEvents.ListConnections: ListConnections' :: Maybe ConnectionState -> Maybe Natural -> Maybe Text -> Maybe Text -> ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: ListConnectionsResponse' :: Maybe [Connection] -> Maybe Text -> Int -> ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:connectionState:ListConnections'] :: ListConnections -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:connections:ListConnectionsResponse'] :: ListConnectionsResponse -> Maybe [Connection]
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:httpStatus:ListConnectionsResponse'] :: ListConnectionsResponse -> Int
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:limit:ListConnections'] :: ListConnections -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:namePrefix:ListConnections'] :: ListConnections -> Maybe Text
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:nextToken:ListConnections'] :: ListConnections -> Maybe Text
+ Amazonka.CloudWatchEvents.ListConnections: [$sel:nextToken:ListConnectionsResponse'] :: ListConnectionsResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListConnections: data ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: data ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListConnections.ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListConnections.ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListConnections.ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListConnections.ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListConnections.ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListConnections.ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListConnections: listConnectionsResponse_connections :: Lens' ListConnectionsResponse (Maybe [Connection])
+ Amazonka.CloudWatchEvents.ListConnections: listConnectionsResponse_httpStatus :: Lens' ListConnectionsResponse Int
+ Amazonka.CloudWatchEvents.ListConnections: listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListConnections: listConnections_connectionState :: Lens' ListConnections (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.ListConnections: listConnections_limit :: Lens' ListConnections (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListConnections: listConnections_namePrefix :: Lens' ListConnections (Maybe Text)
+ Amazonka.CloudWatchEvents.ListConnections: listConnections_nextToken :: Lens' ListConnections (Maybe Text)
+ Amazonka.CloudWatchEvents.ListConnections: newListConnections :: ListConnections
+ Amazonka.CloudWatchEvents.ListConnections: newListConnectionsResponse :: Int -> ListConnectionsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: ListEndpoints' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: ListEndpointsResponse' :: Maybe [Endpoint] -> Maybe Text -> Int -> ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:endpoints:ListEndpointsResponse'] :: ListEndpointsResponse -> Maybe [Endpoint]
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:homeRegion:ListEndpoints'] :: ListEndpoints -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:httpStatus:ListEndpointsResponse'] :: ListEndpointsResponse -> Int
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:maxResults:ListEndpoints'] :: ListEndpoints -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:namePrefix:ListEndpoints'] :: ListEndpoints -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:nextToken:ListEndpoints'] :: ListEndpoints -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEndpoints: [$sel:nextToken:ListEndpointsResponse'] :: ListEndpointsResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEndpoints: data ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: data ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEndpoints.ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEndpoints.ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEndpoints.ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEndpoints.ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEndpoints.ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEndpoints.ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpointsResponse_endpoints :: Lens' ListEndpointsResponse (Maybe [Endpoint])
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpoints_homeRegion :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpoints_namePrefix :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEndpoints: listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEndpoints: newListEndpoints :: ListEndpoints
+ Amazonka.CloudWatchEvents.ListEndpoints: newListEndpointsResponse :: Int -> ListEndpointsResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: ListEventBuses' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: ListEventBusesResponse' :: Maybe [EventBus] -> Maybe Text -> Int -> ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:eventBuses:ListEventBusesResponse'] :: ListEventBusesResponse -> Maybe [EventBus]
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:httpStatus:ListEventBusesResponse'] :: ListEventBusesResponse -> Int
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:limit:ListEventBuses'] :: ListEventBuses -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:namePrefix:ListEventBuses'] :: ListEventBuses -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:nextToken:ListEventBuses'] :: ListEventBuses -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventBuses: [$sel:nextToken:ListEventBusesResponse'] :: ListEventBusesResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventBuses: data ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: data ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEventBuses.ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEventBuses.ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEventBuses.ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEventBuses.ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEventBuses.ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEventBuses.ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBusesResponse_eventBuses :: Lens' ListEventBusesResponse (Maybe [EventBus])
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBusesResponse_httpStatus :: Lens' ListEventBusesResponse Int
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBuses_limit :: Lens' ListEventBuses (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventBuses: listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventBuses: newListEventBuses :: ListEventBuses
+ Amazonka.CloudWatchEvents.ListEventBuses: newListEventBusesResponse :: Int -> ListEventBusesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: ListEventSources' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: ListEventSourcesResponse' :: Maybe [EventSource] -> Maybe Text -> Int -> ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:eventSources:ListEventSourcesResponse'] :: ListEventSourcesResponse -> Maybe [EventSource]
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:httpStatus:ListEventSourcesResponse'] :: ListEventSourcesResponse -> Int
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:limit:ListEventSources'] :: ListEventSources -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:namePrefix:ListEventSources'] :: ListEventSources -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:nextToken:ListEventSources'] :: ListEventSources -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventSources: [$sel:nextToken:ListEventSourcesResponse'] :: ListEventSourcesResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListEventSources: data ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: data ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListEventSources.ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListEventSources.ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListEventSources.ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListEventSources.ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEventSources.ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListEventSources.ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSourcesResponse_eventSources :: Lens' ListEventSourcesResponse (Maybe [EventSource])
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSourcesResponse_httpStatus :: Lens' ListEventSourcesResponse Int
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSources_limit :: Lens' ListEventSources (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventSources: listEventSources_nextToken :: Lens' ListEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.ListEventSources: newListEventSources :: ListEventSources
+ Amazonka.CloudWatchEvents.ListEventSources: newListEventSourcesResponse :: Int -> ListEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: ListPartnerEventSourceAccounts' :: Maybe Natural -> Maybe Text -> Text -> ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: ListPartnerEventSourceAccountsResponse' :: Maybe Text -> Maybe [PartnerEventSourceAccount] -> Int -> ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:eventSourceName:ListPartnerEventSourceAccounts'] :: ListPartnerEventSourceAccounts -> Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:httpStatus:ListPartnerEventSourceAccountsResponse'] :: ListPartnerEventSourceAccountsResponse -> Int
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:limit:ListPartnerEventSourceAccounts'] :: ListPartnerEventSourceAccounts -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:nextToken:ListPartnerEventSourceAccounts'] :: ListPartnerEventSourceAccounts -> Maybe Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:nextToken:ListPartnerEventSourceAccountsResponse'] :: ListPartnerEventSourceAccountsResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: [$sel:partnerEventSourceAccounts:ListPartnerEventSourceAccountsResponse'] :: ListPartnerEventSourceAccountsResponse -> Maybe [PartnerEventSourceAccount]
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: data ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: data ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts.ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount])
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text)
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: newListPartnerEventSourceAccounts :: Text -> ListPartnerEventSourceAccounts
+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts: newListPartnerEventSourceAccountsResponse :: Int -> ListPartnerEventSourceAccountsResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: ListPartnerEventSources' :: Maybe Natural -> Maybe Text -> Text -> ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: ListPartnerEventSourcesResponse' :: Maybe Text -> Maybe [PartnerEventSource] -> Int -> ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:httpStatus:ListPartnerEventSourcesResponse'] :: ListPartnerEventSourcesResponse -> Int
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:limit:ListPartnerEventSources'] :: ListPartnerEventSources -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:namePrefix:ListPartnerEventSources'] :: ListPartnerEventSources -> Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:nextToken:ListPartnerEventSources'] :: ListPartnerEventSources -> Maybe Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:nextToken:ListPartnerEventSourcesResponse'] :: ListPartnerEventSourcesResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: [$sel:partnerEventSources:ListPartnerEventSourcesResponse'] :: ListPartnerEventSourcesResponse -> Maybe [PartnerEventSource]
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: data ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: data ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListPartnerEventSources.ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSourcesResponse_httpStatus :: Lens' ListPartnerEventSourcesResponse Int
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSourcesResponse_nextToken :: Lens' ListPartnerEventSourcesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSourcesResponse_partnerEventSources :: Lens' ListPartnerEventSourcesResponse (Maybe [PartnerEventSource])
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSources_limit :: Lens' ListPartnerEventSources (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSources_namePrefix :: Lens' ListPartnerEventSources Text
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: listPartnerEventSources_nextToken :: Lens' ListPartnerEventSources (Maybe Text)
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: newListPartnerEventSources :: Text -> ListPartnerEventSources
+ Amazonka.CloudWatchEvents.ListPartnerEventSources: newListPartnerEventSourcesResponse :: Int -> ListPartnerEventSourcesResponse
+ Amazonka.CloudWatchEvents.ListReplays: ListReplays' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ReplayState -> ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: ListReplaysResponse' :: Maybe Text -> Maybe [Replay] -> Int -> ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:eventSourceArn:ListReplays'] :: ListReplays -> Maybe Text
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:httpStatus:ListReplaysResponse'] :: ListReplaysResponse -> Int
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:limit:ListReplays'] :: ListReplays -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:namePrefix:ListReplays'] :: ListReplays -> Maybe Text
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:nextToken:ListReplays'] :: ListReplays -> Maybe Text
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:nextToken:ListReplaysResponse'] :: ListReplaysResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:replays:ListReplaysResponse'] :: ListReplaysResponse -> Maybe [Replay]
+ Amazonka.CloudWatchEvents.ListReplays: [$sel:state:ListReplays'] :: ListReplays -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.ListReplays: data ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: data ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListReplays.ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListReplays.ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListReplays.ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListReplays.ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListReplays.ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListReplays.ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListReplays: listReplaysResponse_httpStatus :: Lens' ListReplaysResponse Int
+ Amazonka.CloudWatchEvents.ListReplays: listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListReplays: listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay])
+ Amazonka.CloudWatchEvents.ListReplays: listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.ListReplays: listReplays_limit :: Lens' ListReplays (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListReplays: listReplays_namePrefix :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.ListReplays: listReplays_nextToken :: Lens' ListReplays (Maybe Text)
+ Amazonka.CloudWatchEvents.ListReplays: listReplays_state :: Lens' ListReplays (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.ListReplays: newListReplays :: ListReplays
+ Amazonka.CloudWatchEvents.ListReplays: newListReplaysResponse :: Int -> ListReplaysResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: ListRuleNamesByTarget' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: ListRuleNamesByTargetResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:eventBusName:ListRuleNamesByTarget'] :: ListRuleNamesByTarget -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:httpStatus:ListRuleNamesByTargetResponse'] :: ListRuleNamesByTargetResponse -> Int
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:limit:ListRuleNamesByTarget'] :: ListRuleNamesByTarget -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:nextToken:ListRuleNamesByTarget'] :: ListRuleNamesByTarget -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:nextToken:ListRuleNamesByTargetResponse'] :: ListRuleNamesByTargetResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:ruleNames:ListRuleNamesByTargetResponse'] :: ListRuleNamesByTargetResponse -> Maybe [Text]
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: [$sel:targetArn:ListRuleNamesByTarget'] :: ListRuleNamesByTarget -> Text
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: data ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: data ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Amazonka.Pager.AWSPager Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListRuleNamesByTarget.ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTargetResponse_httpStatus :: Lens' ListRuleNamesByTargetResponse Int
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTargetResponse_nextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTargetResponse_ruleNames :: Lens' ListRuleNamesByTargetResponse (Maybe [Text])
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTarget_eventBusName :: Lens' ListRuleNamesByTarget (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTarget_limit :: Lens' ListRuleNamesByTarget (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTarget_nextToken :: Lens' ListRuleNamesByTarget (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: listRuleNamesByTarget_targetArn :: Lens' ListRuleNamesByTarget Text
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: newListRuleNamesByTarget :: Text -> ListRuleNamesByTarget
+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget: newListRuleNamesByTargetResponse :: Int -> ListRuleNamesByTargetResponse
+ Amazonka.CloudWatchEvents.ListRules: ListRules' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> ListRules
+ Amazonka.CloudWatchEvents.ListRules: ListRulesResponse' :: Maybe Text -> Maybe [Rule] -> Int -> ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: [$sel:eventBusName:ListRules'] :: ListRules -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRules: [$sel:httpStatus:ListRulesResponse'] :: ListRulesResponse -> Int
+ Amazonka.CloudWatchEvents.ListRules: [$sel:limit:ListRules'] :: ListRules -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListRules: [$sel:namePrefix:ListRules'] :: ListRules -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRules: [$sel:nextToken:ListRules'] :: ListRules -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRules: [$sel:nextToken:ListRulesResponse'] :: ListRulesResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListRules: [$sel:rules:ListRulesResponse'] :: ListRulesResponse -> Maybe [Rule]
+ Amazonka.CloudWatchEvents.ListRules: data ListRules
+ Amazonka.CloudWatchEvents.ListRules: data ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Amazonka.Pager.AWSPager Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListRules.ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListRules.ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListRules.ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListRules.ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListRules.ListRules
+ Amazonka.CloudWatchEvents.ListRules: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListRules.ListRulesResponse
+ Amazonka.CloudWatchEvents.ListRules: listRulesResponse_httpStatus :: Lens' ListRulesResponse Int
+ Amazonka.CloudWatchEvents.ListRules: listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRules: listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [Rule])
+ Amazonka.CloudWatchEvents.ListRules: listRules_eventBusName :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRules: listRules_limit :: Lens' ListRules (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListRules: listRules_namePrefix :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRules: listRules_nextToken :: Lens' ListRules (Maybe Text)
+ Amazonka.CloudWatchEvents.ListRules: newListRules :: ListRules
+ Amazonka.CloudWatchEvents.ListRules: newListRulesResponse :: Int -> ListRulesResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.CloudWatchEvents.ListTagsForResource: [$sel:resourceARN:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.CloudWatchEvents.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.CloudWatchEvents.ListTagsForResource: data ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.CloudWatchEvents.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.CloudWatchEvents.ListTagsForResource: listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
+ Amazonka.CloudWatchEvents.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.CloudWatchEvents.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: ListTargetsByRule' :: Maybe Text -> Maybe Natural -> Maybe Text -> Text -> ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: ListTargetsByRuleResponse' :: Maybe Text -> Maybe (NonEmpty Target) -> Int -> ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:eventBusName:ListTargetsByRule'] :: ListTargetsByRule -> Maybe Text
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:httpStatus:ListTargetsByRuleResponse'] :: ListTargetsByRuleResponse -> Int
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:limit:ListTargetsByRule'] :: ListTargetsByRule -> Maybe Natural
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:nextToken:ListTargetsByRule'] :: ListTargetsByRule -> Maybe Text
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:nextToken:ListTargetsByRuleResponse'] :: ListTargetsByRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:rule:ListTargetsByRule'] :: ListTargetsByRule -> Text
+ Amazonka.CloudWatchEvents.ListTargetsByRule: [$sel:targets:ListTargetsByRuleResponse'] :: ListTargetsByRuleResponse -> Maybe (NonEmpty Target)
+ Amazonka.CloudWatchEvents.ListTargetsByRule: data ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: data ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Amazonka.Pager.AWSPager Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.ListTargetsByRule.ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRuleResponse_httpStatus :: Lens' ListTargetsByRuleResponse Int
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRuleResponse_nextToken :: Lens' ListTargetsByRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRuleResponse_targets :: Lens' ListTargetsByRuleResponse (Maybe (NonEmpty Target))
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRule_eventBusName :: Lens' ListTargetsByRule (Maybe Text)
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRule_limit :: Lens' ListTargetsByRule (Maybe Natural)
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRule_nextToken :: Lens' ListTargetsByRule (Maybe Text)
+ Amazonka.CloudWatchEvents.ListTargetsByRule: listTargetsByRule_rule :: Lens' ListTargetsByRule Text
+ Amazonka.CloudWatchEvents.ListTargetsByRule: newListTargetsByRule :: Text -> ListTargetsByRule
+ Amazonka.CloudWatchEvents.ListTargetsByRule: newListTargetsByRuleResponse :: Int -> ListTargetsByRuleResponse
+ Amazonka.CloudWatchEvents.PutEvents: PutEvents' :: Maybe Text -> NonEmpty PutEventsRequestEntry -> PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: PutEventsResponse' :: Maybe [PutEventsResultEntry] -> Maybe Int -> Int -> PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: [$sel:endpointId:PutEvents'] :: PutEvents -> Maybe Text
+ Amazonka.CloudWatchEvents.PutEvents: [$sel:entries:PutEvents'] :: PutEvents -> NonEmpty PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.PutEvents: [$sel:entries:PutEventsResponse'] :: PutEventsResponse -> Maybe [PutEventsResultEntry]
+ Amazonka.CloudWatchEvents.PutEvents: [$sel:failedEntryCount:PutEventsResponse'] :: PutEventsResponse -> Maybe Int
+ Amazonka.CloudWatchEvents.PutEvents: [$sel:httpStatus:PutEventsResponse'] :: PutEventsResponse -> Int
+ Amazonka.CloudWatchEvents.PutEvents: data PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: data PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutEvents.PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutEvents.PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutEvents.PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutEvents.PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutEvents.PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutEvents.PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: newPutEvents :: NonEmpty PutEventsRequestEntry -> PutEvents
+ Amazonka.CloudWatchEvents.PutEvents: newPutEventsResponse :: Int -> PutEventsResponse
+ Amazonka.CloudWatchEvents.PutEvents: putEventsResponse_entries :: Lens' PutEventsResponse (Maybe [PutEventsResultEntry])
+ Amazonka.CloudWatchEvents.PutEvents: putEventsResponse_failedEntryCount :: Lens' PutEventsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.PutEvents: putEventsResponse_httpStatus :: Lens' PutEventsResponse Int
+ Amazonka.CloudWatchEvents.PutEvents: putEvents_endpointId :: Lens' PutEvents (Maybe Text)
+ Amazonka.CloudWatchEvents.PutEvents: putEvents_entries :: Lens' PutEvents (NonEmpty PutEventsRequestEntry)
+ Amazonka.CloudWatchEvents.PutPartnerEvents: PutPartnerEvents' :: NonEmpty PutPartnerEventsRequestEntry -> PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: PutPartnerEventsResponse' :: Maybe [PutPartnerEventsResultEntry] -> Maybe Int -> Int -> PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: [$sel:entries:PutPartnerEvents'] :: PutPartnerEvents -> NonEmpty PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.PutPartnerEvents: [$sel:entries:PutPartnerEventsResponse'] :: PutPartnerEventsResponse -> Maybe [PutPartnerEventsResultEntry]
+ Amazonka.CloudWatchEvents.PutPartnerEvents: [$sel:failedEntryCount:PutPartnerEventsResponse'] :: PutPartnerEventsResponse -> Maybe Int
+ Amazonka.CloudWatchEvents.PutPartnerEvents: [$sel:httpStatus:PutPartnerEventsResponse'] :: PutPartnerEventsResponse -> Int
+ Amazonka.CloudWatchEvents.PutPartnerEvents: data PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: data PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutPartnerEvents.PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: newPutPartnerEvents :: NonEmpty PutPartnerEventsRequestEntry -> PutPartnerEvents
+ Amazonka.CloudWatchEvents.PutPartnerEvents: newPutPartnerEventsResponse :: Int -> PutPartnerEventsResponse
+ Amazonka.CloudWatchEvents.PutPartnerEvents: putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry])
+ Amazonka.CloudWatchEvents.PutPartnerEvents: putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.PutPartnerEvents: putPartnerEventsResponse_httpStatus :: Lens' PutPartnerEventsResponse Int
+ Amazonka.CloudWatchEvents.PutPartnerEvents: putPartnerEvents_entries :: Lens' PutPartnerEvents (NonEmpty PutPartnerEventsRequestEntry)
+ Amazonka.CloudWatchEvents.PutPermission: PutPermission' :: Maybe Text -> Maybe Condition -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: PutPermissionResponse' :: PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:action:PutPermission'] :: PutPermission -> Maybe Text
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:condition:PutPermission'] :: PutPermission -> Maybe Condition
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:eventBusName:PutPermission'] :: PutPermission -> Maybe Text
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:policy:PutPermission'] :: PutPermission -> Maybe Text
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:principal:PutPermission'] :: PutPermission -> Maybe Text
+ Amazonka.CloudWatchEvents.PutPermission: [$sel:statementId:PutPermission'] :: PutPermission -> Maybe Text
+ Amazonka.CloudWatchEvents.PutPermission: data PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: data PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutPermission.PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutPermission.PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutPermission.PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutPermission.PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutPermission.PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutPermission.PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: newPutPermission :: PutPermission
+ Amazonka.CloudWatchEvents.PutPermission: newPutPermissionResponse :: PutPermissionResponse
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_action :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_condition :: Lens' PutPermission (Maybe Condition)
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_eventBusName :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_policy :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_principal :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.PutPermission: putPermission_statementId :: Lens' PutPermission (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: PutRule' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Maybe [Tag] -> Text -> PutRule
+ Amazonka.CloudWatchEvents.PutRule: PutRuleResponse' :: Maybe Text -> Int -> PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: [$sel:description:PutRule'] :: PutRule -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:eventBusName:PutRule'] :: PutRule -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:eventPattern:PutRule'] :: PutRule -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:httpStatus:PutRuleResponse'] :: PutRuleResponse -> Int
+ Amazonka.CloudWatchEvents.PutRule: [$sel:name:PutRule'] :: PutRule -> Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:roleArn:PutRule'] :: PutRule -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:ruleArn:PutRuleResponse'] :: PutRuleResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:scheduleExpression:PutRule'] :: PutRule -> Maybe Text
+ Amazonka.CloudWatchEvents.PutRule: [$sel:state:PutRule'] :: PutRule -> Maybe RuleState
+ Amazonka.CloudWatchEvents.PutRule: [$sel:tags:PutRule'] :: PutRule -> Maybe [Tag]
+ Amazonka.CloudWatchEvents.PutRule: data PutRule
+ Amazonka.CloudWatchEvents.PutRule: data PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutRule.PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutRule.PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutRule.PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutRule.PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutRule.PutRule
+ Amazonka.CloudWatchEvents.PutRule: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutRule.PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: newPutRule :: Text -> PutRule
+ Amazonka.CloudWatchEvents.PutRule: newPutRuleResponse :: Int -> PutRuleResponse
+ Amazonka.CloudWatchEvents.PutRule: putRuleResponse_httpStatus :: Lens' PutRuleResponse Int
+ Amazonka.CloudWatchEvents.PutRule: putRuleResponse_ruleArn :: Lens' PutRuleResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_description :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_eventBusName :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_eventPattern :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_name :: Lens' PutRule Text
+ Amazonka.CloudWatchEvents.PutRule: putRule_roleArn :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_scheduleExpression :: Lens' PutRule (Maybe Text)
+ Amazonka.CloudWatchEvents.PutRule: putRule_state :: Lens' PutRule (Maybe RuleState)
+ Amazonka.CloudWatchEvents.PutRule: putRule_tags :: Lens' PutRule (Maybe [Tag])
+ Amazonka.CloudWatchEvents.PutTargets: PutTargets' :: Maybe Text -> Text -> NonEmpty Target -> PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: PutTargetsResponse' :: Maybe [PutTargetsResultEntry] -> Maybe Int -> Int -> PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:eventBusName:PutTargets'] :: PutTargets -> Maybe Text
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:failedEntries:PutTargetsResponse'] :: PutTargetsResponse -> Maybe [PutTargetsResultEntry]
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:failedEntryCount:PutTargetsResponse'] :: PutTargetsResponse -> Maybe Int
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:httpStatus:PutTargetsResponse'] :: PutTargetsResponse -> Int
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:rule:PutTargets'] :: PutTargets -> Text
+ Amazonka.CloudWatchEvents.PutTargets: [$sel:targets:PutTargets'] :: PutTargets -> NonEmpty Target
+ Amazonka.CloudWatchEvents.PutTargets: data PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: data PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.PutTargets.PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.PutTargets.PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.PutTargets.PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Read.Read Amazonka.CloudWatchEvents.PutTargets.PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutTargets.PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: instance GHC.Show.Show Amazonka.CloudWatchEvents.PutTargets.PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: newPutTargets :: Text -> NonEmpty Target -> PutTargets
+ Amazonka.CloudWatchEvents.PutTargets: newPutTargetsResponse :: Int -> PutTargetsResponse
+ Amazonka.CloudWatchEvents.PutTargets: putTargetsResponse_failedEntries :: Lens' PutTargetsResponse (Maybe [PutTargetsResultEntry])
+ Amazonka.CloudWatchEvents.PutTargets: putTargetsResponse_failedEntryCount :: Lens' PutTargetsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.PutTargets: putTargetsResponse_httpStatus :: Lens' PutTargetsResponse Int
+ Amazonka.CloudWatchEvents.PutTargets: putTargets_eventBusName :: Lens' PutTargets (Maybe Text)
+ Amazonka.CloudWatchEvents.PutTargets: putTargets_rule :: Lens' PutTargets Text
+ Amazonka.CloudWatchEvents.PutTargets: putTargets_targets :: Lens' PutTargets (NonEmpty Target)
+ Amazonka.CloudWatchEvents.RemovePermission: RemovePermission' :: Maybe Text -> Maybe Bool -> Maybe Text -> RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: RemovePermissionResponse' :: RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: [$sel:eventBusName:RemovePermission'] :: RemovePermission -> Maybe Text
+ Amazonka.CloudWatchEvents.RemovePermission: [$sel:removeAllPermissions:RemovePermission'] :: RemovePermission -> Maybe Bool
+ Amazonka.CloudWatchEvents.RemovePermission: [$sel:statementId:RemovePermission'] :: RemovePermission -> Maybe Text
+ Amazonka.CloudWatchEvents.RemovePermission: data RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: data RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.RemovePermission.RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.RemovePermission.RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.RemovePermission.RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Read.Read Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Read.Read Amazonka.CloudWatchEvents.RemovePermission.RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Show.Show Amazonka.CloudWatchEvents.RemovePermission.RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: instance GHC.Show.Show Amazonka.CloudWatchEvents.RemovePermission.RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: newRemovePermission :: RemovePermission
+ Amazonka.CloudWatchEvents.RemovePermission: newRemovePermissionResponse :: RemovePermissionResponse
+ Amazonka.CloudWatchEvents.RemovePermission: removePermission_eventBusName :: Lens' RemovePermission (Maybe Text)
+ Amazonka.CloudWatchEvents.RemovePermission: removePermission_removeAllPermissions :: Lens' RemovePermission (Maybe Bool)
+ Amazonka.CloudWatchEvents.RemovePermission: removePermission_statementId :: Lens' RemovePermission (Maybe Text)
+ Amazonka.CloudWatchEvents.RemoveTargets: RemoveTargets' :: Maybe Text -> Maybe Bool -> Text -> NonEmpty Text -> RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: RemoveTargetsResponse' :: Maybe [RemoveTargetsResultEntry] -> Maybe Int -> Int -> RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:eventBusName:RemoveTargets'] :: RemoveTargets -> Maybe Text
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:failedEntries:RemoveTargetsResponse'] :: RemoveTargetsResponse -> Maybe [RemoveTargetsResultEntry]
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:failedEntryCount:RemoveTargetsResponse'] :: RemoveTargetsResponse -> Maybe Int
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:force:RemoveTargets'] :: RemoveTargets -> Maybe Bool
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:httpStatus:RemoveTargetsResponse'] :: RemoveTargetsResponse -> Int
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:ids:RemoveTargets'] :: RemoveTargets -> NonEmpty Text
+ Amazonka.CloudWatchEvents.RemoveTargets: [$sel:rule:RemoveTargets'] :: RemoveTargets -> Text
+ Amazonka.CloudWatchEvents.RemoveTargets: data RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: data RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Read.Read Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Read.Read Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Show.Show Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: instance GHC.Show.Show Amazonka.CloudWatchEvents.RemoveTargets.RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: newRemoveTargets :: Text -> NonEmpty Text -> RemoveTargets
+ Amazonka.CloudWatchEvents.RemoveTargets: newRemoveTargetsResponse :: Int -> RemoveTargetsResponse
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargetsResponse_failedEntries :: Lens' RemoveTargetsResponse (Maybe [RemoveTargetsResultEntry])
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargetsResponse_failedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int)
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargetsResponse_httpStatus :: Lens' RemoveTargetsResponse Int
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargets_eventBusName :: Lens' RemoveTargets (Maybe Text)
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargets_force :: Lens' RemoveTargets (Maybe Bool)
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargets_ids :: Lens' RemoveTargets (NonEmpty Text)
+ Amazonka.CloudWatchEvents.RemoveTargets: removeTargets_rule :: Lens' RemoveTargets Text
+ Amazonka.CloudWatchEvents.StartReplay: StartReplay' :: Maybe Text -> Text -> Text -> POSIX -> POSIX -> ReplayDestination -> StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: StartReplayResponse' :: Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Int -> StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:description:StartReplay'] :: StartReplay -> Maybe Text
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:destination:StartReplay'] :: StartReplay -> ReplayDestination
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:eventEndTime:StartReplay'] :: StartReplay -> POSIX
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:eventSourceArn:StartReplay'] :: StartReplay -> Text
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:eventStartTime:StartReplay'] :: StartReplay -> POSIX
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:httpStatus:StartReplayResponse'] :: StartReplayResponse -> Int
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:replayArn:StartReplayResponse'] :: StartReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:replayName:StartReplay'] :: StartReplay -> Text
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:replayStartTime:StartReplayResponse'] :: StartReplayResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:state:StartReplayResponse'] :: StartReplayResponse -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.StartReplay: [$sel:stateReason:StartReplayResponse'] :: StartReplayResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.StartReplay: data StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: data StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.StartReplay.StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.StartReplay.StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.StartReplay.StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Read.Read Amazonka.CloudWatchEvents.StartReplay.StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.StartReplay.StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: instance GHC.Show.Show Amazonka.CloudWatchEvents.StartReplay.StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: newStartReplay :: Text -> Text -> UTCTime -> UTCTime -> ReplayDestination -> StartReplay
+ Amazonka.CloudWatchEvents.StartReplay: newStartReplayResponse :: Int -> StartReplayResponse
+ Amazonka.CloudWatchEvents.StartReplay: startReplayResponse_httpStatus :: Lens' StartReplayResponse Int
+ Amazonka.CloudWatchEvents.StartReplay: startReplayResponse_replayArn :: Lens' StartReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.StartReplay: startReplayResponse_replayStartTime :: Lens' StartReplayResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.StartReplay: startReplayResponse_state :: Lens' StartReplayResponse (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.StartReplay: startReplayResponse_stateReason :: Lens' StartReplayResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_description :: Lens' StartReplay (Maybe Text)
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_destination :: Lens' StartReplay ReplayDestination
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_eventEndTime :: Lens' StartReplay UTCTime
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_eventSourceArn :: Lens' StartReplay Text
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_eventStartTime :: Lens' StartReplay UTCTime
+ Amazonka.CloudWatchEvents.StartReplay: startReplay_replayName :: Lens' StartReplay Text
+ Amazonka.CloudWatchEvents.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.CloudWatchEvents.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.CloudWatchEvents.TagResource: [$sel:resourceARN:TagResource'] :: TagResource -> Text
+ Amazonka.CloudWatchEvents.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.CloudWatchEvents.TagResource: data TagResource
+ Amazonka.CloudWatchEvents.TagResource: data TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.TagResource.TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.TagResource.TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.TagResource.TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.TagResource.TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.TagResource.TagResource
+ Amazonka.CloudWatchEvents.TagResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.TagResource.TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.CloudWatchEvents.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CloudWatchEvents.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CloudWatchEvents.TagResource: tagResource_resourceARN :: Lens' TagResource Text
+ Amazonka.CloudWatchEvents.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.CloudWatchEvents.TestEventPattern: TestEventPattern' :: Text -> Text -> TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: TestEventPatternResponse' :: Maybe Bool -> Int -> TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: [$sel:event:TestEventPattern'] :: TestEventPattern -> Text
+ Amazonka.CloudWatchEvents.TestEventPattern: [$sel:eventPattern:TestEventPattern'] :: TestEventPattern -> Text
+ Amazonka.CloudWatchEvents.TestEventPattern: [$sel:httpStatus:TestEventPatternResponse'] :: TestEventPatternResponse -> Int
+ Amazonka.CloudWatchEvents.TestEventPattern: [$sel:result:TestEventPatternResponse'] :: TestEventPatternResponse -> Maybe Bool
+ Amazonka.CloudWatchEvents.TestEventPattern: data TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: data TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Read.Read Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Read.Read Amazonka.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Show.Show Amazonka.CloudWatchEvents.TestEventPattern.TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: instance GHC.Show.Show Amazonka.CloudWatchEvents.TestEventPattern.TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: newTestEventPattern :: Text -> Text -> TestEventPattern
+ Amazonka.CloudWatchEvents.TestEventPattern: newTestEventPatternResponse :: Int -> TestEventPatternResponse
+ Amazonka.CloudWatchEvents.TestEventPattern: testEventPatternResponse_httpStatus :: Lens' TestEventPatternResponse Int
+ Amazonka.CloudWatchEvents.TestEventPattern: testEventPatternResponse_result :: Lens' TestEventPatternResponse (Maybe Bool)
+ Amazonka.CloudWatchEvents.TestEventPattern: testEventPattern_event :: Lens' TestEventPattern Text
+ Amazonka.CloudWatchEvents.TestEventPattern: testEventPattern_eventPattern :: Lens' TestEventPattern Text
+ Amazonka.CloudWatchEvents.Types: ApiDestination' :: Maybe Text -> Maybe ApiDestinationState -> Maybe Text -> Maybe POSIX -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Maybe POSIX -> Maybe Text -> ApiDestination
+ Amazonka.CloudWatchEvents.Types: ApiDestinationHttpMethod' :: Text -> ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: ApiDestinationState' :: Text -> ApiDestinationState
+ Amazonka.CloudWatchEvents.Types: Archive' :: Maybe Text -> Maybe POSIX -> Maybe Integer -> Maybe Text -> Maybe Natural -> Maybe Integer -> Maybe ArchiveState -> Maybe Text -> Archive
+ Amazonka.CloudWatchEvents.Types: ArchiveState' :: Text -> ArchiveState
+ Amazonka.CloudWatchEvents.Types: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.CloudWatchEvents.Types: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types: BatchArrayProperties' :: Maybe Int -> BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types: BatchParameters' :: Maybe BatchArrayProperties -> Maybe BatchRetryStrategy -> Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents.Types: BatchRetryStrategy' :: Maybe Int -> BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types: Condition' :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents.Types: Connection' :: Maybe ConnectionAuthorizationType -> Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Connection
+ Amazonka.CloudWatchEvents.Types: ConnectionApiKeyAuthResponseParameters' :: Maybe Text -> ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionAuthResponseParameters' :: Maybe ConnectionApiKeyAuthResponseParameters -> Maybe ConnectionBasicAuthResponseParameters -> Maybe ConnectionHttpParameters -> Maybe ConnectionOAuthResponseParameters -> ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionAuthorizationType' :: Text -> ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: ConnectionBasicAuthResponseParameters' :: Maybe Text -> ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionBodyParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types: ConnectionHeaderParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types: ConnectionHttpParameters' :: Maybe [ConnectionBodyParameter] -> Maybe [ConnectionHeaderParameter] -> Maybe [ConnectionQueryStringParameter] -> ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionOAuthClientResponseParameters' :: Maybe Text -> ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionOAuthHttpMethod' :: Text -> ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: ConnectionOAuthResponseParameters' :: Maybe Text -> Maybe ConnectionOAuthClientResponseParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: ConnectionQueryStringParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types: ConnectionState' :: Text -> ConnectionState
+ Amazonka.CloudWatchEvents.Types: CreateConnectionApiKeyAuthRequestParameters' :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: CreateConnectionAuthRequestParameters' :: Maybe CreateConnectionApiKeyAuthRequestParameters -> Maybe CreateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe CreateConnectionOAuthRequestParameters -> CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: CreateConnectionBasicAuthRequestParameters' :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: CreateConnectionOAuthClientRequestParameters' :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: CreateConnectionOAuthRequestParameters' :: Maybe ConnectionHttpParameters -> CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: DeadLetterConfig' :: Maybe Text -> DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types: EcsParameters' :: Maybe [CapacityProviderStrategyItem] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Text -> EcsParameters
+ Amazonka.CloudWatchEvents.Types: Endpoint' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe POSIX -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Maybe Text -> Endpoint
+ Amazonka.CloudWatchEvents.Types: EndpointEventBus' :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents.Types: EndpointState' :: Text -> EndpointState
+ Amazonka.CloudWatchEvents.Types: EventBus' :: Maybe Text -> Maybe Text -> Maybe Text -> EventBus
+ Amazonka.CloudWatchEvents.Types: EventSource' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe EventSourceState -> EventSource
+ Amazonka.CloudWatchEvents.Types: EventSourceState' :: Text -> EventSourceState
+ Amazonka.CloudWatchEvents.Types: FailoverConfig' :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types: HttpParameters' :: Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe (HashMap Text Text) -> HttpParameters
+ Amazonka.CloudWatchEvents.Types: InputTransformer' :: Maybe (HashMap Text Text) -> Text -> InputTransformer
+ Amazonka.CloudWatchEvents.Types: KinesisParameters' :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents.Types: LaunchType' :: Text -> LaunchType
+ Amazonka.CloudWatchEvents.Types: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types: PartnerEventSource' :: Maybe Text -> Maybe Text -> PartnerEventSource
+ Amazonka.CloudWatchEvents.Types: PartnerEventSourceAccount' :: Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe EventSourceState -> PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.CloudWatchEvents.Types: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.CloudWatchEvents.Types: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: Primary' :: Text -> Primary
+ Amazonka.CloudWatchEvents.Types: PropagateTags' :: Text -> PropagateTags
+ Amazonka.CloudWatchEvents.Types: PutEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe Text -> PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: PutEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: PutPartnerEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: PutPartnerEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: PutTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: RedshiftDataParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types: RemoveTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: Replay' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Replay
+ Amazonka.CloudWatchEvents.Types: ReplayDestination' :: Maybe [Text] -> Text -> ReplayDestination
+ Amazonka.CloudWatchEvents.Types: ReplayState' :: Text -> ReplayState
+ Amazonka.CloudWatchEvents.Types: ReplicationConfig' :: Maybe ReplicationState -> ReplicationConfig
+ Amazonka.CloudWatchEvents.Types: ReplicationState' :: Text -> ReplicationState
+ Amazonka.CloudWatchEvents.Types: RetryPolicy' :: Maybe Natural -> Maybe Natural -> RetryPolicy
+ Amazonka.CloudWatchEvents.Types: RoutingConfig' :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents.Types: Rule' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Rule
+ Amazonka.CloudWatchEvents.Types: RuleState' :: Text -> RuleState
+ Amazonka.CloudWatchEvents.Types: RunCommandParameters' :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents.Types: RunCommandTarget' :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents.Types: SageMakerPipelineParameter' :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types: SageMakerPipelineParameters' :: Maybe [SageMakerPipelineParameter] -> SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types: Secondary' :: Text -> Secondary
+ Amazonka.CloudWatchEvents.Types: SqsParameters' :: Maybe Text -> SqsParameters
+ Amazonka.CloudWatchEvents.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents.Types: Target' :: Maybe BatchParameters -> Maybe DeadLetterConfig -> Maybe EcsParameters -> Maybe HttpParameters -> Maybe Text -> Maybe Text -> Maybe InputTransformer -> Maybe KinesisParameters -> Maybe RedshiftDataParameters -> Maybe RetryPolicy -> Maybe Text -> Maybe RunCommandParameters -> Maybe SageMakerPipelineParameters -> Maybe SqsParameters -> Text -> Text -> Target
+ Amazonka.CloudWatchEvents.Types: UpdateConnectionApiKeyAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: UpdateConnectionAuthRequestParameters' :: Maybe UpdateConnectionApiKeyAuthRequestParameters -> Maybe UpdateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe UpdateConnectionOAuthRequestParameters -> UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: UpdateConnectionBasicAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: UpdateConnectionOAuthClientRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: UpdateConnectionOAuthRequestParameters' :: Maybe Text -> Maybe UpdateConnectionOAuthClientRequestParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:account:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiDestinationArn:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiDestinationState:ApiDestination'] :: ApiDestination -> Maybe ApiDestinationState
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyName:ConnectionApiKeyAuthResponseParameters'] :: ConnectionApiKeyAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyName:CreateConnectionApiKeyAuthRequestParameters'] :: CreateConnectionApiKeyAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyName:UpdateConnectionApiKeyAuthRequestParameters'] :: UpdateConnectionApiKeyAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyValue:CreateConnectionApiKeyAuthRequestParameters'] :: CreateConnectionApiKeyAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:apiKeyValue:UpdateConnectionApiKeyAuthRequestParameters'] :: UpdateConnectionApiKeyAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:archiveName:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:DeadLetterConfig'] :: DeadLetterConfig -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:PartnerEventSource'] :: PartnerEventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:ReplayDestination'] :: ReplayDestination -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arn:Target'] :: Target -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:arrayProperties:BatchParameters'] :: BatchParameters -> Maybe BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types: [$sel:assignPublicIp:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe AssignPublicIp
+ Amazonka.CloudWatchEvents.Types: [$sel:attempts:BatchRetryStrategy'] :: BatchRetryStrategy -> Maybe Int
+ Amazonka.CloudWatchEvents.Types: [$sel:authorizationEndpoint:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:authorizationEndpoint:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:authorizationEndpoint:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:authorizationType:Connection'] :: Connection -> Maybe ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: [$sel:awsvpcConfiguration:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types: [$sel:base:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:basicAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:basicAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:basicAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:batchParameters:Target'] :: Target -> Maybe BatchParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:bodyParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionBodyParameter]
+ Amazonka.CloudWatchEvents.Types: [$sel:capacityProvider:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:capacityProviderStrategy:EcsParameters'] :: EcsParameters -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.CloudWatchEvents.Types: [$sel:clientID:ConnectionOAuthClientResponseParameters'] :: ConnectionOAuthClientResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:clientID:CreateConnectionOAuthClientRequestParameters'] :: CreateConnectionOAuthClientRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:clientID:UpdateConnectionOAuthClientRequestParameters'] :: UpdateConnectionOAuthClientRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:clientParameters:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:clientParameters:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:clientParameters:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:clientSecret:CreateConnectionOAuthClientRequestParameters'] :: CreateConnectionOAuthClientRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:clientSecret:UpdateConnectionOAuthClientRequestParameters'] :: UpdateConnectionOAuthClientRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:connectionArn:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:connectionArn:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:connectionState:Connection'] :: Connection -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.Types: [$sel:createdBy:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:ApiDestination'] :: ApiDestination -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:Archive'] :: Archive -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:Endpoint'] :: Endpoint -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:EventSource'] :: EventSource -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:creationTime:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:database:RedshiftDataParameters'] :: RedshiftDataParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:dbUser:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:deadLetterConfig:Target'] :: Target -> Maybe DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types: [$sel:description:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:description:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:detail:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:detail:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:detailType:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:detailType:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:ecsParameters:Target'] :: Target -> Maybe EcsParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:enableECSManagedTags:EcsParameters'] :: EcsParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [$sel:enableExecuteCommand:EcsParameters'] :: EcsParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [$sel:endpointId:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:endpointUrl:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorCode:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorCode:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorCode:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorCode:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorMessage:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorMessage:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorMessage:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:errorMessage:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventBusArn:EndpointEventBus'] :: EndpointEventBus -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventBusName:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventBusName:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventBuses:Endpoint'] :: Endpoint -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.Types: [$sel:eventCount:Archive'] :: Archive -> Maybe Integer
+ Amazonka.CloudWatchEvents.Types: [$sel:eventEndTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:eventId:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventId:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventLastReplayedTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:eventPattern:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventSourceArn:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventSourceArn:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:eventStartTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:expirationTime:EventSource'] :: EventSource -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:expirationTime:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:expression:PlacementConstraint'] :: PlacementConstraint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:failoverConfig:RoutingConfig'] :: RoutingConfig -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types: [$sel:field:PlacementStrategy'] :: PlacementStrategy -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:filterArns:ReplayDestination'] :: ReplayDestination -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:group':EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:headerParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionHeaderParameter]
+ Amazonka.CloudWatchEvents.Types: [$sel:headerParameters:HttpParameters'] :: HttpParameters -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types: [$sel:healthCheck:Primary'] :: Primary -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:httpMethod:ApiDestination'] :: ApiDestination -> Maybe ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: [$sel:httpMethod:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: [$sel:httpMethod:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: [$sel:httpMethod:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: [$sel:httpParameters:Target'] :: Target -> Maybe HttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:id:Target'] :: Target -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:input:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:inputPath:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:inputPathsMap:InputTransformer'] :: InputTransformer -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types: [$sel:inputTemplate:InputTransformer'] :: InputTransformer -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:inputTransformer:Target'] :: Target -> Maybe InputTransformer
+ Amazonka.CloudWatchEvents.Types: [$sel:invocationEndpoint:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:invocationHttpParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:invocationHttpParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:invocationHttpParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:invocationRateLimitPerSecond:ApiDestination'] :: ApiDestination -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:isValueSecret:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [$sel:isValueSecret:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [$sel:isValueSecret:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [$sel:jobDefinition:BatchParameters'] :: BatchParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:jobName:BatchParameters'] :: BatchParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:RunCommandTarget'] :: RunCommandTarget -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:kinesisParameters:Target'] :: Target -> Maybe KinesisParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:lastAuthorizedTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:lastModifiedTime:ApiDestination'] :: ApiDestination -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:lastModifiedTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:lastModifiedTime:Endpoint'] :: Endpoint -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:launchType:EcsParameters'] :: EcsParameters -> Maybe LaunchType
+ Amazonka.CloudWatchEvents.Types: [$sel:managedBy:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:maximumEventAgeInSeconds:RetryPolicy'] :: RetryPolicy -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:maximumRetryAttempts:RetryPolicy'] :: RetryPolicy -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:messageGroupId:SqsParameters'] :: SqsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:PartnerEventSource'] :: PartnerEventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:name:SageMakerPipelineParameter'] :: SageMakerPipelineParameter -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:networkConfiguration:EcsParameters'] :: EcsParameters -> Maybe NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthHttpParameters:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthHttpParameters:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthHttpParameters:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:oAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:partitionKeyPath:KinesisParameters'] :: KinesisParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:password:CreateConnectionBasicAuthRequestParameters'] :: CreateConnectionBasicAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:password:UpdateConnectionBasicAuthRequestParameters'] :: UpdateConnectionBasicAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:pathParameterValues:HttpParameters'] :: HttpParameters -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:pipelineParameterList:SageMakerPipelineParameters'] :: SageMakerPipelineParameters -> Maybe [SageMakerPipelineParameter]
+ Amazonka.CloudWatchEvents.Types: [$sel:placementConstraints:EcsParameters'] :: EcsParameters -> Maybe [PlacementConstraint]
+ Amazonka.CloudWatchEvents.Types: [$sel:placementStrategy:EcsParameters'] :: EcsParameters -> Maybe [PlacementStrategy]
+ Amazonka.CloudWatchEvents.Types: [$sel:platformVersion:EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:policy:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:primary:FailoverConfig'] :: FailoverConfig -> Primary
+ Amazonka.CloudWatchEvents.Types: [$sel:propagateTags:EcsParameters'] :: EcsParameters -> Maybe PropagateTags
+ Amazonka.CloudWatchEvents.Types: [$sel:queryStringParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionQueryStringParameter]
+ Amazonka.CloudWatchEvents.Types: [$sel:queryStringParameters:HttpParameters'] :: HttpParameters -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types: [$sel:redshiftDataParameters:Target'] :: Target -> Maybe RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:referenceId:EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:replayEndTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:replayName:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:replayStartTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:replicationConfig:Endpoint'] :: Endpoint -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.Types: [$sel:resources:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:resources:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:retentionDays:Archive'] :: Archive -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:retryPolicy:Target'] :: Target -> Maybe RetryPolicy
+ Amazonka.CloudWatchEvents.Types: [$sel:retryStrategy:BatchParameters'] :: BatchParameters -> Maybe BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types: [$sel:roleArn:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:roleArn:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:roleArn:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:route:Secondary'] :: Secondary -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:routingConfig:Endpoint'] :: Endpoint -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.Types: [$sel:runCommandParameters:Target'] :: Target -> Maybe RunCommandParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:runCommandTargets:RunCommandParameters'] :: RunCommandParameters -> NonEmpty RunCommandTarget
+ Amazonka.CloudWatchEvents.Types: [$sel:sageMakerPipelineParameters:Target'] :: Target -> Maybe SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:scheduleExpression:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:secondary:FailoverConfig'] :: FailoverConfig -> Secondary
+ Amazonka.CloudWatchEvents.Types: [$sel:secretManagerArn:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:securityGroups:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:size:BatchArrayProperties'] :: BatchArrayProperties -> Maybe Int
+ Amazonka.CloudWatchEvents.Types: [$sel:sizeBytes:Archive'] :: Archive -> Maybe Integer
+ Amazonka.CloudWatchEvents.Types: [$sel:source:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:source:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:sql:RedshiftDataParameters'] :: RedshiftDataParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:sqsParameters:Target'] :: Target -> Maybe SqsParameters
+ Amazonka.CloudWatchEvents.Types: [$sel:state:Archive'] :: Archive -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:Endpoint'] :: Endpoint -> Maybe EndpointState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:EventSource'] :: EventSource -> Maybe EventSourceState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe EventSourceState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:Replay'] :: Replay -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:ReplicationConfig'] :: ReplicationConfig -> Maybe ReplicationState
+ Amazonka.CloudWatchEvents.Types: [$sel:state:Rule'] :: Rule -> Maybe RuleState
+ Amazonka.CloudWatchEvents.Types: [$sel:stateReason:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:stateReason:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:stateReason:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:stateReason:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:statementName:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:subnets:AwsVpcConfiguration'] :: AwsVpcConfiguration -> [Text]
+ Amazonka.CloudWatchEvents.Types: [$sel:tags:EcsParameters'] :: EcsParameters -> Maybe [Tag]
+ Amazonka.CloudWatchEvents.Types: [$sel:targetId:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:targetId:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:taskCount:EcsParameters'] :: EcsParameters -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:taskDefinitionArn:EcsParameters'] :: EcsParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:time:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:time:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types: [$sel:traceHeader:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:type':Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:type':PlacementConstraint'] :: PlacementConstraint -> Maybe PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types: [$sel:type':PlacementStrategy'] :: PlacementStrategy -> Maybe PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: [$sel:username:ConnectionBasicAuthResponseParameters'] :: ConnectionBasicAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:username:CreateConnectionBasicAuthRequestParameters'] :: CreateConnectionBasicAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:username:UpdateConnectionBasicAuthRequestParameters'] :: UpdateConnectionBasicAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:SageMakerPipelineParameter'] :: SageMakerPipelineParameter -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.CloudWatchEvents.Types: [$sel:values:RunCommandTarget'] :: RunCommandTarget -> NonEmpty Text
+ Amazonka.CloudWatchEvents.Types: [$sel:weight:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types: [$sel:withEvent:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types: [fromApiDestinationHttpMethod] :: ApiDestinationHttpMethod -> Text
+ Amazonka.CloudWatchEvents.Types: [fromApiDestinationState] :: ApiDestinationState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromArchiveState] :: ArchiveState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.CloudWatchEvents.Types: [fromConnectionAuthorizationType] :: ConnectionAuthorizationType -> Text
+ Amazonka.CloudWatchEvents.Types: [fromConnectionOAuthHttpMethod] :: ConnectionOAuthHttpMethod -> Text
+ Amazonka.CloudWatchEvents.Types: [fromConnectionState] :: ConnectionState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromEndpointState] :: EndpointState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromEventSourceState] :: EventSourceState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.CloudWatchEvents.Types: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.CloudWatchEvents.Types: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.CloudWatchEvents.Types: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.CloudWatchEvents.Types: [fromReplayState] :: ReplayState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromReplicationState] :: ReplicationState -> Text
+ Amazonka.CloudWatchEvents.Types: [fromRuleState] :: RuleState -> Text
+ Amazonka.CloudWatchEvents.Types: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _IllegalStatusException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _InternalException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _InvalidEventPatternException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _InvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _ManagedRuleException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _OperationDisabledException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _PolicyLengthExceededException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CloudWatchEvents.Types: apiDestination_apiDestinationArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: apiDestination_apiDestinationState :: Lens' ApiDestination (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Types: apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.Types: apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: apiDestination_name :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: archive_archiveName :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: archive_creationTime :: Lens' Archive (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: archive_eventCount :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Types: archive_eventSourceArn :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: archive_retentionDays :: Lens' Archive (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: archive_sizeBytes :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Types: archive_state :: Lens' Archive (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Types: archive_stateReason :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.CloudWatchEvents.Types: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.CloudWatchEvents.Types: batchArrayProperties_size :: Lens' BatchArrayProperties (Maybe Int)
+ Amazonka.CloudWatchEvents.Types: batchParameters_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
+ Amazonka.CloudWatchEvents.Types: batchParameters_jobDefinition :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Types: batchParameters_jobName :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Types: batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
+ Amazonka.CloudWatchEvents.Types: batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Int)
+ Amazonka.CloudWatchEvents.Types: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.CloudWatchEvents.Types: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: condition_key :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types: condition_type :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types: condition_value :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types: connectionApiKeyAuthResponseParameters_apiKeyName :: Lens' ConnectionApiKeyAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionAuthResponseParameters_apiKeyAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionApiKeyAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types: connectionAuthResponseParameters_basicAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionBasicAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types: connectionAuthResponseParameters_invocationHttpParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types: connectionAuthResponseParameters_oAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionOAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types: connectionBasicAuthResponseParameters_username :: Lens' ConnectionBasicAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionBodyParameter_isValueSecret :: Lens' ConnectionBodyParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: connectionBodyParameter_key :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionBodyParameter_value :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionHeaderParameter_isValueSecret :: Lens' ConnectionHeaderParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: connectionHeaderParameter_key :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionHeaderParameter_value :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionHttpParameters_bodyParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionBodyParameter])
+ Amazonka.CloudWatchEvents.Types: connectionHttpParameters_headerParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionHeaderParameter])
+ Amazonka.CloudWatchEvents.Types: connectionHttpParameters_queryStringParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionQueryStringParameter])
+ Amazonka.CloudWatchEvents.Types: connectionOAuthClientResponseParameters_clientID :: Lens' ConnectionOAuthClientResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionOAuthResponseParameters_authorizationEndpoint :: Lens' ConnectionOAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionOAuthResponseParameters_clientParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthClientResponseParameters)
+ Amazonka.CloudWatchEvents.Types: connectionOAuthResponseParameters_httpMethod :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Types: connectionOAuthResponseParameters_oAuthHttpParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types: connectionQueryStringParameter_isValueSecret :: Lens' ConnectionQueryStringParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: connectionQueryStringParameter_key :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connectionQueryStringParameter_value :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connection_authorizationType :: Lens' Connection (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.Types: connection_connectionArn :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connection_connectionState :: Lens' Connection (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Types: connection_creationTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: connection_lastAuthorizedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: connection_lastModifiedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: connection_name :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: connection_stateReason :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: createConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: createConnectionAuthRequestParameters_basicAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: createConnectionAuthRequestParameters_invocationHttpParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types: createConnectionAuthRequestParameters_oAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: createConnectionBasicAuthRequestParameters_password :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionBasicAuthRequestParameters_username :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthClientRequestParameters_clientID :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthClientRequestParameters_clientSecret :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' CreateConnectionOAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthRequestParameters_clientParameters :: Lens' CreateConnectionOAuthRequestParameters CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthRequestParameters_httpMethod :: Lens' CreateConnectionOAuthRequestParameters ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: createConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' CreateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types: data ApiDestination
+ Amazonka.CloudWatchEvents.Types: data Archive
+ Amazonka.CloudWatchEvents.Types: data AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types: data BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types: data BatchParameters
+ Amazonka.CloudWatchEvents.Types: data BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types: data CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types: data Condition
+ Amazonka.CloudWatchEvents.Types: data Connection
+ Amazonka.CloudWatchEvents.Types: data ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types: data ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types: data ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: data ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types: data CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: data CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types: data EcsParameters
+ Amazonka.CloudWatchEvents.Types: data Endpoint
+ Amazonka.CloudWatchEvents.Types: data EndpointEventBus
+ Amazonka.CloudWatchEvents.Types: data EventBus
+ Amazonka.CloudWatchEvents.Types: data EventSource
+ Amazonka.CloudWatchEvents.Types: data FailoverConfig
+ Amazonka.CloudWatchEvents.Types: data HttpParameters
+ Amazonka.CloudWatchEvents.Types: data InputTransformer
+ Amazonka.CloudWatchEvents.Types: data KinesisParameters
+ Amazonka.CloudWatchEvents.Types: data NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types: data PartnerEventSource
+ Amazonka.CloudWatchEvents.Types: data PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types: data PlacementConstraint
+ Amazonka.CloudWatchEvents.Types: data PlacementStrategy
+ Amazonka.CloudWatchEvents.Types: data Primary
+ Amazonka.CloudWatchEvents.Types: data PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: data PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: data PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: data PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: data PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: data RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types: data RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: data Replay
+ Amazonka.CloudWatchEvents.Types: data ReplayDestination
+ Amazonka.CloudWatchEvents.Types: data ReplicationConfig
+ Amazonka.CloudWatchEvents.Types: data RetryPolicy
+ Amazonka.CloudWatchEvents.Types: data RoutingConfig
+ Amazonka.CloudWatchEvents.Types: data Rule
+ Amazonka.CloudWatchEvents.Types: data RunCommandParameters
+ Amazonka.CloudWatchEvents.Types: data RunCommandTarget
+ Amazonka.CloudWatchEvents.Types: data SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types: data SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types: data Secondary
+ Amazonka.CloudWatchEvents.Types: data SqsParameters
+ Amazonka.CloudWatchEvents.Types: data Tag
+ Amazonka.CloudWatchEvents.Types: data Target
+ Amazonka.CloudWatchEvents.Types: data UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: data UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: data UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: deadLetterConfig_arn :: Lens' DeadLetterConfig (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: defaultService :: Service
+ Amazonka.CloudWatchEvents.Types: ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem])
+ Amazonka.CloudWatchEvents.Types: ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_group :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint])
+ Amazonka.CloudWatchEvents.Types: ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy])
+ Amazonka.CloudWatchEvents.Types: ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_tags :: Lens' EcsParameters (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Types: ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text
+ Amazonka.CloudWatchEvents.Types: endpointEventBus_eventBusArn :: Lens' EndpointEventBus Text
+ Amazonka.CloudWatchEvents.Types: endpoint_arn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_creationTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: endpoint_description :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_endpointId :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_endpointUrl :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_eventBuses :: Lens' Endpoint (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Types: endpoint_lastModifiedTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: endpoint_name :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_replicationConfig :: Lens' Endpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Types: endpoint_roleArn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: endpoint_routingConfig :: Lens' Endpoint (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Types: endpoint_state :: Lens' Endpoint (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Types: endpoint_stateReason :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventBus_arn :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventBus_name :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventBus_policy :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventSource_arn :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventSource_createdBy :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventSource_creationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: eventSource_expirationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: eventSource_name :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: eventSource_state :: Lens' EventSource (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Types: failoverConfig_primary :: Lens' FailoverConfig Primary
+ Amazonka.CloudWatchEvents.Types: failoverConfig_secondary :: Lens' FailoverConfig Secondary
+ Amazonka.CloudWatchEvents.Types: httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types: httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types: httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types: inputTransformer_inputPathsMap :: Lens' InputTransformer (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types: inputTransformer_inputTemplate :: Lens' InputTransformer Text
+ Amazonka.CloudWatchEvents.Types: kinesisParameters_partitionKeyPath :: Lens' KinesisParameters Text
+ Amazonka.CloudWatchEvents.Types: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.CloudWatchEvents.Types: newApiDestination :: ApiDestination
+ Amazonka.CloudWatchEvents.Types: newArchive :: Archive
+ Amazonka.CloudWatchEvents.Types: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types: newBatchArrayProperties :: BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types: newBatchParameters :: Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents.Types: newBatchRetryStrategy :: BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types: newCondition :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents.Types: newConnection :: Connection
+ Amazonka.CloudWatchEvents.Types: newConnectionApiKeyAuthResponseParameters :: ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionAuthResponseParameters :: ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionBasicAuthResponseParameters :: ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionBodyParameter :: ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types: newConnectionHeaderParameter :: ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types: newConnectionHttpParameters :: ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionOAuthClientResponseParameters :: ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionOAuthResponseParameters :: ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types: newConnectionQueryStringParameter :: ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types: newCreateConnectionApiKeyAuthRequestParameters :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newCreateConnectionAuthRequestParameters :: CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newCreateConnectionBasicAuthRequestParameters :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newCreateConnectionOAuthClientRequestParameters :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: newCreateConnectionOAuthRequestParameters :: CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newDeadLetterConfig :: DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types: newEcsParameters :: Text -> EcsParameters
+ Amazonka.CloudWatchEvents.Types: newEndpoint :: Endpoint
+ Amazonka.CloudWatchEvents.Types: newEndpointEventBus :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents.Types: newEventBus :: EventBus
+ Amazonka.CloudWatchEvents.Types: newEventSource :: EventSource
+ Amazonka.CloudWatchEvents.Types: newFailoverConfig :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types: newHttpParameters :: HttpParameters
+ Amazonka.CloudWatchEvents.Types: newInputTransformer :: Text -> InputTransformer
+ Amazonka.CloudWatchEvents.Types: newKinesisParameters :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents.Types: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types: newPartnerEventSource :: PartnerEventSource
+ Amazonka.CloudWatchEvents.Types: newPartnerEventSourceAccount :: PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types: newPlacementConstraint :: PlacementConstraint
+ Amazonka.CloudWatchEvents.Types: newPlacementStrategy :: PlacementStrategy
+ Amazonka.CloudWatchEvents.Types: newPrimary :: Text -> Primary
+ Amazonka.CloudWatchEvents.Types: newPutEventsRequestEntry :: PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: newPutEventsResultEntry :: PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: newPutPartnerEventsRequestEntry :: PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types: newPutPartnerEventsResultEntry :: PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types: newPutTargetsResultEntry :: PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: newRedshiftDataParameters :: Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types: newRemoveTargetsResultEntry :: RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types: newReplay :: Replay
+ Amazonka.CloudWatchEvents.Types: newReplayDestination :: Text -> ReplayDestination
+ Amazonka.CloudWatchEvents.Types: newReplicationConfig :: ReplicationConfig
+ Amazonka.CloudWatchEvents.Types: newRetryPolicy :: RetryPolicy
+ Amazonka.CloudWatchEvents.Types: newRoutingConfig :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents.Types: newRule :: Rule
+ Amazonka.CloudWatchEvents.Types: newRunCommandParameters :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents.Types: newRunCommandTarget :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents.Types: newSageMakerPipelineParameter :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types: newSageMakerPipelineParameters :: SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types: newSecondary :: Text -> Secondary
+ Amazonka.CloudWatchEvents.Types: newSqsParameters :: SqsParameters
+ Amazonka.CloudWatchEvents.Types: newTag :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents.Types: newTarget :: Text -> Text -> Target
+ Amazonka.CloudWatchEvents.Types: newUpdateConnectionApiKeyAuthRequestParameters :: UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newUpdateConnectionAuthRequestParameters :: UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newUpdateConnectionBasicAuthRequestParameters :: UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newUpdateConnectionOAuthClientRequestParameters :: UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types: newUpdateConnectionOAuthRequestParameters :: UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types: newtype ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: newtype ApiDestinationState
+ Amazonka.CloudWatchEvents.Types: newtype ArchiveState
+ Amazonka.CloudWatchEvents.Types: newtype AssignPublicIp
+ Amazonka.CloudWatchEvents.Types: newtype ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: newtype ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: newtype ConnectionState
+ Amazonka.CloudWatchEvents.Types: newtype EndpointState
+ Amazonka.CloudWatchEvents.Types: newtype EventSourceState
+ Amazonka.CloudWatchEvents.Types: newtype LaunchType
+ Amazonka.CloudWatchEvents.Types: newtype PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types: newtype PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: newtype PropagateTags
+ Amazonka.CloudWatchEvents.Types: newtype ReplayState
+ Amazonka.CloudWatchEvents.Types: newtype ReplicationState
+ Amazonka.CloudWatchEvents.Types: newtype RuleState
+ Amazonka.CloudWatchEvents.Types: partnerEventSourceAccount_account :: Lens' PartnerEventSourceAccount (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: partnerEventSourceAccount_creationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: partnerEventSourceAccount_expirationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: partnerEventSourceAccount_state :: Lens' PartnerEventSourceAccount (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Types: partnerEventSource_arn :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: partnerEventSource_name :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_DELETE :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_GET :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_HEAD :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_OPTIONS :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_PATCH :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_POST :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationHttpMethod_PUT :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationState_ACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents.Types: pattern ApiDestinationState_INACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_CREATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_CREATING :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_DISABLED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_ENABLED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_UPDATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern ArchiveState_UPDATING :: ArchiveState
+ Amazonka.CloudWatchEvents.Types: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents.Types: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionAuthorizationType_API_KEY :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionAuthorizationType_BASIC :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionOAuthHttpMethod_GET :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionOAuthHttpMethod_POST :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionOAuthHttpMethod_PUT :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_AUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_AUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_CREATING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_DEAUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_DEAUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_DELETING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern ConnectionState_UPDATING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_ACTIVE :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_CREATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_CREATING :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_DELETE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_DELETING :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_UPDATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EndpointState_UPDATING :: EndpointState
+ Amazonka.CloudWatchEvents.Types: pattern EventSourceState_ACTIVE :: EventSourceState
+ Amazonka.CloudWatchEvents.Types: pattern EventSourceState_DELETED :: EventSourceState
+ Amazonka.CloudWatchEvents.Types: pattern EventSourceState_PENDING :: EventSourceState
+ Amazonka.CloudWatchEvents.Types: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.CloudWatchEvents.Types: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.CloudWatchEvents.Types: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.CloudWatchEvents.Types: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_CANCELLED :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_CANCELLING :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_COMPLETED :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_FAILED :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_RUNNING :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplayState_STARTING :: ReplayState
+ Amazonka.CloudWatchEvents.Types: pattern ReplicationState_DISABLED :: ReplicationState
+ Amazonka.CloudWatchEvents.Types: pattern ReplicationState_ENABLED :: ReplicationState
+ Amazonka.CloudWatchEvents.Types: pattern RuleState_DISABLED :: RuleState
+ Amazonka.CloudWatchEvents.Types: pattern RuleState_ENABLED :: RuleState
+ Amazonka.CloudWatchEvents.Types: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.CloudWatchEvents.Types: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.CloudWatchEvents.Types: primary_healthCheck :: Lens' Primary Text
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsResultEntry_errorCode :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsResultEntry_errorMessage :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putEventsResultEntry_eventId :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsRequestEntry_detail :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsRequestEntry_detailType :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsRequestEntry_resources :: Lens' PutPartnerEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsRequestEntry_source :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsRequestEntry_time :: Lens' PutPartnerEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsResultEntry_errorCode :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsResultEntry_errorMessage :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putPartnerEventsResultEntry_eventId :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putTargetsResultEntry_errorCode :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putTargetsResultEntry_errorMessage :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: putTargetsResultEntry_targetId :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_database :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_dbUser :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_secretManagerArn :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_sql :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_statementName :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: redshiftDataParameters_withEvent :: Lens' RedshiftDataParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types: removeTargetsResultEntry_errorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: removeTargetsResultEntry_errorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: removeTargetsResultEntry_targetId :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: replayDestination_arn :: Lens' ReplayDestination Text
+ Amazonka.CloudWatchEvents.Types: replayDestination_filterArns :: Lens' ReplayDestination (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types: replay_eventEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: replay_eventLastReplayedTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: replay_eventSourceArn :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: replay_eventStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: replay_replayEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: replay_replayName :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: replay_replayStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types: replay_state :: Lens' Replay (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Types: replay_stateReason :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: replicationConfig_state :: Lens' ReplicationConfig (Maybe ReplicationState)
+ Amazonka.CloudWatchEvents.Types: retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types: routingConfig_failoverConfig :: Lens' RoutingConfig FailoverConfig
+ Amazonka.CloudWatchEvents.Types: rule_arn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_description :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_eventBusName :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_eventPattern :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_managedBy :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_name :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_roleArn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_scheduleExpression :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: rule_state :: Lens' Rule (Maybe RuleState)
+ Amazonka.CloudWatchEvents.Types: runCommandParameters_runCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)
+ Amazonka.CloudWatchEvents.Types: runCommandTarget_key :: Lens' RunCommandTarget Text
+ Amazonka.CloudWatchEvents.Types: runCommandTarget_values :: Lens' RunCommandTarget (NonEmpty Text)
+ Amazonka.CloudWatchEvents.Types: sageMakerPipelineParameter_name :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Types: sageMakerPipelineParameter_value :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Types: sageMakerPipelineParameters_pipelineParameterList :: Lens' SageMakerPipelineParameters (Maybe [SageMakerPipelineParameter])
+ Amazonka.CloudWatchEvents.Types: secondary_route :: Lens' Secondary Text
+ Amazonka.CloudWatchEvents.Types: sqsParameters_messageGroupId :: Lens' SqsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: tag_key :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Types: tag_value :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Types: target_arn :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Types: target_batchParameters :: Lens' Target (Maybe BatchParameters)
+ Amazonka.CloudWatchEvents.Types: target_deadLetterConfig :: Lens' Target (Maybe DeadLetterConfig)
+ Amazonka.CloudWatchEvents.Types: target_ecsParameters :: Lens' Target (Maybe EcsParameters)
+ Amazonka.CloudWatchEvents.Types: target_httpParameters :: Lens' Target (Maybe HttpParameters)
+ Amazonka.CloudWatchEvents.Types: target_id :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Types: target_input :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: target_inputPath :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: target_inputTransformer :: Lens' Target (Maybe InputTransformer)
+ Amazonka.CloudWatchEvents.Types: target_kinesisParameters :: Lens' Target (Maybe KinesisParameters)
+ Amazonka.CloudWatchEvents.Types: target_redshiftDataParameters :: Lens' Target (Maybe RedshiftDataParameters)
+ Amazonka.CloudWatchEvents.Types: target_retryPolicy :: Lens' Target (Maybe RetryPolicy)
+ Amazonka.CloudWatchEvents.Types: target_roleArn :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: target_runCommandParameters :: Lens' Target (Maybe RunCommandParameters)
+ Amazonka.CloudWatchEvents.Types: target_sageMakerPipelineParameters :: Lens' Target (Maybe SageMakerPipelineParameters)
+ Amazonka.CloudWatchEvents.Types: target_sqsParameters :: Lens' Target (Maybe SqsParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionAuthRequestParameters_basicAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionAuthRequestParameters_invocationHttpParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionAuthRequestParameters_oAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionBasicAuthRequestParameters_password :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionBasicAuthRequestParameters_username :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthClientRequestParameters_clientID :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthClientRequestParameters_clientSecret :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' UpdateConnectionOAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthRequestParameters_clientParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe UpdateConnectionOAuthClientRequestParameters)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthRequestParameters_httpMethod :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Types: updateConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: ApiDestination' :: Maybe Text -> Maybe ApiDestinationState -> Maybe Text -> Maybe POSIX -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Maybe POSIX -> Maybe Text -> ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:apiDestinationArn:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:apiDestinationState:ApiDestination'] :: ApiDestination -> Maybe ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:connectionArn:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:creationTime:ApiDestination'] :: ApiDestination -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:httpMethod:ApiDestination'] :: ApiDestination -> Maybe ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:invocationEndpoint:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:invocationRateLimitPerSecond:ApiDestination'] :: ApiDestination -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:lastModifiedTime:ApiDestination'] :: ApiDestination -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.ApiDestination: [$sel:name:ApiDestination'] :: ApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_apiDestinationArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_apiDestinationState :: Lens' ApiDestination (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: apiDestination_name :: Lens' ApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ApiDestination: data ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ApiDestination.ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestination: newApiDestination :: ApiDestination
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: ApiDestinationHttpMethod' :: Text -> ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: [fromApiDestinationHttpMethod] :: ApiDestinationHttpMethod -> Text
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod.ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: newtype ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_DELETE :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_GET :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_HEAD :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_OPTIONS :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_PATCH :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_POST :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod: pattern ApiDestinationHttpMethod_PUT :: ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: ApiDestinationState' :: Text -> ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: [fromApiDestinationState] :: ApiDestinationState -> Text
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ApiDestinationState.ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: newtype ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: pattern ApiDestinationState_ACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.ApiDestinationState: pattern ApiDestinationState_INACTIVE :: ApiDestinationState
+ Amazonka.CloudWatchEvents.Types.Archive: Archive' :: Maybe Text -> Maybe POSIX -> Maybe Integer -> Maybe Text -> Maybe Natural -> Maybe Integer -> Maybe ArchiveState -> Maybe Text -> Archive
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:archiveName:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:creationTime:Archive'] :: Archive -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:eventCount:Archive'] :: Archive -> Maybe Integer
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:eventSourceArn:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:retentionDays:Archive'] :: Archive -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:sizeBytes:Archive'] :: Archive -> Maybe Integer
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:state:Archive'] :: Archive -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.Types.Archive: [$sel:stateReason:Archive'] :: Archive -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Archive: archive_archiveName :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_creationTime :: Lens' Archive (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_eventCount :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_eventSourceArn :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_retentionDays :: Lens' Archive (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_sizeBytes :: Lens' Archive (Maybe Integer)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_state :: Lens' Archive (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.Types.Archive: archive_stateReason :: Lens' Archive (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Archive: data Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Archive.Archive
+ Amazonka.CloudWatchEvents.Types.Archive: newArchive :: Archive
+ Amazonka.CloudWatchEvents.Types.ArchiveState: ArchiveState' :: Text -> ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: [fromArchiveState] :: ArchiveState -> Text
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ArchiveState.ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: newtype ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_CREATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_CREATING :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_DISABLED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_ENABLED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_UPDATE_FAILED :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.ArchiveState: pattern ArchiveState_UPDATING :: ArchiveState
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: AssignPublicIp' :: Text -> AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: [fromAssignPublicIp] :: AssignPublicIp -> Text
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.AssignPublicIp.AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: newtype AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: pattern AssignPublicIp_DISABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AssignPublicIp: pattern AssignPublicIp_ENABLED :: AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: AwsVpcConfiguration' :: Maybe AssignPublicIp -> Maybe [Text] -> [Text] -> AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: [$sel:assignPublicIp:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe AssignPublicIp
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: [$sel:securityGroups:AwsVpcConfiguration'] :: AwsVpcConfiguration -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: [$sel:subnets:AwsVpcConfiguration'] :: AwsVpcConfiguration -> [Text]
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: awsVpcConfiguration_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp)
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: awsVpcConfiguration_subnets :: Lens' AwsVpcConfiguration [Text]
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: data AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration.AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration: newAwsVpcConfiguration :: AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: BatchArrayProperties' :: Maybe Int -> BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: [$sel:size:BatchArrayProperties'] :: BatchArrayProperties -> Maybe Int
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: batchArrayProperties_size :: Lens' BatchArrayProperties (Maybe Int)
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: data BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.BatchArrayProperties.BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties: newBatchArrayProperties :: BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchParameters: BatchParameters' :: Maybe BatchArrayProperties -> Maybe BatchRetryStrategy -> Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: [$sel:arrayProperties:BatchParameters'] :: BatchParameters -> Maybe BatchArrayProperties
+ Amazonka.CloudWatchEvents.Types.BatchParameters: [$sel:jobDefinition:BatchParameters'] :: BatchParameters -> Text
+ Amazonka.CloudWatchEvents.Types.BatchParameters: [$sel:jobName:BatchParameters'] :: BatchParameters -> Text
+ Amazonka.CloudWatchEvents.Types.BatchParameters: [$sel:retryStrategy:BatchParameters'] :: BatchParameters -> Maybe BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchParameters: batchParameters_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
+ Amazonka.CloudWatchEvents.Types.BatchParameters: batchParameters_jobDefinition :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Types.BatchParameters: batchParameters_jobName :: Lens' BatchParameters Text
+ Amazonka.CloudWatchEvents.Types.BatchParameters: batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
+ Amazonka.CloudWatchEvents.Types.BatchParameters: data BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.BatchParameters.BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchParameters: newBatchParameters :: Text -> Text -> BatchParameters
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: BatchRetryStrategy' :: Maybe Int -> BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: [$sel:attempts:BatchRetryStrategy'] :: BatchRetryStrategy -> Maybe Int
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Int)
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: data BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.BatchRetryStrategy.BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy: newBatchRetryStrategy :: BatchRetryStrategy
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: CapacityProviderStrategyItem' :: Maybe Natural -> Maybe Natural -> Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: [$sel:base:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: [$sel:capacityProvider:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Text
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: [$sel:weight:CapacityProviderStrategyItem'] :: CapacityProviderStrategyItem -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_capacityProvider :: Lens' CapacityProviderStrategyItem Text
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: capacityProviderStrategyItem_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: data CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem.CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem: newCapacityProviderStrategyItem :: Text -> CapacityProviderStrategyItem
+ Amazonka.CloudWatchEvents.Types.Condition: Condition' :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents.Types.Condition: [$sel:key:Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types.Condition: [$sel:type':Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types.Condition: [$sel:value:Condition'] :: Condition -> Text
+ Amazonka.CloudWatchEvents.Types.Condition: condition_key :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types.Condition: condition_type :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types.Condition: condition_value :: Lens' Condition Text
+ Amazonka.CloudWatchEvents.Types.Condition: data Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Condition.Condition
+ Amazonka.CloudWatchEvents.Types.Condition: newCondition :: Text -> Text -> Text -> Condition
+ Amazonka.CloudWatchEvents.Types.Connection: Connection' :: Maybe ConnectionAuthorizationType -> Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Connection
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:authorizationType:Connection'] :: Connection -> Maybe ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:connectionArn:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:connectionState:Connection'] :: Connection -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:creationTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:lastAuthorizedTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:lastModifiedTime:Connection'] :: Connection -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:name:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Connection: [$sel:stateReason:Connection'] :: Connection -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Connection: connection_authorizationType :: Lens' Connection (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_connectionArn :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_connectionState :: Lens' Connection (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_creationTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_lastAuthorizedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_lastModifiedTime :: Lens' Connection (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_name :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Connection: connection_stateReason :: Lens' Connection (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Connection: data Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Connection.Connection
+ Amazonka.CloudWatchEvents.Types.Connection: newConnection :: Connection
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: ConnectionApiKeyAuthResponseParameters' :: Maybe Text -> ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: [$sel:apiKeyName:ConnectionApiKeyAuthResponseParameters'] :: ConnectionApiKeyAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: connectionApiKeyAuthResponseParameters_apiKeyName :: Lens' ConnectionApiKeyAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: data ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters.ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters: newConnectionApiKeyAuthResponseParameters :: ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: ConnectionAuthResponseParameters' :: Maybe ConnectionApiKeyAuthResponseParameters -> Maybe ConnectionBasicAuthResponseParameters -> Maybe ConnectionHttpParameters -> Maybe ConnectionOAuthResponseParameters -> ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: [$sel:apiKeyAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionApiKeyAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: [$sel:basicAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: [$sel:invocationHttpParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: [$sel:oAuthParameters:ConnectionAuthResponseParameters'] :: ConnectionAuthResponseParameters -> Maybe ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: connectionAuthResponseParameters_apiKeyAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionApiKeyAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: connectionAuthResponseParameters_basicAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionBasicAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: connectionAuthResponseParameters_invocationHttpParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: connectionAuthResponseParameters_oAuthParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionOAuthResponseParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: data ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters.ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters: newConnectionAuthResponseParameters :: ConnectionAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: ConnectionAuthorizationType' :: Text -> ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: [fromConnectionAuthorizationType] :: ConnectionAuthorizationType -> Text
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType.ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: newtype ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: pattern ConnectionAuthorizationType_API_KEY :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: pattern ConnectionAuthorizationType_BASIC :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType: pattern ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS :: ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: ConnectionBasicAuthResponseParameters' :: Maybe Text -> ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: [$sel:username:ConnectionBasicAuthResponseParameters'] :: ConnectionBasicAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: connectionBasicAuthResponseParameters_username :: Lens' ConnectionBasicAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: data ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters.ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters: newConnectionBasicAuthResponseParameters :: ConnectionBasicAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: ConnectionBodyParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: [$sel:isValueSecret:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: [$sel:key:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: [$sel:value:ConnectionBodyParameter'] :: ConnectionBodyParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: connectionBodyParameter_isValueSecret :: Lens' ConnectionBodyParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: connectionBodyParameter_key :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: connectionBodyParameter_value :: Lens' ConnectionBodyParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: data ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter.ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter: newConnectionBodyParameter :: ConnectionBodyParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: ConnectionHeaderParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: [$sel:isValueSecret:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: [$sel:key:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: [$sel:value:ConnectionHeaderParameter'] :: ConnectionHeaderParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: connectionHeaderParameter_isValueSecret :: Lens' ConnectionHeaderParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: connectionHeaderParameter_key :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: connectionHeaderParameter_value :: Lens' ConnectionHeaderParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: data ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter.ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter: newConnectionHeaderParameter :: ConnectionHeaderParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: ConnectionHttpParameters' :: Maybe [ConnectionBodyParameter] -> Maybe [ConnectionHeaderParameter] -> Maybe [ConnectionQueryStringParameter] -> ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: [$sel:bodyParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionBodyParameter]
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: [$sel:headerParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionHeaderParameter]
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: [$sel:queryStringParameters:ConnectionHttpParameters'] :: ConnectionHttpParameters -> Maybe [ConnectionQueryStringParameter]
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: connectionHttpParameters_bodyParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionBodyParameter])
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: connectionHttpParameters_headerParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionHeaderParameter])
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: connectionHttpParameters_queryStringParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionQueryStringParameter])
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: data ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters.ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters: newConnectionHttpParameters :: ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: ConnectionOAuthClientResponseParameters' :: Maybe Text -> ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: [$sel:clientID:ConnectionOAuthClientResponseParameters'] :: ConnectionOAuthClientResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: connectionOAuthClientResponseParameters_clientID :: Lens' ConnectionOAuthClientResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: data ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters.ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters: newConnectionOAuthClientResponseParameters :: ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: ConnectionOAuthHttpMethod' :: Text -> ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: [fromConnectionOAuthHttpMethod] :: ConnectionOAuthHttpMethod -> Text
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod.ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: newtype ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: pattern ConnectionOAuthHttpMethod_GET :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: pattern ConnectionOAuthHttpMethod_POST :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod: pattern ConnectionOAuthHttpMethod_PUT :: ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: ConnectionOAuthResponseParameters' :: Maybe Text -> Maybe ConnectionOAuthClientResponseParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: [$sel:authorizationEndpoint:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: [$sel:clientParameters:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionOAuthClientResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: [$sel:httpMethod:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: [$sel:oAuthHttpParameters:ConnectionOAuthResponseParameters'] :: ConnectionOAuthResponseParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: connectionOAuthResponseParameters_authorizationEndpoint :: Lens' ConnectionOAuthResponseParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: connectionOAuthResponseParameters_clientParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthClientResponseParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: connectionOAuthResponseParameters_httpMethod :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: connectionOAuthResponseParameters_oAuthHttpParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: data ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters.ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters: newConnectionOAuthResponseParameters :: ConnectionOAuthResponseParameters
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: ConnectionQueryStringParameter' :: Maybe Bool -> Maybe Text -> Maybe Text -> ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: [$sel:isValueSecret:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: [$sel:key:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: [$sel:value:ConnectionQueryStringParameter'] :: ConnectionQueryStringParameter -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: connectionQueryStringParameter_isValueSecret :: Lens' ConnectionQueryStringParameter (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: connectionQueryStringParameter_key :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: connectionQueryStringParameter_value :: Lens' ConnectionQueryStringParameter (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: data ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter.ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter: newConnectionQueryStringParameter :: ConnectionQueryStringParameter
+ Amazonka.CloudWatchEvents.Types.ConnectionState: ConnectionState' :: Text -> ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: [fromConnectionState] :: ConnectionState -> Text
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ConnectionState.ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: newtype ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_AUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_AUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_CREATING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_DEAUTHORIZED :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_DEAUTHORIZING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_DELETING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.ConnectionState: pattern ConnectionState_UPDATING :: ConnectionState
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: CreateConnectionApiKeyAuthRequestParameters' :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: [$sel:apiKeyName:CreateConnectionApiKeyAuthRequestParameters'] :: CreateConnectionApiKeyAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: [$sel:apiKeyValue:CreateConnectionApiKeyAuthRequestParameters'] :: CreateConnectionApiKeyAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: createConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: createConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' CreateConnectionApiKeyAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: data CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters.CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters: newCreateConnectionApiKeyAuthRequestParameters :: Text -> Text -> CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: CreateConnectionAuthRequestParameters' :: Maybe CreateConnectionApiKeyAuthRequestParameters -> Maybe CreateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe CreateConnectionOAuthRequestParameters -> CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: [$sel:apiKeyAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: [$sel:basicAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: [$sel:invocationHttpParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: [$sel:oAuthParameters:CreateConnectionAuthRequestParameters'] :: CreateConnectionAuthRequestParameters -> Maybe CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: createConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: createConnectionAuthRequestParameters_basicAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: createConnectionAuthRequestParameters_invocationHttpParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: createConnectionAuthRequestParameters_oAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: data CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters.CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters: newCreateConnectionAuthRequestParameters :: CreateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: CreateConnectionBasicAuthRequestParameters' :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: [$sel:password:CreateConnectionBasicAuthRequestParameters'] :: CreateConnectionBasicAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: [$sel:username:CreateConnectionBasicAuthRequestParameters'] :: CreateConnectionBasicAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: createConnectionBasicAuthRequestParameters_password :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: createConnectionBasicAuthRequestParameters_username :: Lens' CreateConnectionBasicAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: data CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters.CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters: newCreateConnectionBasicAuthRequestParameters :: Text -> Text -> CreateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: CreateConnectionOAuthClientRequestParameters' :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: [$sel:clientID:CreateConnectionOAuthClientRequestParameters'] :: CreateConnectionOAuthClientRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: [$sel:clientSecret:CreateConnectionOAuthClientRequestParameters'] :: CreateConnectionOAuthClientRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: createConnectionOAuthClientRequestParameters_clientID :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: createConnectionOAuthClientRequestParameters_clientSecret :: Lens' CreateConnectionOAuthClientRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: data CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters.CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters: newCreateConnectionOAuthClientRequestParameters :: Text -> Text -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: CreateConnectionOAuthRequestParameters' :: Maybe ConnectionHttpParameters -> CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: [$sel:authorizationEndpoint:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: [$sel:clientParameters:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: [$sel:httpMethod:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: [$sel:oAuthHttpParameters:CreateConnectionOAuthRequestParameters'] :: CreateConnectionOAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: createConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' CreateConnectionOAuthRequestParameters Text
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: createConnectionOAuthRequestParameters_clientParameters :: Lens' CreateConnectionOAuthRequestParameters CreateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: createConnectionOAuthRequestParameters_httpMethod :: Lens' CreateConnectionOAuthRequestParameters ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: createConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' CreateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: data CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters.CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters: newCreateConnectionOAuthRequestParameters :: CreateConnectionOAuthClientRequestParameters -> Text -> ConnectionOAuthHttpMethod -> CreateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: DeadLetterConfig' :: Maybe Text -> DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: [$sel:arn:DeadLetterConfig'] :: DeadLetterConfig -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: data DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: deadLetterConfig_arn :: Lens' DeadLetterConfig (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.DeadLetterConfig.DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig: newDeadLetterConfig :: DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.EcsParameters: EcsParameters' :: Maybe [CapacityProviderStrategyItem] -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe LaunchType -> Maybe NetworkConfiguration -> Maybe [PlacementConstraint] -> Maybe [PlacementStrategy] -> Maybe Text -> Maybe PropagateTags -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Text -> EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:capacityProviderStrategy:EcsParameters'] :: EcsParameters -> Maybe [CapacityProviderStrategyItem]
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:enableECSManagedTags:EcsParameters'] :: EcsParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:enableExecuteCommand:EcsParameters'] :: EcsParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:group':EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:launchType:EcsParameters'] :: EcsParameters -> Maybe LaunchType
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:networkConfiguration:EcsParameters'] :: EcsParameters -> Maybe NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:placementConstraints:EcsParameters'] :: EcsParameters -> Maybe [PlacementConstraint]
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:placementStrategy:EcsParameters'] :: EcsParameters -> Maybe [PlacementStrategy]
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:platformVersion:EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:propagateTags:EcsParameters'] :: EcsParameters -> Maybe PropagateTags
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:referenceId:EcsParameters'] :: EcsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:tags:EcsParameters'] :: EcsParameters -> Maybe [Tag]
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:taskCount:EcsParameters'] :: EcsParameters -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.EcsParameters: [$sel:taskDefinitionArn:EcsParameters'] :: EcsParameters -> Text
+ Amazonka.CloudWatchEvents.Types.EcsParameters: data EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem])
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_group :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint])
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy])
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_platformVersion :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_tags :: Lens' EcsParameters (Maybe [Tag])
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_taskCount :: Lens' EcsParameters (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.EcsParameters: ecsParameters_taskDefinitionArn :: Lens' EcsParameters Text
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EcsParameters.EcsParameters
+ Amazonka.CloudWatchEvents.Types.EcsParameters: newEcsParameters :: Text -> EcsParameters
+ Amazonka.CloudWatchEvents.Types.Endpoint: Endpoint' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe POSIX -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Maybe Text -> Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:arn:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:creationTime:Endpoint'] :: Endpoint -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:description:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:endpointId:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:endpointUrl:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:eventBuses:Endpoint'] :: Endpoint -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:lastModifiedTime:Endpoint'] :: Endpoint -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:name:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:replicationConfig:Endpoint'] :: Endpoint -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:roleArn:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:routingConfig:Endpoint'] :: Endpoint -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:state:Endpoint'] :: Endpoint -> Maybe EndpointState
+ Amazonka.CloudWatchEvents.Types.Endpoint: [$sel:stateReason:Endpoint'] :: Endpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Endpoint: data Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_arn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_creationTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_description :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_endpointId :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_endpointUrl :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_eventBuses :: Lens' Endpoint (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_lastModifiedTime :: Lens' Endpoint (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_name :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_replicationConfig :: Lens' Endpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_roleArn :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_routingConfig :: Lens' Endpoint (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_state :: Lens' Endpoint (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.Types.Endpoint: endpoint_stateReason :: Lens' Endpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Endpoint.Endpoint
+ Amazonka.CloudWatchEvents.Types.Endpoint: newEndpoint :: Endpoint
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: EndpointEventBus' :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: [$sel:eventBusArn:EndpointEventBus'] :: EndpointEventBus -> Text
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: data EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: endpointEventBus_eventBusArn :: Lens' EndpointEventBus Text
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EndpointEventBus.EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointEventBus: newEndpointEventBus :: Text -> EndpointEventBus
+ Amazonka.CloudWatchEvents.Types.EndpointState: EndpointState' :: Text -> EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: [fromEndpointState] :: EndpointState -> Text
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EndpointState.EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: newtype EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_ACTIVE :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_CREATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_CREATING :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_DELETE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_DELETING :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_UPDATE_FAILED :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EndpointState: pattern EndpointState_UPDATING :: EndpointState
+ Amazonka.CloudWatchEvents.Types.EventBus: EventBus' :: Maybe Text -> Maybe Text -> Maybe Text -> EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: [$sel:arn:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventBus: [$sel:name:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventBus: [$sel:policy:EventBus'] :: EventBus -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventBus: data EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: eventBus_arn :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventBus: eventBus_name :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventBus: eventBus_policy :: Lens' EventBus (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventBus: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EventBus.EventBus
+ Amazonka.CloudWatchEvents.Types.EventBus: newEventBus :: EventBus
+ Amazonka.CloudWatchEvents.Types.EventSource: EventSource' :: Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe EventSourceState -> EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:arn:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:createdBy:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:creationTime:EventSource'] :: EventSource -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:expirationTime:EventSource'] :: EventSource -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:name:EventSource'] :: EventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.EventSource: [$sel:state:EventSource'] :: EventSource -> Maybe EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSource: data EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_arn :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_createdBy :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_creationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_expirationTime :: Lens' EventSource (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_name :: Lens' EventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.EventSource: eventSource_state :: Lens' EventSource (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Types.EventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EventSource.EventSource
+ Amazonka.CloudWatchEvents.Types.EventSource: newEventSource :: EventSource
+ Amazonka.CloudWatchEvents.Types.EventSourceState: EventSourceState' :: Text -> EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: [fromEventSourceState] :: EventSourceState -> Text
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.EventSourceState.EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: newtype EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: pattern EventSourceState_ACTIVE :: EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: pattern EventSourceState_DELETED :: EventSourceState
+ Amazonka.CloudWatchEvents.Types.EventSourceState: pattern EventSourceState_PENDING :: EventSourceState
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: FailoverConfig' :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: [$sel:primary:FailoverConfig'] :: FailoverConfig -> Primary
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: [$sel:secondary:FailoverConfig'] :: FailoverConfig -> Secondary
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: data FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: failoverConfig_primary :: Lens' FailoverConfig Primary
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: failoverConfig_secondary :: Lens' FailoverConfig Secondary
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.FailoverConfig.FailoverConfig
+ Amazonka.CloudWatchEvents.Types.FailoverConfig: newFailoverConfig :: Primary -> Secondary -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types.HttpParameters: HttpParameters' :: Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe (HashMap Text Text) -> HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: [$sel:headerParameters:HttpParameters'] :: HttpParameters -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types.HttpParameters: [$sel:pathParameterValues:HttpParameters'] :: HttpParameters -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types.HttpParameters: [$sel:queryStringParameters:HttpParameters'] :: HttpParameters -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types.HttpParameters: data HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types.HttpParameters: httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types.HttpParameters: httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.HttpParameters.HttpParameters
+ Amazonka.CloudWatchEvents.Types.HttpParameters: newHttpParameters :: HttpParameters
+ Amazonka.CloudWatchEvents.Types.InputTransformer: InputTransformer' :: Maybe (HashMap Text Text) -> Text -> InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: [$sel:inputPathsMap:InputTransformer'] :: InputTransformer -> Maybe (HashMap Text Text)
+ Amazonka.CloudWatchEvents.Types.InputTransformer: [$sel:inputTemplate:InputTransformer'] :: InputTransformer -> Text
+ Amazonka.CloudWatchEvents.Types.InputTransformer: data InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: inputTransformer_inputPathsMap :: Lens' InputTransformer (Maybe (HashMap Text Text))
+ Amazonka.CloudWatchEvents.Types.InputTransformer: inputTransformer_inputTemplate :: Lens' InputTransformer Text
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.InputTransformer.InputTransformer
+ Amazonka.CloudWatchEvents.Types.InputTransformer: newInputTransformer :: Text -> InputTransformer
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: KinesisParameters' :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: [$sel:partitionKeyPath:KinesisParameters'] :: KinesisParameters -> Text
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: data KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.KinesisParameters.KinesisParameters
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: kinesisParameters_partitionKeyPath :: Lens' KinesisParameters Text
+ Amazonka.CloudWatchEvents.Types.KinesisParameters: newKinesisParameters :: Text -> KinesisParameters
+ Amazonka.CloudWatchEvents.Types.LaunchType: LaunchType' :: Text -> LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: [fromLaunchType] :: LaunchType -> Text
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.LaunchType.LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: newtype LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: pattern LaunchType_EC2 :: LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: pattern LaunchType_EXTERNAL :: LaunchType
+ Amazonka.CloudWatchEvents.Types.LaunchType: pattern LaunchType_FARGATE :: LaunchType
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: NetworkConfiguration' :: Maybe AwsVpcConfiguration -> NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: [$sel:awsvpcConfiguration:NetworkConfiguration'] :: NetworkConfiguration -> Maybe AwsVpcConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: data NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.NetworkConfiguration.NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration)
+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration: newNetworkConfiguration :: NetworkConfiguration
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: PartnerEventSource' :: Maybe Text -> Maybe Text -> PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: [$sel:arn:PartnerEventSource'] :: PartnerEventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: [$sel:name:PartnerEventSource'] :: PartnerEventSource -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: data PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PartnerEventSource.PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: newPartnerEventSource :: PartnerEventSource
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: partnerEventSource_arn :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PartnerEventSource: partnerEventSource_name :: Lens' PartnerEventSource (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: PartnerEventSourceAccount' :: Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe EventSourceState -> PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: [$sel:account:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: [$sel:creationTime:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: [$sel:expirationTime:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: [$sel:state:PartnerEventSourceAccount'] :: PartnerEventSourceAccount -> Maybe EventSourceState
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: data PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount.PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: newPartnerEventSourceAccount :: PartnerEventSourceAccount
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: partnerEventSourceAccount_account :: Lens' PartnerEventSourceAccount (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: partnerEventSourceAccount_creationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: partnerEventSourceAccount_expirationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount: partnerEventSourceAccount_state :: Lens' PartnerEventSourceAccount (Maybe EventSourceState)
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: PlacementConstraint' :: Maybe Text -> Maybe PlacementConstraintType -> PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: [$sel:expression:PlacementConstraint'] :: PlacementConstraint -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: [$sel:type':PlacementConstraint'] :: PlacementConstraint -> Maybe PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: data PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PlacementConstraint.PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: newPlacementConstraint :: PlacementConstraint
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PlacementConstraint: placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType)
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: PlacementConstraintType' :: Text -> PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: [fromPlacementConstraintType] :: PlacementConstraintType -> Text
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PlacementConstraintType.PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: newtype PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType: pattern PlacementConstraintType_MemberOf :: PlacementConstraintType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: PlacementStrategy' :: Maybe Text -> Maybe PlacementStrategyType -> PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: [$sel:field:PlacementStrategy'] :: PlacementStrategy -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: [$sel:type':PlacementStrategy'] :: PlacementStrategy -> Maybe PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: data PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PlacementStrategy.PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: newPlacementStrategy :: PlacementStrategy
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: placementStrategy_field :: Lens' PlacementStrategy (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PlacementStrategy: placementStrategy_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType)
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: PlacementStrategyType' :: Text -> PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: [fromPlacementStrategyType] :: PlacementStrategyType -> Text
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PlacementStrategyType.PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: newtype PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: pattern PlacementStrategyType_Binpack :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: pattern PlacementStrategyType_Random :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType: pattern PlacementStrategyType_Spread :: PlacementStrategyType
+ Amazonka.CloudWatchEvents.Types.Primary: Primary' :: Text -> Primary
+ Amazonka.CloudWatchEvents.Types.Primary: [$sel:healthCheck:Primary'] :: Primary -> Text
+ Amazonka.CloudWatchEvents.Types.Primary: data Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Primary.Primary
+ Amazonka.CloudWatchEvents.Types.Primary: newPrimary :: Text -> Primary
+ Amazonka.CloudWatchEvents.Types.Primary: primary_healthCheck :: Lens' Primary Text
+ Amazonka.CloudWatchEvents.Types.PropagateTags: PropagateTags' :: Text -> PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: [fromPropagateTags] :: PropagateTags -> Text
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PropagateTags.PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: newtype PropagateTags
+ Amazonka.CloudWatchEvents.Types.PropagateTags: pattern PropagateTags_TASK_DEFINITION :: PropagateTags
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: PutEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe Text -> PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:detail:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:detailType:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:eventBusName:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:resources:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:source:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:time:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: [$sel:traceHeader:PutEventsRequestEntry'] :: PutEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: data PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry.PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: newPutEventsRequestEntry :: PutEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry: putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: PutEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: [$sel:errorCode:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: [$sel:errorMessage:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: [$sel:eventId:PutEventsResultEntry'] :: PutEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: data PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PutEventsResultEntry.PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: newPutEventsResultEntry :: PutEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: putEventsResultEntry_errorCode :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: putEventsResultEntry_errorMessage :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry: putEventsResultEntry_eventId :: Lens' PutEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: PutPartnerEventsRequestEntry' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe POSIX -> PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: [$sel:detail:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: [$sel:detailType:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: [$sel:resources:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: [$sel:source:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: [$sel:time:PutPartnerEventsRequestEntry'] :: PutPartnerEventsRequestEntry -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: data PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry.PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: newPutPartnerEventsRequestEntry :: PutPartnerEventsRequestEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: putPartnerEventsRequestEntry_detail :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: putPartnerEventsRequestEntry_detailType :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: putPartnerEventsRequestEntry_resources :: Lens' PutPartnerEventsRequestEntry (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: putPartnerEventsRequestEntry_source :: Lens' PutPartnerEventsRequestEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry: putPartnerEventsRequestEntry_time :: Lens' PutPartnerEventsRequestEntry (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: PutPartnerEventsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: [$sel:errorCode:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: [$sel:errorMessage:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: [$sel:eventId:PutPartnerEventsResultEntry'] :: PutPartnerEventsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: data PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry.PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: newPutPartnerEventsResultEntry :: PutPartnerEventsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: putPartnerEventsResultEntry_errorCode :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: putPartnerEventsResultEntry_errorMessage :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry: putPartnerEventsResultEntry_eventId :: Lens' PutPartnerEventsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: PutTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: [$sel:errorCode:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: [$sel:errorMessage:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: [$sel:targetId:PutTargetsResultEntry'] :: PutTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: data PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry.PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: newPutTargetsResultEntry :: PutTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: putTargetsResultEntry_errorCode :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: putTargetsResultEntry_errorMessage :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry: putTargetsResultEntry_targetId :: Lens' PutTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: RedshiftDataParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:database:RedshiftDataParameters'] :: RedshiftDataParameters -> Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:dbUser:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:secretManagerArn:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:sql:RedshiftDataParameters'] :: RedshiftDataParameters -> Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:statementName:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: [$sel:withEvent:RedshiftDataParameters'] :: RedshiftDataParameters -> Maybe Bool
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: data RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RedshiftDataParameters.RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: newRedshiftDataParameters :: Text -> Text -> RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_database :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_dbUser :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_secretManagerArn :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_sql :: Lens' RedshiftDataParameters Text
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_statementName :: Lens' RedshiftDataParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters: redshiftDataParameters_withEvent :: Lens' RedshiftDataParameters (Maybe Bool)
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: RemoveTargetsResultEntry' :: Maybe Text -> Maybe Text -> Maybe Text -> RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: [$sel:errorCode:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: [$sel:errorMessage:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: [$sel:targetId:RemoveTargetsResultEntry'] :: RemoveTargetsResultEntry -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: data RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry.RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: newRemoveTargetsResultEntry :: RemoveTargetsResultEntry
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: removeTargetsResultEntry_errorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: removeTargetsResultEntry_errorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry: removeTargetsResultEntry_targetId :: Lens' RemoveTargetsResultEntry (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Replay: Replay' :: Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReplayState -> Maybe Text -> Replay
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:eventEndTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:eventLastReplayedTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:eventSourceArn:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:eventStartTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:replayEndTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:replayName:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:replayStartTime:Replay'] :: Replay -> Maybe POSIX
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:state:Replay'] :: Replay -> Maybe ReplayState
+ Amazonka.CloudWatchEvents.Types.Replay: [$sel:stateReason:Replay'] :: Replay -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Replay: data Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Replay.Replay
+ Amazonka.CloudWatchEvents.Types.Replay: newReplay :: Replay
+ Amazonka.CloudWatchEvents.Types.Replay: replay_eventEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_eventLastReplayedTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_eventSourceArn :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_eventStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_replayEndTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_replayName :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_replayStartTime :: Lens' Replay (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_state :: Lens' Replay (Maybe ReplayState)
+ Amazonka.CloudWatchEvents.Types.Replay: replay_stateReason :: Lens' Replay (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: ReplayDestination' :: Maybe [Text] -> Text -> ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: [$sel:arn:ReplayDestination'] :: ReplayDestination -> Text
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: [$sel:filterArns:ReplayDestination'] :: ReplayDestination -> Maybe [Text]
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: data ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ReplayDestination.ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: newReplayDestination :: Text -> ReplayDestination
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: replayDestination_arn :: Lens' ReplayDestination Text
+ Amazonka.CloudWatchEvents.Types.ReplayDestination: replayDestination_filterArns :: Lens' ReplayDestination (Maybe [Text])
+ Amazonka.CloudWatchEvents.Types.ReplayState: ReplayState' :: Text -> ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: [fromReplayState] :: ReplayState -> Text
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ReplayState.ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: newtype ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_CANCELLED :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_CANCELLING :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_COMPLETED :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_FAILED :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_RUNNING :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplayState: pattern ReplayState_STARTING :: ReplayState
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: ReplicationConfig' :: Maybe ReplicationState -> ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: [$sel:state:ReplicationConfig'] :: ReplicationConfig -> Maybe ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: data ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ReplicationConfig.ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: newReplicationConfig :: ReplicationConfig
+ Amazonka.CloudWatchEvents.Types.ReplicationConfig: replicationConfig_state :: Lens' ReplicationConfig (Maybe ReplicationState)
+ Amazonka.CloudWatchEvents.Types.ReplicationState: ReplicationState' :: Text -> ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: [fromReplicationState] :: ReplicationState -> Text
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.ReplicationState.ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: newtype ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: pattern ReplicationState_DISABLED :: ReplicationState
+ Amazonka.CloudWatchEvents.Types.ReplicationState: pattern ReplicationState_ENABLED :: ReplicationState
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: RetryPolicy' :: Maybe Natural -> Maybe Natural -> RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: [$sel:maximumEventAgeInSeconds:RetryPolicy'] :: RetryPolicy -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: [$sel:maximumRetryAttempts:RetryPolicy'] :: RetryPolicy -> Maybe Natural
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: data RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RetryPolicy.RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: newRetryPolicy :: RetryPolicy
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.RetryPolicy: retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural)
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: RoutingConfig' :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: [$sel:failoverConfig:RoutingConfig'] :: RoutingConfig -> FailoverConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: data RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RoutingConfig.RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: newRoutingConfig :: FailoverConfig -> RoutingConfig
+ Amazonka.CloudWatchEvents.Types.RoutingConfig: routingConfig_failoverConfig :: Lens' RoutingConfig FailoverConfig
+ Amazonka.CloudWatchEvents.Types.Rule: Rule' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RuleState -> Rule
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:arn:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:description:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:eventBusName:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:eventPattern:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:managedBy:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:name:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:roleArn:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:scheduleExpression:Rule'] :: Rule -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Rule: [$sel:state:Rule'] :: Rule -> Maybe RuleState
+ Amazonka.CloudWatchEvents.Types.Rule: data Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Rule.Rule
+ Amazonka.CloudWatchEvents.Types.Rule: newRule :: Rule
+ Amazonka.CloudWatchEvents.Types.Rule: rule_arn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_description :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_eventBusName :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_eventPattern :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_managedBy :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_name :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_roleArn :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_scheduleExpression :: Lens' Rule (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Rule: rule_state :: Lens' Rule (Maybe RuleState)
+ Amazonka.CloudWatchEvents.Types.RuleState: RuleState' :: Text -> RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: [fromRuleState] :: RuleState -> Text
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.Log.ToLog Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.Text.FromText Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.Text.ToText Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.XML.FromXML Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Amazonka.Data.XML.ToXML Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance GHC.Classes.Ord Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RuleState.RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: newtype RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: pattern RuleState_DISABLED :: RuleState
+ Amazonka.CloudWatchEvents.Types.RuleState: pattern RuleState_ENABLED :: RuleState
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: RunCommandParameters' :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: [$sel:runCommandTargets:RunCommandParameters'] :: RunCommandParameters -> NonEmpty RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: data RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RunCommandParameters.RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: newRunCommandParameters :: NonEmpty RunCommandTarget -> RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.RunCommandParameters: runCommandParameters_runCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: RunCommandTarget' :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: [$sel:key:RunCommandTarget'] :: RunCommandTarget -> Text
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: [$sel:values:RunCommandTarget'] :: RunCommandTarget -> NonEmpty Text
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: data RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.RunCommandTarget.RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: newRunCommandTarget :: Text -> NonEmpty Text -> RunCommandTarget
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: runCommandTarget_key :: Lens' RunCommandTarget Text
+ Amazonka.CloudWatchEvents.Types.RunCommandTarget: runCommandTarget_values :: Lens' RunCommandTarget (NonEmpty Text)
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: SageMakerPipelineParameter' :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: [$sel:name:SageMakerPipelineParameter'] :: SageMakerPipelineParameter -> Text
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: [$sel:value:SageMakerPipelineParameter'] :: SageMakerPipelineParameter -> Text
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: data SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter.SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: newSageMakerPipelineParameter :: Text -> Text -> SageMakerPipelineParameter
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: sageMakerPipelineParameter_name :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter: sageMakerPipelineParameter_value :: Lens' SageMakerPipelineParameter Text
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: SageMakerPipelineParameters' :: Maybe [SageMakerPipelineParameter] -> SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: [$sel:pipelineParameterList:SageMakerPipelineParameters'] :: SageMakerPipelineParameters -> Maybe [SageMakerPipelineParameter]
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: data SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters.SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: newSageMakerPipelineParameters :: SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters: sageMakerPipelineParameters_pipelineParameterList :: Lens' SageMakerPipelineParameters (Maybe [SageMakerPipelineParameter])
+ Amazonka.CloudWatchEvents.Types.Secondary: Secondary' :: Text -> Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: [$sel:route:Secondary'] :: Secondary -> Text
+ Amazonka.CloudWatchEvents.Types.Secondary: data Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Secondary.Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: newSecondary :: Text -> Secondary
+ Amazonka.CloudWatchEvents.Types.Secondary: secondary_route :: Lens' Secondary Text
+ Amazonka.CloudWatchEvents.Types.SqsParameters: SqsParameters' :: Maybe Text -> SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: [$sel:messageGroupId:SqsParameters'] :: SqsParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.SqsParameters: data SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.SqsParameters.SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: newSqsParameters :: SqsParameters
+ Amazonka.CloudWatchEvents.Types.SqsParameters: sqsParameters_messageGroupId :: Lens' SqsParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.CloudWatchEvents.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.CloudWatchEvents.Types.Tag: data Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Tag.Tag
+ Amazonka.CloudWatchEvents.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.CloudWatchEvents.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.CloudWatchEvents.Types.Target: Target' :: Maybe BatchParameters -> Maybe DeadLetterConfig -> Maybe EcsParameters -> Maybe HttpParameters -> Maybe Text -> Maybe Text -> Maybe InputTransformer -> Maybe KinesisParameters -> Maybe RedshiftDataParameters -> Maybe RetryPolicy -> Maybe Text -> Maybe RunCommandParameters -> Maybe SageMakerPipelineParameters -> Maybe SqsParameters -> Text -> Text -> Target
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:arn:Target'] :: Target -> Text
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:batchParameters:Target'] :: Target -> Maybe BatchParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:deadLetterConfig:Target'] :: Target -> Maybe DeadLetterConfig
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:ecsParameters:Target'] :: Target -> Maybe EcsParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:httpParameters:Target'] :: Target -> Maybe HttpParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:id:Target'] :: Target -> Text
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:input:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:inputPath:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:inputTransformer:Target'] :: Target -> Maybe InputTransformer
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:kinesisParameters:Target'] :: Target -> Maybe KinesisParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:redshiftDataParameters:Target'] :: Target -> Maybe RedshiftDataParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:retryPolicy:Target'] :: Target -> Maybe RetryPolicy
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:roleArn:Target'] :: Target -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:runCommandParameters:Target'] :: Target -> Maybe RunCommandParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:sageMakerPipelineParameters:Target'] :: Target -> Maybe SageMakerPipelineParameters
+ Amazonka.CloudWatchEvents.Types.Target: [$sel:sqsParameters:Target'] :: Target -> Maybe SqsParameters
+ Amazonka.CloudWatchEvents.Types.Target: data Target
+ Amazonka.CloudWatchEvents.Types.Target: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.Target.Target
+ Amazonka.CloudWatchEvents.Types.Target: newTarget :: Text -> Text -> Target
+ Amazonka.CloudWatchEvents.Types.Target: target_arn :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Types.Target: target_batchParameters :: Lens' Target (Maybe BatchParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_deadLetterConfig :: Lens' Target (Maybe DeadLetterConfig)
+ Amazonka.CloudWatchEvents.Types.Target: target_ecsParameters :: Lens' Target (Maybe EcsParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_httpParameters :: Lens' Target (Maybe HttpParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_id :: Lens' Target Text
+ Amazonka.CloudWatchEvents.Types.Target: target_input :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Target: target_inputPath :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Target: target_inputTransformer :: Lens' Target (Maybe InputTransformer)
+ Amazonka.CloudWatchEvents.Types.Target: target_kinesisParameters :: Lens' Target (Maybe KinesisParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_redshiftDataParameters :: Lens' Target (Maybe RedshiftDataParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_retryPolicy :: Lens' Target (Maybe RetryPolicy)
+ Amazonka.CloudWatchEvents.Types.Target: target_roleArn :: Lens' Target (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.Target: target_runCommandParameters :: Lens' Target (Maybe RunCommandParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_sageMakerPipelineParameters :: Lens' Target (Maybe SageMakerPipelineParameters)
+ Amazonka.CloudWatchEvents.Types.Target: target_sqsParameters :: Lens' Target (Maybe SqsParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: UpdateConnectionApiKeyAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: [$sel:apiKeyName:UpdateConnectionApiKeyAuthRequestParameters'] :: UpdateConnectionApiKeyAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: [$sel:apiKeyValue:UpdateConnectionApiKeyAuthRequestParameters'] :: UpdateConnectionApiKeyAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: data UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters.UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: newUpdateConnectionApiKeyAuthRequestParameters :: UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: updateConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters: updateConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens' UpdateConnectionApiKeyAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: UpdateConnectionAuthRequestParameters' :: Maybe UpdateConnectionApiKeyAuthRequestParameters -> Maybe UpdateConnectionBasicAuthRequestParameters -> Maybe ConnectionHttpParameters -> Maybe UpdateConnectionOAuthRequestParameters -> UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: [$sel:apiKeyAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionApiKeyAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: [$sel:basicAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: [$sel:invocationHttpParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: [$sel:oAuthParameters:UpdateConnectionAuthRequestParameters'] :: UpdateConnectionAuthRequestParameters -> Maybe UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: data UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters.UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: newUpdateConnectionAuthRequestParameters :: UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: updateConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionApiKeyAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: updateConnectionAuthRequestParameters_basicAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionBasicAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: updateConnectionAuthRequestParameters_invocationHttpParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters: updateConnectionAuthRequestParameters_oAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionOAuthRequestParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: UpdateConnectionBasicAuthRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: [$sel:password:UpdateConnectionBasicAuthRequestParameters'] :: UpdateConnectionBasicAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: [$sel:username:UpdateConnectionBasicAuthRequestParameters'] :: UpdateConnectionBasicAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: data UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters.UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: newUpdateConnectionBasicAuthRequestParameters :: UpdateConnectionBasicAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: updateConnectionBasicAuthRequestParameters_password :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters: updateConnectionBasicAuthRequestParameters_username :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: UpdateConnectionOAuthClientRequestParameters' :: Maybe Text -> Maybe Text -> UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: [$sel:clientID:UpdateConnectionOAuthClientRequestParameters'] :: UpdateConnectionOAuthClientRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: [$sel:clientSecret:UpdateConnectionOAuthClientRequestParameters'] :: UpdateConnectionOAuthClientRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: data UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters.UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: newUpdateConnectionOAuthClientRequestParameters :: UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: updateConnectionOAuthClientRequestParameters_clientID :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters: updateConnectionOAuthClientRequestParameters_clientSecret :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: UpdateConnectionOAuthRequestParameters' :: Maybe Text -> Maybe UpdateConnectionOAuthClientRequestParameters -> Maybe ConnectionOAuthHttpMethod -> Maybe ConnectionHttpParameters -> UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: [$sel:authorizationEndpoint:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe Text
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: [$sel:clientParameters:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe UpdateConnectionOAuthClientRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: [$sel:httpMethod:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe ConnectionOAuthHttpMethod
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: [$sel:oAuthHttpParameters:UpdateConnectionOAuthRequestParameters'] :: UpdateConnectionOAuthRequestParameters -> Maybe ConnectionHttpParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: data UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance GHC.Read.Read Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: instance GHC.Show.Show Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters.UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: newUpdateConnectionOAuthRequestParameters :: UpdateConnectionOAuthRequestParameters
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: updateConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' UpdateConnectionOAuthRequestParameters (Maybe Text)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: updateConnectionOAuthRequestParameters_clientParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe UpdateConnectionOAuthClientRequestParameters)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: updateConnectionOAuthRequestParameters_httpMethod :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionOAuthHttpMethod)
+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters: updateConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters)
+ Amazonka.CloudWatchEvents.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.CloudWatchEvents.UntagResource: [$sel:resourceARN:UntagResource'] :: UntagResource -> Text
+ Amazonka.CloudWatchEvents.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.CloudWatchEvents.UntagResource: data UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: data UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UntagResource.UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UntagResource.UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UntagResource.UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Read.Read Amazonka.CloudWatchEvents.UntagResource.UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.UntagResource.UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: instance GHC.Show.Show Amazonka.CloudWatchEvents.UntagResource.UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.CloudWatchEvents.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CloudWatchEvents.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CloudWatchEvents.UntagResource: untagResource_resourceARN :: Lens' UntagResource Text
+ Amazonka.CloudWatchEvents.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.CloudWatchEvents.UpdateApiDestination: UpdateApiDestination' :: Maybe Text -> Maybe Text -> Maybe ApiDestinationHttpMethod -> Maybe Text -> Maybe Natural -> Text -> UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: UpdateApiDestinationResponse' :: Maybe Text -> Maybe ApiDestinationState -> Maybe POSIX -> Maybe POSIX -> Int -> UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:apiDestinationArn:UpdateApiDestinationResponse'] :: UpdateApiDestinationResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:apiDestinationState:UpdateApiDestinationResponse'] :: UpdateApiDestinationResponse -> Maybe ApiDestinationState
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:connectionArn:UpdateApiDestination'] :: UpdateApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:creationTime:UpdateApiDestinationResponse'] :: UpdateApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:description:UpdateApiDestination'] :: UpdateApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:httpMethod:UpdateApiDestination'] :: UpdateApiDestination -> Maybe ApiDestinationHttpMethod
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:httpStatus:UpdateApiDestinationResponse'] :: UpdateApiDestinationResponse -> Int
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:invocationEndpoint:UpdateApiDestination'] :: UpdateApiDestination -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:invocationRateLimitPerSecond:UpdateApiDestination'] :: UpdateApiDestination -> Maybe Natural
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:lastModifiedTime:UpdateApiDestinationResponse'] :: UpdateApiDestinationResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateApiDestination: [$sel:name:UpdateApiDestination'] :: UpdateApiDestination -> Text
+ Amazonka.CloudWatchEvents.UpdateApiDestination: data UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: data UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateApiDestination.UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: newUpdateApiDestination :: Text -> UpdateApiDestination
+ Amazonka.CloudWatchEvents.UpdateApiDestination: newUpdateApiDestinationResponse :: Int -> UpdateApiDestinationResponse
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestinationResponse_apiDestinationArn :: Lens' UpdateApiDestinationResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestinationResponse_apiDestinationState :: Lens' UpdateApiDestinationResponse (Maybe ApiDestinationState)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestinationResponse_creationTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestinationResponse_httpStatus :: Lens' UpdateApiDestinationResponse Int
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestinationResponse_lastModifiedTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_connectionArn :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_description :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_httpMethod :: Lens' UpdateApiDestination (Maybe ApiDestinationHttpMethod)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_invocationEndpoint :: Lens' UpdateApiDestination (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_invocationRateLimitPerSecond :: Lens' UpdateApiDestination (Maybe Natural)
+ Amazonka.CloudWatchEvents.UpdateApiDestination: updateApiDestination_name :: Lens' UpdateApiDestination Text
+ Amazonka.CloudWatchEvents.UpdateArchive: UpdateArchive' :: Maybe Text -> Maybe Text -> Maybe Natural -> Text -> UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: UpdateArchiveResponse' :: Maybe Text -> Maybe POSIX -> Maybe ArchiveState -> Maybe Text -> Int -> UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:archiveArn:UpdateArchiveResponse'] :: UpdateArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:archiveName:UpdateArchive'] :: UpdateArchive -> Text
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:creationTime:UpdateArchiveResponse'] :: UpdateArchiveResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:description:UpdateArchive'] :: UpdateArchive -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:eventPattern:UpdateArchive'] :: UpdateArchive -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:httpStatus:UpdateArchiveResponse'] :: UpdateArchiveResponse -> Int
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:retentionDays:UpdateArchive'] :: UpdateArchive -> Maybe Natural
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:state:UpdateArchiveResponse'] :: UpdateArchiveResponse -> Maybe ArchiveState
+ Amazonka.CloudWatchEvents.UpdateArchive: [$sel:stateReason:UpdateArchiveResponse'] :: UpdateArchiveResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateArchive: data UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: data UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateArchive.UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: newUpdateArchive :: Text -> UpdateArchive
+ Amazonka.CloudWatchEvents.UpdateArchive: newUpdateArchiveResponse :: Int -> UpdateArchiveResponse
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchiveResponse_archiveArn :: Lens' UpdateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchiveResponse_creationTime :: Lens' UpdateArchiveResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchiveResponse_httpStatus :: Lens' UpdateArchiveResponse Int
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchiveResponse_state :: Lens' UpdateArchiveResponse (Maybe ArchiveState)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchiveResponse_stateReason :: Lens' UpdateArchiveResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchive_archiveName :: Lens' UpdateArchive Text
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchive_description :: Lens' UpdateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchive_eventPattern :: Lens' UpdateArchive (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateArchive: updateArchive_retentionDays :: Lens' UpdateArchive (Maybe Natural)
+ Amazonka.CloudWatchEvents.UpdateConnection: UpdateConnection' :: Maybe UpdateConnectionAuthRequestParameters -> Maybe ConnectionAuthorizationType -> Maybe Text -> Text -> UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: UpdateConnectionResponse' :: Maybe Text -> Maybe ConnectionState -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Int -> UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:authParameters:UpdateConnection'] :: UpdateConnection -> Maybe UpdateConnectionAuthRequestParameters
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:authorizationType:UpdateConnection'] :: UpdateConnection -> Maybe ConnectionAuthorizationType
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:connectionArn:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:connectionState:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Maybe ConnectionState
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:creationTime:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:description:UpdateConnection'] :: UpdateConnection -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:httpStatus:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Int
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:lastAuthorizedTime:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:lastModifiedTime:UpdateConnectionResponse'] :: UpdateConnectionResponse -> Maybe POSIX
+ Amazonka.CloudWatchEvents.UpdateConnection: [$sel:name:UpdateConnection'] :: UpdateConnection -> Text
+ Amazonka.CloudWatchEvents.UpdateConnection: data UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: data UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateConnection.UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: newUpdateConnection :: Text -> UpdateConnection
+ Amazonka.CloudWatchEvents.UpdateConnection: newUpdateConnectionResponse :: Int -> UpdateConnectionResponse
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_connectionArn :: Lens' UpdateConnectionResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_connectionState :: Lens' UpdateConnectionResponse (Maybe ConnectionState)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnection_authParameters :: Lens' UpdateConnection (Maybe UpdateConnectionAuthRequestParameters)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnection_description :: Lens' UpdateConnection (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateConnection: updateConnection_name :: Lens' UpdateConnection Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: UpdateEndpoint' :: Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Text -> UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: UpdateEndpointResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty EndpointEventBus) -> Maybe Text -> Maybe ReplicationConfig -> Maybe Text -> Maybe RoutingConfig -> Maybe EndpointState -> Int -> UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:arn:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:description:UpdateEndpoint'] :: UpdateEndpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:endpointId:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:endpointUrl:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:eventBuses:UpdateEndpoint'] :: UpdateEndpoint -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:eventBuses:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe (NonEmpty EndpointEventBus)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:httpStatus:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Int
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:name:UpdateEndpoint'] :: UpdateEndpoint -> Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:name:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:replicationConfig:UpdateEndpoint'] :: UpdateEndpoint -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:replicationConfig:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe ReplicationConfig
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:roleArn:UpdateEndpoint'] :: UpdateEndpoint -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:roleArn:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:routingConfig:UpdateEndpoint'] :: UpdateEndpoint -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:routingConfig:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe RoutingConfig
+ Amazonka.CloudWatchEvents.UpdateEndpoint: [$sel:state:UpdateEndpointResponse'] :: UpdateEndpointResponse -> Maybe EndpointState
+ Amazonka.CloudWatchEvents.UpdateEndpoint: data UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: data UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Amazonka.Types.AWSRequest Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Control.DeepSeq.NFData Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance Data.Hashable.Class.Hashable Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Classes.Eq Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Generics.Generic Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Read.Read Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: instance GHC.Show.Show Amazonka.CloudWatchEvents.UpdateEndpoint.UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: newUpdateEndpoint :: Text -> UpdateEndpoint
+ Amazonka.CloudWatchEvents.UpdateEndpoint: newUpdateEndpointResponse :: Int -> UpdateEndpointResponse
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_arn :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_endpointId :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_endpointUrl :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_eventBuses :: Lens' UpdateEndpointResponse (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_httpStatus :: Lens' UpdateEndpointResponse Int
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_name :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_replicationConfig :: Lens' UpdateEndpointResponse (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_roleArn :: Lens' UpdateEndpointResponse (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_routingConfig :: Lens' UpdateEndpointResponse (Maybe RoutingConfig)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpointResponse_state :: Lens' UpdateEndpointResponse (Maybe EndpointState)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_description :: Lens' UpdateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_eventBuses :: Lens' UpdateEndpoint (Maybe (NonEmpty EndpointEventBus))
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_name :: Lens' UpdateEndpoint Text
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_replicationConfig :: Lens' UpdateEndpoint (Maybe ReplicationConfig)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_roleArn :: Lens' UpdateEndpoint (Maybe Text)
+ Amazonka.CloudWatchEvents.UpdateEndpoint: updateEndpoint_routingConfig :: Lens' UpdateEndpoint (Maybe RoutingConfig)
Files
- README.md +4/−5
- Setup.hs +0/−2
- amazonka-cloudwatch-events.cabal +209/−89
- fixture/ActivateEventSource.yaml +10/−0
- fixture/ActivateEventSourceResponse.proto +0/−0
- fixture/CancelReplay.yaml +10/−0
- fixture/CancelReplayResponse.proto +0/−0
- fixture/CreateApiDestination.yaml +10/−0
- fixture/CreateApiDestinationResponse.proto +0/−0
- fixture/CreateArchive.yaml +10/−0
- fixture/CreateArchiveResponse.proto +0/−0
- fixture/CreateConnection.yaml +10/−0
- fixture/CreateConnectionResponse.proto +0/−0
- fixture/CreateEndpoint.yaml +10/−0
- fixture/CreateEndpointResponse.proto +0/−0
- fixture/CreateEventBus.yaml +10/−0
- fixture/CreateEventBusResponse.proto +0/−0
- fixture/CreatePartnerEventSource.yaml +10/−0
- fixture/CreatePartnerEventSourceResponse.proto +0/−0
- fixture/DeactivateEventSource.yaml +10/−0
- fixture/DeactivateEventSourceResponse.proto +0/−0
- fixture/DeauthorizeConnection.yaml +10/−0
- fixture/DeauthorizeConnectionResponse.proto +0/−0
- fixture/DeleteApiDestination.yaml +10/−0
- fixture/DeleteApiDestinationResponse.proto +0/−0
- fixture/DeleteArchive.yaml +10/−0
- fixture/DeleteArchiveResponse.proto +0/−0
- fixture/DeleteConnection.yaml +10/−0
- fixture/DeleteConnectionResponse.proto +0/−0
- fixture/DeleteEndpoint.yaml +10/−0
- fixture/DeleteEndpointResponse.proto +0/−0
- fixture/DeleteEventBus.yaml +10/−0
- fixture/DeleteEventBusResponse.proto +0/−0
- fixture/DeletePartnerEventSource.yaml +10/−0
- fixture/DeletePartnerEventSourceResponse.proto +0/−0
- fixture/DeleteRule.yaml +10/−0
- fixture/DescribeApiDestination.yaml +10/−0
- fixture/DescribeApiDestinationResponse.proto +0/−0
- fixture/DescribeArchive.yaml +10/−0
- fixture/DescribeArchiveResponse.proto +0/−0
- fixture/DescribeConnection.yaml +10/−0
- fixture/DescribeConnectionResponse.proto +0/−0
- fixture/DescribeEndpoint.yaml +10/−0
- fixture/DescribeEndpointResponse.proto +0/−0
- fixture/DescribeEventSource.yaml +10/−0
- fixture/DescribeEventSourceResponse.proto +0/−0
- fixture/DescribePartnerEventSource.yaml +10/−0
- fixture/DescribePartnerEventSourceResponse.proto +0/−0
- fixture/DescribeReplay.yaml +10/−0
- fixture/DescribeReplayResponse.proto +0/−0
- fixture/DescribeRule.yaml +10/−0
- fixture/DisableRule.yaml +10/−0
- fixture/EnableRule.yaml +10/−0
- fixture/ListApiDestinations.yaml +10/−0
- fixture/ListApiDestinationsResponse.proto +0/−0
- fixture/ListArchives.yaml +10/−0
- fixture/ListArchivesResponse.proto +0/−0
- fixture/ListConnections.yaml +10/−0
- fixture/ListConnectionsResponse.proto +0/−0
- fixture/ListEndpoints.yaml +10/−0
- fixture/ListEndpointsResponse.proto +0/−0
- fixture/ListEventBuses.yaml +10/−0
- fixture/ListEventBusesResponse.proto +0/−0
- fixture/ListEventSources.yaml +10/−0
- fixture/ListEventSourcesResponse.proto +0/−0
- fixture/ListPartnerEventSourceAccounts.yaml +10/−0
- fixture/ListPartnerEventSourceAccountsResponse.proto +0/−0
- fixture/ListPartnerEventSources.yaml +10/−0
- fixture/ListPartnerEventSourcesResponse.proto +0/−0
- fixture/ListReplays.yaml +10/−0
- fixture/ListReplaysResponse.proto +0/−0
- fixture/ListRuleNamesByTarget.yaml +10/−0
- fixture/ListRules.yaml +10/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/ListTargetsByRule.yaml +10/−0
- fixture/PutEvents.yaml +10/−0
- fixture/PutPartnerEvents.yaml +10/−0
- fixture/PutPartnerEventsResponse.proto +0/−0
- fixture/PutRule.yaml +10/−0
- fixture/PutTargets.yaml +10/−0
- fixture/RemoveTargets.yaml +10/−0
- fixture/StartReplay.yaml +10/−0
- fixture/StartReplayResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/TestEventPattern.yaml +10/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- fixture/UpdateApiDestination.yaml +10/−0
- fixture/UpdateApiDestinationResponse.proto +0/−0
- fixture/UpdateArchive.yaml +10/−0
- fixture/UpdateArchiveResponse.proto +0/−0
- fixture/UpdateConnection.yaml +10/−0
- fixture/UpdateConnectionResponse.proto +0/−0
- fixture/UpdateEndpoint.yaml +10/−0
- fixture/UpdateEndpointResponse.proto +0/−0
- gen/Amazonka/CloudWatchEvents.hs +813/−0
- gen/Amazonka/CloudWatchEvents/ActivateEventSource.hs +135/−0
- gen/Amazonka/CloudWatchEvents/CancelReplay.hs +187/−0
- gen/Amazonka/CloudWatchEvents/CreateApiDestination.hs +300/−0
- gen/Amazonka/CloudWatchEvents/CreateArchive.hs +270/−0
- gen/Amazonka/CloudWatchEvents/CreateConnection.hs +260/−0
- gen/Amazonka/CloudWatchEvents/CreateEndpoint.hs +330/−0
- gen/Amazonka/CloudWatchEvents/CreateEventBus.hs +225/−0
- gen/Amazonka/CloudWatchEvents/CreatePartnerEventSource.hs +235/−0
- gen/Amazonka/CloudWatchEvents/DeactivateEventSource.hs +141/−0
- gen/Amazonka/CloudWatchEvents/DeauthorizeConnection.hs +218/−0
- gen/Amazonka/CloudWatchEvents/DeleteApiDestination.hs +156/−0
- gen/Amazonka/CloudWatchEvents/DeleteArchive.hs +151/−0
- gen/Amazonka/CloudWatchEvents/DeleteConnection.hs +220/−0
- gen/Amazonka/CloudWatchEvents/DeleteEndpoint.hs +157/−0
- gen/Amazonka/CloudWatchEvents/DeleteEventBus.hs +132/−0
- gen/Amazonka/CloudWatchEvents/DeletePartnerEventSource.hs +163/−0
- gen/Amazonka/CloudWatchEvents/DeleteRule.hs +189/−0
- gen/Amazonka/CloudWatchEvents/DescribeApiDestination.hs +298/−0
- gen/Amazonka/CloudWatchEvents/DescribeArchive.hs +286/−0
- gen/Amazonka/CloudWatchEvents/DescribeConnection.hs +291/−0
- gen/Amazonka/CloudWatchEvents/DescribeEndpoint.hs +351/−0
- gen/Amazonka/CloudWatchEvents/DescribeEventBus.hs +207/−0
- gen/Amazonka/CloudWatchEvents/DescribeEventSource.hs +246/−0
- gen/Amazonka/CloudWatchEvents/DescribePartnerEventSource.hs +188/−0
- gen/Amazonka/CloudWatchEvents/DescribeReplay.hs +310/−0
- gen/Amazonka/CloudWatchEvents/DescribeRule.hs +323/−0
- gen/Amazonka/CloudWatchEvents/DisableRule.hs +152/−0
- gen/Amazonka/CloudWatchEvents/EnableRule.hs +153/−0
- gen/Amazonka/CloudWatchEvents/Lens.hs +993/−0
- gen/Amazonka/CloudWatchEvents/ListApiDestinations.hs +239/−0
- gen/Amazonka/CloudWatchEvents/ListArchives.hs +242/−0
- gen/Amazonka/CloudWatchEvents/ListConnections.hs +233/−0
- gen/Amazonka/CloudWatchEvents/ListEndpoints.hs +255/−0
- gen/Amazonka/CloudWatchEvents/ListEventBuses.hs +223/−0
- gen/Amazonka/CloudWatchEvents/ListEventSources.hs +225/−0
- gen/Amazonka/CloudWatchEvents/ListPartnerEventSourceAccounts.hs +253/−0
- gen/Amazonka/CloudWatchEvents/ListPartnerEventSources.hs +234/−0
- gen/Amazonka/CloudWatchEvents/ListReplays.hs +242/−0
- gen/Amazonka/CloudWatchEvents/ListRuleNamesByTarget.hs +259/−0
- gen/Amazonka/CloudWatchEvents/ListRules.hs +255/−0
- gen/Amazonka/CloudWatchEvents/ListTagsForResource.hs +173/−0
- gen/Amazonka/CloudWatchEvents/ListTargetsByRule.hs +258/−0
- gen/Amazonka/CloudWatchEvents/PutEvents.hs +223/−0
- gen/Amazonka/CloudWatchEvents/PutPartnerEvents.hs +188/−0
- gen/Amazonka/CloudWatchEvents/PutPermission.hs +306/−0
- gen/Amazonka/CloudWatchEvents/PutRule.hs +353/−0
- gen/Amazonka/CloudWatchEvents/PutTargets.hs +355/−0
- gen/Amazonka/CloudWatchEvents/RemovePermission.hs +172/−0
- gen/Amazonka/CloudWatchEvents/RemoveTargets.hs +253/−0
- gen/Amazonka/CloudWatchEvents/StartReplay.hs +302/−0
- gen/Amazonka/CloudWatchEvents/TagResource.hs +181/−0
- gen/Amazonka/CloudWatchEvents/TestEventPattern.hs +248/−0
- gen/Amazonka/CloudWatchEvents/Types.hs +811/−0
- gen/Amazonka/CloudWatchEvents/Types/ApiDestination.hs +174/−0
- gen/Amazonka/CloudWatchEvents/Types/ApiDestinationHttpMethod.hs +96/−0
- gen/Amazonka/CloudWatchEvents/Types/ApiDestinationState.hs +71/−0
- gen/Amazonka/CloudWatchEvents/Types/Archive.hs +163/−0
- gen/Amazonka/CloudWatchEvents/Types/ArchiveState.hs +91/−0
- gen/Amazonka/CloudWatchEvents/Types/AssignPublicIp.hs +71/−0
- gen/Amazonka/CloudWatchEvents/Types/AwsVpcConfiguration.hs +130/−0
- gen/Amazonka/CloudWatchEvents/Types/BatchArrayProperties.hs +81/−0
- gen/Amazonka/CloudWatchEvents/Types/BatchParameters.hs +150/−0
- gen/Amazonka/CloudWatchEvents/Types/BatchRetryStrategy.hs +80/−0
- gen/Amazonka/CloudWatchEvents/Types/CapacityProviderStrategyItem.hs +133/−0
- gen/Amazonka/CloudWatchEvents/Types/Condition.hs +117/−0
- gen/Amazonka/CloudWatchEvents/Types/Connection.hs +158/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionApiKeyAuthResponseParameters.hs +87/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionAuthResponseParameters.hs +128/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionAuthorizationType.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionBasicAuthResponseParameters.hs +84/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionBodyParameter.hs +109/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionHeaderParameter.hs +109/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionHttpParameters.hs +119/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthClientResponseParameters.hs +84/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthHttpMethod.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthResponseParameters.hs +130/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionQueryStringParameter.hs +118/−0
- gen/Amazonka/CloudWatchEvents/Types/ConnectionState.hs +96/−0
- gen/Amazonka/CloudWatchEvents/Types/CreateConnectionApiKeyAuthRequestParameters.hs +102/−0
- gen/Amazonka/CloudWatchEvents/Types/CreateConnectionAuthRequestParameters.hs +150/−0
- gen/Amazonka/CloudWatchEvents/Types/CreateConnectionBasicAuthRequestParameters.hs +105/−0
- gen/Amazonka/CloudWatchEvents/Types/CreateConnectionOAuthClientRequestParameters.hs +105/−0
- gen/Amazonka/CloudWatchEvents/Types/CreateConnectionOAuthRequestParameters.hs +147/−0
- gen/Amazonka/CloudWatchEvents/Types/DeadLetterConfig.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/EcsParameters.hs +402/−0
- gen/Amazonka/CloudWatchEvents/Types/Endpoint.hs +230/−0
- gen/Amazonka/CloudWatchEvents/Types/EndpointEventBus.hs +77/−0
- gen/Amazonka/CloudWatchEvents/Types/EndpointState.hs +96/−0
- gen/Amazonka/CloudWatchEvents/Types/EventBus.hs +104/−0
- gen/Amazonka/CloudWatchEvents/Types/EventSource.hs +154/−0
- gen/Amazonka/CloudWatchEvents/Types/EventSourceState.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/FailoverConfig.hs +103/−0
- gen/Amazonka/CloudWatchEvents/Types/HttpParameters.hs +130/−0
- gen/Amazonka/CloudWatchEvents/Types/InputTransformer.hs +262/−0
- gen/Amazonka/CloudWatchEvents/Types/KinesisParameters.hs +96/−0
- gen/Amazonka/CloudWatchEvents/Types/LaunchType.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/NetworkConfiguration.hs +88/−0
- gen/Amazonka/CloudWatchEvents/Types/PartnerEventSource.hs +86/−0
- gen/Amazonka/CloudWatchEvents/Types/PartnerEventSourceAccount.hs +132/−0
- gen/Amazonka/CloudWatchEvents/Types/PlacementConstraint.hs +115/−0
- gen/Amazonka/CloudWatchEvents/Types/PlacementConstraintType.hs +71/−0
- gen/Amazonka/CloudWatchEvents/Types/PlacementStrategy.hs +131/−0
- gen/Amazonka/CloudWatchEvents/Types/PlacementStrategyType.hs +76/−0
- gen/Amazonka/CloudWatchEvents/Types/Primary.hs +79/−0
- gen/Amazonka/CloudWatchEvents/Types/PropagateTags.hs +66/−0
- gen/Amazonka/CloudWatchEvents/Types/PutEventsRequestEntry.hs +203/−0
- gen/Amazonka/CloudWatchEvents/Types/PutEventsResultEntry.hs +98/−0
- gen/Amazonka/CloudWatchEvents/Types/PutPartnerEventsRequestEntry.hs +135/−0
- gen/Amazonka/CloudWatchEvents/Types/PutPartnerEventsResultEntry.hs +97/−0
- gen/Amazonka/CloudWatchEvents/Types/PutTargetsResultEntry.hs +102/−0
- gen/Amazonka/CloudWatchEvents/Types/RedshiftDataParameters.hs +167/−0
- gen/Amazonka/CloudWatchEvents/Types/RemoveTargetsResultEntry.hs +103/−0
- gen/Amazonka/CloudWatchEvents/Types/Replay.hs +178/−0
- gen/Amazonka/CloudWatchEvents/Types/ReplayDestination.hs +98/−0
- gen/Amazonka/CloudWatchEvents/Types/ReplayState.hs +91/−0
- gen/Amazonka/CloudWatchEvents/Types/ReplicationConfig.hs +75/−0
- gen/Amazonka/CloudWatchEvents/Types/ReplicationState.hs +71/−0
- gen/Amazonka/CloudWatchEvents/Types/RetryPolicy.hs +106/−0
- gen/Amazonka/CloudWatchEvents/Types/RoutingConfig.hs +83/−0
- gen/Amazonka/CloudWatchEvents/Types/Rule.hs +211/−0
- gen/Amazonka/CloudWatchEvents/Types/RuleState.hs +71/−0
- gen/Amazonka/CloudWatchEvents/Types/RunCommandParameters.hs +88/−0
- gen/Amazonka/CloudWatchEvents/Types/RunCommandTarget.hs +101/−0
- gen/Amazonka/CloudWatchEvents/Types/SageMakerPipelineParameter.hs +103/−0
- gen/Amazonka/CloudWatchEvents/Types/SageMakerPipelineParameters.hs +89/−0
- gen/Amazonka/CloudWatchEvents/Types/Secondary.hs +74/−0
- gen/Amazonka/CloudWatchEvents/Types/SqsParameters.hs +78/−0
- gen/Amazonka/CloudWatchEvents/Types/Tag.hs +97/−0
- gen/Amazonka/CloudWatchEvents/Types/Target.hs +440/−0
- gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionApiKeyAuthRequestParameters.hs +97/−0
- gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionAuthRequestParameters.hs +141/−0
- gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionBasicAuthRequestParameters.hs +99/−0
- gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionOAuthClientRequestParameters.hs +100/−0
- gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionOAuthRequestParameters.hs +135/−0
- gen/Amazonka/CloudWatchEvents/UntagResource.hs +171/−0
- gen/Amazonka/CloudWatchEvents/UpdateApiDestination.hs +280/−0
- gen/Amazonka/CloudWatchEvents/UpdateArchive.hs +246/−0
- gen/Amazonka/CloudWatchEvents/UpdateConnection.hs +260/−0
- gen/Amazonka/CloudWatchEvents/UpdateEndpoint.hs +347/−0
- gen/Amazonka/CloudWatchEvents/Waiters.hs +24/−0
- gen/Network/AWS/CloudWatchEvents.hs +0/−263
- gen/Network/AWS/CloudWatchEvents/DeleteRule.hs +0/−110
- gen/Network/AWS/CloudWatchEvents/DescribeEventBus.hs +0/−140
- gen/Network/AWS/CloudWatchEvents/DescribeRule.hs +0/−192
- gen/Network/AWS/CloudWatchEvents/DisableRule.hs +0/−108
- gen/Network/AWS/CloudWatchEvents/EnableRule.hs +0/−108
- gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs +0/−169
- gen/Network/AWS/CloudWatchEvents/ListRules.hs +0/−163
- gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs +0/−164
- gen/Network/AWS/CloudWatchEvents/PutEvents.hs +0/−143
- gen/Network/AWS/CloudWatchEvents/PutPermission.hs +0/−139
- gen/Network/AWS/CloudWatchEvents/PutRule.hs +0/−193
- gen/Network/AWS/CloudWatchEvents/PutTargets.hs +0/−214
- gen/Network/AWS/CloudWatchEvents/RemovePermission.hs +0/−108
- gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs +0/−159
- gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs +0/−145
- gen/Network/AWS/CloudWatchEvents/Types.hs +0/−227
- gen/Network/AWS/CloudWatchEvents/Types/Product.hs +0/−928
- gen/Network/AWS/CloudWatchEvents/Types/Sum.hs +0/−50
- gen/Network/AWS/CloudWatchEvents/Waiters.hs +0/−21
- test/Main.hs +11/−9
- test/Test/AWS/CloudWatchEvents.hs +0/−23
- test/Test/AWS/CloudWatchEvents/Internal.hs +0/−15
- test/Test/AWS/Gen/CloudWatchEvents.hs +0/−309
- test/Test/Amazonka/CloudWatchEvents.hs +20/−0
- test/Test/Amazonka/CloudWatchEvents/Internal.hs +8/−0
- test/Test/Amazonka/Gen/CloudWatchEvents.hs +1158/−0
README.md view
@@ -1,4 +1,4 @@-# Amazon CloudWatch Events SDK+# Amazon EventBridge SDK * [Version](#version) * [Description](#description)@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2015-10-07@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.CloudWatchEvents](http://hackage.haskell.org/package/amazonka-cloudwatch-events/docs/Network-AWS-CloudWatchEvents.html)+See [Amazonka.CloudWatchEvents](http://hackage.haskell.org/package/amazonka-cloudwatch-events/docs/Amazonka-CloudWatchEvents.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-cloudwatch-events.cabal view
@@ -1,100 +1,220 @@-name: amazonka-cloudwatch-events-version: 1.6.1-synopsis: Amazon CloudWatch Events SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-cloudwatch-events+version: 2.0+synopsis: Amazon EventBridge SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.CloudWatchEvents" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2015-10-07@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.CloudWatchEvents.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.CloudWatchEvents" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-cloudwatch-events+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-cloudwatch-events library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.CloudWatchEvents- , Network.AWS.CloudWatchEvents.DeleteRule- , Network.AWS.CloudWatchEvents.DescribeEventBus- , Network.AWS.CloudWatchEvents.DescribeRule- , Network.AWS.CloudWatchEvents.DisableRule- , Network.AWS.CloudWatchEvents.EnableRule- , Network.AWS.CloudWatchEvents.ListRuleNamesByTarget- , Network.AWS.CloudWatchEvents.ListRules- , Network.AWS.CloudWatchEvents.ListTargetsByRule- , Network.AWS.CloudWatchEvents.PutEvents- , Network.AWS.CloudWatchEvents.PutPermission- , Network.AWS.CloudWatchEvents.PutRule- , Network.AWS.CloudWatchEvents.PutTargets- , Network.AWS.CloudWatchEvents.RemovePermission- , Network.AWS.CloudWatchEvents.RemoveTargets- , Network.AWS.CloudWatchEvents.TestEventPattern- , Network.AWS.CloudWatchEvents.Types- , Network.AWS.CloudWatchEvents.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.CloudWatchEvents.Types.Product- , Network.AWS.CloudWatchEvents.Types.Sum+ exposed-modules:+ Amazonka.CloudWatchEvents+ Amazonka.CloudWatchEvents.ActivateEventSource+ Amazonka.CloudWatchEvents.CancelReplay+ Amazonka.CloudWatchEvents.CreateApiDestination+ Amazonka.CloudWatchEvents.CreateArchive+ Amazonka.CloudWatchEvents.CreateConnection+ Amazonka.CloudWatchEvents.CreateEndpoint+ Amazonka.CloudWatchEvents.CreateEventBus+ Amazonka.CloudWatchEvents.CreatePartnerEventSource+ Amazonka.CloudWatchEvents.DeactivateEventSource+ Amazonka.CloudWatchEvents.DeauthorizeConnection+ Amazonka.CloudWatchEvents.DeleteApiDestination+ Amazonka.CloudWatchEvents.DeleteArchive+ Amazonka.CloudWatchEvents.DeleteConnection+ Amazonka.CloudWatchEvents.DeleteEndpoint+ Amazonka.CloudWatchEvents.DeleteEventBus+ Amazonka.CloudWatchEvents.DeletePartnerEventSource+ Amazonka.CloudWatchEvents.DeleteRule+ Amazonka.CloudWatchEvents.DescribeApiDestination+ Amazonka.CloudWatchEvents.DescribeArchive+ Amazonka.CloudWatchEvents.DescribeConnection+ Amazonka.CloudWatchEvents.DescribeEndpoint+ Amazonka.CloudWatchEvents.DescribeEventBus+ Amazonka.CloudWatchEvents.DescribeEventSource+ Amazonka.CloudWatchEvents.DescribePartnerEventSource+ Amazonka.CloudWatchEvents.DescribeReplay+ Amazonka.CloudWatchEvents.DescribeRule+ Amazonka.CloudWatchEvents.DisableRule+ Amazonka.CloudWatchEvents.EnableRule+ Amazonka.CloudWatchEvents.Lens+ Amazonka.CloudWatchEvents.ListApiDestinations+ Amazonka.CloudWatchEvents.ListArchives+ Amazonka.CloudWatchEvents.ListConnections+ Amazonka.CloudWatchEvents.ListEndpoints+ Amazonka.CloudWatchEvents.ListEventBuses+ Amazonka.CloudWatchEvents.ListEventSources+ Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts+ Amazonka.CloudWatchEvents.ListPartnerEventSources+ Amazonka.CloudWatchEvents.ListReplays+ Amazonka.CloudWatchEvents.ListRuleNamesByTarget+ Amazonka.CloudWatchEvents.ListRules+ Amazonka.CloudWatchEvents.ListTagsForResource+ Amazonka.CloudWatchEvents.ListTargetsByRule+ Amazonka.CloudWatchEvents.PutEvents+ Amazonka.CloudWatchEvents.PutPartnerEvents+ Amazonka.CloudWatchEvents.PutPermission+ Amazonka.CloudWatchEvents.PutRule+ Amazonka.CloudWatchEvents.PutTargets+ Amazonka.CloudWatchEvents.RemovePermission+ Amazonka.CloudWatchEvents.RemoveTargets+ Amazonka.CloudWatchEvents.StartReplay+ Amazonka.CloudWatchEvents.TagResource+ Amazonka.CloudWatchEvents.TestEventPattern+ Amazonka.CloudWatchEvents.Types+ Amazonka.CloudWatchEvents.Types.ApiDestination+ Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod+ Amazonka.CloudWatchEvents.Types.ApiDestinationState+ Amazonka.CloudWatchEvents.Types.Archive+ Amazonka.CloudWatchEvents.Types.ArchiveState+ Amazonka.CloudWatchEvents.Types.AssignPublicIp+ Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration+ Amazonka.CloudWatchEvents.Types.BatchArrayProperties+ Amazonka.CloudWatchEvents.Types.BatchParameters+ Amazonka.CloudWatchEvents.Types.BatchRetryStrategy+ Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem+ Amazonka.CloudWatchEvents.Types.Condition+ Amazonka.CloudWatchEvents.Types.Connection+ Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters+ Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType+ Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters+ Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters+ Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter+ Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter+ Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+ Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters+ Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter+ Amazonka.CloudWatchEvents.Types.ConnectionState+ Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters+ Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.DeadLetterConfig+ Amazonka.CloudWatchEvents.Types.EcsParameters+ Amazonka.CloudWatchEvents.Types.Endpoint+ Amazonka.CloudWatchEvents.Types.EndpointEventBus+ Amazonka.CloudWatchEvents.Types.EndpointState+ Amazonka.CloudWatchEvents.Types.EventBus+ Amazonka.CloudWatchEvents.Types.EventSource+ Amazonka.CloudWatchEvents.Types.EventSourceState+ Amazonka.CloudWatchEvents.Types.FailoverConfig+ Amazonka.CloudWatchEvents.Types.HttpParameters+ Amazonka.CloudWatchEvents.Types.InputTransformer+ Amazonka.CloudWatchEvents.Types.KinesisParameters+ Amazonka.CloudWatchEvents.Types.LaunchType+ Amazonka.CloudWatchEvents.Types.NetworkConfiguration+ Amazonka.CloudWatchEvents.Types.PartnerEventSource+ Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount+ Amazonka.CloudWatchEvents.Types.PlacementConstraint+ Amazonka.CloudWatchEvents.Types.PlacementConstraintType+ Amazonka.CloudWatchEvents.Types.PlacementStrategy+ Amazonka.CloudWatchEvents.Types.PlacementStrategyType+ Amazonka.CloudWatchEvents.Types.Primary+ Amazonka.CloudWatchEvents.Types.PropagateTags+ Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry+ Amazonka.CloudWatchEvents.Types.PutEventsResultEntry+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry+ Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry+ Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry+ Amazonka.CloudWatchEvents.Types.RedshiftDataParameters+ Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry+ Amazonka.CloudWatchEvents.Types.Replay+ Amazonka.CloudWatchEvents.Types.ReplayDestination+ Amazonka.CloudWatchEvents.Types.ReplayState+ Amazonka.CloudWatchEvents.Types.ReplicationConfig+ Amazonka.CloudWatchEvents.Types.ReplicationState+ Amazonka.CloudWatchEvents.Types.RetryPolicy+ Amazonka.CloudWatchEvents.Types.RoutingConfig+ Amazonka.CloudWatchEvents.Types.Rule+ Amazonka.CloudWatchEvents.Types.RuleState+ Amazonka.CloudWatchEvents.Types.RunCommandParameters+ Amazonka.CloudWatchEvents.Types.RunCommandTarget+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter+ Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters+ Amazonka.CloudWatchEvents.Types.Secondary+ Amazonka.CloudWatchEvents.Types.SqsParameters+ Amazonka.CloudWatchEvents.Types.Tag+ Amazonka.CloudWatchEvents.Types.Target+ Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters+ Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters+ Amazonka.CloudWatchEvents.UntagResource+ Amazonka.CloudWatchEvents.UpdateApiDestination+ Amazonka.CloudWatchEvents.UpdateArchive+ Amazonka.CloudWatchEvents.UpdateConnection+ Amazonka.CloudWatchEvents.UpdateEndpoint+ Amazonka.CloudWatchEvents.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-cloudwatch-events-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.CloudWatchEvents- , Test.AWS.Gen.CloudWatchEvents- , Test.AWS.CloudWatchEvents.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.CloudWatchEvents+ Test.Amazonka.CloudWatchEvents.Internal+ Test.Amazonka.Gen.CloudWatchEvents - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-cloudwatch-events- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-cloudwatch-events+ , amazonka-core >=2.0 && <2.1+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/ActivateEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ActivateEventSourceResponse.proto view
+ fixture/CancelReplay.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CancelReplayResponse.proto view
+ fixture/CreateApiDestination.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateApiDestinationResponse.proto view
+ fixture/CreateArchive.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateArchiveResponse.proto view
+ fixture/CreateConnection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateConnectionResponse.proto view
+ fixture/CreateEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateEndpointResponse.proto view
+ fixture/CreateEventBus.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateEventBusResponse.proto view
+ fixture/CreatePartnerEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreatePartnerEventSourceResponse.proto view
+ fixture/DeactivateEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeactivateEventSourceResponse.proto view
+ fixture/DeauthorizeConnection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeauthorizeConnectionResponse.proto view
+ fixture/DeleteApiDestination.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteApiDestinationResponse.proto view
+ fixture/DeleteArchive.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteArchiveResponse.proto view
+ fixture/DeleteConnection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteConnectionResponse.proto view
+ fixture/DeleteEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteEndpointResponse.proto view
+ fixture/DeleteEventBus.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeleteEventBusResponse.proto view
+ fixture/DeletePartnerEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DeletePartnerEventSourceResponse.proto view
fixture/DeleteRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeApiDestination.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeApiDestinationResponse.proto view
+ fixture/DescribeArchive.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeArchiveResponse.proto view
+ fixture/DescribeConnection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeConnectionResponse.proto view
+ fixture/DescribeEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeEndpointResponse.proto view
+ fixture/DescribeEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeEventSourceResponse.proto view
+ fixture/DescribePartnerEventSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribePartnerEventSourceResponse.proto view
+ fixture/DescribeReplay.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeReplayResponse.proto view
fixture/DescribeRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DisableRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/EnableRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListApiDestinations.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListApiDestinationsResponse.proto view
+ fixture/ListArchives.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListArchivesResponse.proto view
+ fixture/ListConnections.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListConnectionsResponse.proto view
+ fixture/ListEndpoints.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListEndpointsResponse.proto view
+ fixture/ListEventBuses.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListEventBusesResponse.proto view
+ fixture/ListEventSources.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListEventSourcesResponse.proto view
+ fixture/ListPartnerEventSourceAccounts.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListPartnerEventSourceAccountsResponse.proto view
+ fixture/ListPartnerEventSources.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListPartnerEventSourcesResponse.proto view
+ fixture/ListReplays.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListReplaysResponse.proto view
fixture/ListRuleNamesByTarget.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/ListRules.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
fixture/ListTargetsByRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/PutEvents.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutPartnerEvents.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/PutPartnerEventsResponse.proto view
fixture/PutRule.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/PutTargets.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/RemoveTargets.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StartReplay.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/StartReplayResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
fixture/TestEventPattern.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
+ fixture/UpdateApiDestination.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateApiDestinationResponse.proto view
+ fixture/UpdateArchive.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateArchiveResponse.proto view
+ fixture/UpdateConnection.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateConnectionResponse.proto view
+ fixture/UpdateEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/events/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: events.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateEndpointResponse.proto view
+ gen/Amazonka/CloudWatchEvents.hs view
@@ -0,0 +1,813 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.CloudWatchEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2015-10-07@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Amazon EventBridge helps you to respond to state changes in your Amazon+-- Web Services resources. When your resources change state, they+-- automatically send events to an event stream. You can create rules that+-- match selected events in the stream and route them to targets to take+-- action. You can also use rules to take action on a predetermined+-- schedule. For example, you can configure rules to:+--+-- - Automatically invoke an Lambda function to update DNS entries when+-- an event notifies you that Amazon EC2 instance enters the running+-- state.+--+-- - Direct specific API records from CloudTrail to an Amazon Kinesis+-- data stream for detailed analysis of potential security or+-- availability risks.+--+-- - Periodically invoke a built-in target to create a snapshot of an+-- Amazon EBS volume.+--+-- For more information about the features of Amazon EventBridge, see the+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide Amazon EventBridge User Guide>.+module Amazonka.CloudWatchEvents+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** ConcurrentModificationException+ _ConcurrentModificationException,++ -- ** IllegalStatusException+ _IllegalStatusException,++ -- ** InternalException+ _InternalException,++ -- ** InvalidEventPatternException+ _InvalidEventPatternException,++ -- ** InvalidStateException+ _InvalidStateException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** ManagedRuleException+ _ManagedRuleException,++ -- ** OperationDisabledException+ _OperationDisabledException,++ -- ** PolicyLengthExceededException+ _PolicyLengthExceededException,++ -- ** ResourceAlreadyExistsException+ _ResourceAlreadyExistsException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- * Waiters+ -- $waiters++ -- * Operations+ -- $operations++ -- ** ActivateEventSource+ ActivateEventSource (ActivateEventSource'),+ newActivateEventSource,+ ActivateEventSourceResponse (ActivateEventSourceResponse'),+ newActivateEventSourceResponse,++ -- ** CancelReplay+ CancelReplay (CancelReplay'),+ newCancelReplay,+ CancelReplayResponse (CancelReplayResponse'),+ newCancelReplayResponse,++ -- ** CreateApiDestination+ CreateApiDestination (CreateApiDestination'),+ newCreateApiDestination,+ CreateApiDestinationResponse (CreateApiDestinationResponse'),+ newCreateApiDestinationResponse,++ -- ** CreateArchive+ CreateArchive (CreateArchive'),+ newCreateArchive,+ CreateArchiveResponse (CreateArchiveResponse'),+ newCreateArchiveResponse,++ -- ** CreateConnection+ CreateConnection (CreateConnection'),+ newCreateConnection,+ CreateConnectionResponse (CreateConnectionResponse'),+ newCreateConnectionResponse,++ -- ** CreateEndpoint+ CreateEndpoint (CreateEndpoint'),+ newCreateEndpoint,+ CreateEndpointResponse (CreateEndpointResponse'),+ newCreateEndpointResponse,++ -- ** CreateEventBus+ CreateEventBus (CreateEventBus'),+ newCreateEventBus,+ CreateEventBusResponse (CreateEventBusResponse'),+ newCreateEventBusResponse,++ -- ** CreatePartnerEventSource+ CreatePartnerEventSource (CreatePartnerEventSource'),+ newCreatePartnerEventSource,+ CreatePartnerEventSourceResponse (CreatePartnerEventSourceResponse'),+ newCreatePartnerEventSourceResponse,++ -- ** DeactivateEventSource+ DeactivateEventSource (DeactivateEventSource'),+ newDeactivateEventSource,+ DeactivateEventSourceResponse (DeactivateEventSourceResponse'),+ newDeactivateEventSourceResponse,++ -- ** DeauthorizeConnection+ DeauthorizeConnection (DeauthorizeConnection'),+ newDeauthorizeConnection,+ DeauthorizeConnectionResponse (DeauthorizeConnectionResponse'),+ newDeauthorizeConnectionResponse,++ -- ** DeleteApiDestination+ DeleteApiDestination (DeleteApiDestination'),+ newDeleteApiDestination,+ DeleteApiDestinationResponse (DeleteApiDestinationResponse'),+ newDeleteApiDestinationResponse,++ -- ** DeleteArchive+ DeleteArchive (DeleteArchive'),+ newDeleteArchive,+ DeleteArchiveResponse (DeleteArchiveResponse'),+ newDeleteArchiveResponse,++ -- ** DeleteConnection+ DeleteConnection (DeleteConnection'),+ newDeleteConnection,+ DeleteConnectionResponse (DeleteConnectionResponse'),+ newDeleteConnectionResponse,++ -- ** DeleteEndpoint+ DeleteEndpoint (DeleteEndpoint'),+ newDeleteEndpoint,+ DeleteEndpointResponse (DeleteEndpointResponse'),+ newDeleteEndpointResponse,++ -- ** DeleteEventBus+ DeleteEventBus (DeleteEventBus'),+ newDeleteEventBus,+ DeleteEventBusResponse (DeleteEventBusResponse'),+ newDeleteEventBusResponse,++ -- ** DeletePartnerEventSource+ DeletePartnerEventSource (DeletePartnerEventSource'),+ newDeletePartnerEventSource,+ DeletePartnerEventSourceResponse (DeletePartnerEventSourceResponse'),+ newDeletePartnerEventSourceResponse,++ -- ** DeleteRule+ DeleteRule (DeleteRule'),+ newDeleteRule,+ DeleteRuleResponse (DeleteRuleResponse'),+ newDeleteRuleResponse,++ -- ** DescribeApiDestination+ DescribeApiDestination (DescribeApiDestination'),+ newDescribeApiDestination,+ DescribeApiDestinationResponse (DescribeApiDestinationResponse'),+ newDescribeApiDestinationResponse,++ -- ** DescribeArchive+ DescribeArchive (DescribeArchive'),+ newDescribeArchive,+ DescribeArchiveResponse (DescribeArchiveResponse'),+ newDescribeArchiveResponse,++ -- ** DescribeConnection+ DescribeConnection (DescribeConnection'),+ newDescribeConnection,+ DescribeConnectionResponse (DescribeConnectionResponse'),+ newDescribeConnectionResponse,++ -- ** DescribeEndpoint+ DescribeEndpoint (DescribeEndpoint'),+ newDescribeEndpoint,+ DescribeEndpointResponse (DescribeEndpointResponse'),+ newDescribeEndpointResponse,++ -- ** DescribeEventBus+ DescribeEventBus (DescribeEventBus'),+ newDescribeEventBus,+ DescribeEventBusResponse (DescribeEventBusResponse'),+ newDescribeEventBusResponse,++ -- ** DescribeEventSource+ DescribeEventSource (DescribeEventSource'),+ newDescribeEventSource,+ DescribeEventSourceResponse (DescribeEventSourceResponse'),+ newDescribeEventSourceResponse,++ -- ** DescribePartnerEventSource+ DescribePartnerEventSource (DescribePartnerEventSource'),+ newDescribePartnerEventSource,+ DescribePartnerEventSourceResponse (DescribePartnerEventSourceResponse'),+ newDescribePartnerEventSourceResponse,++ -- ** DescribeReplay+ DescribeReplay (DescribeReplay'),+ newDescribeReplay,+ DescribeReplayResponse (DescribeReplayResponse'),+ newDescribeReplayResponse,++ -- ** DescribeRule+ DescribeRule (DescribeRule'),+ newDescribeRule,+ DescribeRuleResponse (DescribeRuleResponse'),+ newDescribeRuleResponse,++ -- ** DisableRule+ DisableRule (DisableRule'),+ newDisableRule,+ DisableRuleResponse (DisableRuleResponse'),+ newDisableRuleResponse,++ -- ** EnableRule+ EnableRule (EnableRule'),+ newEnableRule,+ EnableRuleResponse (EnableRuleResponse'),+ newEnableRuleResponse,++ -- ** ListApiDestinations+ ListApiDestinations (ListApiDestinations'),+ newListApiDestinations,+ ListApiDestinationsResponse (ListApiDestinationsResponse'),+ newListApiDestinationsResponse,++ -- ** ListArchives+ ListArchives (ListArchives'),+ newListArchives,+ ListArchivesResponse (ListArchivesResponse'),+ newListArchivesResponse,++ -- ** ListConnections+ ListConnections (ListConnections'),+ newListConnections,+ ListConnectionsResponse (ListConnectionsResponse'),+ newListConnectionsResponse,++ -- ** ListEndpoints+ ListEndpoints (ListEndpoints'),+ newListEndpoints,+ ListEndpointsResponse (ListEndpointsResponse'),+ newListEndpointsResponse,++ -- ** ListEventBuses+ ListEventBuses (ListEventBuses'),+ newListEventBuses,+ ListEventBusesResponse (ListEventBusesResponse'),+ newListEventBusesResponse,++ -- ** ListEventSources+ ListEventSources (ListEventSources'),+ newListEventSources,+ ListEventSourcesResponse (ListEventSourcesResponse'),+ newListEventSourcesResponse,++ -- ** ListPartnerEventSourceAccounts+ ListPartnerEventSourceAccounts (ListPartnerEventSourceAccounts'),+ newListPartnerEventSourceAccounts,+ ListPartnerEventSourceAccountsResponse (ListPartnerEventSourceAccountsResponse'),+ newListPartnerEventSourceAccountsResponse,++ -- ** ListPartnerEventSources+ ListPartnerEventSources (ListPartnerEventSources'),+ newListPartnerEventSources,+ ListPartnerEventSourcesResponse (ListPartnerEventSourcesResponse'),+ newListPartnerEventSourcesResponse,++ -- ** ListReplays+ ListReplays (ListReplays'),+ newListReplays,+ ListReplaysResponse (ListReplaysResponse'),+ newListReplaysResponse,++ -- ** ListRuleNamesByTarget (Paginated)+ ListRuleNamesByTarget (ListRuleNamesByTarget'),+ newListRuleNamesByTarget,+ ListRuleNamesByTargetResponse (ListRuleNamesByTargetResponse'),+ newListRuleNamesByTargetResponse,++ -- ** ListRules (Paginated)+ ListRules (ListRules'),+ newListRules,+ ListRulesResponse (ListRulesResponse'),+ newListRulesResponse,++ -- ** ListTagsForResource+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** ListTargetsByRule (Paginated)+ ListTargetsByRule (ListTargetsByRule'),+ newListTargetsByRule,+ ListTargetsByRuleResponse (ListTargetsByRuleResponse'),+ newListTargetsByRuleResponse,++ -- ** PutEvents+ PutEvents (PutEvents'),+ newPutEvents,+ PutEventsResponse (PutEventsResponse'),+ newPutEventsResponse,++ -- ** PutPartnerEvents+ PutPartnerEvents (PutPartnerEvents'),+ newPutPartnerEvents,+ PutPartnerEventsResponse (PutPartnerEventsResponse'),+ newPutPartnerEventsResponse,++ -- ** PutPermission+ PutPermission (PutPermission'),+ newPutPermission,+ PutPermissionResponse (PutPermissionResponse'),+ newPutPermissionResponse,++ -- ** PutRule+ PutRule (PutRule'),+ newPutRule,+ PutRuleResponse (PutRuleResponse'),+ newPutRuleResponse,++ -- ** PutTargets+ PutTargets (PutTargets'),+ newPutTargets,+ PutTargetsResponse (PutTargetsResponse'),+ newPutTargetsResponse,++ -- ** RemovePermission+ RemovePermission (RemovePermission'),+ newRemovePermission,+ RemovePermissionResponse (RemovePermissionResponse'),+ newRemovePermissionResponse,++ -- ** RemoveTargets+ RemoveTargets (RemoveTargets'),+ newRemoveTargets,+ RemoveTargetsResponse (RemoveTargetsResponse'),+ newRemoveTargetsResponse,++ -- ** StartReplay+ StartReplay (StartReplay'),+ newStartReplay,+ StartReplayResponse (StartReplayResponse'),+ newStartReplayResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** TestEventPattern+ TestEventPattern (TestEventPattern'),+ newTestEventPattern,+ TestEventPatternResponse (TestEventPatternResponse'),+ newTestEventPatternResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateApiDestination+ UpdateApiDestination (UpdateApiDestination'),+ newUpdateApiDestination,+ UpdateApiDestinationResponse (UpdateApiDestinationResponse'),+ newUpdateApiDestinationResponse,++ -- ** UpdateArchive+ UpdateArchive (UpdateArchive'),+ newUpdateArchive,+ UpdateArchiveResponse (UpdateArchiveResponse'),+ newUpdateArchiveResponse,++ -- ** UpdateConnection+ UpdateConnection (UpdateConnection'),+ newUpdateConnection,+ UpdateConnectionResponse (UpdateConnectionResponse'),+ newUpdateConnectionResponse,++ -- ** UpdateEndpoint+ UpdateEndpoint (UpdateEndpoint'),+ newUpdateEndpoint,+ UpdateEndpointResponse (UpdateEndpointResponse'),+ newUpdateEndpointResponse,++ -- * Types++ -- ** ApiDestinationHttpMethod+ ApiDestinationHttpMethod (..),++ -- ** ApiDestinationState+ ApiDestinationState (..),++ -- ** ArchiveState+ ArchiveState (..),++ -- ** AssignPublicIp+ AssignPublicIp (..),++ -- ** ConnectionAuthorizationType+ ConnectionAuthorizationType (..),++ -- ** ConnectionOAuthHttpMethod+ ConnectionOAuthHttpMethod (..),++ -- ** ConnectionState+ ConnectionState (..),++ -- ** EndpointState+ EndpointState (..),++ -- ** EventSourceState+ EventSourceState (..),++ -- ** LaunchType+ LaunchType (..),++ -- ** PlacementConstraintType+ PlacementConstraintType (..),++ -- ** PlacementStrategyType+ PlacementStrategyType (..),++ -- ** PropagateTags+ PropagateTags (..),++ -- ** ReplayState+ ReplayState (..),++ -- ** ReplicationState+ ReplicationState (..),++ -- ** RuleState+ RuleState (..),++ -- ** ApiDestination+ ApiDestination (ApiDestination'),+ newApiDestination,++ -- ** Archive+ Archive (Archive'),+ newArchive,++ -- ** AwsVpcConfiguration+ AwsVpcConfiguration (AwsVpcConfiguration'),+ newAwsVpcConfiguration,++ -- ** BatchArrayProperties+ BatchArrayProperties (BatchArrayProperties'),+ newBatchArrayProperties,++ -- ** BatchParameters+ BatchParameters (BatchParameters'),+ newBatchParameters,++ -- ** BatchRetryStrategy+ BatchRetryStrategy (BatchRetryStrategy'),+ newBatchRetryStrategy,++ -- ** CapacityProviderStrategyItem+ CapacityProviderStrategyItem (CapacityProviderStrategyItem'),+ newCapacityProviderStrategyItem,++ -- ** Condition+ Condition (Condition'),+ newCondition,++ -- ** Connection+ Connection (Connection'),+ newConnection,++ -- ** ConnectionApiKeyAuthResponseParameters+ ConnectionApiKeyAuthResponseParameters (ConnectionApiKeyAuthResponseParameters'),+ newConnectionApiKeyAuthResponseParameters,++ -- ** ConnectionAuthResponseParameters+ ConnectionAuthResponseParameters (ConnectionAuthResponseParameters'),+ newConnectionAuthResponseParameters,++ -- ** ConnectionBasicAuthResponseParameters+ ConnectionBasicAuthResponseParameters (ConnectionBasicAuthResponseParameters'),+ newConnectionBasicAuthResponseParameters,++ -- ** ConnectionBodyParameter+ ConnectionBodyParameter (ConnectionBodyParameter'),+ newConnectionBodyParameter,++ -- ** ConnectionHeaderParameter+ ConnectionHeaderParameter (ConnectionHeaderParameter'),+ newConnectionHeaderParameter,++ -- ** ConnectionHttpParameters+ ConnectionHttpParameters (ConnectionHttpParameters'),+ newConnectionHttpParameters,++ -- ** ConnectionOAuthClientResponseParameters+ ConnectionOAuthClientResponseParameters (ConnectionOAuthClientResponseParameters'),+ newConnectionOAuthClientResponseParameters,++ -- ** ConnectionOAuthResponseParameters+ ConnectionOAuthResponseParameters (ConnectionOAuthResponseParameters'),+ newConnectionOAuthResponseParameters,++ -- ** ConnectionQueryStringParameter+ ConnectionQueryStringParameter (ConnectionQueryStringParameter'),+ newConnectionQueryStringParameter,++ -- ** CreateConnectionApiKeyAuthRequestParameters+ CreateConnectionApiKeyAuthRequestParameters (CreateConnectionApiKeyAuthRequestParameters'),+ newCreateConnectionApiKeyAuthRequestParameters,++ -- ** CreateConnectionAuthRequestParameters+ CreateConnectionAuthRequestParameters (CreateConnectionAuthRequestParameters'),+ newCreateConnectionAuthRequestParameters,++ -- ** CreateConnectionBasicAuthRequestParameters+ CreateConnectionBasicAuthRequestParameters (CreateConnectionBasicAuthRequestParameters'),+ newCreateConnectionBasicAuthRequestParameters,++ -- ** CreateConnectionOAuthClientRequestParameters+ CreateConnectionOAuthClientRequestParameters (CreateConnectionOAuthClientRequestParameters'),+ newCreateConnectionOAuthClientRequestParameters,++ -- ** CreateConnectionOAuthRequestParameters+ CreateConnectionOAuthRequestParameters (CreateConnectionOAuthRequestParameters'),+ newCreateConnectionOAuthRequestParameters,++ -- ** DeadLetterConfig+ DeadLetterConfig (DeadLetterConfig'),+ newDeadLetterConfig,++ -- ** EcsParameters+ EcsParameters (EcsParameters'),+ newEcsParameters,++ -- ** Endpoint+ Endpoint (Endpoint'),+ newEndpoint,++ -- ** EndpointEventBus+ EndpointEventBus (EndpointEventBus'),+ newEndpointEventBus,++ -- ** EventBus+ EventBus (EventBus'),+ newEventBus,++ -- ** EventSource+ EventSource (EventSource'),+ newEventSource,++ -- ** FailoverConfig+ FailoverConfig (FailoverConfig'),+ newFailoverConfig,++ -- ** HttpParameters+ HttpParameters (HttpParameters'),+ newHttpParameters,++ -- ** InputTransformer+ InputTransformer (InputTransformer'),+ newInputTransformer,++ -- ** KinesisParameters+ KinesisParameters (KinesisParameters'),+ newKinesisParameters,++ -- ** NetworkConfiguration+ NetworkConfiguration (NetworkConfiguration'),+ newNetworkConfiguration,++ -- ** PartnerEventSource+ PartnerEventSource (PartnerEventSource'),+ newPartnerEventSource,++ -- ** PartnerEventSourceAccount+ PartnerEventSourceAccount (PartnerEventSourceAccount'),+ newPartnerEventSourceAccount,++ -- ** PlacementConstraint+ PlacementConstraint (PlacementConstraint'),+ newPlacementConstraint,++ -- ** PlacementStrategy+ PlacementStrategy (PlacementStrategy'),+ newPlacementStrategy,++ -- ** Primary+ Primary (Primary'),+ newPrimary,++ -- ** PutEventsRequestEntry+ PutEventsRequestEntry (PutEventsRequestEntry'),+ newPutEventsRequestEntry,++ -- ** PutEventsResultEntry+ PutEventsResultEntry (PutEventsResultEntry'),+ newPutEventsResultEntry,++ -- ** PutPartnerEventsRequestEntry+ PutPartnerEventsRequestEntry (PutPartnerEventsRequestEntry'),+ newPutPartnerEventsRequestEntry,++ -- ** PutPartnerEventsResultEntry+ PutPartnerEventsResultEntry (PutPartnerEventsResultEntry'),+ newPutPartnerEventsResultEntry,++ -- ** PutTargetsResultEntry+ PutTargetsResultEntry (PutTargetsResultEntry'),+ newPutTargetsResultEntry,++ -- ** RedshiftDataParameters+ RedshiftDataParameters (RedshiftDataParameters'),+ newRedshiftDataParameters,++ -- ** RemoveTargetsResultEntry+ RemoveTargetsResultEntry (RemoveTargetsResultEntry'),+ newRemoveTargetsResultEntry,++ -- ** Replay+ Replay (Replay'),+ newReplay,++ -- ** ReplayDestination+ ReplayDestination (ReplayDestination'),+ newReplayDestination,++ -- ** ReplicationConfig+ ReplicationConfig (ReplicationConfig'),+ newReplicationConfig,++ -- ** RetryPolicy+ RetryPolicy (RetryPolicy'),+ newRetryPolicy,++ -- ** RoutingConfig+ RoutingConfig (RoutingConfig'),+ newRoutingConfig,++ -- ** Rule+ Rule (Rule'),+ newRule,++ -- ** RunCommandParameters+ RunCommandParameters (RunCommandParameters'),+ newRunCommandParameters,++ -- ** RunCommandTarget+ RunCommandTarget (RunCommandTarget'),+ newRunCommandTarget,++ -- ** SageMakerPipelineParameter+ SageMakerPipelineParameter (SageMakerPipelineParameter'),+ newSageMakerPipelineParameter,++ -- ** SageMakerPipelineParameters+ SageMakerPipelineParameters (SageMakerPipelineParameters'),+ newSageMakerPipelineParameters,++ -- ** Secondary+ Secondary (Secondary'),+ newSecondary,++ -- ** SqsParameters+ SqsParameters (SqsParameters'),+ newSqsParameters,++ -- ** Tag+ Tag (Tag'),+ newTag,++ -- ** Target+ Target (Target'),+ newTarget,++ -- ** UpdateConnectionApiKeyAuthRequestParameters+ UpdateConnectionApiKeyAuthRequestParameters (UpdateConnectionApiKeyAuthRequestParameters'),+ newUpdateConnectionApiKeyAuthRequestParameters,++ -- ** UpdateConnectionAuthRequestParameters+ UpdateConnectionAuthRequestParameters (UpdateConnectionAuthRequestParameters'),+ newUpdateConnectionAuthRequestParameters,++ -- ** UpdateConnectionBasicAuthRequestParameters+ UpdateConnectionBasicAuthRequestParameters (UpdateConnectionBasicAuthRequestParameters'),+ newUpdateConnectionBasicAuthRequestParameters,++ -- ** UpdateConnectionOAuthClientRequestParameters+ UpdateConnectionOAuthClientRequestParameters (UpdateConnectionOAuthClientRequestParameters'),+ newUpdateConnectionOAuthClientRequestParameters,++ -- ** UpdateConnectionOAuthRequestParameters+ UpdateConnectionOAuthRequestParameters (UpdateConnectionOAuthRequestParameters'),+ newUpdateConnectionOAuthRequestParameters,+ )+where++import Amazonka.CloudWatchEvents.ActivateEventSource+import Amazonka.CloudWatchEvents.CancelReplay+import Amazonka.CloudWatchEvents.CreateApiDestination+import Amazonka.CloudWatchEvents.CreateArchive+import Amazonka.CloudWatchEvents.CreateConnection+import Amazonka.CloudWatchEvents.CreateEndpoint+import Amazonka.CloudWatchEvents.CreateEventBus+import Amazonka.CloudWatchEvents.CreatePartnerEventSource+import Amazonka.CloudWatchEvents.DeactivateEventSource+import Amazonka.CloudWatchEvents.DeauthorizeConnection+import Amazonka.CloudWatchEvents.DeleteApiDestination+import Amazonka.CloudWatchEvents.DeleteArchive+import Amazonka.CloudWatchEvents.DeleteConnection+import Amazonka.CloudWatchEvents.DeleteEndpoint+import Amazonka.CloudWatchEvents.DeleteEventBus+import Amazonka.CloudWatchEvents.DeletePartnerEventSource+import Amazonka.CloudWatchEvents.DeleteRule+import Amazonka.CloudWatchEvents.DescribeApiDestination+import Amazonka.CloudWatchEvents.DescribeArchive+import Amazonka.CloudWatchEvents.DescribeConnection+import Amazonka.CloudWatchEvents.DescribeEndpoint+import Amazonka.CloudWatchEvents.DescribeEventBus+import Amazonka.CloudWatchEvents.DescribeEventSource+import Amazonka.CloudWatchEvents.DescribePartnerEventSource+import Amazonka.CloudWatchEvents.DescribeReplay+import Amazonka.CloudWatchEvents.DescribeRule+import Amazonka.CloudWatchEvents.DisableRule+import Amazonka.CloudWatchEvents.EnableRule+import Amazonka.CloudWatchEvents.Lens+import Amazonka.CloudWatchEvents.ListApiDestinations+import Amazonka.CloudWatchEvents.ListArchives+import Amazonka.CloudWatchEvents.ListConnections+import Amazonka.CloudWatchEvents.ListEndpoints+import Amazonka.CloudWatchEvents.ListEventBuses+import Amazonka.CloudWatchEvents.ListEventSources+import Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts+import Amazonka.CloudWatchEvents.ListPartnerEventSources+import Amazonka.CloudWatchEvents.ListReplays+import Amazonka.CloudWatchEvents.ListRuleNamesByTarget+import Amazonka.CloudWatchEvents.ListRules+import Amazonka.CloudWatchEvents.ListTagsForResource+import Amazonka.CloudWatchEvents.ListTargetsByRule+import Amazonka.CloudWatchEvents.PutEvents+import Amazonka.CloudWatchEvents.PutPartnerEvents+import Amazonka.CloudWatchEvents.PutPermission+import Amazonka.CloudWatchEvents.PutRule+import Amazonka.CloudWatchEvents.PutTargets+import Amazonka.CloudWatchEvents.RemovePermission+import Amazonka.CloudWatchEvents.RemoveTargets+import Amazonka.CloudWatchEvents.StartReplay+import Amazonka.CloudWatchEvents.TagResource+import Amazonka.CloudWatchEvents.TestEventPattern+import Amazonka.CloudWatchEvents.Types+import Amazonka.CloudWatchEvents.UntagResource+import Amazonka.CloudWatchEvents.UpdateApiDestination+import Amazonka.CloudWatchEvents.UpdateArchive+import Amazonka.CloudWatchEvents.UpdateConnection+import Amazonka.CloudWatchEvents.UpdateEndpoint+import Amazonka.CloudWatchEvents.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'CloudWatchEvents'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/CloudWatchEvents/ActivateEventSource.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ActivateEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Activates a partner event source that has been deactivated. Once+-- activated, your matching event bus will start receiving events from the+-- event source.+module Amazonka.CloudWatchEvents.ActivateEventSource+ ( -- * Creating a Request+ ActivateEventSource (..),+ newActivateEventSource,++ -- * Request Lenses+ activateEventSource_name,++ -- * Destructuring the Response+ ActivateEventSourceResponse (..),+ newActivateEventSourceResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newActivateEventSource' smart constructor.+data ActivateEventSource = ActivateEventSource'+ { -- | The name of the partner event source to activate.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ActivateEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'activateEventSource_name' - The name of the partner event source to activate.+newActivateEventSource ::+ -- | 'name'+ Prelude.Text ->+ ActivateEventSource+newActivateEventSource pName_ =+ ActivateEventSource' {name = pName_}++-- | The name of the partner event source to activate.+activateEventSource_name :: Lens.Lens' ActivateEventSource Prelude.Text+activateEventSource_name = Lens.lens (\ActivateEventSource' {name} -> name) (\s@ActivateEventSource' {} a -> s {name = a} :: ActivateEventSource)++instance Core.AWSRequest ActivateEventSource where+ type+ AWSResponse ActivateEventSource =+ ActivateEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull ActivateEventSourceResponse'++instance Prelude.Hashable ActivateEventSource where+ hashWithSalt _salt ActivateEventSource' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData ActivateEventSource where+ rnf ActivateEventSource' {..} = Prelude.rnf name++instance Data.ToHeaders ActivateEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ActivateEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ActivateEventSource where+ toJSON ActivateEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath ActivateEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery ActivateEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newActivateEventSourceResponse' smart constructor.+data ActivateEventSourceResponse = ActivateEventSourceResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ActivateEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newActivateEventSourceResponse ::+ ActivateEventSourceResponse+newActivateEventSourceResponse =+ ActivateEventSourceResponse'++instance Prelude.NFData ActivateEventSourceResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/CancelReplay.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CancelReplay+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Cancels the specified replay.+module Amazonka.CloudWatchEvents.CancelReplay+ ( -- * Creating a Request+ CancelReplay (..),+ newCancelReplay,++ -- * Request Lenses+ cancelReplay_replayName,++ -- * Destructuring the Response+ CancelReplayResponse (..),+ newCancelReplayResponse,++ -- * Response Lenses+ cancelReplayResponse_replayArn,+ cancelReplayResponse_state,+ cancelReplayResponse_stateReason,+ cancelReplayResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCancelReplay' smart constructor.+data CancelReplay = CancelReplay'+ { -- | The name of the replay to cancel.+ replayName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelReplay' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'replayName', 'cancelReplay_replayName' - The name of the replay to cancel.+newCancelReplay ::+ -- | 'replayName'+ Prelude.Text ->+ CancelReplay+newCancelReplay pReplayName_ =+ CancelReplay' {replayName = pReplayName_}++-- | The name of the replay to cancel.+cancelReplay_replayName :: Lens.Lens' CancelReplay Prelude.Text+cancelReplay_replayName = Lens.lens (\CancelReplay' {replayName} -> replayName) (\s@CancelReplay' {} a -> s {replayName = a} :: CancelReplay)++instance Core.AWSRequest CancelReplay where+ type AWSResponse CancelReplay = CancelReplayResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CancelReplayResponse'+ Prelude.<$> (x Data..?> "ReplayArn")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CancelReplay where+ hashWithSalt _salt CancelReplay' {..} =+ _salt `Prelude.hashWithSalt` replayName++instance Prelude.NFData CancelReplay where+ rnf CancelReplay' {..} = Prelude.rnf replayName++instance Data.ToHeaders CancelReplay where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.CancelReplay" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CancelReplay where+ toJSON CancelReplay' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ReplayName" Data..= replayName)]+ )++instance Data.ToPath CancelReplay where+ toPath = Prelude.const "/"++instance Data.ToQuery CancelReplay where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCancelReplayResponse' smart constructor.+data CancelReplayResponse = CancelReplayResponse'+ { -- | The ARN of the replay to cancel.+ replayArn :: Prelude.Maybe Prelude.Text,+ -- | The current state of the replay.+ state :: Prelude.Maybe ReplayState,+ -- | The reason that the replay is in the current state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CancelReplayResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'replayArn', 'cancelReplayResponse_replayArn' - The ARN of the replay to cancel.+--+-- 'state', 'cancelReplayResponse_state' - The current state of the replay.+--+-- 'stateReason', 'cancelReplayResponse_stateReason' - The reason that the replay is in the current state.+--+-- 'httpStatus', 'cancelReplayResponse_httpStatus' - The response's http status code.+newCancelReplayResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CancelReplayResponse+newCancelReplayResponse pHttpStatus_ =+ CancelReplayResponse'+ { replayArn = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the replay to cancel.+cancelReplayResponse_replayArn :: Lens.Lens' CancelReplayResponse (Prelude.Maybe Prelude.Text)+cancelReplayResponse_replayArn = Lens.lens (\CancelReplayResponse' {replayArn} -> replayArn) (\s@CancelReplayResponse' {} a -> s {replayArn = a} :: CancelReplayResponse)++-- | The current state of the replay.+cancelReplayResponse_state :: Lens.Lens' CancelReplayResponse (Prelude.Maybe ReplayState)+cancelReplayResponse_state = Lens.lens (\CancelReplayResponse' {state} -> state) (\s@CancelReplayResponse' {} a -> s {state = a} :: CancelReplayResponse)++-- | The reason that the replay is in the current state.+cancelReplayResponse_stateReason :: Lens.Lens' CancelReplayResponse (Prelude.Maybe Prelude.Text)+cancelReplayResponse_stateReason = Lens.lens (\CancelReplayResponse' {stateReason} -> stateReason) (\s@CancelReplayResponse' {} a -> s {stateReason = a} :: CancelReplayResponse)++-- | The response's http status code.+cancelReplayResponse_httpStatus :: Lens.Lens' CancelReplayResponse Prelude.Int+cancelReplayResponse_httpStatus = Lens.lens (\CancelReplayResponse' {httpStatus} -> httpStatus) (\s@CancelReplayResponse' {} a -> s {httpStatus = a} :: CancelReplayResponse)++instance Prelude.NFData CancelReplayResponse where+ rnf CancelReplayResponse' {..} =+ Prelude.rnf replayArn+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreateApiDestination.hs view
@@ -0,0 +1,300 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreateApiDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an API destination, which is an HTTP invocation endpoint+-- configured as a target for events.+module Amazonka.CloudWatchEvents.CreateApiDestination+ ( -- * Creating a Request+ CreateApiDestination (..),+ newCreateApiDestination,++ -- * Request Lenses+ createApiDestination_description,+ createApiDestination_invocationRateLimitPerSecond,+ createApiDestination_name,+ createApiDestination_connectionArn,+ createApiDestination_invocationEndpoint,+ createApiDestination_httpMethod,++ -- * Destructuring the Response+ CreateApiDestinationResponse (..),+ newCreateApiDestinationResponse,++ -- * Response Lenses+ createApiDestinationResponse_apiDestinationArn,+ createApiDestinationResponse_apiDestinationState,+ createApiDestinationResponse_creationTime,+ createApiDestinationResponse_lastModifiedTime,+ createApiDestinationResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateApiDestination' smart constructor.+data CreateApiDestination = CreateApiDestination'+ { -- | A description for the API destination to create.+ description :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of requests per second to send to the HTTP invocation+ -- endpoint.+ invocationRateLimitPerSecond :: Prelude.Maybe Prelude.Natural,+ -- | The name for the API destination to create.+ name :: Prelude.Text,+ -- | The ARN of the connection to use for the API destination. The+ -- destination endpoint must support the authorization type specified for+ -- the connection.+ connectionArn :: Prelude.Text,+ -- | The URL to the HTTP invocation endpoint for the API destination.+ invocationEndpoint :: Prelude.Text,+ -- | The method to use for the request to the HTTP invocation endpoint.+ httpMethod :: ApiDestinationHttpMethod+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateApiDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createApiDestination_description' - A description for the API destination to create.+--+-- 'invocationRateLimitPerSecond', 'createApiDestination_invocationRateLimitPerSecond' - The maximum number of requests per second to send to the HTTP invocation+-- endpoint.+--+-- 'name', 'createApiDestination_name' - The name for the API destination to create.+--+-- 'connectionArn', 'createApiDestination_connectionArn' - The ARN of the connection to use for the API destination. The+-- destination endpoint must support the authorization type specified for+-- the connection.+--+-- 'invocationEndpoint', 'createApiDestination_invocationEndpoint' - The URL to the HTTP invocation endpoint for the API destination.+--+-- 'httpMethod', 'createApiDestination_httpMethod' - The method to use for the request to the HTTP invocation endpoint.+newCreateApiDestination ::+ -- | 'name'+ Prelude.Text ->+ -- | 'connectionArn'+ Prelude.Text ->+ -- | 'invocationEndpoint'+ Prelude.Text ->+ -- | 'httpMethod'+ ApiDestinationHttpMethod ->+ CreateApiDestination+newCreateApiDestination+ pName_+ pConnectionArn_+ pInvocationEndpoint_+ pHttpMethod_ =+ CreateApiDestination'+ { description =+ Prelude.Nothing,+ invocationRateLimitPerSecond = Prelude.Nothing,+ name = pName_,+ connectionArn = pConnectionArn_,+ invocationEndpoint = pInvocationEndpoint_,+ httpMethod = pHttpMethod_+ }++-- | A description for the API destination to create.+createApiDestination_description :: Lens.Lens' CreateApiDestination (Prelude.Maybe Prelude.Text)+createApiDestination_description = Lens.lens (\CreateApiDestination' {description} -> description) (\s@CreateApiDestination' {} a -> s {description = a} :: CreateApiDestination)++-- | The maximum number of requests per second to send to the HTTP invocation+-- endpoint.+createApiDestination_invocationRateLimitPerSecond :: Lens.Lens' CreateApiDestination (Prelude.Maybe Prelude.Natural)+createApiDestination_invocationRateLimitPerSecond = Lens.lens (\CreateApiDestination' {invocationRateLimitPerSecond} -> invocationRateLimitPerSecond) (\s@CreateApiDestination' {} a -> s {invocationRateLimitPerSecond = a} :: CreateApiDestination)++-- | The name for the API destination to create.+createApiDestination_name :: Lens.Lens' CreateApiDestination Prelude.Text+createApiDestination_name = Lens.lens (\CreateApiDestination' {name} -> name) (\s@CreateApiDestination' {} a -> s {name = a} :: CreateApiDestination)++-- | The ARN of the connection to use for the API destination. The+-- destination endpoint must support the authorization type specified for+-- the connection.+createApiDestination_connectionArn :: Lens.Lens' CreateApiDestination Prelude.Text+createApiDestination_connectionArn = Lens.lens (\CreateApiDestination' {connectionArn} -> connectionArn) (\s@CreateApiDestination' {} a -> s {connectionArn = a} :: CreateApiDestination)++-- | The URL to the HTTP invocation endpoint for the API destination.+createApiDestination_invocationEndpoint :: Lens.Lens' CreateApiDestination Prelude.Text+createApiDestination_invocationEndpoint = Lens.lens (\CreateApiDestination' {invocationEndpoint} -> invocationEndpoint) (\s@CreateApiDestination' {} a -> s {invocationEndpoint = a} :: CreateApiDestination)++-- | The method to use for the request to the HTTP invocation endpoint.+createApiDestination_httpMethod :: Lens.Lens' CreateApiDestination ApiDestinationHttpMethod+createApiDestination_httpMethod = Lens.lens (\CreateApiDestination' {httpMethod} -> httpMethod) (\s@CreateApiDestination' {} a -> s {httpMethod = a} :: CreateApiDestination)++instance Core.AWSRequest CreateApiDestination where+ type+ AWSResponse CreateApiDestination =+ CreateApiDestinationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateApiDestinationResponse'+ Prelude.<$> (x Data..?> "ApiDestinationArn")+ Prelude.<*> (x Data..?> "ApiDestinationState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateApiDestination where+ hashWithSalt _salt CreateApiDestination' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` invocationRateLimitPerSecond+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` connectionArn+ `Prelude.hashWithSalt` invocationEndpoint+ `Prelude.hashWithSalt` httpMethod++instance Prelude.NFData CreateApiDestination where+ rnf CreateApiDestination' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf invocationRateLimitPerSecond+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf invocationEndpoint+ `Prelude.seq` Prelude.rnf httpMethod++instance Data.ToHeaders CreateApiDestination where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.CreateApiDestination" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateApiDestination where+ toJSON CreateApiDestination' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("InvocationRateLimitPerSecond" Data..=)+ Prelude.<$> invocationRateLimitPerSecond,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("ConnectionArn" Data..= connectionArn),+ Prelude.Just+ ("InvocationEndpoint" Data..= invocationEndpoint),+ Prelude.Just ("HttpMethod" Data..= httpMethod)+ ]+ )++instance Data.ToPath CreateApiDestination where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateApiDestination where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateApiDestinationResponse' smart constructor.+data CreateApiDestinationResponse = CreateApiDestinationResponse'+ { -- | The ARN of the API destination that was created by the request.+ apiDestinationArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the API destination that was created by the request.+ apiDestinationState :: Prelude.Maybe ApiDestinationState,+ -- | A time stamp indicating the time that the API destination was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp indicating the time that the API destination was last+ -- modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateApiDestinationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiDestinationArn', 'createApiDestinationResponse_apiDestinationArn' - The ARN of the API destination that was created by the request.+--+-- 'apiDestinationState', 'createApiDestinationResponse_apiDestinationState' - The state of the API destination that was created by the request.+--+-- 'creationTime', 'createApiDestinationResponse_creationTime' - A time stamp indicating the time that the API destination was created.+--+-- 'lastModifiedTime', 'createApiDestinationResponse_lastModifiedTime' - A time stamp indicating the time that the API destination was last+-- modified.+--+-- 'httpStatus', 'createApiDestinationResponse_httpStatus' - The response's http status code.+newCreateApiDestinationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateApiDestinationResponse+newCreateApiDestinationResponse pHttpStatus_ =+ CreateApiDestinationResponse'+ { apiDestinationArn =+ Prelude.Nothing,+ apiDestinationState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the API destination that was created by the request.+createApiDestinationResponse_apiDestinationArn :: Lens.Lens' CreateApiDestinationResponse (Prelude.Maybe Prelude.Text)+createApiDestinationResponse_apiDestinationArn = Lens.lens (\CreateApiDestinationResponse' {apiDestinationArn} -> apiDestinationArn) (\s@CreateApiDestinationResponse' {} a -> s {apiDestinationArn = a} :: CreateApiDestinationResponse)++-- | The state of the API destination that was created by the request.+createApiDestinationResponse_apiDestinationState :: Lens.Lens' CreateApiDestinationResponse (Prelude.Maybe ApiDestinationState)+createApiDestinationResponse_apiDestinationState = Lens.lens (\CreateApiDestinationResponse' {apiDestinationState} -> apiDestinationState) (\s@CreateApiDestinationResponse' {} a -> s {apiDestinationState = a} :: CreateApiDestinationResponse)++-- | A time stamp indicating the time that the API destination was created.+createApiDestinationResponse_creationTime :: Lens.Lens' CreateApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+createApiDestinationResponse_creationTime = Lens.lens (\CreateApiDestinationResponse' {creationTime} -> creationTime) (\s@CreateApiDestinationResponse' {} a -> s {creationTime = a} :: CreateApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp indicating the time that the API destination was last+-- modified.+createApiDestinationResponse_lastModifiedTime :: Lens.Lens' CreateApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+createApiDestinationResponse_lastModifiedTime = Lens.lens (\CreateApiDestinationResponse' {lastModifiedTime} -> lastModifiedTime) (\s@CreateApiDestinationResponse' {} a -> s {lastModifiedTime = a} :: CreateApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+createApiDestinationResponse_httpStatus :: Lens.Lens' CreateApiDestinationResponse Prelude.Int+createApiDestinationResponse_httpStatus = Lens.lens (\CreateApiDestinationResponse' {httpStatus} -> httpStatus) (\s@CreateApiDestinationResponse' {} a -> s {httpStatus = a} :: CreateApiDestinationResponse)++instance Prelude.NFData CreateApiDestinationResponse where+ rnf CreateApiDestinationResponse' {..} =+ Prelude.rnf apiDestinationArn+ `Prelude.seq` Prelude.rnf apiDestinationState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreateArchive.hs view
@@ -0,0 +1,270 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreateArchive+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an archive of events with the specified settings. When you+-- create an archive, incoming events might not immediately start being+-- sent to the archive. Allow a short period of time for changes to take+-- effect. If you do not specify a pattern to filter events sent to the+-- archive, all events are sent to the archive except replayed events.+-- Replayed events are not sent to an archive.+module Amazonka.CloudWatchEvents.CreateArchive+ ( -- * Creating a Request+ CreateArchive (..),+ newCreateArchive,++ -- * Request Lenses+ createArchive_description,+ createArchive_eventPattern,+ createArchive_retentionDays,+ createArchive_archiveName,+ createArchive_eventSourceArn,++ -- * Destructuring the Response+ CreateArchiveResponse (..),+ newCreateArchiveResponse,++ -- * Response Lenses+ createArchiveResponse_archiveArn,+ createArchiveResponse_creationTime,+ createArchiveResponse_state,+ createArchiveResponse_stateReason,+ createArchiveResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateArchive' smart constructor.+data CreateArchive = CreateArchive'+ { -- | A description for the archive.+ description :: Prelude.Maybe Prelude.Text,+ -- | An event pattern to use to filter events sent to the archive.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | The number of days to retain events for. Default value is 0. If set to+ -- 0, events are retained indefinitely+ retentionDays :: Prelude.Maybe Prelude.Natural,+ -- | The name for the archive to create.+ archiveName :: Prelude.Text,+ -- | The ARN of the event bus that sends events to the archive.+ eventSourceArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateArchive' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createArchive_description' - A description for the archive.+--+-- 'eventPattern', 'createArchive_eventPattern' - An event pattern to use to filter events sent to the archive.+--+-- 'retentionDays', 'createArchive_retentionDays' - The number of days to retain events for. Default value is 0. If set to+-- 0, events are retained indefinitely+--+-- 'archiveName', 'createArchive_archiveName' - The name for the archive to create.+--+-- 'eventSourceArn', 'createArchive_eventSourceArn' - The ARN of the event bus that sends events to the archive.+newCreateArchive ::+ -- | 'archiveName'+ Prelude.Text ->+ -- | 'eventSourceArn'+ Prelude.Text ->+ CreateArchive+newCreateArchive pArchiveName_ pEventSourceArn_ =+ CreateArchive'+ { description = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ retentionDays = Prelude.Nothing,+ archiveName = pArchiveName_,+ eventSourceArn = pEventSourceArn_+ }++-- | A description for the archive.+createArchive_description :: Lens.Lens' CreateArchive (Prelude.Maybe Prelude.Text)+createArchive_description = Lens.lens (\CreateArchive' {description} -> description) (\s@CreateArchive' {} a -> s {description = a} :: CreateArchive)++-- | An event pattern to use to filter events sent to the archive.+createArchive_eventPattern :: Lens.Lens' CreateArchive (Prelude.Maybe Prelude.Text)+createArchive_eventPattern = Lens.lens (\CreateArchive' {eventPattern} -> eventPattern) (\s@CreateArchive' {} a -> s {eventPattern = a} :: CreateArchive)++-- | The number of days to retain events for. Default value is 0. If set to+-- 0, events are retained indefinitely+createArchive_retentionDays :: Lens.Lens' CreateArchive (Prelude.Maybe Prelude.Natural)+createArchive_retentionDays = Lens.lens (\CreateArchive' {retentionDays} -> retentionDays) (\s@CreateArchive' {} a -> s {retentionDays = a} :: CreateArchive)++-- | The name for the archive to create.+createArchive_archiveName :: Lens.Lens' CreateArchive Prelude.Text+createArchive_archiveName = Lens.lens (\CreateArchive' {archiveName} -> archiveName) (\s@CreateArchive' {} a -> s {archiveName = a} :: CreateArchive)++-- | The ARN of the event bus that sends events to the archive.+createArchive_eventSourceArn :: Lens.Lens' CreateArchive Prelude.Text+createArchive_eventSourceArn = Lens.lens (\CreateArchive' {eventSourceArn} -> eventSourceArn) (\s@CreateArchive' {} a -> s {eventSourceArn = a} :: CreateArchive)++instance Core.AWSRequest CreateArchive where+ type+ AWSResponse CreateArchive =+ CreateArchiveResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateArchiveResponse'+ Prelude.<$> (x Data..?> "ArchiveArn")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateArchive where+ hashWithSalt _salt CreateArchive' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` eventPattern+ `Prelude.hashWithSalt` retentionDays+ `Prelude.hashWithSalt` archiveName+ `Prelude.hashWithSalt` eventSourceArn++instance Prelude.NFData CreateArchive where+ rnf CreateArchive' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf retentionDays+ `Prelude.seq` Prelude.rnf archiveName+ `Prelude.seq` Prelude.rnf eventSourceArn++instance Data.ToHeaders CreateArchive where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.CreateArchive" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateArchive where+ toJSON CreateArchive' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("EventPattern" Data..=) Prelude.<$> eventPattern,+ ("RetentionDays" Data..=) Prelude.<$> retentionDays,+ Prelude.Just ("ArchiveName" Data..= archiveName),+ Prelude.Just+ ("EventSourceArn" Data..= eventSourceArn)+ ]+ )++instance Data.ToPath CreateArchive where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateArchive where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateArchiveResponse' smart constructor.+data CreateArchiveResponse = CreateArchiveResponse'+ { -- | The ARN of the archive that was created.+ archiveArn :: Prelude.Maybe Prelude.Text,+ -- | The time at which the archive was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the archive that was created.+ state :: Prelude.Maybe ArchiveState,+ -- | The reason that the archive is in the state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateArchiveResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveArn', 'createArchiveResponse_archiveArn' - The ARN of the archive that was created.+--+-- 'creationTime', 'createArchiveResponse_creationTime' - The time at which the archive was created.+--+-- 'state', 'createArchiveResponse_state' - The state of the archive that was created.+--+-- 'stateReason', 'createArchiveResponse_stateReason' - The reason that the archive is in the state.+--+-- 'httpStatus', 'createArchiveResponse_httpStatus' - The response's http status code.+newCreateArchiveResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateArchiveResponse+newCreateArchiveResponse pHttpStatus_ =+ CreateArchiveResponse'+ { archiveArn =+ Prelude.Nothing,+ creationTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the archive that was created.+createArchiveResponse_archiveArn :: Lens.Lens' CreateArchiveResponse (Prelude.Maybe Prelude.Text)+createArchiveResponse_archiveArn = Lens.lens (\CreateArchiveResponse' {archiveArn} -> archiveArn) (\s@CreateArchiveResponse' {} a -> s {archiveArn = a} :: CreateArchiveResponse)++-- | The time at which the archive was created.+createArchiveResponse_creationTime :: Lens.Lens' CreateArchiveResponse (Prelude.Maybe Prelude.UTCTime)+createArchiveResponse_creationTime = Lens.lens (\CreateArchiveResponse' {creationTime} -> creationTime) (\s@CreateArchiveResponse' {} a -> s {creationTime = a} :: CreateArchiveResponse) Prelude.. Lens.mapping Data._Time++-- | The state of the archive that was created.+createArchiveResponse_state :: Lens.Lens' CreateArchiveResponse (Prelude.Maybe ArchiveState)+createArchiveResponse_state = Lens.lens (\CreateArchiveResponse' {state} -> state) (\s@CreateArchiveResponse' {} a -> s {state = a} :: CreateArchiveResponse)++-- | The reason that the archive is in the state.+createArchiveResponse_stateReason :: Lens.Lens' CreateArchiveResponse (Prelude.Maybe Prelude.Text)+createArchiveResponse_stateReason = Lens.lens (\CreateArchiveResponse' {stateReason} -> stateReason) (\s@CreateArchiveResponse' {} a -> s {stateReason = a} :: CreateArchiveResponse)++-- | The response's http status code.+createArchiveResponse_httpStatus :: Lens.Lens' CreateArchiveResponse Prelude.Int+createArchiveResponse_httpStatus = Lens.lens (\CreateArchiveResponse' {httpStatus} -> httpStatus) (\s@CreateArchiveResponse' {} a -> s {httpStatus = a} :: CreateArchiveResponse)++instance Prelude.NFData CreateArchiveResponse where+ rnf CreateArchiveResponse' {..} =+ Prelude.rnf archiveArn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreateConnection.hs view
@@ -0,0 +1,260 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreateConnection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a connection. A connection defines the authorization type and+-- credentials to use for authorization with an API destination HTTP+-- endpoint.+module Amazonka.CloudWatchEvents.CreateConnection+ ( -- * Creating a Request+ CreateConnection (..),+ newCreateConnection,++ -- * Request Lenses+ createConnection_description,+ createConnection_name,+ createConnection_authorizationType,+ createConnection_authParameters,++ -- * Destructuring the Response+ CreateConnectionResponse (..),+ newCreateConnectionResponse,++ -- * Response Lenses+ createConnectionResponse_connectionArn,+ createConnectionResponse_connectionState,+ createConnectionResponse_creationTime,+ createConnectionResponse_lastModifiedTime,+ createConnectionResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateConnection' smart constructor.+data CreateConnection = CreateConnection'+ { -- | A description for the connection to create.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name for the connection to create.+ name :: Prelude.Text,+ -- | The type of authorization to use for the connection.+ authorizationType :: ConnectionAuthorizationType,+ -- | A @CreateConnectionAuthRequestParameters@ object that contains the+ -- authorization parameters to use to authorize with the endpoint.+ authParameters :: CreateConnectionAuthRequestParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createConnection_description' - A description for the connection to create.+--+-- 'name', 'createConnection_name' - The name for the connection to create.+--+-- 'authorizationType', 'createConnection_authorizationType' - The type of authorization to use for the connection.+--+-- 'authParameters', 'createConnection_authParameters' - A @CreateConnectionAuthRequestParameters@ object that contains the+-- authorization parameters to use to authorize with the endpoint.+newCreateConnection ::+ -- | 'name'+ Prelude.Text ->+ -- | 'authorizationType'+ ConnectionAuthorizationType ->+ -- | 'authParameters'+ CreateConnectionAuthRequestParameters ->+ CreateConnection+newCreateConnection+ pName_+ pAuthorizationType_+ pAuthParameters_ =+ CreateConnection'+ { description = Prelude.Nothing,+ name = pName_,+ authorizationType = pAuthorizationType_,+ authParameters = pAuthParameters_+ }++-- | A description for the connection to create.+createConnection_description :: Lens.Lens' CreateConnection (Prelude.Maybe Prelude.Text)+createConnection_description = Lens.lens (\CreateConnection' {description} -> description) (\s@CreateConnection' {} a -> s {description = a} :: CreateConnection)++-- | The name for the connection to create.+createConnection_name :: Lens.Lens' CreateConnection Prelude.Text+createConnection_name = Lens.lens (\CreateConnection' {name} -> name) (\s@CreateConnection' {} a -> s {name = a} :: CreateConnection)++-- | The type of authorization to use for the connection.+createConnection_authorizationType :: Lens.Lens' CreateConnection ConnectionAuthorizationType+createConnection_authorizationType = Lens.lens (\CreateConnection' {authorizationType} -> authorizationType) (\s@CreateConnection' {} a -> s {authorizationType = a} :: CreateConnection)++-- | A @CreateConnectionAuthRequestParameters@ object that contains the+-- authorization parameters to use to authorize with the endpoint.+createConnection_authParameters :: Lens.Lens' CreateConnection CreateConnectionAuthRequestParameters+createConnection_authParameters = Lens.lens (\CreateConnection' {authParameters} -> authParameters) (\s@CreateConnection' {} a -> s {authParameters = a} :: CreateConnection)++instance Core.AWSRequest CreateConnection where+ type+ AWSResponse CreateConnection =+ CreateConnectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateConnectionResponse'+ Prelude.<$> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "ConnectionState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateConnection where+ hashWithSalt _salt CreateConnection' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` authorizationType+ `Prelude.hashWithSalt` authParameters++instance Prelude.NFData CreateConnection where+ rnf CreateConnection' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf authorizationType+ `Prelude.seq` Prelude.rnf authParameters++instance Data.ToHeaders CreateConnection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.CreateConnection" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateConnection where+ toJSON CreateConnection' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just+ ("AuthorizationType" Data..= authorizationType),+ Prelude.Just+ ("AuthParameters" Data..= authParameters)+ ]+ )++instance Data.ToPath CreateConnection where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateConnection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateConnectionResponse' smart constructor.+data CreateConnectionResponse = CreateConnectionResponse'+ { -- | The ARN of the connection that was created by the request.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection that was created by the request.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last updated.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'createConnectionResponse_connectionArn' - The ARN of the connection that was created by the request.+--+-- 'connectionState', 'createConnectionResponse_connectionState' - The state of the connection that was created by the request.+--+-- 'creationTime', 'createConnectionResponse_creationTime' - A time stamp for the time that the connection was created.+--+-- 'lastModifiedTime', 'createConnectionResponse_lastModifiedTime' - A time stamp for the time that the connection was last updated.+--+-- 'httpStatus', 'createConnectionResponse_httpStatus' - The response's http status code.+newCreateConnectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateConnectionResponse+newCreateConnectionResponse pHttpStatus_ =+ CreateConnectionResponse'+ { connectionArn =+ Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the connection that was created by the request.+createConnectionResponse_connectionArn :: Lens.Lens' CreateConnectionResponse (Prelude.Maybe Prelude.Text)+createConnectionResponse_connectionArn = Lens.lens (\CreateConnectionResponse' {connectionArn} -> connectionArn) (\s@CreateConnectionResponse' {} a -> s {connectionArn = a} :: CreateConnectionResponse)++-- | The state of the connection that was created by the request.+createConnectionResponse_connectionState :: Lens.Lens' CreateConnectionResponse (Prelude.Maybe ConnectionState)+createConnectionResponse_connectionState = Lens.lens (\CreateConnectionResponse' {connectionState} -> connectionState) (\s@CreateConnectionResponse' {} a -> s {connectionState = a} :: CreateConnectionResponse)++-- | A time stamp for the time that the connection was created.+createConnectionResponse_creationTime :: Lens.Lens' CreateConnectionResponse (Prelude.Maybe Prelude.UTCTime)+createConnectionResponse_creationTime = Lens.lens (\CreateConnectionResponse' {creationTime} -> creationTime) (\s@CreateConnectionResponse' {} a -> s {creationTime = a} :: CreateConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last updated.+createConnectionResponse_lastModifiedTime :: Lens.Lens' CreateConnectionResponse (Prelude.Maybe Prelude.UTCTime)+createConnectionResponse_lastModifiedTime = Lens.lens (\CreateConnectionResponse' {lastModifiedTime} -> lastModifiedTime) (\s@CreateConnectionResponse' {} a -> s {lastModifiedTime = a} :: CreateConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+createConnectionResponse_httpStatus :: Lens.Lens' CreateConnectionResponse Prelude.Int+createConnectionResponse_httpStatus = Lens.lens (\CreateConnectionResponse' {httpStatus} -> httpStatus) (\s@CreateConnectionResponse' {} a -> s {httpStatus = a} :: CreateConnectionResponse)++instance Prelude.NFData CreateConnectionResponse where+ rnf CreateConnectionResponse' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreateEndpoint.hs view
@@ -0,0 +1,330 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreateEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a global endpoint. Global endpoints improve your application\'s+-- availability by making it regional-fault tolerant. To do this, you+-- define a primary and secondary Region with event buses in each Region.+-- You also create a Amazon Route 53 health check that will tell+-- EventBridge to route events to the secondary Region when an+-- \"unhealthy\" state is encountered and events will be routed back to the+-- primary Region when the health check reports a \"healthy\" state.+module Amazonka.CloudWatchEvents.CreateEndpoint+ ( -- * Creating a Request+ CreateEndpoint (..),+ newCreateEndpoint,++ -- * Request Lenses+ createEndpoint_description,+ createEndpoint_replicationConfig,+ createEndpoint_roleArn,+ createEndpoint_name,+ createEndpoint_routingConfig,+ createEndpoint_eventBuses,++ -- * Destructuring the Response+ CreateEndpointResponse (..),+ newCreateEndpointResponse,++ -- * Response Lenses+ createEndpointResponse_arn,+ createEndpointResponse_eventBuses,+ createEndpointResponse_name,+ createEndpointResponse_replicationConfig,+ createEndpointResponse_roleArn,+ createEndpointResponse_routingConfig,+ createEndpointResponse_state,+ createEndpointResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateEndpoint' smart constructor.+data CreateEndpoint = CreateEndpoint'+ { -- | A description of the global endpoint.+ description :: Prelude.Maybe Prelude.Text,+ -- | Enable or disable event replication.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used for replication.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the global endpoint. For example,+ -- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+ name :: Prelude.Text,+ -- | Configure the routing policy, including the health check and secondary+ -- Region..+ routingConfig :: RoutingConfig,+ -- | Define the event buses used.+ --+ -- The names of the event buses must be identical in each Region.+ eventBuses :: Prelude.NonEmpty EndpointEventBus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createEndpoint_description' - A description of the global endpoint.+--+-- 'replicationConfig', 'createEndpoint_replicationConfig' - Enable or disable event replication.+--+-- 'roleArn', 'createEndpoint_roleArn' - The ARN of the role used for replication.+--+-- 'name', 'createEndpoint_name' - The name of the global endpoint. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+--+-- 'routingConfig', 'createEndpoint_routingConfig' - Configure the routing policy, including the health check and secondary+-- Region..+--+-- 'eventBuses', 'createEndpoint_eventBuses' - Define the event buses used.+--+-- The names of the event buses must be identical in each Region.+newCreateEndpoint ::+ -- | 'name'+ Prelude.Text ->+ -- | 'routingConfig'+ RoutingConfig ->+ -- | 'eventBuses'+ Prelude.NonEmpty EndpointEventBus ->+ CreateEndpoint+newCreateEndpoint pName_ pRoutingConfig_ pEventBuses_ =+ CreateEndpoint'+ { description = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ name = pName_,+ routingConfig = pRoutingConfig_,+ eventBuses = Lens.coerced Lens.# pEventBuses_+ }++-- | A description of the global endpoint.+createEndpoint_description :: Lens.Lens' CreateEndpoint (Prelude.Maybe Prelude.Text)+createEndpoint_description = Lens.lens (\CreateEndpoint' {description} -> description) (\s@CreateEndpoint' {} a -> s {description = a} :: CreateEndpoint)++-- | Enable or disable event replication.+createEndpoint_replicationConfig :: Lens.Lens' CreateEndpoint (Prelude.Maybe ReplicationConfig)+createEndpoint_replicationConfig = Lens.lens (\CreateEndpoint' {replicationConfig} -> replicationConfig) (\s@CreateEndpoint' {} a -> s {replicationConfig = a} :: CreateEndpoint)++-- | The ARN of the role used for replication.+createEndpoint_roleArn :: Lens.Lens' CreateEndpoint (Prelude.Maybe Prelude.Text)+createEndpoint_roleArn = Lens.lens (\CreateEndpoint' {roleArn} -> roleArn) (\s@CreateEndpoint' {} a -> s {roleArn = a} :: CreateEndpoint)++-- | The name of the global endpoint. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+createEndpoint_name :: Lens.Lens' CreateEndpoint Prelude.Text+createEndpoint_name = Lens.lens (\CreateEndpoint' {name} -> name) (\s@CreateEndpoint' {} a -> s {name = a} :: CreateEndpoint)++-- | Configure the routing policy, including the health check and secondary+-- Region..+createEndpoint_routingConfig :: Lens.Lens' CreateEndpoint RoutingConfig+createEndpoint_routingConfig = Lens.lens (\CreateEndpoint' {routingConfig} -> routingConfig) (\s@CreateEndpoint' {} a -> s {routingConfig = a} :: CreateEndpoint)++-- | Define the event buses used.+--+-- The names of the event buses must be identical in each Region.+createEndpoint_eventBuses :: Lens.Lens' CreateEndpoint (Prelude.NonEmpty EndpointEventBus)+createEndpoint_eventBuses = Lens.lens (\CreateEndpoint' {eventBuses} -> eventBuses) (\s@CreateEndpoint' {} a -> s {eventBuses = a} :: CreateEndpoint) Prelude.. Lens.coerced++instance Core.AWSRequest CreateEndpoint where+ type+ AWSResponse CreateEndpoint =+ CreateEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateEndpointResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "EventBuses")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "ReplicationConfig")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (x Data..?> "RoutingConfig")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateEndpoint where+ hashWithSalt _salt CreateEndpoint' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` replicationConfig+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` routingConfig+ `Prelude.hashWithSalt` eventBuses++instance Prelude.NFData CreateEndpoint where+ rnf CreateEndpoint' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf eventBuses++instance Data.ToHeaders CreateEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.CreateEndpoint" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateEndpoint where+ toJSON CreateEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("ReplicationConfig" Data..=)+ Prelude.<$> replicationConfig,+ ("RoleArn" Data..=) Prelude.<$> roleArn,+ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("RoutingConfig" Data..= routingConfig),+ Prelude.Just ("EventBuses" Data..= eventBuses)+ ]+ )++instance Data.ToPath CreateEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateEndpointResponse' smart constructor.+data CreateEndpointResponse = CreateEndpointResponse'+ { -- | The ARN of the endpoint that was created by this request.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The event buses used by this request.+ eventBuses :: Prelude.Maybe (Prelude.NonEmpty EndpointEventBus),+ -- | The name of the endpoint that was created by this request.+ name :: Prelude.Maybe Prelude.Text,+ -- | Whether event replication was enabled or disabled by this request.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used by event replication for this request.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The routing configuration defined by this request.+ routingConfig :: Prelude.Maybe RoutingConfig,+ -- | The state of the endpoint that was created by this request.+ state :: Prelude.Maybe EndpointState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'createEndpointResponse_arn' - The ARN of the endpoint that was created by this request.+--+-- 'eventBuses', 'createEndpointResponse_eventBuses' - The event buses used by this request.+--+-- 'name', 'createEndpointResponse_name' - The name of the endpoint that was created by this request.+--+-- 'replicationConfig', 'createEndpointResponse_replicationConfig' - Whether event replication was enabled or disabled by this request.+--+-- 'roleArn', 'createEndpointResponse_roleArn' - The ARN of the role used by event replication for this request.+--+-- 'routingConfig', 'createEndpointResponse_routingConfig' - The routing configuration defined by this request.+--+-- 'state', 'createEndpointResponse_state' - The state of the endpoint that was created by this request.+--+-- 'httpStatus', 'createEndpointResponse_httpStatus' - The response's http status code.+newCreateEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateEndpointResponse+newCreateEndpointResponse pHttpStatus_ =+ CreateEndpointResponse'+ { arn = Prelude.Nothing,+ eventBuses = Prelude.Nothing,+ name = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ routingConfig = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the endpoint that was created by this request.+createEndpointResponse_arn :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe Prelude.Text)+createEndpointResponse_arn = Lens.lens (\CreateEndpointResponse' {arn} -> arn) (\s@CreateEndpointResponse' {} a -> s {arn = a} :: CreateEndpointResponse)++-- | The event buses used by this request.+createEndpointResponse_eventBuses :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe (Prelude.NonEmpty EndpointEventBus))+createEndpointResponse_eventBuses = Lens.lens (\CreateEndpointResponse' {eventBuses} -> eventBuses) (\s@CreateEndpointResponse' {} a -> s {eventBuses = a} :: CreateEndpointResponse) Prelude.. Lens.mapping Lens.coerced++-- | The name of the endpoint that was created by this request.+createEndpointResponse_name :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe Prelude.Text)+createEndpointResponse_name = Lens.lens (\CreateEndpointResponse' {name} -> name) (\s@CreateEndpointResponse' {} a -> s {name = a} :: CreateEndpointResponse)++-- | Whether event replication was enabled or disabled by this request.+createEndpointResponse_replicationConfig :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe ReplicationConfig)+createEndpointResponse_replicationConfig = Lens.lens (\CreateEndpointResponse' {replicationConfig} -> replicationConfig) (\s@CreateEndpointResponse' {} a -> s {replicationConfig = a} :: CreateEndpointResponse)++-- | The ARN of the role used by event replication for this request.+createEndpointResponse_roleArn :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe Prelude.Text)+createEndpointResponse_roleArn = Lens.lens (\CreateEndpointResponse' {roleArn} -> roleArn) (\s@CreateEndpointResponse' {} a -> s {roleArn = a} :: CreateEndpointResponse)++-- | The routing configuration defined by this request.+createEndpointResponse_routingConfig :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe RoutingConfig)+createEndpointResponse_routingConfig = Lens.lens (\CreateEndpointResponse' {routingConfig} -> routingConfig) (\s@CreateEndpointResponse' {} a -> s {routingConfig = a} :: CreateEndpointResponse)++-- | The state of the endpoint that was created by this request.+createEndpointResponse_state :: Lens.Lens' CreateEndpointResponse (Prelude.Maybe EndpointState)+createEndpointResponse_state = Lens.lens (\CreateEndpointResponse' {state} -> state) (\s@CreateEndpointResponse' {} a -> s {state = a} :: CreateEndpointResponse)++-- | The response's http status code.+createEndpointResponse_httpStatus :: Lens.Lens' CreateEndpointResponse Prelude.Int+createEndpointResponse_httpStatus = Lens.lens (\CreateEndpointResponse' {httpStatus} -> httpStatus) (\s@CreateEndpointResponse' {} a -> s {httpStatus = a} :: CreateEndpointResponse)++instance Prelude.NFData CreateEndpointResponse where+ rnf CreateEndpointResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreateEventBus.hs view
@@ -0,0 +1,225 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreateEventBus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new event bus within your account. This can be a custom event+-- bus which you can use to receive events from your custom applications+-- and services, or it can be a partner event bus which can be matched to a+-- partner event source.+module Amazonka.CloudWatchEvents.CreateEventBus+ ( -- * Creating a Request+ CreateEventBus (..),+ newCreateEventBus,++ -- * Request Lenses+ createEventBus_eventSourceName,+ createEventBus_tags,+ createEventBus_name,++ -- * Destructuring the Response+ CreateEventBusResponse (..),+ newCreateEventBusResponse,++ -- * Response Lenses+ createEventBusResponse_eventBusArn,+ createEventBusResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateEventBus' smart constructor.+data CreateEventBus = CreateEventBus'+ { -- | If you are creating a partner event bus, this specifies the partner+ -- event source that the new event bus will be matched with.+ eventSourceName :: Prelude.Maybe Prelude.Text,+ -- | Tags to associate with the event bus.+ tags :: Prelude.Maybe [Tag],+ -- | The name of the new event bus.+ --+ -- Event bus names cannot contain the \/ character. You can\'t use the name+ -- @default@ for a custom event bus, as this name is already used for your+ -- account\'s default event bus.+ --+ -- If this is a partner event bus, the name must exactly match the name of+ -- the partner event source that this event bus is matched to.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEventBus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventSourceName', 'createEventBus_eventSourceName' - If you are creating a partner event bus, this specifies the partner+-- event source that the new event bus will be matched with.+--+-- 'tags', 'createEventBus_tags' - Tags to associate with the event bus.+--+-- 'name', 'createEventBus_name' - The name of the new event bus.+--+-- Event bus names cannot contain the \/ character. You can\'t use the name+-- @default@ for a custom event bus, as this name is already used for your+-- account\'s default event bus.+--+-- If this is a partner event bus, the name must exactly match the name of+-- the partner event source that this event bus is matched to.+newCreateEventBus ::+ -- | 'name'+ Prelude.Text ->+ CreateEventBus+newCreateEventBus pName_ =+ CreateEventBus'+ { eventSourceName = Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_+ }++-- | If you are creating a partner event bus, this specifies the partner+-- event source that the new event bus will be matched with.+createEventBus_eventSourceName :: Lens.Lens' CreateEventBus (Prelude.Maybe Prelude.Text)+createEventBus_eventSourceName = Lens.lens (\CreateEventBus' {eventSourceName} -> eventSourceName) (\s@CreateEventBus' {} a -> s {eventSourceName = a} :: CreateEventBus)++-- | Tags to associate with the event bus.+createEventBus_tags :: Lens.Lens' CreateEventBus (Prelude.Maybe [Tag])+createEventBus_tags = Lens.lens (\CreateEventBus' {tags} -> tags) (\s@CreateEventBus' {} a -> s {tags = a} :: CreateEventBus) Prelude.. Lens.mapping Lens.coerced++-- | The name of the new event bus.+--+-- Event bus names cannot contain the \/ character. You can\'t use the name+-- @default@ for a custom event bus, as this name is already used for your+-- account\'s default event bus.+--+-- If this is a partner event bus, the name must exactly match the name of+-- the partner event source that this event bus is matched to.+createEventBus_name :: Lens.Lens' CreateEventBus Prelude.Text+createEventBus_name = Lens.lens (\CreateEventBus' {name} -> name) (\s@CreateEventBus' {} a -> s {name = a} :: CreateEventBus)++instance Core.AWSRequest CreateEventBus where+ type+ AWSResponse CreateEventBus =+ CreateEventBusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateEventBusResponse'+ Prelude.<$> (x Data..?> "EventBusArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateEventBus where+ hashWithSalt _salt CreateEventBus' {..} =+ _salt+ `Prelude.hashWithSalt` eventSourceName+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name++instance Prelude.NFData CreateEventBus where+ rnf CreateEventBus' {..} =+ Prelude.rnf eventSourceName+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateEventBus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.CreateEventBus" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateEventBus where+ toJSON CreateEventBus' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventSourceName" Data..=)+ Prelude.<$> eventSourceName,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath CreateEventBus where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateEventBus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateEventBusResponse' smart constructor.+data CreateEventBusResponse = CreateEventBusResponse'+ { -- | The ARN of the new event bus.+ eventBusArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEventBusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusArn', 'createEventBusResponse_eventBusArn' - The ARN of the new event bus.+--+-- 'httpStatus', 'createEventBusResponse_httpStatus' - The response's http status code.+newCreateEventBusResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateEventBusResponse+newCreateEventBusResponse pHttpStatus_ =+ CreateEventBusResponse'+ { eventBusArn =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the new event bus.+createEventBusResponse_eventBusArn :: Lens.Lens' CreateEventBusResponse (Prelude.Maybe Prelude.Text)+createEventBusResponse_eventBusArn = Lens.lens (\CreateEventBusResponse' {eventBusArn} -> eventBusArn) (\s@CreateEventBusResponse' {} a -> s {eventBusArn = a} :: CreateEventBusResponse)++-- | The response's http status code.+createEventBusResponse_httpStatus :: Lens.Lens' CreateEventBusResponse Prelude.Int+createEventBusResponse_httpStatus = Lens.lens (\CreateEventBusResponse' {httpStatus} -> httpStatus) (\s@CreateEventBusResponse' {} a -> s {httpStatus = a} :: CreateEventBusResponse)++instance Prelude.NFData CreateEventBusResponse where+ rnf CreateEventBusResponse' {..} =+ Prelude.rnf eventBusArn+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/CreatePartnerEventSource.hs view
@@ -0,0 +1,235 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.CreatePartnerEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Called by an SaaS partner to create a partner event source. This+-- operation is not used by Amazon Web Services customers.+--+-- Each partner event source can be used by one Amazon Web Services account+-- to create a matching partner event bus in that Amazon Web Services+-- account. A SaaS partner must create one partner event source for each+-- Amazon Web Services account that wants to receive those event types.+--+-- A partner event source creates events based on resources within the SaaS+-- partner\'s service or application.+--+-- An Amazon Web Services account that creates a partner event bus that+-- matches the partner event source can use that event bus to receive+-- events from the partner, and then process them using Amazon Web Services+-- Events rules and targets.+--+-- Partner event source names follow this format:+--+-- @ @/@partner_name@/@\/@/@event_namespace@/@\/@/@event_name@/@ @+--+-- /partner_name/ is determined during partner registration and identifies+-- the partner to Amazon Web Services customers. /event_namespace/ is+-- determined by the partner and is a way for the partner to categorize+-- their events. /event_name/ is determined by the partner, and should+-- uniquely identify an event-generating resource within the partner+-- system. The combination of /event_namespace/ and /event_name/ should+-- help Amazon Web Services customers decide whether to create an event bus+-- to receive these events.+module Amazonka.CloudWatchEvents.CreatePartnerEventSource+ ( -- * Creating a Request+ CreatePartnerEventSource (..),+ newCreatePartnerEventSource,++ -- * Request Lenses+ createPartnerEventSource_name,+ createPartnerEventSource_account,++ -- * Destructuring the Response+ CreatePartnerEventSourceResponse (..),+ newCreatePartnerEventSourceResponse,++ -- * Response Lenses+ createPartnerEventSourceResponse_eventSourceArn,+ createPartnerEventSourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreatePartnerEventSource' smart constructor.+data CreatePartnerEventSource = CreatePartnerEventSource'+ { -- | The name of the partner event source. This name must be unique and must+ -- be in the format+ -- @ @/@partner_name@/@\/@/@event_namespace@/@\/@/@event_name@/@ @. The+ -- Amazon Web Services account that wants to use this partner event source+ -- must create a partner event bus with a name that matches the name of the+ -- partner event source.+ name :: Prelude.Text,+ -- | The Amazon Web Services account ID that is permitted to create a+ -- matching partner event bus for this partner event source.+ account :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePartnerEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'createPartnerEventSource_name' - The name of the partner event source. This name must be unique and must+-- be in the format+-- @ @/@partner_name@/@\/@/@event_namespace@/@\/@/@event_name@/@ @. The+-- Amazon Web Services account that wants to use this partner event source+-- must create a partner event bus with a name that matches the name of the+-- partner event source.+--+-- 'account', 'createPartnerEventSource_account' - The Amazon Web Services account ID that is permitted to create a+-- matching partner event bus for this partner event source.+newCreatePartnerEventSource ::+ -- | 'name'+ Prelude.Text ->+ -- | 'account'+ Prelude.Text ->+ CreatePartnerEventSource+newCreatePartnerEventSource pName_ pAccount_ =+ CreatePartnerEventSource'+ { name = pName_,+ account = pAccount_+ }++-- | The name of the partner event source. This name must be unique and must+-- be in the format+-- @ @/@partner_name@/@\/@/@event_namespace@/@\/@/@event_name@/@ @. The+-- Amazon Web Services account that wants to use this partner event source+-- must create a partner event bus with a name that matches the name of the+-- partner event source.+createPartnerEventSource_name :: Lens.Lens' CreatePartnerEventSource Prelude.Text+createPartnerEventSource_name = Lens.lens (\CreatePartnerEventSource' {name} -> name) (\s@CreatePartnerEventSource' {} a -> s {name = a} :: CreatePartnerEventSource)++-- | The Amazon Web Services account ID that is permitted to create a+-- matching partner event bus for this partner event source.+createPartnerEventSource_account :: Lens.Lens' CreatePartnerEventSource Prelude.Text+createPartnerEventSource_account = Lens.lens (\CreatePartnerEventSource' {account} -> account) (\s@CreatePartnerEventSource' {} a -> s {account = a} :: CreatePartnerEventSource)++instance Core.AWSRequest CreatePartnerEventSource where+ type+ AWSResponse CreatePartnerEventSource =+ CreatePartnerEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreatePartnerEventSourceResponse'+ Prelude.<$> (x Data..?> "EventSourceArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreatePartnerEventSource where+ hashWithSalt _salt CreatePartnerEventSource' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` account++instance Prelude.NFData CreatePartnerEventSource where+ rnf CreatePartnerEventSource' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf account++instance Data.ToHeaders CreatePartnerEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.CreatePartnerEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreatePartnerEventSource where+ toJSON CreatePartnerEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Account" Data..= account)+ ]+ )++instance Data.ToPath CreatePartnerEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery CreatePartnerEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreatePartnerEventSourceResponse' smart constructor.+data CreatePartnerEventSourceResponse = CreatePartnerEventSourceResponse'+ { -- | The ARN of the partner event source.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreatePartnerEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventSourceArn', 'createPartnerEventSourceResponse_eventSourceArn' - The ARN of the partner event source.+--+-- 'httpStatus', 'createPartnerEventSourceResponse_httpStatus' - The response's http status code.+newCreatePartnerEventSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreatePartnerEventSourceResponse+newCreatePartnerEventSourceResponse pHttpStatus_ =+ CreatePartnerEventSourceResponse'+ { eventSourceArn =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the partner event source.+createPartnerEventSourceResponse_eventSourceArn :: Lens.Lens' CreatePartnerEventSourceResponse (Prelude.Maybe Prelude.Text)+createPartnerEventSourceResponse_eventSourceArn = Lens.lens (\CreatePartnerEventSourceResponse' {eventSourceArn} -> eventSourceArn) (\s@CreatePartnerEventSourceResponse' {} a -> s {eventSourceArn = a} :: CreatePartnerEventSourceResponse)++-- | The response's http status code.+createPartnerEventSourceResponse_httpStatus :: Lens.Lens' CreatePartnerEventSourceResponse Prelude.Int+createPartnerEventSourceResponse_httpStatus = Lens.lens (\CreatePartnerEventSourceResponse' {httpStatus} -> httpStatus) (\s@CreatePartnerEventSourceResponse' {} a -> s {httpStatus = a} :: CreatePartnerEventSourceResponse)++instance+ Prelude.NFData+ CreatePartnerEventSourceResponse+ where+ rnf CreatePartnerEventSourceResponse' {..} =+ Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeactivateEventSource.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeactivateEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- You can use this operation to temporarily stop receiving events from the+-- specified partner event source. The matching event bus is not deleted.+--+-- When you deactivate a partner event source, the source goes into PENDING+-- state. If it remains in PENDING state for more than two weeks, it is+-- deleted.+--+-- To activate a deactivated partner event source, use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ActivateEventSource.html ActivateEventSource>.+module Amazonka.CloudWatchEvents.DeactivateEventSource+ ( -- * Creating a Request+ DeactivateEventSource (..),+ newDeactivateEventSource,++ -- * Request Lenses+ deactivateEventSource_name,++ -- * Destructuring the Response+ DeactivateEventSourceResponse (..),+ newDeactivateEventSourceResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeactivateEventSource' smart constructor.+data DeactivateEventSource = DeactivateEventSource'+ { -- | The name of the partner event source to deactivate.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeactivateEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deactivateEventSource_name' - The name of the partner event source to deactivate.+newDeactivateEventSource ::+ -- | 'name'+ Prelude.Text ->+ DeactivateEventSource+newDeactivateEventSource pName_ =+ DeactivateEventSource' {name = pName_}++-- | The name of the partner event source to deactivate.+deactivateEventSource_name :: Lens.Lens' DeactivateEventSource Prelude.Text+deactivateEventSource_name = Lens.lens (\DeactivateEventSource' {name} -> name) (\s@DeactivateEventSource' {} a -> s {name = a} :: DeactivateEventSource)++instance Core.AWSRequest DeactivateEventSource where+ type+ AWSResponse DeactivateEventSource =+ DeactivateEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull DeactivateEventSourceResponse'++instance Prelude.Hashable DeactivateEventSource where+ hashWithSalt _salt DeactivateEventSource' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeactivateEventSource where+ rnf DeactivateEventSource' {..} = Prelude.rnf name++instance Data.ToHeaders DeactivateEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DeactivateEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeactivateEventSource where+ toJSON DeactivateEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeactivateEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery DeactivateEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeactivateEventSourceResponse' smart constructor.+data DeactivateEventSourceResponse = DeactivateEventSourceResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeactivateEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeactivateEventSourceResponse ::+ DeactivateEventSourceResponse+newDeactivateEventSourceResponse =+ DeactivateEventSourceResponse'++instance Prelude.NFData DeactivateEventSourceResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/DeauthorizeConnection.hs view
@@ -0,0 +1,218 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeauthorizeConnection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes all authorization parameters from the connection. This lets you+-- remove the secret from the connection so you can reuse it without having+-- to create a new connection.+module Amazonka.CloudWatchEvents.DeauthorizeConnection+ ( -- * Creating a Request+ DeauthorizeConnection (..),+ newDeauthorizeConnection,++ -- * Request Lenses+ deauthorizeConnection_name,++ -- * Destructuring the Response+ DeauthorizeConnectionResponse (..),+ newDeauthorizeConnectionResponse,++ -- * Response Lenses+ deauthorizeConnectionResponse_connectionArn,+ deauthorizeConnectionResponse_connectionState,+ deauthorizeConnectionResponse_creationTime,+ deauthorizeConnectionResponse_lastAuthorizedTime,+ deauthorizeConnectionResponse_lastModifiedTime,+ deauthorizeConnectionResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeauthorizeConnection' smart constructor.+data DeauthorizeConnection = DeauthorizeConnection'+ { -- | The name of the connection to remove authorization from.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeauthorizeConnection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deauthorizeConnection_name' - The name of the connection to remove authorization from.+newDeauthorizeConnection ::+ -- | 'name'+ Prelude.Text ->+ DeauthorizeConnection+newDeauthorizeConnection pName_ =+ DeauthorizeConnection' {name = pName_}++-- | The name of the connection to remove authorization from.+deauthorizeConnection_name :: Lens.Lens' DeauthorizeConnection Prelude.Text+deauthorizeConnection_name = Lens.lens (\DeauthorizeConnection' {name} -> name) (\s@DeauthorizeConnection' {} a -> s {name = a} :: DeauthorizeConnection)++instance Core.AWSRequest DeauthorizeConnection where+ type+ AWSResponse DeauthorizeConnection =+ DeauthorizeConnectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeauthorizeConnectionResponse'+ Prelude.<$> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "ConnectionState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastAuthorizedTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeauthorizeConnection where+ hashWithSalt _salt DeauthorizeConnection' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeauthorizeConnection where+ rnf DeauthorizeConnection' {..} = Prelude.rnf name++instance Data.ToHeaders DeauthorizeConnection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DeauthorizeConnection" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeauthorizeConnection where+ toJSON DeauthorizeConnection' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeauthorizeConnection where+ toPath = Prelude.const "/"++instance Data.ToQuery DeauthorizeConnection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeauthorizeConnectionResponse' smart constructor.+data DeauthorizeConnectionResponse = DeauthorizeConnectionResponse'+ { -- | The ARN of the connection that authorization was removed from.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last authorized.+ lastAuthorizedTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last updated.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeauthorizeConnectionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'deauthorizeConnectionResponse_connectionArn' - The ARN of the connection that authorization was removed from.+--+-- 'connectionState', 'deauthorizeConnectionResponse_connectionState' - The state of the connection.+--+-- 'creationTime', 'deauthorizeConnectionResponse_creationTime' - A time stamp for the time that the connection was created.+--+-- 'lastAuthorizedTime', 'deauthorizeConnectionResponse_lastAuthorizedTime' - A time stamp for the time that the connection was last authorized.+--+-- 'lastModifiedTime', 'deauthorizeConnectionResponse_lastModifiedTime' - A time stamp for the time that the connection was last updated.+--+-- 'httpStatus', 'deauthorizeConnectionResponse_httpStatus' - The response's http status code.+newDeauthorizeConnectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeauthorizeConnectionResponse+newDeauthorizeConnectionResponse pHttpStatus_ =+ DeauthorizeConnectionResponse'+ { connectionArn =+ Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastAuthorizedTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the connection that authorization was removed from.+deauthorizeConnectionResponse_connectionArn :: Lens.Lens' DeauthorizeConnectionResponse (Prelude.Maybe Prelude.Text)+deauthorizeConnectionResponse_connectionArn = Lens.lens (\DeauthorizeConnectionResponse' {connectionArn} -> connectionArn) (\s@DeauthorizeConnectionResponse' {} a -> s {connectionArn = a} :: DeauthorizeConnectionResponse)++-- | The state of the connection.+deauthorizeConnectionResponse_connectionState :: Lens.Lens' DeauthorizeConnectionResponse (Prelude.Maybe ConnectionState)+deauthorizeConnectionResponse_connectionState = Lens.lens (\DeauthorizeConnectionResponse' {connectionState} -> connectionState) (\s@DeauthorizeConnectionResponse' {} a -> s {connectionState = a} :: DeauthorizeConnectionResponse)++-- | A time stamp for the time that the connection was created.+deauthorizeConnectionResponse_creationTime :: Lens.Lens' DeauthorizeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deauthorizeConnectionResponse_creationTime = Lens.lens (\DeauthorizeConnectionResponse' {creationTime} -> creationTime) (\s@DeauthorizeConnectionResponse' {} a -> s {creationTime = a} :: DeauthorizeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last authorized.+deauthorizeConnectionResponse_lastAuthorizedTime :: Lens.Lens' DeauthorizeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deauthorizeConnectionResponse_lastAuthorizedTime = Lens.lens (\DeauthorizeConnectionResponse' {lastAuthorizedTime} -> lastAuthorizedTime) (\s@DeauthorizeConnectionResponse' {} a -> s {lastAuthorizedTime = a} :: DeauthorizeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last updated.+deauthorizeConnectionResponse_lastModifiedTime :: Lens.Lens' DeauthorizeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deauthorizeConnectionResponse_lastModifiedTime = Lens.lens (\DeauthorizeConnectionResponse' {lastModifiedTime} -> lastModifiedTime) (\s@DeauthorizeConnectionResponse' {} a -> s {lastModifiedTime = a} :: DeauthorizeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+deauthorizeConnectionResponse_httpStatus :: Lens.Lens' DeauthorizeConnectionResponse Prelude.Int+deauthorizeConnectionResponse_httpStatus = Lens.lens (\DeauthorizeConnectionResponse' {httpStatus} -> httpStatus) (\s@DeauthorizeConnectionResponse' {} a -> s {httpStatus = a} :: DeauthorizeConnectionResponse)++instance Prelude.NFData DeauthorizeConnectionResponse where+ rnf DeauthorizeConnectionResponse' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastAuthorizedTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeleteApiDestination.hs view
@@ -0,0 +1,156 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteApiDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified API destination.+module Amazonka.CloudWatchEvents.DeleteApiDestination+ ( -- * Creating a Request+ DeleteApiDestination (..),+ newDeleteApiDestination,++ -- * Request Lenses+ deleteApiDestination_name,++ -- * Destructuring the Response+ DeleteApiDestinationResponse (..),+ newDeleteApiDestinationResponse,++ -- * Response Lenses+ deleteApiDestinationResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteApiDestination' smart constructor.+data DeleteApiDestination = DeleteApiDestination'+ { -- | The name of the destination to delete.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteApiDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteApiDestination_name' - The name of the destination to delete.+newDeleteApiDestination ::+ -- | 'name'+ Prelude.Text ->+ DeleteApiDestination+newDeleteApiDestination pName_ =+ DeleteApiDestination' {name = pName_}++-- | The name of the destination to delete.+deleteApiDestination_name :: Lens.Lens' DeleteApiDestination Prelude.Text+deleteApiDestination_name = Lens.lens (\DeleteApiDestination' {name} -> name) (\s@DeleteApiDestination' {} a -> s {name = a} :: DeleteApiDestination)++instance Core.AWSRequest DeleteApiDestination where+ type+ AWSResponse DeleteApiDestination =+ DeleteApiDestinationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteApiDestinationResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteApiDestination where+ hashWithSalt _salt DeleteApiDestination' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteApiDestination where+ rnf DeleteApiDestination' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteApiDestination where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DeleteApiDestination" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteApiDestination where+ toJSON DeleteApiDestination' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeleteApiDestination where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteApiDestination where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteApiDestinationResponse' smart constructor.+data DeleteApiDestinationResponse = DeleteApiDestinationResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteApiDestinationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteApiDestinationResponse_httpStatus' - The response's http status code.+newDeleteApiDestinationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteApiDestinationResponse+newDeleteApiDestinationResponse pHttpStatus_ =+ DeleteApiDestinationResponse'+ { httpStatus =+ pHttpStatus_+ }++-- | The response's http status code.+deleteApiDestinationResponse_httpStatus :: Lens.Lens' DeleteApiDestinationResponse Prelude.Int+deleteApiDestinationResponse_httpStatus = Lens.lens (\DeleteApiDestinationResponse' {httpStatus} -> httpStatus) (\s@DeleteApiDestinationResponse' {} a -> s {httpStatus = a} :: DeleteApiDestinationResponse)++instance Prelude.NFData DeleteApiDestinationResponse where+ rnf DeleteApiDestinationResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeleteArchive.hs view
@@ -0,0 +1,151 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteArchive+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified archive.+module Amazonka.CloudWatchEvents.DeleteArchive+ ( -- * Creating a Request+ DeleteArchive (..),+ newDeleteArchive,++ -- * Request Lenses+ deleteArchive_archiveName,++ -- * Destructuring the Response+ DeleteArchiveResponse (..),+ newDeleteArchiveResponse,++ -- * Response Lenses+ deleteArchiveResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteArchive' smart constructor.+data DeleteArchive = DeleteArchive'+ { -- | The name of the archive to delete.+ archiveName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteArchive' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveName', 'deleteArchive_archiveName' - The name of the archive to delete.+newDeleteArchive ::+ -- | 'archiveName'+ Prelude.Text ->+ DeleteArchive+newDeleteArchive pArchiveName_ =+ DeleteArchive' {archiveName = pArchiveName_}++-- | The name of the archive to delete.+deleteArchive_archiveName :: Lens.Lens' DeleteArchive Prelude.Text+deleteArchive_archiveName = Lens.lens (\DeleteArchive' {archiveName} -> archiveName) (\s@DeleteArchive' {} a -> s {archiveName = a} :: DeleteArchive)++instance Core.AWSRequest DeleteArchive where+ type+ AWSResponse DeleteArchive =+ DeleteArchiveResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteArchiveResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteArchive where+ hashWithSalt _salt DeleteArchive' {..} =+ _salt `Prelude.hashWithSalt` archiveName++instance Prelude.NFData DeleteArchive where+ rnf DeleteArchive' {..} = Prelude.rnf archiveName++instance Data.ToHeaders DeleteArchive where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DeleteArchive" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteArchive where+ toJSON DeleteArchive' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ArchiveName" Data..= archiveName)]+ )++instance Data.ToPath DeleteArchive where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteArchive where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteArchiveResponse' smart constructor.+data DeleteArchiveResponse = DeleteArchiveResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteArchiveResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteArchiveResponse_httpStatus' - The response's http status code.+newDeleteArchiveResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteArchiveResponse+newDeleteArchiveResponse pHttpStatus_ =+ DeleteArchiveResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteArchiveResponse_httpStatus :: Lens.Lens' DeleteArchiveResponse Prelude.Int+deleteArchiveResponse_httpStatus = Lens.lens (\DeleteArchiveResponse' {httpStatus} -> httpStatus) (\s@DeleteArchiveResponse' {} a -> s {httpStatus = a} :: DeleteArchiveResponse)++instance Prelude.NFData DeleteArchiveResponse where+ rnf DeleteArchiveResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeleteConnection.hs view
@@ -0,0 +1,220 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteConnection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a connection.+module Amazonka.CloudWatchEvents.DeleteConnection+ ( -- * Creating a Request+ DeleteConnection (..),+ newDeleteConnection,++ -- * Request Lenses+ deleteConnection_name,++ -- * Destructuring the Response+ DeleteConnectionResponse (..),+ newDeleteConnectionResponse,++ -- * Response Lenses+ deleteConnectionResponse_connectionArn,+ deleteConnectionResponse_connectionState,+ deleteConnectionResponse_creationTime,+ deleteConnectionResponse_lastAuthorizedTime,+ deleteConnectionResponse_lastModifiedTime,+ deleteConnectionResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteConnection' smart constructor.+data DeleteConnection = DeleteConnection'+ { -- | The name of the connection to delete.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteConnection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteConnection_name' - The name of the connection to delete.+newDeleteConnection ::+ -- | 'name'+ Prelude.Text ->+ DeleteConnection+newDeleteConnection pName_ =+ DeleteConnection' {name = pName_}++-- | The name of the connection to delete.+deleteConnection_name :: Lens.Lens' DeleteConnection Prelude.Text+deleteConnection_name = Lens.lens (\DeleteConnection' {name} -> name) (\s@DeleteConnection' {} a -> s {name = a} :: DeleteConnection)++instance Core.AWSRequest DeleteConnection where+ type+ AWSResponse DeleteConnection =+ DeleteConnectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteConnectionResponse'+ Prelude.<$> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "ConnectionState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastAuthorizedTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteConnection where+ hashWithSalt _salt DeleteConnection' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteConnection where+ rnf DeleteConnection' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteConnection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DeleteConnection" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteConnection where+ toJSON DeleteConnection' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeleteConnection where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteConnection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteConnectionResponse' smart constructor.+data DeleteConnectionResponse = DeleteConnectionResponse'+ { -- | The ARN of the connection that was deleted.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection before it was deleted.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last authorized before+ -- it wa deleted.+ lastAuthorizedTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last modified before+ -- it was deleted.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteConnectionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'deleteConnectionResponse_connectionArn' - The ARN of the connection that was deleted.+--+-- 'connectionState', 'deleteConnectionResponse_connectionState' - The state of the connection before it was deleted.+--+-- 'creationTime', 'deleteConnectionResponse_creationTime' - A time stamp for the time that the connection was created.+--+-- 'lastAuthorizedTime', 'deleteConnectionResponse_lastAuthorizedTime' - A time stamp for the time that the connection was last authorized before+-- it wa deleted.+--+-- 'lastModifiedTime', 'deleteConnectionResponse_lastModifiedTime' - A time stamp for the time that the connection was last modified before+-- it was deleted.+--+-- 'httpStatus', 'deleteConnectionResponse_httpStatus' - The response's http status code.+newDeleteConnectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteConnectionResponse+newDeleteConnectionResponse pHttpStatus_ =+ DeleteConnectionResponse'+ { connectionArn =+ Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastAuthorizedTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the connection that was deleted.+deleteConnectionResponse_connectionArn :: Lens.Lens' DeleteConnectionResponse (Prelude.Maybe Prelude.Text)+deleteConnectionResponse_connectionArn = Lens.lens (\DeleteConnectionResponse' {connectionArn} -> connectionArn) (\s@DeleteConnectionResponse' {} a -> s {connectionArn = a} :: DeleteConnectionResponse)++-- | The state of the connection before it was deleted.+deleteConnectionResponse_connectionState :: Lens.Lens' DeleteConnectionResponse (Prelude.Maybe ConnectionState)+deleteConnectionResponse_connectionState = Lens.lens (\DeleteConnectionResponse' {connectionState} -> connectionState) (\s@DeleteConnectionResponse' {} a -> s {connectionState = a} :: DeleteConnectionResponse)++-- | A time stamp for the time that the connection was created.+deleteConnectionResponse_creationTime :: Lens.Lens' DeleteConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deleteConnectionResponse_creationTime = Lens.lens (\DeleteConnectionResponse' {creationTime} -> creationTime) (\s@DeleteConnectionResponse' {} a -> s {creationTime = a} :: DeleteConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last authorized before+-- it wa deleted.+deleteConnectionResponse_lastAuthorizedTime :: Lens.Lens' DeleteConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deleteConnectionResponse_lastAuthorizedTime = Lens.lens (\DeleteConnectionResponse' {lastAuthorizedTime} -> lastAuthorizedTime) (\s@DeleteConnectionResponse' {} a -> s {lastAuthorizedTime = a} :: DeleteConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last modified before+-- it was deleted.+deleteConnectionResponse_lastModifiedTime :: Lens.Lens' DeleteConnectionResponse (Prelude.Maybe Prelude.UTCTime)+deleteConnectionResponse_lastModifiedTime = Lens.lens (\DeleteConnectionResponse' {lastModifiedTime} -> lastModifiedTime) (\s@DeleteConnectionResponse' {} a -> s {lastModifiedTime = a} :: DeleteConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+deleteConnectionResponse_httpStatus :: Lens.Lens' DeleteConnectionResponse Prelude.Int+deleteConnectionResponse_httpStatus = Lens.lens (\DeleteConnectionResponse' {httpStatus} -> httpStatus) (\s@DeleteConnectionResponse' {} a -> s {httpStatus = a} :: DeleteConnectionResponse)++instance Prelude.NFData DeleteConnectionResponse where+ rnf DeleteConnectionResponse' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastAuthorizedTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeleteEndpoint.hs view
@@ -0,0 +1,157 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete an existing global endpoint. For more information about global+-- endpoints, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html Making applications Regional-fault tolerant with global endpoints and event replication>+-- in the Amazon EventBridge User Guide.+module Amazonka.CloudWatchEvents.DeleteEndpoint+ ( -- * Creating a Request+ DeleteEndpoint (..),+ newDeleteEndpoint,++ -- * Request Lenses+ deleteEndpoint_name,++ -- * Destructuring the Response+ DeleteEndpointResponse (..),+ newDeleteEndpointResponse,++ -- * Response Lenses+ deleteEndpointResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteEndpoint' smart constructor.+data DeleteEndpoint = DeleteEndpoint'+ { -- | The name of the endpoint you want to delete. For example,+ -- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@..+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteEndpoint_name' - The name of the endpoint you want to delete. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@..+newDeleteEndpoint ::+ -- | 'name'+ Prelude.Text ->+ DeleteEndpoint+newDeleteEndpoint pName_ =+ DeleteEndpoint' {name = pName_}++-- | The name of the endpoint you want to delete. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@..+deleteEndpoint_name :: Lens.Lens' DeleteEndpoint Prelude.Text+deleteEndpoint_name = Lens.lens (\DeleteEndpoint' {name} -> name) (\s@DeleteEndpoint' {} a -> s {name = a} :: DeleteEndpoint)++instance Core.AWSRequest DeleteEndpoint where+ type+ AWSResponse DeleteEndpoint =+ DeleteEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteEndpointResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteEndpoint where+ hashWithSalt _salt DeleteEndpoint' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteEndpoint where+ rnf DeleteEndpoint' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DeleteEndpoint" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteEndpoint where+ toJSON DeleteEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeleteEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteEndpointResponse' smart constructor.+data DeleteEndpointResponse = DeleteEndpointResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteEndpointResponse_httpStatus' - The response's http status code.+newDeleteEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteEndpointResponse+newDeleteEndpointResponse pHttpStatus_ =+ DeleteEndpointResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteEndpointResponse_httpStatus :: Lens.Lens' DeleteEndpointResponse Prelude.Int+deleteEndpointResponse_httpStatus = Lens.lens (\DeleteEndpointResponse' {httpStatus} -> httpStatus) (\s@DeleteEndpointResponse' {} a -> s {httpStatus = a} :: DeleteEndpointResponse)++instance Prelude.NFData DeleteEndpointResponse where+ rnf DeleteEndpointResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DeleteEventBus.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteEventBus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified custom event bus or partner event bus. All rules+-- associated with this event bus need to be deleted. You can\'t delete+-- your account\'s default event bus.+module Amazonka.CloudWatchEvents.DeleteEventBus+ ( -- * Creating a Request+ DeleteEventBus (..),+ newDeleteEventBus,++ -- * Request Lenses+ deleteEventBus_name,++ -- * Destructuring the Response+ DeleteEventBusResponse (..),+ newDeleteEventBusResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteEventBus' smart constructor.+data DeleteEventBus = DeleteEventBus'+ { -- | The name of the event bus to delete.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEventBus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteEventBus_name' - The name of the event bus to delete.+newDeleteEventBus ::+ -- | 'name'+ Prelude.Text ->+ DeleteEventBus+newDeleteEventBus pName_ =+ DeleteEventBus' {name = pName_}++-- | The name of the event bus to delete.+deleteEventBus_name :: Lens.Lens' DeleteEventBus Prelude.Text+deleteEventBus_name = Lens.lens (\DeleteEventBus' {name} -> name) (\s@DeleteEventBus' {} a -> s {name = a} :: DeleteEventBus)++instance Core.AWSRequest DeleteEventBus where+ type+ AWSResponse DeleteEventBus =+ DeleteEventBusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull DeleteEventBusResponse'++instance Prelude.Hashable DeleteEventBus where+ hashWithSalt _salt DeleteEventBus' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteEventBus where+ rnf DeleteEventBus' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteEventBus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DeleteEventBus" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteEventBus where+ toJSON DeleteEventBus' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DeleteEventBus where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteEventBus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteEventBusResponse' smart constructor.+data DeleteEventBusResponse = DeleteEventBusResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEventBusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteEventBusResponse ::+ DeleteEventBusResponse+newDeleteEventBusResponse = DeleteEventBusResponse'++instance Prelude.NFData DeleteEventBusResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/DeletePartnerEventSource.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeletePartnerEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This operation is used by SaaS partners to delete a partner event+-- source. This operation is not used by Amazon Web Services customers.+--+-- When you delete an event source, the status of the corresponding partner+-- event bus in the Amazon Web Services customer account becomes DELETED.+module Amazonka.CloudWatchEvents.DeletePartnerEventSource+ ( -- * Creating a Request+ DeletePartnerEventSource (..),+ newDeletePartnerEventSource,++ -- * Request Lenses+ deletePartnerEventSource_name,+ deletePartnerEventSource_account,++ -- * Destructuring the Response+ DeletePartnerEventSourceResponse (..),+ newDeletePartnerEventSourceResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeletePartnerEventSource' smart constructor.+data DeletePartnerEventSource = DeletePartnerEventSource'+ { -- | The name of the event source to delete.+ name :: Prelude.Text,+ -- | The Amazon Web Services account ID of the Amazon Web Services customer+ -- that the event source was created for.+ account :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePartnerEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deletePartnerEventSource_name' - The name of the event source to delete.+--+-- 'account', 'deletePartnerEventSource_account' - The Amazon Web Services account ID of the Amazon Web Services customer+-- that the event source was created for.+newDeletePartnerEventSource ::+ -- | 'name'+ Prelude.Text ->+ -- | 'account'+ Prelude.Text ->+ DeletePartnerEventSource+newDeletePartnerEventSource pName_ pAccount_ =+ DeletePartnerEventSource'+ { name = pName_,+ account = pAccount_+ }++-- | The name of the event source to delete.+deletePartnerEventSource_name :: Lens.Lens' DeletePartnerEventSource Prelude.Text+deletePartnerEventSource_name = Lens.lens (\DeletePartnerEventSource' {name} -> name) (\s@DeletePartnerEventSource' {} a -> s {name = a} :: DeletePartnerEventSource)++-- | The Amazon Web Services account ID of the Amazon Web Services customer+-- that the event source was created for.+deletePartnerEventSource_account :: Lens.Lens' DeletePartnerEventSource Prelude.Text+deletePartnerEventSource_account = Lens.lens (\DeletePartnerEventSource' {account} -> account) (\s@DeletePartnerEventSource' {} a -> s {account = a} :: DeletePartnerEventSource)++instance Core.AWSRequest DeletePartnerEventSource where+ type+ AWSResponse DeletePartnerEventSource =+ DeletePartnerEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull+ DeletePartnerEventSourceResponse'++instance Prelude.Hashable DeletePartnerEventSource where+ hashWithSalt _salt DeletePartnerEventSource' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` account++instance Prelude.NFData DeletePartnerEventSource where+ rnf DeletePartnerEventSource' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf account++instance Data.ToHeaders DeletePartnerEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DeletePartnerEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeletePartnerEventSource where+ toJSON DeletePartnerEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Account" Data..= account)+ ]+ )++instance Data.ToPath DeletePartnerEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery DeletePartnerEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeletePartnerEventSourceResponse' smart constructor.+data DeletePartnerEventSourceResponse = DeletePartnerEventSourceResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeletePartnerEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeletePartnerEventSourceResponse ::+ DeletePartnerEventSourceResponse+newDeletePartnerEventSourceResponse =+ DeletePartnerEventSourceResponse'++instance+ Prelude.NFData+ DeletePartnerEventSourceResponse+ where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/DeleteRule.hs view
@@ -0,0 +1,189 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DeleteRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified rule.+--+-- Before you can delete the rule, you must remove all targets, using+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemoveTargets.html RemoveTargets>.+--+-- When you delete a rule, incoming events might continue to match to the+-- deleted rule. Allow a short period of time for changes to take effect.+--+-- If you call delete rule multiple times for the same rule, all calls will+-- succeed. When you call delete rule for a non-existent custom eventbus,+-- @ResourceNotFoundException@ is returned.+--+-- Managed rules are rules created and managed by another Amazon Web+-- Services service on your behalf. These rules are created by those other+-- Amazon Web Services services to support functionality in those services.+-- You can delete these rules using the @Force@ option, but you should do+-- so only if you are sure the other service is not still using that rule.+module Amazonka.CloudWatchEvents.DeleteRule+ ( -- * Creating a Request+ DeleteRule (..),+ newDeleteRule,++ -- * Request Lenses+ deleteRule_eventBusName,+ deleteRule_force,+ deleteRule_name,++ -- * Destructuring the Response+ DeleteRuleResponse (..),+ newDeleteRuleResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteRule' smart constructor.+data DeleteRule = DeleteRule'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | If this is a managed rule, created by an Amazon Web Services service on+ -- your behalf, you must specify @Force@ as @True@ to delete the rule. This+ -- parameter is ignored for rules that are not managed rules. You can check+ -- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+ -- and checking the @ManagedBy@ field of the response.+ force :: Prelude.Maybe Prelude.Bool,+ -- | The name of the rule.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'deleteRule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'force', 'deleteRule_force' - If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, you must specify @Force@ as @True@ to delete the rule. This+-- parameter is ignored for rules that are not managed rules. You can check+-- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+-- and checking the @ManagedBy@ field of the response.+--+-- 'name', 'deleteRule_name' - The name of the rule.+newDeleteRule ::+ -- | 'name'+ Prelude.Text ->+ DeleteRule+newDeleteRule pName_ =+ DeleteRule'+ { eventBusName = Prelude.Nothing,+ force = Prelude.Nothing,+ name = pName_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+deleteRule_eventBusName :: Lens.Lens' DeleteRule (Prelude.Maybe Prelude.Text)+deleteRule_eventBusName = Lens.lens (\DeleteRule' {eventBusName} -> eventBusName) (\s@DeleteRule' {} a -> s {eventBusName = a} :: DeleteRule)++-- | If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, you must specify @Force@ as @True@ to delete the rule. This+-- parameter is ignored for rules that are not managed rules. You can check+-- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+-- and checking the @ManagedBy@ field of the response.+deleteRule_force :: Lens.Lens' DeleteRule (Prelude.Maybe Prelude.Bool)+deleteRule_force = Lens.lens (\DeleteRule' {force} -> force) (\s@DeleteRule' {} a -> s {force = a} :: DeleteRule)++-- | The name of the rule.+deleteRule_name :: Lens.Lens' DeleteRule Prelude.Text+deleteRule_name = Lens.lens (\DeleteRule' {name} -> name) (\s@DeleteRule' {} a -> s {name = a} :: DeleteRule)++instance Core.AWSRequest DeleteRule where+ type AWSResponse DeleteRule = DeleteRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull DeleteRuleResponse'++instance Prelude.Hashable DeleteRule where+ hashWithSalt _salt DeleteRule' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` force+ `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteRule where+ rnf DeleteRule' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf force+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DeleteRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DeleteRule" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteRule where+ toJSON DeleteRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Force" Data..=) Prelude.<$> force,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath DeleteRule where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteRuleResponse' smart constructor.+data DeleteRuleResponse = DeleteRuleResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteRuleResponse ::+ DeleteRuleResponse+newDeleteRuleResponse = DeleteRuleResponse'++instance Prelude.NFData DeleteRuleResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/DescribeApiDestination.hs view
@@ -0,0 +1,298 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeApiDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves details about an API destination.+module Amazonka.CloudWatchEvents.DescribeApiDestination+ ( -- * Creating a Request+ DescribeApiDestination (..),+ newDescribeApiDestination,++ -- * Request Lenses+ describeApiDestination_name,++ -- * Destructuring the Response+ DescribeApiDestinationResponse (..),+ newDescribeApiDestinationResponse,++ -- * Response Lenses+ describeApiDestinationResponse_apiDestinationArn,+ describeApiDestinationResponse_apiDestinationState,+ describeApiDestinationResponse_connectionArn,+ describeApiDestinationResponse_creationTime,+ describeApiDestinationResponse_description,+ describeApiDestinationResponse_httpMethod,+ describeApiDestinationResponse_invocationEndpoint,+ describeApiDestinationResponse_invocationRateLimitPerSecond,+ describeApiDestinationResponse_lastModifiedTime,+ describeApiDestinationResponse_name,+ describeApiDestinationResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeApiDestination' smart constructor.+data DescribeApiDestination = DescribeApiDestination'+ { -- | The name of the API destination to retrieve.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeApiDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'describeApiDestination_name' - The name of the API destination to retrieve.+newDescribeApiDestination ::+ -- | 'name'+ Prelude.Text ->+ DescribeApiDestination+newDescribeApiDestination pName_ =+ DescribeApiDestination' {name = pName_}++-- | The name of the API destination to retrieve.+describeApiDestination_name :: Lens.Lens' DescribeApiDestination Prelude.Text+describeApiDestination_name = Lens.lens (\DescribeApiDestination' {name} -> name) (\s@DescribeApiDestination' {} a -> s {name = a} :: DescribeApiDestination)++instance Core.AWSRequest DescribeApiDestination where+ type+ AWSResponse DescribeApiDestination =+ DescribeApiDestinationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeApiDestinationResponse'+ Prelude.<$> (x Data..?> "ApiDestinationArn")+ Prelude.<*> (x Data..?> "ApiDestinationState")+ Prelude.<*> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "HttpMethod")+ Prelude.<*> (x Data..?> "InvocationEndpoint")+ Prelude.<*> (x Data..?> "InvocationRateLimitPerSecond")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeApiDestination where+ hashWithSalt _salt DescribeApiDestination' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeApiDestination where+ rnf DescribeApiDestination' {..} = Prelude.rnf name++instance Data.ToHeaders DescribeApiDestination where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DescribeApiDestination" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeApiDestination where+ toJSON DescribeApiDestination' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DescribeApiDestination where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeApiDestination where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeApiDestinationResponse' smart constructor.+data DescribeApiDestinationResponse = DescribeApiDestinationResponse'+ { -- | The ARN of the API destination retrieved.+ apiDestinationArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the API destination retrieved.+ apiDestinationState :: Prelude.Maybe ApiDestinationState,+ -- | The ARN of the connection specified for the API destination retrieved.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the API destination was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The description for the API destination retrieved.+ description :: Prelude.Maybe Prelude.Text,+ -- | The method to use to connect to the HTTP endpoint.+ httpMethod :: Prelude.Maybe ApiDestinationHttpMethod,+ -- | The URL to use to connect to the HTTP endpoint.+ invocationEndpoint :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of invocations per second to specified for the API+ -- destination. Note that if you set the invocation rate maximum to a value+ -- lower the rate necessary to send all events received on to the+ -- destination HTTP endpoint, some events may not be delivered within the+ -- 24-hour retry window. If you plan to set the rate lower than the rate+ -- necessary to deliver all events, consider using a dead-letter queue to+ -- catch events that are not delivered within 24 hours.+ invocationRateLimitPerSecond :: Prelude.Maybe Prelude.Natural,+ -- | A time stamp for the time that the API destination was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the API destination retrieved.+ name :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeApiDestinationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiDestinationArn', 'describeApiDestinationResponse_apiDestinationArn' - The ARN of the API destination retrieved.+--+-- 'apiDestinationState', 'describeApiDestinationResponse_apiDestinationState' - The state of the API destination retrieved.+--+-- 'connectionArn', 'describeApiDestinationResponse_connectionArn' - The ARN of the connection specified for the API destination retrieved.+--+-- 'creationTime', 'describeApiDestinationResponse_creationTime' - A time stamp for the time that the API destination was created.+--+-- 'description', 'describeApiDestinationResponse_description' - The description for the API destination retrieved.+--+-- 'httpMethod', 'describeApiDestinationResponse_httpMethod' - The method to use to connect to the HTTP endpoint.+--+-- 'invocationEndpoint', 'describeApiDestinationResponse_invocationEndpoint' - The URL to use to connect to the HTTP endpoint.+--+-- 'invocationRateLimitPerSecond', 'describeApiDestinationResponse_invocationRateLimitPerSecond' - The maximum number of invocations per second to specified for the API+-- destination. Note that if you set the invocation rate maximum to a value+-- lower the rate necessary to send all events received on to the+-- destination HTTP endpoint, some events may not be delivered within the+-- 24-hour retry window. If you plan to set the rate lower than the rate+-- necessary to deliver all events, consider using a dead-letter queue to+-- catch events that are not delivered within 24 hours.+--+-- 'lastModifiedTime', 'describeApiDestinationResponse_lastModifiedTime' - A time stamp for the time that the API destination was last modified.+--+-- 'name', 'describeApiDestinationResponse_name' - The name of the API destination retrieved.+--+-- 'httpStatus', 'describeApiDestinationResponse_httpStatus' - The response's http status code.+newDescribeApiDestinationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeApiDestinationResponse+newDescribeApiDestinationResponse pHttpStatus_ =+ DescribeApiDestinationResponse'+ { apiDestinationArn =+ Prelude.Nothing,+ apiDestinationState = Prelude.Nothing,+ connectionArn = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ httpMethod = Prelude.Nothing,+ invocationEndpoint = Prelude.Nothing,+ invocationRateLimitPerSecond =+ Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the API destination retrieved.+describeApiDestinationResponse_apiDestinationArn :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Text)+describeApiDestinationResponse_apiDestinationArn = Lens.lens (\DescribeApiDestinationResponse' {apiDestinationArn} -> apiDestinationArn) (\s@DescribeApiDestinationResponse' {} a -> s {apiDestinationArn = a} :: DescribeApiDestinationResponse)++-- | The state of the API destination retrieved.+describeApiDestinationResponse_apiDestinationState :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe ApiDestinationState)+describeApiDestinationResponse_apiDestinationState = Lens.lens (\DescribeApiDestinationResponse' {apiDestinationState} -> apiDestinationState) (\s@DescribeApiDestinationResponse' {} a -> s {apiDestinationState = a} :: DescribeApiDestinationResponse)++-- | The ARN of the connection specified for the API destination retrieved.+describeApiDestinationResponse_connectionArn :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Text)+describeApiDestinationResponse_connectionArn = Lens.lens (\DescribeApiDestinationResponse' {connectionArn} -> connectionArn) (\s@DescribeApiDestinationResponse' {} a -> s {connectionArn = a} :: DescribeApiDestinationResponse)++-- | A time stamp for the time that the API destination was created.+describeApiDestinationResponse_creationTime :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+describeApiDestinationResponse_creationTime = Lens.lens (\DescribeApiDestinationResponse' {creationTime} -> creationTime) (\s@DescribeApiDestinationResponse' {} a -> s {creationTime = a} :: DescribeApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | The description for the API destination retrieved.+describeApiDestinationResponse_description :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Text)+describeApiDestinationResponse_description = Lens.lens (\DescribeApiDestinationResponse' {description} -> description) (\s@DescribeApiDestinationResponse' {} a -> s {description = a} :: DescribeApiDestinationResponse)++-- | The method to use to connect to the HTTP endpoint.+describeApiDestinationResponse_httpMethod :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe ApiDestinationHttpMethod)+describeApiDestinationResponse_httpMethod = Lens.lens (\DescribeApiDestinationResponse' {httpMethod} -> httpMethod) (\s@DescribeApiDestinationResponse' {} a -> s {httpMethod = a} :: DescribeApiDestinationResponse)++-- | The URL to use to connect to the HTTP endpoint.+describeApiDestinationResponse_invocationEndpoint :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Text)+describeApiDestinationResponse_invocationEndpoint = Lens.lens (\DescribeApiDestinationResponse' {invocationEndpoint} -> invocationEndpoint) (\s@DescribeApiDestinationResponse' {} a -> s {invocationEndpoint = a} :: DescribeApiDestinationResponse)++-- | The maximum number of invocations per second to specified for the API+-- destination. Note that if you set the invocation rate maximum to a value+-- lower the rate necessary to send all events received on to the+-- destination HTTP endpoint, some events may not be delivered within the+-- 24-hour retry window. If you plan to set the rate lower than the rate+-- necessary to deliver all events, consider using a dead-letter queue to+-- catch events that are not delivered within 24 hours.+describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Natural)+describeApiDestinationResponse_invocationRateLimitPerSecond = Lens.lens (\DescribeApiDestinationResponse' {invocationRateLimitPerSecond} -> invocationRateLimitPerSecond) (\s@DescribeApiDestinationResponse' {} a -> s {invocationRateLimitPerSecond = a} :: DescribeApiDestinationResponse)++-- | A time stamp for the time that the API destination was last modified.+describeApiDestinationResponse_lastModifiedTime :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+describeApiDestinationResponse_lastModifiedTime = Lens.lens (\DescribeApiDestinationResponse' {lastModifiedTime} -> lastModifiedTime) (\s@DescribeApiDestinationResponse' {} a -> s {lastModifiedTime = a} :: DescribeApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the API destination retrieved.+describeApiDestinationResponse_name :: Lens.Lens' DescribeApiDestinationResponse (Prelude.Maybe Prelude.Text)+describeApiDestinationResponse_name = Lens.lens (\DescribeApiDestinationResponse' {name} -> name) (\s@DescribeApiDestinationResponse' {} a -> s {name = a} :: DescribeApiDestinationResponse)++-- | The response's http status code.+describeApiDestinationResponse_httpStatus :: Lens.Lens' DescribeApiDestinationResponse Prelude.Int+describeApiDestinationResponse_httpStatus = Lens.lens (\DescribeApiDestinationResponse' {httpStatus} -> httpStatus) (\s@DescribeApiDestinationResponse' {} a -> s {httpStatus = a} :: DescribeApiDestinationResponse)++instance+ Prelude.NFData+ DescribeApiDestinationResponse+ where+ rnf DescribeApiDestinationResponse' {..} =+ Prelude.rnf apiDestinationArn+ `Prelude.seq` Prelude.rnf apiDestinationState+ `Prelude.seq` Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf httpMethod+ `Prelude.seq` Prelude.rnf invocationEndpoint+ `Prelude.seq` Prelude.rnf invocationRateLimitPerSecond+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeArchive.hs view
@@ -0,0 +1,286 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeArchive+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves details about an archive.+module Amazonka.CloudWatchEvents.DescribeArchive+ ( -- * Creating a Request+ DescribeArchive (..),+ newDescribeArchive,++ -- * Request Lenses+ describeArchive_archiveName,++ -- * Destructuring the Response+ DescribeArchiveResponse (..),+ newDescribeArchiveResponse,++ -- * Response Lenses+ describeArchiveResponse_archiveArn,+ describeArchiveResponse_archiveName,+ describeArchiveResponse_creationTime,+ describeArchiveResponse_description,+ describeArchiveResponse_eventCount,+ describeArchiveResponse_eventPattern,+ describeArchiveResponse_eventSourceArn,+ describeArchiveResponse_retentionDays,+ describeArchiveResponse_sizeBytes,+ describeArchiveResponse_state,+ describeArchiveResponse_stateReason,+ describeArchiveResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeArchive' smart constructor.+data DescribeArchive = DescribeArchive'+ { -- | The name of the archive to retrieve.+ archiveName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeArchive' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveName', 'describeArchive_archiveName' - The name of the archive to retrieve.+newDescribeArchive ::+ -- | 'archiveName'+ Prelude.Text ->+ DescribeArchive+newDescribeArchive pArchiveName_ =+ DescribeArchive' {archiveName = pArchiveName_}++-- | The name of the archive to retrieve.+describeArchive_archiveName :: Lens.Lens' DescribeArchive Prelude.Text+describeArchive_archiveName = Lens.lens (\DescribeArchive' {archiveName} -> archiveName) (\s@DescribeArchive' {} a -> s {archiveName = a} :: DescribeArchive)++instance Core.AWSRequest DescribeArchive where+ type+ AWSResponse DescribeArchive =+ DescribeArchiveResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeArchiveResponse'+ Prelude.<$> (x Data..?> "ArchiveArn")+ Prelude.<*> (x Data..?> "ArchiveName")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "EventCount")+ Prelude.<*> (x Data..?> "EventPattern")+ Prelude.<*> (x Data..?> "EventSourceArn")+ Prelude.<*> (x Data..?> "RetentionDays")+ Prelude.<*> (x Data..?> "SizeBytes")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeArchive where+ hashWithSalt _salt DescribeArchive' {..} =+ _salt `Prelude.hashWithSalt` archiveName++instance Prelude.NFData DescribeArchive where+ rnf DescribeArchive' {..} = Prelude.rnf archiveName++instance Data.ToHeaders DescribeArchive where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DescribeArchive" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeArchive where+ toJSON DescribeArchive' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ArchiveName" Data..= archiveName)]+ )++instance Data.ToPath DescribeArchive where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeArchive where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeArchiveResponse' smart constructor.+data DescribeArchiveResponse = DescribeArchiveResponse'+ { -- | The ARN of the archive.+ archiveArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the archive.+ archiveName :: Prelude.Maybe Prelude.Text,+ -- | The time at which the archive was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The description of the archive.+ description :: Prelude.Maybe Prelude.Text,+ -- | The number of events in the archive.+ eventCount :: Prelude.Maybe Prelude.Integer,+ -- | The event pattern used to filter events sent to the archive.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the event source associated with the archive.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The number of days to retain events for in the archive.+ retentionDays :: Prelude.Maybe Prelude.Natural,+ -- | The size of the archive in bytes.+ sizeBytes :: Prelude.Maybe Prelude.Integer,+ -- | The state of the archive.+ state :: Prelude.Maybe ArchiveState,+ -- | The reason that the archive is in the state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeArchiveResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveArn', 'describeArchiveResponse_archiveArn' - The ARN of the archive.+--+-- 'archiveName', 'describeArchiveResponse_archiveName' - The name of the archive.+--+-- 'creationTime', 'describeArchiveResponse_creationTime' - The time at which the archive was created.+--+-- 'description', 'describeArchiveResponse_description' - The description of the archive.+--+-- 'eventCount', 'describeArchiveResponse_eventCount' - The number of events in the archive.+--+-- 'eventPattern', 'describeArchiveResponse_eventPattern' - The event pattern used to filter events sent to the archive.+--+-- 'eventSourceArn', 'describeArchiveResponse_eventSourceArn' - The ARN of the event source associated with the archive.+--+-- 'retentionDays', 'describeArchiveResponse_retentionDays' - The number of days to retain events for in the archive.+--+-- 'sizeBytes', 'describeArchiveResponse_sizeBytes' - The size of the archive in bytes.+--+-- 'state', 'describeArchiveResponse_state' - The state of the archive.+--+-- 'stateReason', 'describeArchiveResponse_stateReason' - The reason that the archive is in the state.+--+-- 'httpStatus', 'describeArchiveResponse_httpStatus' - The response's http status code.+newDescribeArchiveResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeArchiveResponse+newDescribeArchiveResponse pHttpStatus_ =+ DescribeArchiveResponse'+ { archiveArn =+ Prelude.Nothing,+ archiveName = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ eventCount = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ eventSourceArn = Prelude.Nothing,+ retentionDays = Prelude.Nothing,+ sizeBytes = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the archive.+describeArchiveResponse_archiveArn :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_archiveArn = Lens.lens (\DescribeArchiveResponse' {archiveArn} -> archiveArn) (\s@DescribeArchiveResponse' {} a -> s {archiveArn = a} :: DescribeArchiveResponse)++-- | The name of the archive.+describeArchiveResponse_archiveName :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_archiveName = Lens.lens (\DescribeArchiveResponse' {archiveName} -> archiveName) (\s@DescribeArchiveResponse' {} a -> s {archiveName = a} :: DescribeArchiveResponse)++-- | The time at which the archive was created.+describeArchiveResponse_creationTime :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.UTCTime)+describeArchiveResponse_creationTime = Lens.lens (\DescribeArchiveResponse' {creationTime} -> creationTime) (\s@DescribeArchiveResponse' {} a -> s {creationTime = a} :: DescribeArchiveResponse) Prelude.. Lens.mapping Data._Time++-- | The description of the archive.+describeArchiveResponse_description :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_description = Lens.lens (\DescribeArchiveResponse' {description} -> description) (\s@DescribeArchiveResponse' {} a -> s {description = a} :: DescribeArchiveResponse)++-- | The number of events in the archive.+describeArchiveResponse_eventCount :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Integer)+describeArchiveResponse_eventCount = Lens.lens (\DescribeArchiveResponse' {eventCount} -> eventCount) (\s@DescribeArchiveResponse' {} a -> s {eventCount = a} :: DescribeArchiveResponse)++-- | The event pattern used to filter events sent to the archive.+describeArchiveResponse_eventPattern :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_eventPattern = Lens.lens (\DescribeArchiveResponse' {eventPattern} -> eventPattern) (\s@DescribeArchiveResponse' {} a -> s {eventPattern = a} :: DescribeArchiveResponse)++-- | The ARN of the event source associated with the archive.+describeArchiveResponse_eventSourceArn :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_eventSourceArn = Lens.lens (\DescribeArchiveResponse' {eventSourceArn} -> eventSourceArn) (\s@DescribeArchiveResponse' {} a -> s {eventSourceArn = a} :: DescribeArchiveResponse)++-- | The number of days to retain events for in the archive.+describeArchiveResponse_retentionDays :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Natural)+describeArchiveResponse_retentionDays = Lens.lens (\DescribeArchiveResponse' {retentionDays} -> retentionDays) (\s@DescribeArchiveResponse' {} a -> s {retentionDays = a} :: DescribeArchiveResponse)++-- | The size of the archive in bytes.+describeArchiveResponse_sizeBytes :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Integer)+describeArchiveResponse_sizeBytes = Lens.lens (\DescribeArchiveResponse' {sizeBytes} -> sizeBytes) (\s@DescribeArchiveResponse' {} a -> s {sizeBytes = a} :: DescribeArchiveResponse)++-- | The state of the archive.+describeArchiveResponse_state :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe ArchiveState)+describeArchiveResponse_state = Lens.lens (\DescribeArchiveResponse' {state} -> state) (\s@DescribeArchiveResponse' {} a -> s {state = a} :: DescribeArchiveResponse)++-- | The reason that the archive is in the state.+describeArchiveResponse_stateReason :: Lens.Lens' DescribeArchiveResponse (Prelude.Maybe Prelude.Text)+describeArchiveResponse_stateReason = Lens.lens (\DescribeArchiveResponse' {stateReason} -> stateReason) (\s@DescribeArchiveResponse' {} a -> s {stateReason = a} :: DescribeArchiveResponse)++-- | The response's http status code.+describeArchiveResponse_httpStatus :: Lens.Lens' DescribeArchiveResponse Prelude.Int+describeArchiveResponse_httpStatus = Lens.lens (\DescribeArchiveResponse' {httpStatus} -> httpStatus) (\s@DescribeArchiveResponse' {} a -> s {httpStatus = a} :: DescribeArchiveResponse)++instance Prelude.NFData DescribeArchiveResponse where+ rnf DescribeArchiveResponse' {..} =+ Prelude.rnf archiveArn+ `Prelude.seq` Prelude.rnf archiveName+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventCount+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf retentionDays+ `Prelude.seq` Prelude.rnf sizeBytes+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeConnection.hs view
@@ -0,0 +1,291 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeConnection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves details about a connection.+module Amazonka.CloudWatchEvents.DescribeConnection+ ( -- * Creating a Request+ DescribeConnection (..),+ newDescribeConnection,++ -- * Request Lenses+ describeConnection_name,++ -- * Destructuring the Response+ DescribeConnectionResponse (..),+ newDescribeConnectionResponse,++ -- * Response Lenses+ describeConnectionResponse_authParameters,+ describeConnectionResponse_authorizationType,+ describeConnectionResponse_connectionArn,+ describeConnectionResponse_connectionState,+ describeConnectionResponse_creationTime,+ describeConnectionResponse_description,+ describeConnectionResponse_lastAuthorizedTime,+ describeConnectionResponse_lastModifiedTime,+ describeConnectionResponse_name,+ describeConnectionResponse_secretArn,+ describeConnectionResponse_stateReason,+ describeConnectionResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeConnection' smart constructor.+data DescribeConnection = DescribeConnection'+ { -- | The name of the connection to retrieve.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeConnection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'describeConnection_name' - The name of the connection to retrieve.+newDescribeConnection ::+ -- | 'name'+ Prelude.Text ->+ DescribeConnection+newDescribeConnection pName_ =+ DescribeConnection' {name = pName_}++-- | The name of the connection to retrieve.+describeConnection_name :: Lens.Lens' DescribeConnection Prelude.Text+describeConnection_name = Lens.lens (\DescribeConnection' {name} -> name) (\s@DescribeConnection' {} a -> s {name = a} :: DescribeConnection)++instance Core.AWSRequest DescribeConnection where+ type+ AWSResponse DescribeConnection =+ DescribeConnectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeConnectionResponse'+ Prelude.<$> (x Data..?> "AuthParameters")+ Prelude.<*> (x Data..?> "AuthorizationType")+ Prelude.<*> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "ConnectionState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "LastAuthorizedTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "SecretArn")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeConnection where+ hashWithSalt _salt DescribeConnection' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeConnection where+ rnf DescribeConnection' {..} = Prelude.rnf name++instance Data.ToHeaders DescribeConnection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DescribeConnection" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeConnection where+ toJSON DescribeConnection' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DescribeConnection where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeConnection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeConnectionResponse' smart constructor.+data DescribeConnectionResponse = DescribeConnectionResponse'+ { -- | The parameters to use for authorization for the connection.+ authParameters :: Prelude.Maybe ConnectionAuthResponseParameters,+ -- | The type of authorization specified for the connection.+ authorizationType :: Prelude.Maybe ConnectionAuthorizationType,+ -- | The ARN of the connection retrieved.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection retrieved.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The description for the connection retrieved.+ description :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the connection was last authorized.+ lastAuthorizedTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the connection retrieved.+ name :: Prelude.Maybe Prelude.Text,+ -- | The ARN of the secret created from the authorization parameters+ -- specified for the connection.+ secretArn :: Prelude.Maybe Prelude.Text,+ -- | The reason that the connection is in the current connection state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeConnectionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authParameters', 'describeConnectionResponse_authParameters' - The parameters to use for authorization for the connection.+--+-- 'authorizationType', 'describeConnectionResponse_authorizationType' - The type of authorization specified for the connection.+--+-- 'connectionArn', 'describeConnectionResponse_connectionArn' - The ARN of the connection retrieved.+--+-- 'connectionState', 'describeConnectionResponse_connectionState' - The state of the connection retrieved.+--+-- 'creationTime', 'describeConnectionResponse_creationTime' - A time stamp for the time that the connection was created.+--+-- 'description', 'describeConnectionResponse_description' - The description for the connection retrieved.+--+-- 'lastAuthorizedTime', 'describeConnectionResponse_lastAuthorizedTime' - A time stamp for the time that the connection was last authorized.+--+-- 'lastModifiedTime', 'describeConnectionResponse_lastModifiedTime' - A time stamp for the time that the connection was last modified.+--+-- 'name', 'describeConnectionResponse_name' - The name of the connection retrieved.+--+-- 'secretArn', 'describeConnectionResponse_secretArn' - The ARN of the secret created from the authorization parameters+-- specified for the connection.+--+-- 'stateReason', 'describeConnectionResponse_stateReason' - The reason that the connection is in the current connection state.+--+-- 'httpStatus', 'describeConnectionResponse_httpStatus' - The response's http status code.+newDescribeConnectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeConnectionResponse+newDescribeConnectionResponse pHttpStatus_ =+ DescribeConnectionResponse'+ { authParameters =+ Prelude.Nothing,+ authorizationType = Prelude.Nothing,+ connectionArn = Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ lastAuthorizedTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ secretArn = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The parameters to use for authorization for the connection.+describeConnectionResponse_authParameters :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe ConnectionAuthResponseParameters)+describeConnectionResponse_authParameters = Lens.lens (\DescribeConnectionResponse' {authParameters} -> authParameters) (\s@DescribeConnectionResponse' {} a -> s {authParameters = a} :: DescribeConnectionResponse)++-- | The type of authorization specified for the connection.+describeConnectionResponse_authorizationType :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe ConnectionAuthorizationType)+describeConnectionResponse_authorizationType = Lens.lens (\DescribeConnectionResponse' {authorizationType} -> authorizationType) (\s@DescribeConnectionResponse' {} a -> s {authorizationType = a} :: DescribeConnectionResponse)++-- | The ARN of the connection retrieved.+describeConnectionResponse_connectionArn :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.Text)+describeConnectionResponse_connectionArn = Lens.lens (\DescribeConnectionResponse' {connectionArn} -> connectionArn) (\s@DescribeConnectionResponse' {} a -> s {connectionArn = a} :: DescribeConnectionResponse)++-- | The state of the connection retrieved.+describeConnectionResponse_connectionState :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe ConnectionState)+describeConnectionResponse_connectionState = Lens.lens (\DescribeConnectionResponse' {connectionState} -> connectionState) (\s@DescribeConnectionResponse' {} a -> s {connectionState = a} :: DescribeConnectionResponse)++-- | A time stamp for the time that the connection was created.+describeConnectionResponse_creationTime :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+describeConnectionResponse_creationTime = Lens.lens (\DescribeConnectionResponse' {creationTime} -> creationTime) (\s@DescribeConnectionResponse' {} a -> s {creationTime = a} :: DescribeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The description for the connection retrieved.+describeConnectionResponse_description :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.Text)+describeConnectionResponse_description = Lens.lens (\DescribeConnectionResponse' {description} -> description) (\s@DescribeConnectionResponse' {} a -> s {description = a} :: DescribeConnectionResponse)++-- | A time stamp for the time that the connection was last authorized.+describeConnectionResponse_lastAuthorizedTime :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+describeConnectionResponse_lastAuthorizedTime = Lens.lens (\DescribeConnectionResponse' {lastAuthorizedTime} -> lastAuthorizedTime) (\s@DescribeConnectionResponse' {} a -> s {lastAuthorizedTime = a} :: DescribeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last modified.+describeConnectionResponse_lastModifiedTime :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.UTCTime)+describeConnectionResponse_lastModifiedTime = Lens.lens (\DescribeConnectionResponse' {lastModifiedTime} -> lastModifiedTime) (\s@DescribeConnectionResponse' {} a -> s {lastModifiedTime = a} :: DescribeConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the connection retrieved.+describeConnectionResponse_name :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.Text)+describeConnectionResponse_name = Lens.lens (\DescribeConnectionResponse' {name} -> name) (\s@DescribeConnectionResponse' {} a -> s {name = a} :: DescribeConnectionResponse)++-- | The ARN of the secret created from the authorization parameters+-- specified for the connection.+describeConnectionResponse_secretArn :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.Text)+describeConnectionResponse_secretArn = Lens.lens (\DescribeConnectionResponse' {secretArn} -> secretArn) (\s@DescribeConnectionResponse' {} a -> s {secretArn = a} :: DescribeConnectionResponse)++-- | The reason that the connection is in the current connection state.+describeConnectionResponse_stateReason :: Lens.Lens' DescribeConnectionResponse (Prelude.Maybe Prelude.Text)+describeConnectionResponse_stateReason = Lens.lens (\DescribeConnectionResponse' {stateReason} -> stateReason) (\s@DescribeConnectionResponse' {} a -> s {stateReason = a} :: DescribeConnectionResponse)++-- | The response's http status code.+describeConnectionResponse_httpStatus :: Lens.Lens' DescribeConnectionResponse Prelude.Int+describeConnectionResponse_httpStatus = Lens.lens (\DescribeConnectionResponse' {httpStatus} -> httpStatus) (\s@DescribeConnectionResponse' {} a -> s {httpStatus = a} :: DescribeConnectionResponse)++instance Prelude.NFData DescribeConnectionResponse where+ rnf DescribeConnectionResponse' {..} =+ Prelude.rnf authParameters+ `Prelude.seq` Prelude.rnf authorizationType+ `Prelude.seq` Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf lastAuthorizedTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf secretArn+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeEndpoint.hs view
@@ -0,0 +1,351 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get the information about an existing global endpoint. For more+-- information about global endpoints, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html Making applications Regional-fault tolerant with global endpoints and event replication>+-- in the Amazon EventBridge User Guide..+module Amazonka.CloudWatchEvents.DescribeEndpoint+ ( -- * Creating a Request+ DescribeEndpoint (..),+ newDescribeEndpoint,++ -- * Request Lenses+ describeEndpoint_homeRegion,+ describeEndpoint_name,++ -- * Destructuring the Response+ DescribeEndpointResponse (..),+ newDescribeEndpointResponse,++ -- * Response Lenses+ describeEndpointResponse_arn,+ describeEndpointResponse_creationTime,+ describeEndpointResponse_description,+ describeEndpointResponse_endpointId,+ describeEndpointResponse_endpointUrl,+ describeEndpointResponse_eventBuses,+ describeEndpointResponse_lastModifiedTime,+ describeEndpointResponse_name,+ describeEndpointResponse_replicationConfig,+ describeEndpointResponse_roleArn,+ describeEndpointResponse_routingConfig,+ describeEndpointResponse_state,+ describeEndpointResponse_stateReason,+ describeEndpointResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEndpoint' smart constructor.+data DescribeEndpoint = DescribeEndpoint'+ { -- | The primary Region of the endpoint you want to get information about.+ -- For example @\"HomeRegion\": \"us-east-1\"@.+ homeRegion :: Prelude.Maybe Prelude.Text,+ -- | The name of the endpoint you want to get information about. For example,+ -- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'homeRegion', 'describeEndpoint_homeRegion' - The primary Region of the endpoint you want to get information about.+-- For example @\"HomeRegion\": \"us-east-1\"@.+--+-- 'name', 'describeEndpoint_name' - The name of the endpoint you want to get information about. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+newDescribeEndpoint ::+ -- | 'name'+ Prelude.Text ->+ DescribeEndpoint+newDescribeEndpoint pName_ =+ DescribeEndpoint'+ { homeRegion = Prelude.Nothing,+ name = pName_+ }++-- | The primary Region of the endpoint you want to get information about.+-- For example @\"HomeRegion\": \"us-east-1\"@.+describeEndpoint_homeRegion :: Lens.Lens' DescribeEndpoint (Prelude.Maybe Prelude.Text)+describeEndpoint_homeRegion = Lens.lens (\DescribeEndpoint' {homeRegion} -> homeRegion) (\s@DescribeEndpoint' {} a -> s {homeRegion = a} :: DescribeEndpoint)++-- | The name of the endpoint you want to get information about. For example,+-- @\"Name\":\"us-east-2-custom_bus_A-endpoint\"@.+describeEndpoint_name :: Lens.Lens' DescribeEndpoint Prelude.Text+describeEndpoint_name = Lens.lens (\DescribeEndpoint' {name} -> name) (\s@DescribeEndpoint' {} a -> s {name = a} :: DescribeEndpoint)++instance Core.AWSRequest DescribeEndpoint where+ type+ AWSResponse DescribeEndpoint =+ DescribeEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEndpointResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "EndpointId")+ Prelude.<*> (x Data..?> "EndpointUrl")+ Prelude.<*> (x Data..?> "EventBuses")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "ReplicationConfig")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (x Data..?> "RoutingConfig")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeEndpoint where+ hashWithSalt _salt DescribeEndpoint' {..} =+ _salt+ `Prelude.hashWithSalt` homeRegion+ `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeEndpoint where+ rnf DescribeEndpoint' {..} =+ Prelude.rnf homeRegion+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DescribeEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DescribeEndpoint" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeEndpoint where+ toJSON DescribeEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("HomeRegion" Data..=) Prelude.<$> homeRegion,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath DescribeEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEndpointResponse' smart constructor.+data DescribeEndpointResponse = DescribeEndpointResponse'+ { -- | The ARN of the endpoint you asked for information about.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The time the endpoint you asked for information about was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The description of the endpoint you asked for information about.+ description :: Prelude.Maybe Prelude.Text,+ -- | The ID of the endpoint you asked for information about.+ endpointId :: Prelude.Maybe Prelude.Text,+ -- | The URL of the endpoint you asked for information about.+ endpointUrl :: Prelude.Maybe Prelude.Text,+ -- | The event buses being used by the endpoint you asked for information+ -- about.+ eventBuses :: Prelude.Maybe (Prelude.NonEmpty EndpointEventBus),+ -- | The last time the endpoint you asked for information about was modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the endpoint you asked for information about.+ name :: Prelude.Maybe Prelude.Text,+ -- | Whether replication is enabled or disabled for the endpoint you asked+ -- for information about.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used by the endpoint you asked for information+ -- about.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The routing configuration of the endpoint you asked for information+ -- about.+ routingConfig :: Prelude.Maybe RoutingConfig,+ -- | The current state of the endpoint you asked for information about.+ state :: Prelude.Maybe EndpointState,+ -- | The reason the endpoint you asked for information about is in its+ -- current state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describeEndpointResponse_arn' - The ARN of the endpoint you asked for information about.+--+-- 'creationTime', 'describeEndpointResponse_creationTime' - The time the endpoint you asked for information about was created.+--+-- 'description', 'describeEndpointResponse_description' - The description of the endpoint you asked for information about.+--+-- 'endpointId', 'describeEndpointResponse_endpointId' - The ID of the endpoint you asked for information about.+--+-- 'endpointUrl', 'describeEndpointResponse_endpointUrl' - The URL of the endpoint you asked for information about.+--+-- 'eventBuses', 'describeEndpointResponse_eventBuses' - The event buses being used by the endpoint you asked for information+-- about.+--+-- 'lastModifiedTime', 'describeEndpointResponse_lastModifiedTime' - The last time the endpoint you asked for information about was modified.+--+-- 'name', 'describeEndpointResponse_name' - The name of the endpoint you asked for information about.+--+-- 'replicationConfig', 'describeEndpointResponse_replicationConfig' - Whether replication is enabled or disabled for the endpoint you asked+-- for information about.+--+-- 'roleArn', 'describeEndpointResponse_roleArn' - The ARN of the role used by the endpoint you asked for information+-- about.+--+-- 'routingConfig', 'describeEndpointResponse_routingConfig' - The routing configuration of the endpoint you asked for information+-- about.+--+-- 'state', 'describeEndpointResponse_state' - The current state of the endpoint you asked for information about.+--+-- 'stateReason', 'describeEndpointResponse_stateReason' - The reason the endpoint you asked for information about is in its+-- current state.+--+-- 'httpStatus', 'describeEndpointResponse_httpStatus' - The response's http status code.+newDescribeEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEndpointResponse+newDescribeEndpointResponse pHttpStatus_ =+ DescribeEndpointResponse'+ { arn = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ endpointId = Prelude.Nothing,+ endpointUrl = Prelude.Nothing,+ eventBuses = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ routingConfig = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the endpoint you asked for information about.+describeEndpointResponse_arn :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_arn = Lens.lens (\DescribeEndpointResponse' {arn} -> arn) (\s@DescribeEndpointResponse' {} a -> s {arn = a} :: DescribeEndpointResponse)++-- | The time the endpoint you asked for information about was created.+describeEndpointResponse_creationTime :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.UTCTime)+describeEndpointResponse_creationTime = Lens.lens (\DescribeEndpointResponse' {creationTime} -> creationTime) (\s@DescribeEndpointResponse' {} a -> s {creationTime = a} :: DescribeEndpointResponse) Prelude.. Lens.mapping Data._Time++-- | The description of the endpoint you asked for information about.+describeEndpointResponse_description :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_description = Lens.lens (\DescribeEndpointResponse' {description} -> description) (\s@DescribeEndpointResponse' {} a -> s {description = a} :: DescribeEndpointResponse)++-- | The ID of the endpoint you asked for information about.+describeEndpointResponse_endpointId :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_endpointId = Lens.lens (\DescribeEndpointResponse' {endpointId} -> endpointId) (\s@DescribeEndpointResponse' {} a -> s {endpointId = a} :: DescribeEndpointResponse)++-- | The URL of the endpoint you asked for information about.+describeEndpointResponse_endpointUrl :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_endpointUrl = Lens.lens (\DescribeEndpointResponse' {endpointUrl} -> endpointUrl) (\s@DescribeEndpointResponse' {} a -> s {endpointUrl = a} :: DescribeEndpointResponse)++-- | The event buses being used by the endpoint you asked for information+-- about.+describeEndpointResponse_eventBuses :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe (Prelude.NonEmpty EndpointEventBus))+describeEndpointResponse_eventBuses = Lens.lens (\DescribeEndpointResponse' {eventBuses} -> eventBuses) (\s@DescribeEndpointResponse' {} a -> s {eventBuses = a} :: DescribeEndpointResponse) Prelude.. Lens.mapping Lens.coerced++-- | The last time the endpoint you asked for information about was modified.+describeEndpointResponse_lastModifiedTime :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.UTCTime)+describeEndpointResponse_lastModifiedTime = Lens.lens (\DescribeEndpointResponse' {lastModifiedTime} -> lastModifiedTime) (\s@DescribeEndpointResponse' {} a -> s {lastModifiedTime = a} :: DescribeEndpointResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the endpoint you asked for information about.+describeEndpointResponse_name :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_name = Lens.lens (\DescribeEndpointResponse' {name} -> name) (\s@DescribeEndpointResponse' {} a -> s {name = a} :: DescribeEndpointResponse)++-- | Whether replication is enabled or disabled for the endpoint you asked+-- for information about.+describeEndpointResponse_replicationConfig :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe ReplicationConfig)+describeEndpointResponse_replicationConfig = Lens.lens (\DescribeEndpointResponse' {replicationConfig} -> replicationConfig) (\s@DescribeEndpointResponse' {} a -> s {replicationConfig = a} :: DescribeEndpointResponse)++-- | The ARN of the role used by the endpoint you asked for information+-- about.+describeEndpointResponse_roleArn :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_roleArn = Lens.lens (\DescribeEndpointResponse' {roleArn} -> roleArn) (\s@DescribeEndpointResponse' {} a -> s {roleArn = a} :: DescribeEndpointResponse)++-- | The routing configuration of the endpoint you asked for information+-- about.+describeEndpointResponse_routingConfig :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe RoutingConfig)+describeEndpointResponse_routingConfig = Lens.lens (\DescribeEndpointResponse' {routingConfig} -> routingConfig) (\s@DescribeEndpointResponse' {} a -> s {routingConfig = a} :: DescribeEndpointResponse)++-- | The current state of the endpoint you asked for information about.+describeEndpointResponse_state :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe EndpointState)+describeEndpointResponse_state = Lens.lens (\DescribeEndpointResponse' {state} -> state) (\s@DescribeEndpointResponse' {} a -> s {state = a} :: DescribeEndpointResponse)++-- | The reason the endpoint you asked for information about is in its+-- current state.+describeEndpointResponse_stateReason :: Lens.Lens' DescribeEndpointResponse (Prelude.Maybe Prelude.Text)+describeEndpointResponse_stateReason = Lens.lens (\DescribeEndpointResponse' {stateReason} -> stateReason) (\s@DescribeEndpointResponse' {} a -> s {stateReason = a} :: DescribeEndpointResponse)++-- | The response's http status code.+describeEndpointResponse_httpStatus :: Lens.Lens' DescribeEndpointResponse Prelude.Int+describeEndpointResponse_httpStatus = Lens.lens (\DescribeEndpointResponse' {httpStatus} -> httpStatus) (\s@DescribeEndpointResponse' {} a -> s {httpStatus = a} :: DescribeEndpointResponse)++instance Prelude.NFData DescribeEndpointResponse where+ rnf DescribeEndpointResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf endpointId+ `Prelude.seq` Prelude.rnf endpointUrl+ `Prelude.seq` Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeEventBus.hs view
@@ -0,0 +1,207 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeEventBus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Displays details about an event bus in your account. This can include+-- the external Amazon Web Services accounts that are permitted to write+-- events to your default event bus, and the associated policy. For custom+-- event buses and partner event buses, it displays the name, ARN, policy,+-- state, and creation time.+--+-- To enable your account to receive events from other accounts on its+-- default event bus, use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html PutPermission>.+--+-- For more information about partner event buses, see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html CreateEventBus>.+module Amazonka.CloudWatchEvents.DescribeEventBus+ ( -- * Creating a Request+ DescribeEventBus (..),+ newDescribeEventBus,++ -- * Request Lenses+ describeEventBus_name,++ -- * Destructuring the Response+ DescribeEventBusResponse (..),+ newDescribeEventBusResponse,++ -- * Response Lenses+ describeEventBusResponse_arn,+ describeEventBusResponse_name,+ describeEventBusResponse_policy,+ describeEventBusResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventBus' smart constructor.+data DescribeEventBus = DescribeEventBus'+ { -- | The name or ARN of the event bus to show details for. If you omit this,+ -- the default event bus is displayed.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventBus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'describeEventBus_name' - The name or ARN of the event bus to show details for. If you omit this,+-- the default event bus is displayed.+newDescribeEventBus ::+ DescribeEventBus+newDescribeEventBus =+ DescribeEventBus' {name = Prelude.Nothing}++-- | The name or ARN of the event bus to show details for. If you omit this,+-- the default event bus is displayed.+describeEventBus_name :: Lens.Lens' DescribeEventBus (Prelude.Maybe Prelude.Text)+describeEventBus_name = Lens.lens (\DescribeEventBus' {name} -> name) (\s@DescribeEventBus' {} a -> s {name = a} :: DescribeEventBus)++instance Core.AWSRequest DescribeEventBus where+ type+ AWSResponse DescribeEventBus =+ DescribeEventBusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEventBusResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "Policy")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeEventBus where+ hashWithSalt _salt DescribeEventBus' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeEventBus where+ rnf DescribeEventBus' {..} = Prelude.rnf name++instance Data.ToHeaders DescribeEventBus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DescribeEventBus" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeEventBus where+ toJSON DescribeEventBus' {..} =+ Data.object+ ( Prelude.catMaybes+ [("Name" Data..=) Prelude.<$> name]+ )++instance Data.ToPath DescribeEventBus where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventBus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventBusResponse' smart constructor.+data DescribeEventBusResponse = DescribeEventBusResponse'+ { -- | The Amazon Resource Name (ARN) of the account permitted to write events+ -- to the current account.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the event bus. Currently, this is always @default@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The policy that enables the external account to send events to your+ -- account.+ policy :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventBusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describeEventBusResponse_arn' - The Amazon Resource Name (ARN) of the account permitted to write events+-- to the current account.+--+-- 'name', 'describeEventBusResponse_name' - The name of the event bus. Currently, this is always @default@.+--+-- 'policy', 'describeEventBusResponse_policy' - The policy that enables the external account to send events to your+-- account.+--+-- 'httpStatus', 'describeEventBusResponse_httpStatus' - The response's http status code.+newDescribeEventBusResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEventBusResponse+newDescribeEventBusResponse pHttpStatus_ =+ DescribeEventBusResponse'+ { arn = Prelude.Nothing,+ name = Prelude.Nothing,+ policy = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the account permitted to write events+-- to the current account.+describeEventBusResponse_arn :: Lens.Lens' DescribeEventBusResponse (Prelude.Maybe Prelude.Text)+describeEventBusResponse_arn = Lens.lens (\DescribeEventBusResponse' {arn} -> arn) (\s@DescribeEventBusResponse' {} a -> s {arn = a} :: DescribeEventBusResponse)++-- | The name of the event bus. Currently, this is always @default@.+describeEventBusResponse_name :: Lens.Lens' DescribeEventBusResponse (Prelude.Maybe Prelude.Text)+describeEventBusResponse_name = Lens.lens (\DescribeEventBusResponse' {name} -> name) (\s@DescribeEventBusResponse' {} a -> s {name = a} :: DescribeEventBusResponse)++-- | The policy that enables the external account to send events to your+-- account.+describeEventBusResponse_policy :: Lens.Lens' DescribeEventBusResponse (Prelude.Maybe Prelude.Text)+describeEventBusResponse_policy = Lens.lens (\DescribeEventBusResponse' {policy} -> policy) (\s@DescribeEventBusResponse' {} a -> s {policy = a} :: DescribeEventBusResponse)++-- | The response's http status code.+describeEventBusResponse_httpStatus :: Lens.Lens' DescribeEventBusResponse Prelude.Int+describeEventBusResponse_httpStatus = Lens.lens (\DescribeEventBusResponse' {httpStatus} -> httpStatus) (\s@DescribeEventBusResponse' {} a -> s {httpStatus = a} :: DescribeEventBusResponse)++instance Prelude.NFData DescribeEventBusResponse where+ rnf DescribeEventBusResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf policy+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeEventSource.hs view
@@ -0,0 +1,246 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This operation lists details about a partner event source that is shared+-- with your account.+module Amazonka.CloudWatchEvents.DescribeEventSource+ ( -- * Creating a Request+ DescribeEventSource (..),+ newDescribeEventSource,++ -- * Request Lenses+ describeEventSource_name,++ -- * Destructuring the Response+ DescribeEventSourceResponse (..),+ newDescribeEventSourceResponse,++ -- * Response Lenses+ describeEventSourceResponse_arn,+ describeEventSourceResponse_createdBy,+ describeEventSourceResponse_creationTime,+ describeEventSourceResponse_expirationTime,+ describeEventSourceResponse_name,+ describeEventSourceResponse_state,+ describeEventSourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEventSource' smart constructor.+data DescribeEventSource = DescribeEventSource'+ { -- | The name of the partner event source to display the details of.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'describeEventSource_name' - The name of the partner event source to display the details of.+newDescribeEventSource ::+ -- | 'name'+ Prelude.Text ->+ DescribeEventSource+newDescribeEventSource pName_ =+ DescribeEventSource' {name = pName_}++-- | The name of the partner event source to display the details of.+describeEventSource_name :: Lens.Lens' DescribeEventSource Prelude.Text+describeEventSource_name = Lens.lens (\DescribeEventSource' {name} -> name) (\s@DescribeEventSource' {} a -> s {name = a} :: DescribeEventSource)++instance Core.AWSRequest DescribeEventSource where+ type+ AWSResponse DescribeEventSource =+ DescribeEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEventSourceResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "CreatedBy")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "ExpirationTime")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeEventSource where+ hashWithSalt _salt DescribeEventSource' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeEventSource where+ rnf DescribeEventSource' {..} = Prelude.rnf name++instance Data.ToHeaders DescribeEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DescribeEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeEventSource where+ toJSON DescribeEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DescribeEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventSourceResponse' smart constructor.+data DescribeEventSourceResponse = DescribeEventSourceResponse'+ { -- | The ARN of the partner event source.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the SaaS partner that created the event source.+ createdBy :: Prelude.Maybe Prelude.Text,+ -- | The date and time that the event source was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The date and time that the event source will expire if you do not create+ -- a matching event bus.+ expirationTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the partner event source.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the event source. If it is ACTIVE, you have already created+ -- a matching event bus for this event source, and that event bus is+ -- active. If it is PENDING, either you haven\'t yet created a matching+ -- event bus, or that event bus is deactivated. If it is DELETED, you have+ -- created a matching event bus, but the event source has since been+ -- deleted.+ state :: Prelude.Maybe EventSourceState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describeEventSourceResponse_arn' - The ARN of the partner event source.+--+-- 'createdBy', 'describeEventSourceResponse_createdBy' - The name of the SaaS partner that created the event source.+--+-- 'creationTime', 'describeEventSourceResponse_creationTime' - The date and time that the event source was created.+--+-- 'expirationTime', 'describeEventSourceResponse_expirationTime' - The date and time that the event source will expire if you do not create+-- a matching event bus.+--+-- 'name', 'describeEventSourceResponse_name' - The name of the partner event source.+--+-- 'state', 'describeEventSourceResponse_state' - The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+--+-- 'httpStatus', 'describeEventSourceResponse_httpStatus' - The response's http status code.+newDescribeEventSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEventSourceResponse+newDescribeEventSourceResponse pHttpStatus_ =+ DescribeEventSourceResponse'+ { arn = Prelude.Nothing,+ createdBy = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ expirationTime = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the partner event source.+describeEventSourceResponse_arn :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe Prelude.Text)+describeEventSourceResponse_arn = Lens.lens (\DescribeEventSourceResponse' {arn} -> arn) (\s@DescribeEventSourceResponse' {} a -> s {arn = a} :: DescribeEventSourceResponse)++-- | The name of the SaaS partner that created the event source.+describeEventSourceResponse_createdBy :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe Prelude.Text)+describeEventSourceResponse_createdBy = Lens.lens (\DescribeEventSourceResponse' {createdBy} -> createdBy) (\s@DescribeEventSourceResponse' {} a -> s {createdBy = a} :: DescribeEventSourceResponse)++-- | The date and time that the event source was created.+describeEventSourceResponse_creationTime :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe Prelude.UTCTime)+describeEventSourceResponse_creationTime = Lens.lens (\DescribeEventSourceResponse' {creationTime} -> creationTime) (\s@DescribeEventSourceResponse' {} a -> s {creationTime = a} :: DescribeEventSourceResponse) Prelude.. Lens.mapping Data._Time++-- | The date and time that the event source will expire if you do not create+-- a matching event bus.+describeEventSourceResponse_expirationTime :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe Prelude.UTCTime)+describeEventSourceResponse_expirationTime = Lens.lens (\DescribeEventSourceResponse' {expirationTime} -> expirationTime) (\s@DescribeEventSourceResponse' {} a -> s {expirationTime = a} :: DescribeEventSourceResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the partner event source.+describeEventSourceResponse_name :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe Prelude.Text)+describeEventSourceResponse_name = Lens.lens (\DescribeEventSourceResponse' {name} -> name) (\s@DescribeEventSourceResponse' {} a -> s {name = a} :: DescribeEventSourceResponse)++-- | The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+describeEventSourceResponse_state :: Lens.Lens' DescribeEventSourceResponse (Prelude.Maybe EventSourceState)+describeEventSourceResponse_state = Lens.lens (\DescribeEventSourceResponse' {state} -> state) (\s@DescribeEventSourceResponse' {} a -> s {state = a} :: DescribeEventSourceResponse)++-- | The response's http status code.+describeEventSourceResponse_httpStatus :: Lens.Lens' DescribeEventSourceResponse Prelude.Int+describeEventSourceResponse_httpStatus = Lens.lens (\DescribeEventSourceResponse' {httpStatus} -> httpStatus) (\s@DescribeEventSourceResponse' {} a -> s {httpStatus = a} :: DescribeEventSourceResponse)++instance Prelude.NFData DescribeEventSourceResponse where+ rnf DescribeEventSourceResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf createdBy+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf expirationTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribePartnerEventSource.hs view
@@ -0,0 +1,188 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribePartnerEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- An SaaS partner can use this operation to list details about a partner+-- event source that they have created. Amazon Web Services customers do+-- not use this operation. Instead, Amazon Web Services customers can use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventSource.html DescribeEventSource>+-- to see details about a partner event source that is shared with them.+module Amazonka.CloudWatchEvents.DescribePartnerEventSource+ ( -- * Creating a Request+ DescribePartnerEventSource (..),+ newDescribePartnerEventSource,++ -- * Request Lenses+ describePartnerEventSource_name,++ -- * Destructuring the Response+ DescribePartnerEventSourceResponse (..),+ newDescribePartnerEventSourceResponse,++ -- * Response Lenses+ describePartnerEventSourceResponse_arn,+ describePartnerEventSourceResponse_name,+ describePartnerEventSourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribePartnerEventSource' smart constructor.+data DescribePartnerEventSource = DescribePartnerEventSource'+ { -- | The name of the event source to display.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribePartnerEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'describePartnerEventSource_name' - The name of the event source to display.+newDescribePartnerEventSource ::+ -- | 'name'+ Prelude.Text ->+ DescribePartnerEventSource+newDescribePartnerEventSource pName_ =+ DescribePartnerEventSource' {name = pName_}++-- | The name of the event source to display.+describePartnerEventSource_name :: Lens.Lens' DescribePartnerEventSource Prelude.Text+describePartnerEventSource_name = Lens.lens (\DescribePartnerEventSource' {name} -> name) (\s@DescribePartnerEventSource' {} a -> s {name = a} :: DescribePartnerEventSource)++instance Core.AWSRequest DescribePartnerEventSource where+ type+ AWSResponse DescribePartnerEventSource =+ DescribePartnerEventSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribePartnerEventSourceResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribePartnerEventSource where+ hashWithSalt _salt DescribePartnerEventSource' {..} =+ _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DescribePartnerEventSource where+ rnf DescribePartnerEventSource' {..} =+ Prelude.rnf name++instance Data.ToHeaders DescribePartnerEventSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.DescribePartnerEventSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribePartnerEventSource where+ toJSON DescribePartnerEventSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Name" Data..= name)]+ )++instance Data.ToPath DescribePartnerEventSource where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribePartnerEventSource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribePartnerEventSourceResponse' smart constructor.+data DescribePartnerEventSourceResponse = DescribePartnerEventSourceResponse'+ { -- | The ARN of the event source.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the event source.+ name :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribePartnerEventSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describePartnerEventSourceResponse_arn' - The ARN of the event source.+--+-- 'name', 'describePartnerEventSourceResponse_name' - The name of the event source.+--+-- 'httpStatus', 'describePartnerEventSourceResponse_httpStatus' - The response's http status code.+newDescribePartnerEventSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribePartnerEventSourceResponse+newDescribePartnerEventSourceResponse pHttpStatus_ =+ DescribePartnerEventSourceResponse'+ { arn =+ Prelude.Nothing,+ name = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the event source.+describePartnerEventSourceResponse_arn :: Lens.Lens' DescribePartnerEventSourceResponse (Prelude.Maybe Prelude.Text)+describePartnerEventSourceResponse_arn = Lens.lens (\DescribePartnerEventSourceResponse' {arn} -> arn) (\s@DescribePartnerEventSourceResponse' {} a -> s {arn = a} :: DescribePartnerEventSourceResponse)++-- | The name of the event source.+describePartnerEventSourceResponse_name :: Lens.Lens' DescribePartnerEventSourceResponse (Prelude.Maybe Prelude.Text)+describePartnerEventSourceResponse_name = Lens.lens (\DescribePartnerEventSourceResponse' {name} -> name) (\s@DescribePartnerEventSourceResponse' {} a -> s {name = a} :: DescribePartnerEventSourceResponse)++-- | The response's http status code.+describePartnerEventSourceResponse_httpStatus :: Lens.Lens' DescribePartnerEventSourceResponse Prelude.Int+describePartnerEventSourceResponse_httpStatus = Lens.lens (\DescribePartnerEventSourceResponse' {httpStatus} -> httpStatus) (\s@DescribePartnerEventSourceResponse' {} a -> s {httpStatus = a} :: DescribePartnerEventSourceResponse)++instance+ Prelude.NFData+ DescribePartnerEventSourceResponse+ where+ rnf DescribePartnerEventSourceResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeReplay.hs view
@@ -0,0 +1,310 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeReplay+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves details about a replay. Use @DescribeReplay@ to determine the+-- progress of a running replay. A replay processes events to replay based+-- on the time in the event, and replays them using 1 minute intervals. If+-- you use @StartReplay@ and specify an @EventStartTime@ and an+-- @EventEndTime@ that covers a 20 minute time range, the events are+-- replayed from the first minute of that 20 minute range first. Then the+-- events from the second minute are replayed. You can use @DescribeReplay@+-- to determine the progress of a replay. The value returned for+-- @EventLastReplayedTime@ indicates the time within the specified time+-- range associated with the last event replayed.+module Amazonka.CloudWatchEvents.DescribeReplay+ ( -- * Creating a Request+ DescribeReplay (..),+ newDescribeReplay,++ -- * Request Lenses+ describeReplay_replayName,++ -- * Destructuring the Response+ DescribeReplayResponse (..),+ newDescribeReplayResponse,++ -- * Response Lenses+ describeReplayResponse_description,+ describeReplayResponse_destination,+ describeReplayResponse_eventEndTime,+ describeReplayResponse_eventLastReplayedTime,+ describeReplayResponse_eventSourceArn,+ describeReplayResponse_eventStartTime,+ describeReplayResponse_replayArn,+ describeReplayResponse_replayEndTime,+ describeReplayResponse_replayName,+ describeReplayResponse_replayStartTime,+ describeReplayResponse_state,+ describeReplayResponse_stateReason,+ describeReplayResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeReplay' smart constructor.+data DescribeReplay = DescribeReplay'+ { -- | The name of the replay to retrieve.+ replayName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeReplay' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'replayName', 'describeReplay_replayName' - The name of the replay to retrieve.+newDescribeReplay ::+ -- | 'replayName'+ Prelude.Text ->+ DescribeReplay+newDescribeReplay pReplayName_ =+ DescribeReplay' {replayName = pReplayName_}++-- | The name of the replay to retrieve.+describeReplay_replayName :: Lens.Lens' DescribeReplay Prelude.Text+describeReplay_replayName = Lens.lens (\DescribeReplay' {replayName} -> replayName) (\s@DescribeReplay' {} a -> s {replayName = a} :: DescribeReplay)++instance Core.AWSRequest DescribeReplay where+ type+ AWSResponse DescribeReplay =+ DescribeReplayResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeReplayResponse'+ Prelude.<$> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "Destination")+ Prelude.<*> (x Data..?> "EventEndTime")+ Prelude.<*> (x Data..?> "EventLastReplayedTime")+ Prelude.<*> (x Data..?> "EventSourceArn")+ Prelude.<*> (x Data..?> "EventStartTime")+ Prelude.<*> (x Data..?> "ReplayArn")+ Prelude.<*> (x Data..?> "ReplayEndTime")+ Prelude.<*> (x Data..?> "ReplayName")+ Prelude.<*> (x Data..?> "ReplayStartTime")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeReplay where+ hashWithSalt _salt DescribeReplay' {..} =+ _salt `Prelude.hashWithSalt` replayName++instance Prelude.NFData DescribeReplay where+ rnf DescribeReplay' {..} = Prelude.rnf replayName++instance Data.ToHeaders DescribeReplay where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DescribeReplay" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeReplay where+ toJSON DescribeReplay' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ReplayName" Data..= replayName)]+ )++instance Data.ToPath DescribeReplay where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeReplay where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeReplayResponse' smart constructor.+data DescribeReplayResponse = DescribeReplayResponse'+ { -- | The description of the replay.+ description :: Prelude.Maybe Prelude.Text,+ -- | A @ReplayDestination@ object that contains details about the replay.+ destination :: Prelude.Maybe ReplayDestination,+ -- | The time stamp for the last event that was replayed from the archive.+ eventEndTime :: Prelude.Maybe Data.POSIX,+ -- | The time that the event was last replayed.+ eventLastReplayedTime :: Prelude.Maybe Data.POSIX,+ -- | The ARN of the archive events were replayed from.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The time stamp of the first event that was last replayed from the+ -- archive.+ eventStartTime :: Prelude.Maybe Data.POSIX,+ -- | The ARN of the replay.+ replayArn :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the replay stopped.+ replayEndTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the replay.+ replayName :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the replay started.+ replayStartTime :: Prelude.Maybe Data.POSIX,+ -- | The current state of the replay.+ state :: Prelude.Maybe ReplayState,+ -- | The reason that the replay is in the current state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeReplayResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'describeReplayResponse_description' - The description of the replay.+--+-- 'destination', 'describeReplayResponse_destination' - A @ReplayDestination@ object that contains details about the replay.+--+-- 'eventEndTime', 'describeReplayResponse_eventEndTime' - The time stamp for the last event that was replayed from the archive.+--+-- 'eventLastReplayedTime', 'describeReplayResponse_eventLastReplayedTime' - The time that the event was last replayed.+--+-- 'eventSourceArn', 'describeReplayResponse_eventSourceArn' - The ARN of the archive events were replayed from.+--+-- 'eventStartTime', 'describeReplayResponse_eventStartTime' - The time stamp of the first event that was last replayed from the+-- archive.+--+-- 'replayArn', 'describeReplayResponse_replayArn' - The ARN of the replay.+--+-- 'replayEndTime', 'describeReplayResponse_replayEndTime' - A time stamp for the time that the replay stopped.+--+-- 'replayName', 'describeReplayResponse_replayName' - The name of the replay.+--+-- 'replayStartTime', 'describeReplayResponse_replayStartTime' - A time stamp for the time that the replay started.+--+-- 'state', 'describeReplayResponse_state' - The current state of the replay.+--+-- 'stateReason', 'describeReplayResponse_stateReason' - The reason that the replay is in the current state.+--+-- 'httpStatus', 'describeReplayResponse_httpStatus' - The response's http status code.+newDescribeReplayResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeReplayResponse+newDescribeReplayResponse pHttpStatus_ =+ DescribeReplayResponse'+ { description =+ Prelude.Nothing,+ destination = Prelude.Nothing,+ eventEndTime = Prelude.Nothing,+ eventLastReplayedTime = Prelude.Nothing,+ eventSourceArn = Prelude.Nothing,+ eventStartTime = Prelude.Nothing,+ replayArn = Prelude.Nothing,+ replayEndTime = Prelude.Nothing,+ replayName = Prelude.Nothing,+ replayStartTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The description of the replay.+describeReplayResponse_description :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.Text)+describeReplayResponse_description = Lens.lens (\DescribeReplayResponse' {description} -> description) (\s@DescribeReplayResponse' {} a -> s {description = a} :: DescribeReplayResponse)++-- | A @ReplayDestination@ object that contains details about the replay.+describeReplayResponse_destination :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe ReplayDestination)+describeReplayResponse_destination = Lens.lens (\DescribeReplayResponse' {destination} -> destination) (\s@DescribeReplayResponse' {} a -> s {destination = a} :: DescribeReplayResponse)++-- | The time stamp for the last event that was replayed from the archive.+describeReplayResponse_eventEndTime :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.UTCTime)+describeReplayResponse_eventEndTime = Lens.lens (\DescribeReplayResponse' {eventEndTime} -> eventEndTime) (\s@DescribeReplayResponse' {} a -> s {eventEndTime = a} :: DescribeReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The time that the event was last replayed.+describeReplayResponse_eventLastReplayedTime :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.UTCTime)+describeReplayResponse_eventLastReplayedTime = Lens.lens (\DescribeReplayResponse' {eventLastReplayedTime} -> eventLastReplayedTime) (\s@DescribeReplayResponse' {} a -> s {eventLastReplayedTime = a} :: DescribeReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The ARN of the archive events were replayed from.+describeReplayResponse_eventSourceArn :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.Text)+describeReplayResponse_eventSourceArn = Lens.lens (\DescribeReplayResponse' {eventSourceArn} -> eventSourceArn) (\s@DescribeReplayResponse' {} a -> s {eventSourceArn = a} :: DescribeReplayResponse)++-- | The time stamp of the first event that was last replayed from the+-- archive.+describeReplayResponse_eventStartTime :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.UTCTime)+describeReplayResponse_eventStartTime = Lens.lens (\DescribeReplayResponse' {eventStartTime} -> eventStartTime) (\s@DescribeReplayResponse' {} a -> s {eventStartTime = a} :: DescribeReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The ARN of the replay.+describeReplayResponse_replayArn :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.Text)+describeReplayResponse_replayArn = Lens.lens (\DescribeReplayResponse' {replayArn} -> replayArn) (\s@DescribeReplayResponse' {} a -> s {replayArn = a} :: DescribeReplayResponse)++-- | A time stamp for the time that the replay stopped.+describeReplayResponse_replayEndTime :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.UTCTime)+describeReplayResponse_replayEndTime = Lens.lens (\DescribeReplayResponse' {replayEndTime} -> replayEndTime) (\s@DescribeReplayResponse' {} a -> s {replayEndTime = a} :: DescribeReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The name of the replay.+describeReplayResponse_replayName :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.Text)+describeReplayResponse_replayName = Lens.lens (\DescribeReplayResponse' {replayName} -> replayName) (\s@DescribeReplayResponse' {} a -> s {replayName = a} :: DescribeReplayResponse)++-- | A time stamp for the time that the replay started.+describeReplayResponse_replayStartTime :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.UTCTime)+describeReplayResponse_replayStartTime = Lens.lens (\DescribeReplayResponse' {replayStartTime} -> replayStartTime) (\s@DescribeReplayResponse' {} a -> s {replayStartTime = a} :: DescribeReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The current state of the replay.+describeReplayResponse_state :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe ReplayState)+describeReplayResponse_state = Lens.lens (\DescribeReplayResponse' {state} -> state) (\s@DescribeReplayResponse' {} a -> s {state = a} :: DescribeReplayResponse)++-- | The reason that the replay is in the current state.+describeReplayResponse_stateReason :: Lens.Lens' DescribeReplayResponse (Prelude.Maybe Prelude.Text)+describeReplayResponse_stateReason = Lens.lens (\DescribeReplayResponse' {stateReason} -> stateReason) (\s@DescribeReplayResponse' {} a -> s {stateReason = a} :: DescribeReplayResponse)++-- | The response's http status code.+describeReplayResponse_httpStatus :: Lens.Lens' DescribeReplayResponse Prelude.Int+describeReplayResponse_httpStatus = Lens.lens (\DescribeReplayResponse' {httpStatus} -> httpStatus) (\s@DescribeReplayResponse' {} a -> s {httpStatus = a} :: DescribeReplayResponse)++instance Prelude.NFData DescribeReplayResponse where+ rnf DescribeReplayResponse' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf destination+ `Prelude.seq` Prelude.rnf eventEndTime+ `Prelude.seq` Prelude.rnf eventLastReplayedTime+ `Prelude.seq` Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf eventStartTime+ `Prelude.seq` Prelude.rnf replayArn+ `Prelude.seq` Prelude.rnf replayEndTime+ `Prelude.seq` Prelude.rnf replayName+ `Prelude.seq` Prelude.rnf replayStartTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DescribeRule.hs view
@@ -0,0 +1,323 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DescribeRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the specified rule.+--+-- DescribeRule does not list the targets of a rule. To see the targets+-- associated with a rule, use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListTargetsByRule.html ListTargetsByRule>.+module Amazonka.CloudWatchEvents.DescribeRule+ ( -- * Creating a Request+ DescribeRule (..),+ newDescribeRule,++ -- * Request Lenses+ describeRule_eventBusName,+ describeRule_name,++ -- * Destructuring the Response+ DescribeRuleResponse (..),+ newDescribeRuleResponse,++ -- * Response Lenses+ describeRuleResponse_arn,+ describeRuleResponse_createdBy,+ describeRuleResponse_description,+ describeRuleResponse_eventBusName,+ describeRuleResponse_eventPattern,+ describeRuleResponse_managedBy,+ describeRuleResponse_name,+ describeRuleResponse_roleArn,+ describeRuleResponse_scheduleExpression,+ describeRuleResponse_state,+ describeRuleResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeRule' smart constructor.+data DescribeRule = DescribeRule'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'describeRule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'name', 'describeRule_name' - The name of the rule.+newDescribeRule ::+ -- | 'name'+ Prelude.Text ->+ DescribeRule+newDescribeRule pName_ =+ DescribeRule'+ { eventBusName = Prelude.Nothing,+ name = pName_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+describeRule_eventBusName :: Lens.Lens' DescribeRule (Prelude.Maybe Prelude.Text)+describeRule_eventBusName = Lens.lens (\DescribeRule' {eventBusName} -> eventBusName) (\s@DescribeRule' {} a -> s {eventBusName = a} :: DescribeRule)++-- | The name of the rule.+describeRule_name :: Lens.Lens' DescribeRule Prelude.Text+describeRule_name = Lens.lens (\DescribeRule' {name} -> name) (\s@DescribeRule' {} a -> s {name = a} :: DescribeRule)++instance Core.AWSRequest DescribeRule where+ type AWSResponse DescribeRule = DescribeRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeRuleResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "CreatedBy")+ Prelude.<*> (x Data..?> "Description")+ Prelude.<*> (x Data..?> "EventBusName")+ Prelude.<*> (x Data..?> "EventPattern")+ Prelude.<*> (x Data..?> "ManagedBy")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (x Data..?> "ScheduleExpression")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeRule where+ hashWithSalt _salt DescribeRule' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` name++instance Prelude.NFData DescribeRule where+ rnf DescribeRule' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DescribeRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DescribeRule" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeRule where+ toJSON DescribeRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath DescribeRule where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeRuleResponse' smart constructor.+data DescribeRuleResponse = DescribeRuleResponse'+ { -- | The Amazon Resource Name (ARN) of the rule.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The account ID of the user that created the rule. If you use @PutRule@+ -- to put a rule on an event bus in another account, the other account is+ -- the owner of the rule, and the rule ARN includes the account ID for that+ -- account. However, the value for @CreatedBy@ is the account ID as the+ -- account that created the rule in the other account.+ createdBy :: Prelude.Maybe Prelude.Text,+ -- | The description of the rule.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the event bus associated with the rule.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The event pattern. For more information, see+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+ -- in the /Amazon EventBridge User Guide/.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | If this is a managed rule, created by an Amazon Web Services service on+ -- your behalf, this field displays the principal name of the Amazon Web+ -- Services service that created the rule.+ managedBy :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ name :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+ -- minutes)\".+ scheduleExpression :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether the rule is enabled or disabled.+ state :: Prelude.Maybe RuleState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'describeRuleResponse_arn' - The Amazon Resource Name (ARN) of the rule.+--+-- 'createdBy', 'describeRuleResponse_createdBy' - The account ID of the user that created the rule. If you use @PutRule@+-- to put a rule on an event bus in another account, the other account is+-- the owner of the rule, and the rule ARN includes the account ID for that+-- account. However, the value for @CreatedBy@ is the account ID as the+-- account that created the rule in the other account.+--+-- 'description', 'describeRuleResponse_description' - The description of the rule.+--+-- 'eventBusName', 'describeRuleResponse_eventBusName' - The name of the event bus associated with the rule.+--+-- 'eventPattern', 'describeRuleResponse_eventPattern' - The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+--+-- 'managedBy', 'describeRuleResponse_managedBy' - If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, this field displays the principal name of the Amazon Web+-- Services service that created the rule.+--+-- 'name', 'describeRuleResponse_name' - The name of the rule.+--+-- 'roleArn', 'describeRuleResponse_roleArn' - The Amazon Resource Name (ARN) of the IAM role associated with the rule.+--+-- 'scheduleExpression', 'describeRuleResponse_scheduleExpression' - The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+-- minutes)\".+--+-- 'state', 'describeRuleResponse_state' - Specifies whether the rule is enabled or disabled.+--+-- 'httpStatus', 'describeRuleResponse_httpStatus' - The response's http status code.+newDescribeRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeRuleResponse+newDescribeRuleResponse pHttpStatus_ =+ DescribeRuleResponse'+ { arn = Prelude.Nothing,+ createdBy = Prelude.Nothing,+ description = Prelude.Nothing,+ eventBusName = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ managedBy = Prelude.Nothing,+ name = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ scheduleExpression = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the rule.+describeRuleResponse_arn :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_arn = Lens.lens (\DescribeRuleResponse' {arn} -> arn) (\s@DescribeRuleResponse' {} a -> s {arn = a} :: DescribeRuleResponse)++-- | The account ID of the user that created the rule. If you use @PutRule@+-- to put a rule on an event bus in another account, the other account is+-- the owner of the rule, and the rule ARN includes the account ID for that+-- account. However, the value for @CreatedBy@ is the account ID as the+-- account that created the rule in the other account.+describeRuleResponse_createdBy :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_createdBy = Lens.lens (\DescribeRuleResponse' {createdBy} -> createdBy) (\s@DescribeRuleResponse' {} a -> s {createdBy = a} :: DescribeRuleResponse)++-- | The description of the rule.+describeRuleResponse_description :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_description = Lens.lens (\DescribeRuleResponse' {description} -> description) (\s@DescribeRuleResponse' {} a -> s {description = a} :: DescribeRuleResponse)++-- | The name of the event bus associated with the rule.+describeRuleResponse_eventBusName :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_eventBusName = Lens.lens (\DescribeRuleResponse' {eventBusName} -> eventBusName) (\s@DescribeRuleResponse' {} a -> s {eventBusName = a} :: DescribeRuleResponse)++-- | The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+describeRuleResponse_eventPattern :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_eventPattern = Lens.lens (\DescribeRuleResponse' {eventPattern} -> eventPattern) (\s@DescribeRuleResponse' {} a -> s {eventPattern = a} :: DescribeRuleResponse)++-- | If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, this field displays the principal name of the Amazon Web+-- Services service that created the rule.+describeRuleResponse_managedBy :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_managedBy = Lens.lens (\DescribeRuleResponse' {managedBy} -> managedBy) (\s@DescribeRuleResponse' {} a -> s {managedBy = a} :: DescribeRuleResponse)++-- | The name of the rule.+describeRuleResponse_name :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_name = Lens.lens (\DescribeRuleResponse' {name} -> name) (\s@DescribeRuleResponse' {} a -> s {name = a} :: DescribeRuleResponse)++-- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.+describeRuleResponse_roleArn :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_roleArn = Lens.lens (\DescribeRuleResponse' {roleArn} -> roleArn) (\s@DescribeRuleResponse' {} a -> s {roleArn = a} :: DescribeRuleResponse)++-- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+-- minutes)\".+describeRuleResponse_scheduleExpression :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe Prelude.Text)+describeRuleResponse_scheduleExpression = Lens.lens (\DescribeRuleResponse' {scheduleExpression} -> scheduleExpression) (\s@DescribeRuleResponse' {} a -> s {scheduleExpression = a} :: DescribeRuleResponse)++-- | Specifies whether the rule is enabled or disabled.+describeRuleResponse_state :: Lens.Lens' DescribeRuleResponse (Prelude.Maybe RuleState)+describeRuleResponse_state = Lens.lens (\DescribeRuleResponse' {state} -> state) (\s@DescribeRuleResponse' {} a -> s {state = a} :: DescribeRuleResponse)++-- | The response's http status code.+describeRuleResponse_httpStatus :: Lens.Lens' DescribeRuleResponse Prelude.Int+describeRuleResponse_httpStatus = Lens.lens (\DescribeRuleResponse' {httpStatus} -> httpStatus) (\s@DescribeRuleResponse' {} a -> s {httpStatus = a} :: DescribeRuleResponse)++instance Prelude.NFData DescribeRuleResponse where+ rnf DescribeRuleResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf createdBy+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf managedBy+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf scheduleExpression+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/DisableRule.hs view
@@ -0,0 +1,152 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.DisableRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disables the specified rule. A disabled rule won\'t match any events,+-- and won\'t self-trigger if it has a schedule expression.+--+-- When you disable a rule, incoming events might continue to match to the+-- disabled rule. Allow a short period of time for changes to take effect.+module Amazonka.CloudWatchEvents.DisableRule+ ( -- * Creating a Request+ DisableRule (..),+ newDisableRule,++ -- * Request Lenses+ disableRule_eventBusName,+ disableRule_name,++ -- * Destructuring the Response+ DisableRuleResponse (..),+ newDisableRuleResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDisableRule' smart constructor.+data DisableRule = DisableRule'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'disableRule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'name', 'disableRule_name' - The name of the rule.+newDisableRule ::+ -- | 'name'+ Prelude.Text ->+ DisableRule+newDisableRule pName_ =+ DisableRule'+ { eventBusName = Prelude.Nothing,+ name = pName_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+disableRule_eventBusName :: Lens.Lens' DisableRule (Prelude.Maybe Prelude.Text)+disableRule_eventBusName = Lens.lens (\DisableRule' {eventBusName} -> eventBusName) (\s@DisableRule' {} a -> s {eventBusName = a} :: DisableRule)++-- | The name of the rule.+disableRule_name :: Lens.Lens' DisableRule Prelude.Text+disableRule_name = Lens.lens (\DisableRule' {name} -> name) (\s@DisableRule' {} a -> s {name = a} :: DisableRule)++instance Core.AWSRequest DisableRule where+ type AWSResponse DisableRule = DisableRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull DisableRuleResponse'++instance Prelude.Hashable DisableRule where+ hashWithSalt _salt DisableRule' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` name++instance Prelude.NFData DisableRule where+ rnf DisableRule' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders DisableRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.DisableRule" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DisableRule where+ toJSON DisableRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath DisableRule where+ toPath = Prelude.const "/"++instance Data.ToQuery DisableRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisableRuleResponse' smart constructor.+data DisableRuleResponse = DisableRuleResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisableRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDisableRuleResponse ::+ DisableRuleResponse+newDisableRuleResponse = DisableRuleResponse'++instance Prelude.NFData DisableRuleResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/EnableRule.hs view
@@ -0,0 +1,153 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.EnableRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Enables the specified rule. If the rule does not exist, the operation+-- fails.+--+-- When you enable a rule, incoming events might not immediately start+-- matching to a newly enabled rule. Allow a short period of time for+-- changes to take effect.+module Amazonka.CloudWatchEvents.EnableRule+ ( -- * Creating a Request+ EnableRule (..),+ newEnableRule,++ -- * Request Lenses+ enableRule_eventBusName,+ enableRule_name,++ -- * Destructuring the Response+ EnableRuleResponse (..),+ newEnableRuleResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newEnableRule' smart constructor.+data EnableRule = EnableRule'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'enableRule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'name', 'enableRule_name' - The name of the rule.+newEnableRule ::+ -- | 'name'+ Prelude.Text ->+ EnableRule+newEnableRule pName_ =+ EnableRule'+ { eventBusName = Prelude.Nothing,+ name = pName_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+enableRule_eventBusName :: Lens.Lens' EnableRule (Prelude.Maybe Prelude.Text)+enableRule_eventBusName = Lens.lens (\EnableRule' {eventBusName} -> eventBusName) (\s@EnableRule' {} a -> s {eventBusName = a} :: EnableRule)++-- | The name of the rule.+enableRule_name :: Lens.Lens' EnableRule Prelude.Text+enableRule_name = Lens.lens (\EnableRule' {name} -> name) (\s@EnableRule' {} a -> s {name = a} :: EnableRule)++instance Core.AWSRequest EnableRule where+ type AWSResponse EnableRule = EnableRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response = Response.receiveNull EnableRuleResponse'++instance Prelude.Hashable EnableRule where+ hashWithSalt _salt EnableRule' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` name++instance Prelude.NFData EnableRule where+ rnf EnableRule' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders EnableRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.EnableRule" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON EnableRule where+ toJSON EnableRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath EnableRule where+ toPath = Prelude.const "/"++instance Data.ToQuery EnableRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newEnableRuleResponse' smart constructor.+data EnableRuleResponse = EnableRuleResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EnableRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newEnableRuleResponse ::+ EnableRuleResponse+newEnableRuleResponse = EnableRuleResponse'++instance Prelude.NFData EnableRuleResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/Lens.hs view
@@ -0,0 +1,993 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Lens+ ( -- * Operations++ -- ** ActivateEventSource+ activateEventSource_name,++ -- ** CancelReplay+ cancelReplay_replayName,+ cancelReplayResponse_replayArn,+ cancelReplayResponse_state,+ cancelReplayResponse_stateReason,+ cancelReplayResponse_httpStatus,++ -- ** CreateApiDestination+ createApiDestination_description,+ createApiDestination_invocationRateLimitPerSecond,+ createApiDestination_name,+ createApiDestination_connectionArn,+ createApiDestination_invocationEndpoint,+ createApiDestination_httpMethod,+ createApiDestinationResponse_apiDestinationArn,+ createApiDestinationResponse_apiDestinationState,+ createApiDestinationResponse_creationTime,+ createApiDestinationResponse_lastModifiedTime,+ createApiDestinationResponse_httpStatus,++ -- ** CreateArchive+ createArchive_description,+ createArchive_eventPattern,+ createArchive_retentionDays,+ createArchive_archiveName,+ createArchive_eventSourceArn,+ createArchiveResponse_archiveArn,+ createArchiveResponse_creationTime,+ createArchiveResponse_state,+ createArchiveResponse_stateReason,+ createArchiveResponse_httpStatus,++ -- ** CreateConnection+ createConnection_description,+ createConnection_name,+ createConnection_authorizationType,+ createConnection_authParameters,+ createConnectionResponse_connectionArn,+ createConnectionResponse_connectionState,+ createConnectionResponse_creationTime,+ createConnectionResponse_lastModifiedTime,+ createConnectionResponse_httpStatus,++ -- ** CreateEndpoint+ createEndpoint_description,+ createEndpoint_replicationConfig,+ createEndpoint_roleArn,+ createEndpoint_name,+ createEndpoint_routingConfig,+ createEndpoint_eventBuses,+ createEndpointResponse_arn,+ createEndpointResponse_eventBuses,+ createEndpointResponse_name,+ createEndpointResponse_replicationConfig,+ createEndpointResponse_roleArn,+ createEndpointResponse_routingConfig,+ createEndpointResponse_state,+ createEndpointResponse_httpStatus,++ -- ** CreateEventBus+ createEventBus_eventSourceName,+ createEventBus_tags,+ createEventBus_name,+ createEventBusResponse_eventBusArn,+ createEventBusResponse_httpStatus,++ -- ** CreatePartnerEventSource+ createPartnerEventSource_name,+ createPartnerEventSource_account,+ createPartnerEventSourceResponse_eventSourceArn,+ createPartnerEventSourceResponse_httpStatus,++ -- ** DeactivateEventSource+ deactivateEventSource_name,++ -- ** DeauthorizeConnection+ deauthorizeConnection_name,+ deauthorizeConnectionResponse_connectionArn,+ deauthorizeConnectionResponse_connectionState,+ deauthorizeConnectionResponse_creationTime,+ deauthorizeConnectionResponse_lastAuthorizedTime,+ deauthorizeConnectionResponse_lastModifiedTime,+ deauthorizeConnectionResponse_httpStatus,++ -- ** DeleteApiDestination+ deleteApiDestination_name,+ deleteApiDestinationResponse_httpStatus,++ -- ** DeleteArchive+ deleteArchive_archiveName,+ deleteArchiveResponse_httpStatus,++ -- ** DeleteConnection+ deleteConnection_name,+ deleteConnectionResponse_connectionArn,+ deleteConnectionResponse_connectionState,+ deleteConnectionResponse_creationTime,+ deleteConnectionResponse_lastAuthorizedTime,+ deleteConnectionResponse_lastModifiedTime,+ deleteConnectionResponse_httpStatus,++ -- ** DeleteEndpoint+ deleteEndpoint_name,+ deleteEndpointResponse_httpStatus,++ -- ** DeleteEventBus+ deleteEventBus_name,++ -- ** DeletePartnerEventSource+ deletePartnerEventSource_name,+ deletePartnerEventSource_account,++ -- ** DeleteRule+ deleteRule_eventBusName,+ deleteRule_force,+ deleteRule_name,++ -- ** DescribeApiDestination+ describeApiDestination_name,+ describeApiDestinationResponse_apiDestinationArn,+ describeApiDestinationResponse_apiDestinationState,+ describeApiDestinationResponse_connectionArn,+ describeApiDestinationResponse_creationTime,+ describeApiDestinationResponse_description,+ describeApiDestinationResponse_httpMethod,+ describeApiDestinationResponse_invocationEndpoint,+ describeApiDestinationResponse_invocationRateLimitPerSecond,+ describeApiDestinationResponse_lastModifiedTime,+ describeApiDestinationResponse_name,+ describeApiDestinationResponse_httpStatus,++ -- ** DescribeArchive+ describeArchive_archiveName,+ describeArchiveResponse_archiveArn,+ describeArchiveResponse_archiveName,+ describeArchiveResponse_creationTime,+ describeArchiveResponse_description,+ describeArchiveResponse_eventCount,+ describeArchiveResponse_eventPattern,+ describeArchiveResponse_eventSourceArn,+ describeArchiveResponse_retentionDays,+ describeArchiveResponse_sizeBytes,+ describeArchiveResponse_state,+ describeArchiveResponse_stateReason,+ describeArchiveResponse_httpStatus,++ -- ** DescribeConnection+ describeConnection_name,+ describeConnectionResponse_authParameters,+ describeConnectionResponse_authorizationType,+ describeConnectionResponse_connectionArn,+ describeConnectionResponse_connectionState,+ describeConnectionResponse_creationTime,+ describeConnectionResponse_description,+ describeConnectionResponse_lastAuthorizedTime,+ describeConnectionResponse_lastModifiedTime,+ describeConnectionResponse_name,+ describeConnectionResponse_secretArn,+ describeConnectionResponse_stateReason,+ describeConnectionResponse_httpStatus,++ -- ** DescribeEndpoint+ describeEndpoint_homeRegion,+ describeEndpoint_name,+ describeEndpointResponse_arn,+ describeEndpointResponse_creationTime,+ describeEndpointResponse_description,+ describeEndpointResponse_endpointId,+ describeEndpointResponse_endpointUrl,+ describeEndpointResponse_eventBuses,+ describeEndpointResponse_lastModifiedTime,+ describeEndpointResponse_name,+ describeEndpointResponse_replicationConfig,+ describeEndpointResponse_roleArn,+ describeEndpointResponse_routingConfig,+ describeEndpointResponse_state,+ describeEndpointResponse_stateReason,+ describeEndpointResponse_httpStatus,++ -- ** DescribeEventBus+ describeEventBus_name,+ describeEventBusResponse_arn,+ describeEventBusResponse_name,+ describeEventBusResponse_policy,+ describeEventBusResponse_httpStatus,++ -- ** DescribeEventSource+ describeEventSource_name,+ describeEventSourceResponse_arn,+ describeEventSourceResponse_createdBy,+ describeEventSourceResponse_creationTime,+ describeEventSourceResponse_expirationTime,+ describeEventSourceResponse_name,+ describeEventSourceResponse_state,+ describeEventSourceResponse_httpStatus,++ -- ** DescribePartnerEventSource+ describePartnerEventSource_name,+ describePartnerEventSourceResponse_arn,+ describePartnerEventSourceResponse_name,+ describePartnerEventSourceResponse_httpStatus,++ -- ** DescribeReplay+ describeReplay_replayName,+ describeReplayResponse_description,+ describeReplayResponse_destination,+ describeReplayResponse_eventEndTime,+ describeReplayResponse_eventLastReplayedTime,+ describeReplayResponse_eventSourceArn,+ describeReplayResponse_eventStartTime,+ describeReplayResponse_replayArn,+ describeReplayResponse_replayEndTime,+ describeReplayResponse_replayName,+ describeReplayResponse_replayStartTime,+ describeReplayResponse_state,+ describeReplayResponse_stateReason,+ describeReplayResponse_httpStatus,++ -- ** DescribeRule+ describeRule_eventBusName,+ describeRule_name,+ describeRuleResponse_arn,+ describeRuleResponse_createdBy,+ describeRuleResponse_description,+ describeRuleResponse_eventBusName,+ describeRuleResponse_eventPattern,+ describeRuleResponse_managedBy,+ describeRuleResponse_name,+ describeRuleResponse_roleArn,+ describeRuleResponse_scheduleExpression,+ describeRuleResponse_state,+ describeRuleResponse_httpStatus,++ -- ** DisableRule+ disableRule_eventBusName,+ disableRule_name,++ -- ** EnableRule+ enableRule_eventBusName,+ enableRule_name,++ -- ** ListApiDestinations+ listApiDestinations_connectionArn,+ listApiDestinations_limit,+ listApiDestinations_namePrefix,+ listApiDestinations_nextToken,+ listApiDestinationsResponse_apiDestinations,+ listApiDestinationsResponse_nextToken,+ listApiDestinationsResponse_httpStatus,++ -- ** ListArchives+ listArchives_eventSourceArn,+ listArchives_limit,+ listArchives_namePrefix,+ listArchives_nextToken,+ listArchives_state,+ listArchivesResponse_archives,+ listArchivesResponse_nextToken,+ listArchivesResponse_httpStatus,++ -- ** ListConnections+ listConnections_connectionState,+ listConnections_limit,+ listConnections_namePrefix,+ listConnections_nextToken,+ listConnectionsResponse_connections,+ listConnectionsResponse_nextToken,+ listConnectionsResponse_httpStatus,++ -- ** ListEndpoints+ listEndpoints_homeRegion,+ listEndpoints_maxResults,+ listEndpoints_namePrefix,+ listEndpoints_nextToken,+ listEndpointsResponse_endpoints,+ listEndpointsResponse_nextToken,+ listEndpointsResponse_httpStatus,++ -- ** ListEventBuses+ listEventBuses_limit,+ listEventBuses_namePrefix,+ listEventBuses_nextToken,+ listEventBusesResponse_eventBuses,+ listEventBusesResponse_nextToken,+ listEventBusesResponse_httpStatus,++ -- ** ListEventSources+ listEventSources_limit,+ listEventSources_namePrefix,+ listEventSources_nextToken,+ listEventSourcesResponse_eventSources,+ listEventSourcesResponse_nextToken,+ listEventSourcesResponse_httpStatus,++ -- ** ListPartnerEventSourceAccounts+ listPartnerEventSourceAccounts_limit,+ listPartnerEventSourceAccounts_nextToken,+ listPartnerEventSourceAccounts_eventSourceName,+ listPartnerEventSourceAccountsResponse_nextToken,+ listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts,+ listPartnerEventSourceAccountsResponse_httpStatus,++ -- ** ListPartnerEventSources+ listPartnerEventSources_limit,+ listPartnerEventSources_nextToken,+ listPartnerEventSources_namePrefix,+ listPartnerEventSourcesResponse_nextToken,+ listPartnerEventSourcesResponse_partnerEventSources,+ listPartnerEventSourcesResponse_httpStatus,++ -- ** ListReplays+ listReplays_eventSourceArn,+ listReplays_limit,+ listReplays_namePrefix,+ listReplays_nextToken,+ listReplays_state,+ listReplaysResponse_nextToken,+ listReplaysResponse_replays,+ listReplaysResponse_httpStatus,++ -- ** ListRuleNamesByTarget+ listRuleNamesByTarget_eventBusName,+ listRuleNamesByTarget_limit,+ listRuleNamesByTarget_nextToken,+ listRuleNamesByTarget_targetArn,+ listRuleNamesByTargetResponse_nextToken,+ listRuleNamesByTargetResponse_ruleNames,+ listRuleNamesByTargetResponse_httpStatus,++ -- ** ListRules+ listRules_eventBusName,+ listRules_limit,+ listRules_namePrefix,+ listRules_nextToken,+ listRulesResponse_nextToken,+ listRulesResponse_rules,+ listRulesResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_resourceARN,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** ListTargetsByRule+ listTargetsByRule_eventBusName,+ listTargetsByRule_limit,+ listTargetsByRule_nextToken,+ listTargetsByRule_rule,+ listTargetsByRuleResponse_nextToken,+ listTargetsByRuleResponse_targets,+ listTargetsByRuleResponse_httpStatus,++ -- ** PutEvents+ putEvents_endpointId,+ putEvents_entries,+ putEventsResponse_entries,+ putEventsResponse_failedEntryCount,+ putEventsResponse_httpStatus,++ -- ** PutPartnerEvents+ putPartnerEvents_entries,+ putPartnerEventsResponse_entries,+ putPartnerEventsResponse_failedEntryCount,+ putPartnerEventsResponse_httpStatus,++ -- ** PutPermission+ putPermission_action,+ putPermission_condition,+ putPermission_eventBusName,+ putPermission_policy,+ putPermission_principal,+ putPermission_statementId,++ -- ** PutRule+ putRule_description,+ putRule_eventBusName,+ putRule_eventPattern,+ putRule_roleArn,+ putRule_scheduleExpression,+ putRule_state,+ putRule_tags,+ putRule_name,+ putRuleResponse_ruleArn,+ putRuleResponse_httpStatus,++ -- ** PutTargets+ putTargets_eventBusName,+ putTargets_rule,+ putTargets_targets,+ putTargetsResponse_failedEntries,+ putTargetsResponse_failedEntryCount,+ putTargetsResponse_httpStatus,++ -- ** RemovePermission+ removePermission_eventBusName,+ removePermission_removeAllPermissions,+ removePermission_statementId,++ -- ** RemoveTargets+ removeTargets_eventBusName,+ removeTargets_force,+ removeTargets_rule,+ removeTargets_ids,+ removeTargetsResponse_failedEntries,+ removeTargetsResponse_failedEntryCount,+ removeTargetsResponse_httpStatus,++ -- ** StartReplay+ startReplay_description,+ startReplay_replayName,+ startReplay_eventSourceArn,+ startReplay_eventStartTime,+ startReplay_eventEndTime,+ startReplay_destination,+ startReplayResponse_replayArn,+ startReplayResponse_replayStartTime,+ startReplayResponse_state,+ startReplayResponse_stateReason,+ startReplayResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceARN,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** TestEventPattern+ testEventPattern_eventPattern,+ testEventPattern_event,+ testEventPatternResponse_result,+ testEventPatternResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceARN,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateApiDestination+ updateApiDestination_connectionArn,+ updateApiDestination_description,+ updateApiDestination_httpMethod,+ updateApiDestination_invocationEndpoint,+ updateApiDestination_invocationRateLimitPerSecond,+ updateApiDestination_name,+ updateApiDestinationResponse_apiDestinationArn,+ updateApiDestinationResponse_apiDestinationState,+ updateApiDestinationResponse_creationTime,+ updateApiDestinationResponse_lastModifiedTime,+ updateApiDestinationResponse_httpStatus,++ -- ** UpdateArchive+ updateArchive_description,+ updateArchive_eventPattern,+ updateArchive_retentionDays,+ updateArchive_archiveName,+ updateArchiveResponse_archiveArn,+ updateArchiveResponse_creationTime,+ updateArchiveResponse_state,+ updateArchiveResponse_stateReason,+ updateArchiveResponse_httpStatus,++ -- ** UpdateConnection+ updateConnection_authParameters,+ updateConnection_authorizationType,+ updateConnection_description,+ updateConnection_name,+ updateConnectionResponse_connectionArn,+ updateConnectionResponse_connectionState,+ updateConnectionResponse_creationTime,+ updateConnectionResponse_lastAuthorizedTime,+ updateConnectionResponse_lastModifiedTime,+ updateConnectionResponse_httpStatus,++ -- ** UpdateEndpoint+ updateEndpoint_description,+ updateEndpoint_eventBuses,+ updateEndpoint_replicationConfig,+ updateEndpoint_roleArn,+ updateEndpoint_routingConfig,+ updateEndpoint_name,+ updateEndpointResponse_arn,+ updateEndpointResponse_endpointId,+ updateEndpointResponse_endpointUrl,+ updateEndpointResponse_eventBuses,+ updateEndpointResponse_name,+ updateEndpointResponse_replicationConfig,+ updateEndpointResponse_roleArn,+ updateEndpointResponse_routingConfig,+ updateEndpointResponse_state,+ updateEndpointResponse_httpStatus,++ -- * Types++ -- ** ApiDestination+ apiDestination_apiDestinationArn,+ apiDestination_apiDestinationState,+ apiDestination_connectionArn,+ apiDestination_creationTime,+ apiDestination_httpMethod,+ apiDestination_invocationEndpoint,+ apiDestination_invocationRateLimitPerSecond,+ apiDestination_lastModifiedTime,+ apiDestination_name,++ -- ** Archive+ archive_archiveName,+ archive_creationTime,+ archive_eventCount,+ archive_eventSourceArn,+ archive_retentionDays,+ archive_sizeBytes,+ archive_state,+ archive_stateReason,++ -- ** AwsVpcConfiguration+ awsVpcConfiguration_assignPublicIp,+ awsVpcConfiguration_securityGroups,+ awsVpcConfiguration_subnets,++ -- ** BatchArrayProperties+ batchArrayProperties_size,++ -- ** BatchParameters+ batchParameters_arrayProperties,+ batchParameters_retryStrategy,+ batchParameters_jobDefinition,+ batchParameters_jobName,++ -- ** BatchRetryStrategy+ batchRetryStrategy_attempts,++ -- ** CapacityProviderStrategyItem+ capacityProviderStrategyItem_base,+ capacityProviderStrategyItem_weight,+ capacityProviderStrategyItem_capacityProvider,++ -- ** Condition+ condition_type,+ condition_key,+ condition_value,++ -- ** Connection+ connection_authorizationType,+ connection_connectionArn,+ connection_connectionState,+ connection_creationTime,+ connection_lastAuthorizedTime,+ connection_lastModifiedTime,+ connection_name,+ connection_stateReason,++ -- ** ConnectionApiKeyAuthResponseParameters+ connectionApiKeyAuthResponseParameters_apiKeyName,++ -- ** ConnectionAuthResponseParameters+ connectionAuthResponseParameters_apiKeyAuthParameters,+ connectionAuthResponseParameters_basicAuthParameters,+ connectionAuthResponseParameters_invocationHttpParameters,+ connectionAuthResponseParameters_oAuthParameters,++ -- ** ConnectionBasicAuthResponseParameters+ connectionBasicAuthResponseParameters_username,++ -- ** ConnectionBodyParameter+ connectionBodyParameter_isValueSecret,+ connectionBodyParameter_key,+ connectionBodyParameter_value,++ -- ** ConnectionHeaderParameter+ connectionHeaderParameter_isValueSecret,+ connectionHeaderParameter_key,+ connectionHeaderParameter_value,++ -- ** ConnectionHttpParameters+ connectionHttpParameters_bodyParameters,+ connectionHttpParameters_headerParameters,+ connectionHttpParameters_queryStringParameters,++ -- ** ConnectionOAuthClientResponseParameters+ connectionOAuthClientResponseParameters_clientID,++ -- ** ConnectionOAuthResponseParameters+ connectionOAuthResponseParameters_authorizationEndpoint,+ connectionOAuthResponseParameters_clientParameters,+ connectionOAuthResponseParameters_httpMethod,+ connectionOAuthResponseParameters_oAuthHttpParameters,++ -- ** ConnectionQueryStringParameter+ connectionQueryStringParameter_isValueSecret,+ connectionQueryStringParameter_key,+ connectionQueryStringParameter_value,++ -- ** CreateConnectionApiKeyAuthRequestParameters+ createConnectionApiKeyAuthRequestParameters_apiKeyName,+ createConnectionApiKeyAuthRequestParameters_apiKeyValue,++ -- ** CreateConnectionAuthRequestParameters+ createConnectionAuthRequestParameters_apiKeyAuthParameters,+ createConnectionAuthRequestParameters_basicAuthParameters,+ createConnectionAuthRequestParameters_invocationHttpParameters,+ createConnectionAuthRequestParameters_oAuthParameters,++ -- ** CreateConnectionBasicAuthRequestParameters+ createConnectionBasicAuthRequestParameters_username,+ createConnectionBasicAuthRequestParameters_password,++ -- ** CreateConnectionOAuthClientRequestParameters+ createConnectionOAuthClientRequestParameters_clientID,+ createConnectionOAuthClientRequestParameters_clientSecret,++ -- ** CreateConnectionOAuthRequestParameters+ createConnectionOAuthRequestParameters_oAuthHttpParameters,+ createConnectionOAuthRequestParameters_clientParameters,+ createConnectionOAuthRequestParameters_authorizationEndpoint,+ createConnectionOAuthRequestParameters_httpMethod,++ -- ** DeadLetterConfig+ deadLetterConfig_arn,++ -- ** EcsParameters+ ecsParameters_capacityProviderStrategy,+ ecsParameters_enableECSManagedTags,+ ecsParameters_enableExecuteCommand,+ ecsParameters_group,+ ecsParameters_launchType,+ ecsParameters_networkConfiguration,+ ecsParameters_placementConstraints,+ ecsParameters_placementStrategy,+ ecsParameters_platformVersion,+ ecsParameters_propagateTags,+ ecsParameters_referenceId,+ ecsParameters_tags,+ ecsParameters_taskCount,+ ecsParameters_taskDefinitionArn,++ -- ** Endpoint+ endpoint_arn,+ endpoint_creationTime,+ endpoint_description,+ endpoint_endpointId,+ endpoint_endpointUrl,+ endpoint_eventBuses,+ endpoint_lastModifiedTime,+ endpoint_name,+ endpoint_replicationConfig,+ endpoint_roleArn,+ endpoint_routingConfig,+ endpoint_state,+ endpoint_stateReason,++ -- ** EndpointEventBus+ endpointEventBus_eventBusArn,++ -- ** EventBus+ eventBus_arn,+ eventBus_name,+ eventBus_policy,++ -- ** EventSource+ eventSource_arn,+ eventSource_createdBy,+ eventSource_creationTime,+ eventSource_expirationTime,+ eventSource_name,+ eventSource_state,++ -- ** FailoverConfig+ failoverConfig_primary,+ failoverConfig_secondary,++ -- ** HttpParameters+ httpParameters_headerParameters,+ httpParameters_pathParameterValues,+ httpParameters_queryStringParameters,++ -- ** InputTransformer+ inputTransformer_inputPathsMap,+ inputTransformer_inputTemplate,++ -- ** KinesisParameters+ kinesisParameters_partitionKeyPath,++ -- ** NetworkConfiguration+ networkConfiguration_awsvpcConfiguration,++ -- ** PartnerEventSource+ partnerEventSource_arn,+ partnerEventSource_name,++ -- ** PartnerEventSourceAccount+ partnerEventSourceAccount_account,+ partnerEventSourceAccount_creationTime,+ partnerEventSourceAccount_expirationTime,+ partnerEventSourceAccount_state,++ -- ** PlacementConstraint+ placementConstraint_expression,+ placementConstraint_type,++ -- ** PlacementStrategy+ placementStrategy_field,+ placementStrategy_type,++ -- ** Primary+ primary_healthCheck,++ -- ** PutEventsRequestEntry+ putEventsRequestEntry_detail,+ putEventsRequestEntry_detailType,+ putEventsRequestEntry_eventBusName,+ putEventsRequestEntry_resources,+ putEventsRequestEntry_source,+ putEventsRequestEntry_time,+ putEventsRequestEntry_traceHeader,++ -- ** PutEventsResultEntry+ putEventsResultEntry_errorCode,+ putEventsResultEntry_errorMessage,+ putEventsResultEntry_eventId,++ -- ** PutPartnerEventsRequestEntry+ putPartnerEventsRequestEntry_detail,+ putPartnerEventsRequestEntry_detailType,+ putPartnerEventsRequestEntry_resources,+ putPartnerEventsRequestEntry_source,+ putPartnerEventsRequestEntry_time,++ -- ** PutPartnerEventsResultEntry+ putPartnerEventsResultEntry_errorCode,+ putPartnerEventsResultEntry_errorMessage,+ putPartnerEventsResultEntry_eventId,++ -- ** PutTargetsResultEntry+ putTargetsResultEntry_errorCode,+ putTargetsResultEntry_errorMessage,+ putTargetsResultEntry_targetId,++ -- ** RedshiftDataParameters+ redshiftDataParameters_dbUser,+ redshiftDataParameters_secretManagerArn,+ redshiftDataParameters_statementName,+ redshiftDataParameters_withEvent,+ redshiftDataParameters_database,+ redshiftDataParameters_sql,++ -- ** RemoveTargetsResultEntry+ removeTargetsResultEntry_errorCode,+ removeTargetsResultEntry_errorMessage,+ removeTargetsResultEntry_targetId,++ -- ** Replay+ replay_eventEndTime,+ replay_eventLastReplayedTime,+ replay_eventSourceArn,+ replay_eventStartTime,+ replay_replayEndTime,+ replay_replayName,+ replay_replayStartTime,+ replay_state,+ replay_stateReason,++ -- ** ReplayDestination+ replayDestination_filterArns,+ replayDestination_arn,++ -- ** ReplicationConfig+ replicationConfig_state,++ -- ** RetryPolicy+ retryPolicy_maximumEventAgeInSeconds,+ retryPolicy_maximumRetryAttempts,++ -- ** RoutingConfig+ routingConfig_failoverConfig,++ -- ** Rule+ rule_arn,+ rule_description,+ rule_eventBusName,+ rule_eventPattern,+ rule_managedBy,+ rule_name,+ rule_roleArn,+ rule_scheduleExpression,+ rule_state,++ -- ** RunCommandParameters+ runCommandParameters_runCommandTargets,++ -- ** RunCommandTarget+ runCommandTarget_key,+ runCommandTarget_values,++ -- ** SageMakerPipelineParameter+ sageMakerPipelineParameter_name,+ sageMakerPipelineParameter_value,++ -- ** SageMakerPipelineParameters+ sageMakerPipelineParameters_pipelineParameterList,++ -- ** Secondary+ secondary_route,++ -- ** SqsParameters+ sqsParameters_messageGroupId,++ -- ** Tag+ tag_key,+ tag_value,++ -- ** Target+ target_batchParameters,+ target_deadLetterConfig,+ target_ecsParameters,+ target_httpParameters,+ target_input,+ target_inputPath,+ target_inputTransformer,+ target_kinesisParameters,+ target_redshiftDataParameters,+ target_retryPolicy,+ target_roleArn,+ target_runCommandParameters,+ target_sageMakerPipelineParameters,+ target_sqsParameters,+ target_id,+ target_arn,++ -- ** UpdateConnectionApiKeyAuthRequestParameters+ updateConnectionApiKeyAuthRequestParameters_apiKeyName,+ updateConnectionApiKeyAuthRequestParameters_apiKeyValue,++ -- ** UpdateConnectionAuthRequestParameters+ updateConnectionAuthRequestParameters_apiKeyAuthParameters,+ updateConnectionAuthRequestParameters_basicAuthParameters,+ updateConnectionAuthRequestParameters_invocationHttpParameters,+ updateConnectionAuthRequestParameters_oAuthParameters,++ -- ** UpdateConnectionBasicAuthRequestParameters+ updateConnectionBasicAuthRequestParameters_password,+ updateConnectionBasicAuthRequestParameters_username,++ -- ** UpdateConnectionOAuthClientRequestParameters+ updateConnectionOAuthClientRequestParameters_clientID,+ updateConnectionOAuthClientRequestParameters_clientSecret,++ -- ** UpdateConnectionOAuthRequestParameters+ updateConnectionOAuthRequestParameters_authorizationEndpoint,+ updateConnectionOAuthRequestParameters_clientParameters,+ updateConnectionOAuthRequestParameters_httpMethod,+ updateConnectionOAuthRequestParameters_oAuthHttpParameters,+ )+where++import Amazonka.CloudWatchEvents.ActivateEventSource+import Amazonka.CloudWatchEvents.CancelReplay+import Amazonka.CloudWatchEvents.CreateApiDestination+import Amazonka.CloudWatchEvents.CreateArchive+import Amazonka.CloudWatchEvents.CreateConnection+import Amazonka.CloudWatchEvents.CreateEndpoint+import Amazonka.CloudWatchEvents.CreateEventBus+import Amazonka.CloudWatchEvents.CreatePartnerEventSource+import Amazonka.CloudWatchEvents.DeactivateEventSource+import Amazonka.CloudWatchEvents.DeauthorizeConnection+import Amazonka.CloudWatchEvents.DeleteApiDestination+import Amazonka.CloudWatchEvents.DeleteArchive+import Amazonka.CloudWatchEvents.DeleteConnection+import Amazonka.CloudWatchEvents.DeleteEndpoint+import Amazonka.CloudWatchEvents.DeleteEventBus+import Amazonka.CloudWatchEvents.DeletePartnerEventSource+import Amazonka.CloudWatchEvents.DeleteRule+import Amazonka.CloudWatchEvents.DescribeApiDestination+import Amazonka.CloudWatchEvents.DescribeArchive+import Amazonka.CloudWatchEvents.DescribeConnection+import Amazonka.CloudWatchEvents.DescribeEndpoint+import Amazonka.CloudWatchEvents.DescribeEventBus+import Amazonka.CloudWatchEvents.DescribeEventSource+import Amazonka.CloudWatchEvents.DescribePartnerEventSource+import Amazonka.CloudWatchEvents.DescribeReplay+import Amazonka.CloudWatchEvents.DescribeRule+import Amazonka.CloudWatchEvents.DisableRule+import Amazonka.CloudWatchEvents.EnableRule+import Amazonka.CloudWatchEvents.ListApiDestinations+import Amazonka.CloudWatchEvents.ListArchives+import Amazonka.CloudWatchEvents.ListConnections+import Amazonka.CloudWatchEvents.ListEndpoints+import Amazonka.CloudWatchEvents.ListEventBuses+import Amazonka.CloudWatchEvents.ListEventSources+import Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts+import Amazonka.CloudWatchEvents.ListPartnerEventSources+import Amazonka.CloudWatchEvents.ListReplays+import Amazonka.CloudWatchEvents.ListRuleNamesByTarget+import Amazonka.CloudWatchEvents.ListRules+import Amazonka.CloudWatchEvents.ListTagsForResource+import Amazonka.CloudWatchEvents.ListTargetsByRule+import Amazonka.CloudWatchEvents.PutEvents+import Amazonka.CloudWatchEvents.PutPartnerEvents+import Amazonka.CloudWatchEvents.PutPermission+import Amazonka.CloudWatchEvents.PutRule+import Amazonka.CloudWatchEvents.PutTargets+import Amazonka.CloudWatchEvents.RemovePermission+import Amazonka.CloudWatchEvents.RemoveTargets+import Amazonka.CloudWatchEvents.StartReplay+import Amazonka.CloudWatchEvents.TagResource+import Amazonka.CloudWatchEvents.TestEventPattern+import Amazonka.CloudWatchEvents.Types.ApiDestination+import Amazonka.CloudWatchEvents.Types.Archive+import Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration+import Amazonka.CloudWatchEvents.Types.BatchArrayProperties+import Amazonka.CloudWatchEvents.Types.BatchParameters+import Amazonka.CloudWatchEvents.Types.BatchRetryStrategy+import Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem+import Amazonka.CloudWatchEvents.Types.Condition+import Amazonka.CloudWatchEvents.Types.Connection+import Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter+import Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter+import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter+import Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.DeadLetterConfig+import Amazonka.CloudWatchEvents.Types.EcsParameters+import Amazonka.CloudWatchEvents.Types.Endpoint+import Amazonka.CloudWatchEvents.Types.EndpointEventBus+import Amazonka.CloudWatchEvents.Types.EventBus+import Amazonka.CloudWatchEvents.Types.EventSource+import Amazonka.CloudWatchEvents.Types.FailoverConfig+import Amazonka.CloudWatchEvents.Types.HttpParameters+import Amazonka.CloudWatchEvents.Types.InputTransformer+import Amazonka.CloudWatchEvents.Types.KinesisParameters+import Amazonka.CloudWatchEvents.Types.NetworkConfiguration+import Amazonka.CloudWatchEvents.Types.PartnerEventSource+import Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount+import Amazonka.CloudWatchEvents.Types.PlacementConstraint+import Amazonka.CloudWatchEvents.Types.PlacementStrategy+import Amazonka.CloudWatchEvents.Types.Primary+import Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry+import Amazonka.CloudWatchEvents.Types.PutEventsResultEntry+import Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry+import Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry+import Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry+import Amazonka.CloudWatchEvents.Types.RedshiftDataParameters+import Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry+import Amazonka.CloudWatchEvents.Types.Replay+import Amazonka.CloudWatchEvents.Types.ReplayDestination+import Amazonka.CloudWatchEvents.Types.ReplicationConfig+import Amazonka.CloudWatchEvents.Types.RetryPolicy+import Amazonka.CloudWatchEvents.Types.RoutingConfig+import Amazonka.CloudWatchEvents.Types.Rule+import Amazonka.CloudWatchEvents.Types.RunCommandParameters+import Amazonka.CloudWatchEvents.Types.RunCommandTarget+import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter+import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters+import Amazonka.CloudWatchEvents.Types.Secondary+import Amazonka.CloudWatchEvents.Types.SqsParameters+import Amazonka.CloudWatchEvents.Types.Tag+import Amazonka.CloudWatchEvents.Types.Target+import Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters+import Amazonka.CloudWatchEvents.UntagResource+import Amazonka.CloudWatchEvents.UpdateApiDestination+import Amazonka.CloudWatchEvents.UpdateArchive+import Amazonka.CloudWatchEvents.UpdateConnection+import Amazonka.CloudWatchEvents.UpdateEndpoint
+ gen/Amazonka/CloudWatchEvents/ListApiDestinations.hs view
@@ -0,0 +1,239 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListApiDestinations+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a list of API destination in the account in the current+-- Region.+module Amazonka.CloudWatchEvents.ListApiDestinations+ ( -- * Creating a Request+ ListApiDestinations (..),+ newListApiDestinations,++ -- * Request Lenses+ listApiDestinations_connectionArn,+ listApiDestinations_limit,+ listApiDestinations_namePrefix,+ listApiDestinations_nextToken,++ -- * Destructuring the Response+ ListApiDestinationsResponse (..),+ newListApiDestinationsResponse,++ -- * Response Lenses+ listApiDestinationsResponse_apiDestinations,+ listApiDestinationsResponse_nextToken,+ listApiDestinationsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListApiDestinations' smart constructor.+data ListApiDestinations = ListApiDestinations'+ { -- | The ARN of the connection specified for the API destination.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of API destinations to include in the response.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | A name prefix to filter results returned. Only API destinations with a+ -- name that starts with the prefix are returned.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListApiDestinations' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'listApiDestinations_connectionArn' - The ARN of the connection specified for the API destination.+--+-- 'limit', 'listApiDestinations_limit' - The maximum number of API destinations to include in the response.+--+-- 'namePrefix', 'listApiDestinations_namePrefix' - A name prefix to filter results returned. Only API destinations with a+-- name that starts with the prefix are returned.+--+-- 'nextToken', 'listApiDestinations_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+newListApiDestinations ::+ ListApiDestinations+newListApiDestinations =+ ListApiDestinations'+ { connectionArn =+ Prelude.Nothing,+ limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The ARN of the connection specified for the API destination.+listApiDestinations_connectionArn :: Lens.Lens' ListApiDestinations (Prelude.Maybe Prelude.Text)+listApiDestinations_connectionArn = Lens.lens (\ListApiDestinations' {connectionArn} -> connectionArn) (\s@ListApiDestinations' {} a -> s {connectionArn = a} :: ListApiDestinations)++-- | The maximum number of API destinations to include in the response.+listApiDestinations_limit :: Lens.Lens' ListApiDestinations (Prelude.Maybe Prelude.Natural)+listApiDestinations_limit = Lens.lens (\ListApiDestinations' {limit} -> limit) (\s@ListApiDestinations' {} a -> s {limit = a} :: ListApiDestinations)++-- | A name prefix to filter results returned. Only API destinations with a+-- name that starts with the prefix are returned.+listApiDestinations_namePrefix :: Lens.Lens' ListApiDestinations (Prelude.Maybe Prelude.Text)+listApiDestinations_namePrefix = Lens.lens (\ListApiDestinations' {namePrefix} -> namePrefix) (\s@ListApiDestinations' {} a -> s {namePrefix = a} :: ListApiDestinations)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listApiDestinations_nextToken :: Lens.Lens' ListApiDestinations (Prelude.Maybe Prelude.Text)+listApiDestinations_nextToken = Lens.lens (\ListApiDestinations' {nextToken} -> nextToken) (\s@ListApiDestinations' {} a -> s {nextToken = a} :: ListApiDestinations)++instance Core.AWSRequest ListApiDestinations where+ type+ AWSResponse ListApiDestinations =+ ListApiDestinationsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListApiDestinationsResponse'+ Prelude.<$> ( x+ Data..?> "ApiDestinations"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListApiDestinations where+ hashWithSalt _salt ListApiDestinations' {..} =+ _salt+ `Prelude.hashWithSalt` connectionArn+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListApiDestinations where+ rnf ListApiDestinations' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListApiDestinations where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListApiDestinations" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListApiDestinations where+ toJSON ListApiDestinations' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConnectionArn" Data..=) Prelude.<$> connectionArn,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListApiDestinations where+ toPath = Prelude.const "/"++instance Data.ToQuery ListApiDestinations where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListApiDestinationsResponse' smart constructor.+data ListApiDestinationsResponse = ListApiDestinationsResponse'+ { -- | An array of @ApiDestination@ objects that include information about an+ -- API destination.+ apiDestinations :: Prelude.Maybe [ApiDestination],+ -- | A token you can use in a subsequent request to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListApiDestinationsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiDestinations', 'listApiDestinationsResponse_apiDestinations' - An array of @ApiDestination@ objects that include information about an+-- API destination.+--+-- 'nextToken', 'listApiDestinationsResponse_nextToken' - A token you can use in a subsequent request to retrieve the next set of+-- results.+--+-- 'httpStatus', 'listApiDestinationsResponse_httpStatus' - The response's http status code.+newListApiDestinationsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListApiDestinationsResponse+newListApiDestinationsResponse pHttpStatus_ =+ ListApiDestinationsResponse'+ { apiDestinations =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An array of @ApiDestination@ objects that include information about an+-- API destination.+listApiDestinationsResponse_apiDestinations :: Lens.Lens' ListApiDestinationsResponse (Prelude.Maybe [ApiDestination])+listApiDestinationsResponse_apiDestinations = Lens.lens (\ListApiDestinationsResponse' {apiDestinations} -> apiDestinations) (\s@ListApiDestinationsResponse' {} a -> s {apiDestinations = a} :: ListApiDestinationsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token you can use in a subsequent request to retrieve the next set of+-- results.+listApiDestinationsResponse_nextToken :: Lens.Lens' ListApiDestinationsResponse (Prelude.Maybe Prelude.Text)+listApiDestinationsResponse_nextToken = Lens.lens (\ListApiDestinationsResponse' {nextToken} -> nextToken) (\s@ListApiDestinationsResponse' {} a -> s {nextToken = a} :: ListApiDestinationsResponse)++-- | The response's http status code.+listApiDestinationsResponse_httpStatus :: Lens.Lens' ListApiDestinationsResponse Prelude.Int+listApiDestinationsResponse_httpStatus = Lens.lens (\ListApiDestinationsResponse' {httpStatus} -> httpStatus) (\s@ListApiDestinationsResponse' {} a -> s {httpStatus = a} :: ListApiDestinationsResponse)++instance Prelude.NFData ListApiDestinationsResponse where+ rnf ListApiDestinationsResponse' {..} =+ Prelude.rnf apiDestinations+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListArchives.hs view
@@ -0,0 +1,242 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListArchives+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists your archives. You can either list all the archives or you can+-- provide a prefix to match to the archive names. Filter parameters are+-- exclusive.+module Amazonka.CloudWatchEvents.ListArchives+ ( -- * Creating a Request+ ListArchives (..),+ newListArchives,++ -- * Request Lenses+ listArchives_eventSourceArn,+ listArchives_limit,+ listArchives_namePrefix,+ listArchives_nextToken,+ listArchives_state,++ -- * Destructuring the Response+ ListArchivesResponse (..),+ newListArchivesResponse,++ -- * Response Lenses+ listArchivesResponse_archives,+ listArchivesResponse_nextToken,+ listArchivesResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListArchives' smart constructor.+data ListArchives = ListArchives'+ { -- | The ARN of the event source associated with the archive.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results to return.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | A name prefix to filter the archives returned. Only archives with name+ -- that match the prefix are returned.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The state of the archive.+ state :: Prelude.Maybe ArchiveState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListArchives' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventSourceArn', 'listArchives_eventSourceArn' - The ARN of the event source associated with the archive.+--+-- 'limit', 'listArchives_limit' - The maximum number of results to return.+--+-- 'namePrefix', 'listArchives_namePrefix' - A name prefix to filter the archives returned. Only archives with name+-- that match the prefix are returned.+--+-- 'nextToken', 'listArchives_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'state', 'listArchives_state' - The state of the archive.+newListArchives ::+ ListArchives+newListArchives =+ ListArchives'+ { eventSourceArn = Prelude.Nothing,+ limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The ARN of the event source associated with the archive.+listArchives_eventSourceArn :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)+listArchives_eventSourceArn = Lens.lens (\ListArchives' {eventSourceArn} -> eventSourceArn) (\s@ListArchives' {} a -> s {eventSourceArn = a} :: ListArchives)++-- | The maximum number of results to return.+listArchives_limit :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Natural)+listArchives_limit = Lens.lens (\ListArchives' {limit} -> limit) (\s@ListArchives' {} a -> s {limit = a} :: ListArchives)++-- | A name prefix to filter the archives returned. Only archives with name+-- that match the prefix are returned.+listArchives_namePrefix :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)+listArchives_namePrefix = Lens.lens (\ListArchives' {namePrefix} -> namePrefix) (\s@ListArchives' {} a -> s {namePrefix = a} :: ListArchives)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listArchives_nextToken :: Lens.Lens' ListArchives (Prelude.Maybe Prelude.Text)+listArchives_nextToken = Lens.lens (\ListArchives' {nextToken} -> nextToken) (\s@ListArchives' {} a -> s {nextToken = a} :: ListArchives)++-- | The state of the archive.+listArchives_state :: Lens.Lens' ListArchives (Prelude.Maybe ArchiveState)+listArchives_state = Lens.lens (\ListArchives' {state} -> state) (\s@ListArchives' {} a -> s {state = a} :: ListArchives)++instance Core.AWSRequest ListArchives where+ type AWSResponse ListArchives = ListArchivesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListArchivesResponse'+ Prelude.<$> (x Data..?> "Archives" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListArchives where+ hashWithSalt _salt ListArchives' {..} =+ _salt+ `Prelude.hashWithSalt` eventSourceArn+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` state++instance Prelude.NFData ListArchives where+ rnf ListArchives' {..} =+ Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf state++instance Data.ToHeaders ListArchives where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListArchives" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListArchives where+ toJSON ListArchives' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventSourceArn" Data..=)+ Prelude.<$> eventSourceArn,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("State" Data..=) Prelude.<$> state+ ]+ )++instance Data.ToPath ListArchives where+ toPath = Prelude.const "/"++instance Data.ToQuery ListArchives where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListArchivesResponse' smart constructor.+data ListArchivesResponse = ListArchivesResponse'+ { -- | An array of @Archive@ objects that include details about an archive.+ archives :: Prelude.Maybe [Archive],+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListArchivesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archives', 'listArchivesResponse_archives' - An array of @Archive@ objects that include details about an archive.+--+-- 'nextToken', 'listArchivesResponse_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'httpStatus', 'listArchivesResponse_httpStatus' - The response's http status code.+newListArchivesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListArchivesResponse+newListArchivesResponse pHttpStatus_ =+ ListArchivesResponse'+ { archives = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An array of @Archive@ objects that include details about an archive.+listArchivesResponse_archives :: Lens.Lens' ListArchivesResponse (Prelude.Maybe [Archive])+listArchivesResponse_archives = Lens.lens (\ListArchivesResponse' {archives} -> archives) (\s@ListArchivesResponse' {} a -> s {archives = a} :: ListArchivesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The token returned by a previous call to retrieve the next set of+-- results.+listArchivesResponse_nextToken :: Lens.Lens' ListArchivesResponse (Prelude.Maybe Prelude.Text)+listArchivesResponse_nextToken = Lens.lens (\ListArchivesResponse' {nextToken} -> nextToken) (\s@ListArchivesResponse' {} a -> s {nextToken = a} :: ListArchivesResponse)++-- | The response's http status code.+listArchivesResponse_httpStatus :: Lens.Lens' ListArchivesResponse Prelude.Int+listArchivesResponse_httpStatus = Lens.lens (\ListArchivesResponse' {httpStatus} -> httpStatus) (\s@ListArchivesResponse' {} a -> s {httpStatus = a} :: ListArchivesResponse)++instance Prelude.NFData ListArchivesResponse where+ rnf ListArchivesResponse' {..} =+ Prelude.rnf archives+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListConnections.hs view
@@ -0,0 +1,233 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListConnections+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a list of connections from the account.+module Amazonka.CloudWatchEvents.ListConnections+ ( -- * Creating a Request+ ListConnections (..),+ newListConnections,++ -- * Request Lenses+ listConnections_connectionState,+ listConnections_limit,+ listConnections_namePrefix,+ listConnections_nextToken,++ -- * Destructuring the Response+ ListConnectionsResponse (..),+ newListConnectionsResponse,++ -- * Response Lenses+ listConnectionsResponse_connections,+ listConnectionsResponse_nextToken,+ listConnectionsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListConnections' smart constructor.+data ListConnections = ListConnections'+ { -- | The state of the connection.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | The maximum number of connections to return.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | A name prefix to filter results returned. Only connections with a name+ -- that starts with the prefix are returned.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListConnections' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionState', 'listConnections_connectionState' - The state of the connection.+--+-- 'limit', 'listConnections_limit' - The maximum number of connections to return.+--+-- 'namePrefix', 'listConnections_namePrefix' - A name prefix to filter results returned. Only connections with a name+-- that starts with the prefix are returned.+--+-- 'nextToken', 'listConnections_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+newListConnections ::+ ListConnections+newListConnections =+ ListConnections'+ { connectionState = Prelude.Nothing,+ limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The state of the connection.+listConnections_connectionState :: Lens.Lens' ListConnections (Prelude.Maybe ConnectionState)+listConnections_connectionState = Lens.lens (\ListConnections' {connectionState} -> connectionState) (\s@ListConnections' {} a -> s {connectionState = a} :: ListConnections)++-- | The maximum number of connections to return.+listConnections_limit :: Lens.Lens' ListConnections (Prelude.Maybe Prelude.Natural)+listConnections_limit = Lens.lens (\ListConnections' {limit} -> limit) (\s@ListConnections' {} a -> s {limit = a} :: ListConnections)++-- | A name prefix to filter results returned. Only connections with a name+-- that starts with the prefix are returned.+listConnections_namePrefix :: Lens.Lens' ListConnections (Prelude.Maybe Prelude.Text)+listConnections_namePrefix = Lens.lens (\ListConnections' {namePrefix} -> namePrefix) (\s@ListConnections' {} a -> s {namePrefix = a} :: ListConnections)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listConnections_nextToken :: Lens.Lens' ListConnections (Prelude.Maybe Prelude.Text)+listConnections_nextToken = Lens.lens (\ListConnections' {nextToken} -> nextToken) (\s@ListConnections' {} a -> s {nextToken = a} :: ListConnections)++instance Core.AWSRequest ListConnections where+ type+ AWSResponse ListConnections =+ ListConnectionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListConnectionsResponse'+ Prelude.<$> (x Data..?> "Connections" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListConnections where+ hashWithSalt _salt ListConnections' {..} =+ _salt+ `Prelude.hashWithSalt` connectionState+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListConnections where+ rnf ListConnections' {..} =+ Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListConnections where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListConnections" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListConnections where+ toJSON ListConnections' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConnectionState" Data..=)+ Prelude.<$> connectionState,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListConnections where+ toPath = Prelude.const "/"++instance Data.ToQuery ListConnections where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListConnectionsResponse' smart constructor.+data ListConnectionsResponse = ListConnectionsResponse'+ { -- | An array of connections objects that include details about the+ -- connections.+ connections :: Prelude.Maybe [Connection],+ -- | A token you can use in a subsequent request to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListConnectionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connections', 'listConnectionsResponse_connections' - An array of connections objects that include details about the+-- connections.+--+-- 'nextToken', 'listConnectionsResponse_nextToken' - A token you can use in a subsequent request to retrieve the next set of+-- results.+--+-- 'httpStatus', 'listConnectionsResponse_httpStatus' - The response's http status code.+newListConnectionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListConnectionsResponse+newListConnectionsResponse pHttpStatus_ =+ ListConnectionsResponse'+ { connections =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An array of connections objects that include details about the+-- connections.+listConnectionsResponse_connections :: Lens.Lens' ListConnectionsResponse (Prelude.Maybe [Connection])+listConnectionsResponse_connections = Lens.lens (\ListConnectionsResponse' {connections} -> connections) (\s@ListConnectionsResponse' {} a -> s {connections = a} :: ListConnectionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token you can use in a subsequent request to retrieve the next set of+-- results.+listConnectionsResponse_nextToken :: Lens.Lens' ListConnectionsResponse (Prelude.Maybe Prelude.Text)+listConnectionsResponse_nextToken = Lens.lens (\ListConnectionsResponse' {nextToken} -> nextToken) (\s@ListConnectionsResponse' {} a -> s {nextToken = a} :: ListConnectionsResponse)++-- | The response's http status code.+listConnectionsResponse_httpStatus :: Lens.Lens' ListConnectionsResponse Prelude.Int+listConnectionsResponse_httpStatus = Lens.lens (\ListConnectionsResponse' {httpStatus} -> httpStatus) (\s@ListConnectionsResponse' {} a -> s {httpStatus = a} :: ListConnectionsResponse)++instance Prelude.NFData ListConnectionsResponse where+ rnf ListConnectionsResponse' {..} =+ Prelude.rnf connections+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListEndpoints.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListEndpoints+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- List the global endpoints associated with this account. For more+-- information about global endpoints, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html Making applications Regional-fault tolerant with global endpoints and event replication>+-- in the Amazon EventBridge User Guide..+module Amazonka.CloudWatchEvents.ListEndpoints+ ( -- * Creating a Request+ ListEndpoints (..),+ newListEndpoints,++ -- * Request Lenses+ listEndpoints_homeRegion,+ listEndpoints_maxResults,+ listEndpoints_namePrefix,+ listEndpoints_nextToken,++ -- * Destructuring the Response+ ListEndpointsResponse (..),+ newListEndpointsResponse,++ -- * Response Lenses+ listEndpointsResponse_endpoints,+ listEndpointsResponse_nextToken,+ listEndpointsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListEndpoints' smart constructor.+data ListEndpoints = ListEndpoints'+ { -- | The primary Region of the endpoints associated with this account. For+ -- example @\"HomeRegion\": \"us-east-1\"@.+ homeRegion :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results returned by the call.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | A value that will return a subset of the endpoints associated with this+ -- account. For example, @\"NamePrefix\": \"ABC\"@ will return all+ -- endpoints with \"ABC\" in the name.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | If @nextToken@ is returned, there are more results available. The value+ -- of nextToken is a unique pagination token for each page. Make the call+ -- again using the returned token to retrieve the next page. Keep all other+ -- arguments unchanged. Each pagination token expires after 24 hours. Using+ -- an expired pagination token will return an HTTP 400 InvalidToken error.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEndpoints' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'homeRegion', 'listEndpoints_homeRegion' - The primary Region of the endpoints associated with this account. For+-- example @\"HomeRegion\": \"us-east-1\"@.+--+-- 'maxResults', 'listEndpoints_maxResults' - The maximum number of results returned by the call.+--+-- 'namePrefix', 'listEndpoints_namePrefix' - A value that will return a subset of the endpoints associated with this+-- account. For example, @\"NamePrefix\": \"ABC\"@ will return all+-- endpoints with \"ABC\" in the name.+--+-- 'nextToken', 'listEndpoints_nextToken' - If @nextToken@ is returned, there are more results available. The value+-- of nextToken is a unique pagination token for each page. Make the call+-- again using the returned token to retrieve the next page. Keep all other+-- arguments unchanged. Each pagination token expires after 24 hours. Using+-- an expired pagination token will return an HTTP 400 InvalidToken error.+newListEndpoints ::+ ListEndpoints+newListEndpoints =+ ListEndpoints'+ { homeRegion = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The primary Region of the endpoints associated with this account. For+-- example @\"HomeRegion\": \"us-east-1\"@.+listEndpoints_homeRegion :: Lens.Lens' ListEndpoints (Prelude.Maybe Prelude.Text)+listEndpoints_homeRegion = Lens.lens (\ListEndpoints' {homeRegion} -> homeRegion) (\s@ListEndpoints' {} a -> s {homeRegion = a} :: ListEndpoints)++-- | The maximum number of results returned by the call.+listEndpoints_maxResults :: Lens.Lens' ListEndpoints (Prelude.Maybe Prelude.Natural)+listEndpoints_maxResults = Lens.lens (\ListEndpoints' {maxResults} -> maxResults) (\s@ListEndpoints' {} a -> s {maxResults = a} :: ListEndpoints)++-- | A value that will return a subset of the endpoints associated with this+-- account. For example, @\"NamePrefix\": \"ABC\"@ will return all+-- endpoints with \"ABC\" in the name.+listEndpoints_namePrefix :: Lens.Lens' ListEndpoints (Prelude.Maybe Prelude.Text)+listEndpoints_namePrefix = Lens.lens (\ListEndpoints' {namePrefix} -> namePrefix) (\s@ListEndpoints' {} a -> s {namePrefix = a} :: ListEndpoints)++-- | If @nextToken@ is returned, there are more results available. The value+-- of nextToken is a unique pagination token for each page. Make the call+-- again using the returned token to retrieve the next page. Keep all other+-- arguments unchanged. Each pagination token expires after 24 hours. Using+-- an expired pagination token will return an HTTP 400 InvalidToken error.+listEndpoints_nextToken :: Lens.Lens' ListEndpoints (Prelude.Maybe Prelude.Text)+listEndpoints_nextToken = Lens.lens (\ListEndpoints' {nextToken} -> nextToken) (\s@ListEndpoints' {} a -> s {nextToken = a} :: ListEndpoints)++instance Core.AWSRequest ListEndpoints where+ type+ AWSResponse ListEndpoints =+ ListEndpointsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListEndpointsResponse'+ Prelude.<$> (x Data..?> "Endpoints" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListEndpoints where+ hashWithSalt _salt ListEndpoints' {..} =+ _salt+ `Prelude.hashWithSalt` homeRegion+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListEndpoints where+ rnf ListEndpoints' {..} =+ Prelude.rnf homeRegion+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListEndpoints where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListEndpoints" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListEndpoints where+ toJSON ListEndpoints' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("HomeRegion" Data..=) Prelude.<$> homeRegion,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListEndpoints where+ toPath = Prelude.const "/"++instance Data.ToQuery ListEndpoints where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListEndpointsResponse' smart constructor.+data ListEndpointsResponse = ListEndpointsResponse'+ { -- | The endpoints returned by the call.+ endpoints :: Prelude.Maybe [Endpoint],+ -- | If @nextToken@ is returned, there are more results available. The value+ -- of nextToken is a unique pagination token for each page. Make the call+ -- again using the returned token to retrieve the next page. Keep all other+ -- arguments unchanged. Each pagination token expires after 24 hours. Using+ -- an expired pagination token will return an HTTP 400 InvalidToken error.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEndpointsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endpoints', 'listEndpointsResponse_endpoints' - The endpoints returned by the call.+--+-- 'nextToken', 'listEndpointsResponse_nextToken' - If @nextToken@ is returned, there are more results available. The value+-- of nextToken is a unique pagination token for each page. Make the call+-- again using the returned token to retrieve the next page. Keep all other+-- arguments unchanged. Each pagination token expires after 24 hours. Using+-- an expired pagination token will return an HTTP 400 InvalidToken error.+--+-- 'httpStatus', 'listEndpointsResponse_httpStatus' - The response's http status code.+newListEndpointsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListEndpointsResponse+newListEndpointsResponse pHttpStatus_ =+ ListEndpointsResponse'+ { endpoints = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The endpoints returned by the call.+listEndpointsResponse_endpoints :: Lens.Lens' ListEndpointsResponse (Prelude.Maybe [Endpoint])+listEndpointsResponse_endpoints = Lens.lens (\ListEndpointsResponse' {endpoints} -> endpoints) (\s@ListEndpointsResponse' {} a -> s {endpoints = a} :: ListEndpointsResponse) Prelude.. Lens.mapping Lens.coerced++-- | If @nextToken@ is returned, there are more results available. The value+-- of nextToken is a unique pagination token for each page. Make the call+-- again using the returned token to retrieve the next page. Keep all other+-- arguments unchanged. Each pagination token expires after 24 hours. Using+-- an expired pagination token will return an HTTP 400 InvalidToken error.+listEndpointsResponse_nextToken :: Lens.Lens' ListEndpointsResponse (Prelude.Maybe Prelude.Text)+listEndpointsResponse_nextToken = Lens.lens (\ListEndpointsResponse' {nextToken} -> nextToken) (\s@ListEndpointsResponse' {} a -> s {nextToken = a} :: ListEndpointsResponse)++-- | The response's http status code.+listEndpointsResponse_httpStatus :: Lens.Lens' ListEndpointsResponse Prelude.Int+listEndpointsResponse_httpStatus = Lens.lens (\ListEndpointsResponse' {httpStatus} -> httpStatus) (\s@ListEndpointsResponse' {} a -> s {httpStatus = a} :: ListEndpointsResponse)++instance Prelude.NFData ListEndpointsResponse where+ rnf ListEndpointsResponse' {..} =+ Prelude.rnf endpoints+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListEventBuses.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListEventBuses+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the event buses in your account, including the default event+-- bus, custom event buses, and partner event buses.+module Amazonka.CloudWatchEvents.ListEventBuses+ ( -- * Creating a Request+ ListEventBuses (..),+ newListEventBuses,++ -- * Request Lenses+ listEventBuses_limit,+ listEventBuses_namePrefix,+ listEventBuses_nextToken,++ -- * Destructuring the Response+ ListEventBusesResponse (..),+ newListEventBusesResponse,++ -- * Response Lenses+ listEventBusesResponse_eventBuses,+ listEventBusesResponse_nextToken,+ listEventBusesResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListEventBuses' smart constructor.+data ListEventBuses = ListEventBuses'+ { -- | Specifying this limits the number of results returned by this operation.+ -- The operation also returns a NextToken which you can use in a subsequent+ -- operation to retrieve the next set of results.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | Specifying this limits the results to only those event buses with names+ -- that start with the specified prefix.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEventBuses' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limit', 'listEventBuses_limit' - Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+--+-- 'namePrefix', 'listEventBuses_namePrefix' - Specifying this limits the results to only those event buses with names+-- that start with the specified prefix.+--+-- 'nextToken', 'listEventBuses_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+newListEventBuses ::+ ListEventBuses+newListEventBuses =+ ListEventBuses'+ { limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+listEventBuses_limit :: Lens.Lens' ListEventBuses (Prelude.Maybe Prelude.Natural)+listEventBuses_limit = Lens.lens (\ListEventBuses' {limit} -> limit) (\s@ListEventBuses' {} a -> s {limit = a} :: ListEventBuses)++-- | Specifying this limits the results to only those event buses with names+-- that start with the specified prefix.+listEventBuses_namePrefix :: Lens.Lens' ListEventBuses (Prelude.Maybe Prelude.Text)+listEventBuses_namePrefix = Lens.lens (\ListEventBuses' {namePrefix} -> namePrefix) (\s@ListEventBuses' {} a -> s {namePrefix = a} :: ListEventBuses)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listEventBuses_nextToken :: Lens.Lens' ListEventBuses (Prelude.Maybe Prelude.Text)+listEventBuses_nextToken = Lens.lens (\ListEventBuses' {nextToken} -> nextToken) (\s@ListEventBuses' {} a -> s {nextToken = a} :: ListEventBuses)++instance Core.AWSRequest ListEventBuses where+ type+ AWSResponse ListEventBuses =+ ListEventBusesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListEventBusesResponse'+ Prelude.<$> (x Data..?> "EventBuses" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListEventBuses where+ hashWithSalt _salt ListEventBuses' {..} =+ _salt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListEventBuses where+ rnf ListEventBuses' {..} =+ Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListEventBuses where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListEventBuses" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListEventBuses where+ toJSON ListEventBuses' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListEventBuses where+ toPath = Prelude.const "/"++instance Data.ToQuery ListEventBuses where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListEventBusesResponse' smart constructor.+data ListEventBusesResponse = ListEventBusesResponse'+ { -- | This list of event buses.+ eventBuses :: Prelude.Maybe [EventBus],+ -- | A token you can use in a subsequent operation to retrieve the next set+ -- of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEventBusesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBuses', 'listEventBusesResponse_eventBuses' - This list of event buses.+--+-- 'nextToken', 'listEventBusesResponse_nextToken' - A token you can use in a subsequent operation to retrieve the next set+-- of results.+--+-- 'httpStatus', 'listEventBusesResponse_httpStatus' - The response's http status code.+newListEventBusesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListEventBusesResponse+newListEventBusesResponse pHttpStatus_ =+ ListEventBusesResponse'+ { eventBuses =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | This list of event buses.+listEventBusesResponse_eventBuses :: Lens.Lens' ListEventBusesResponse (Prelude.Maybe [EventBus])+listEventBusesResponse_eventBuses = Lens.lens (\ListEventBusesResponse' {eventBuses} -> eventBuses) (\s@ListEventBusesResponse' {} a -> s {eventBuses = a} :: ListEventBusesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token you can use in a subsequent operation to retrieve the next set+-- of results.+listEventBusesResponse_nextToken :: Lens.Lens' ListEventBusesResponse (Prelude.Maybe Prelude.Text)+listEventBusesResponse_nextToken = Lens.lens (\ListEventBusesResponse' {nextToken} -> nextToken) (\s@ListEventBusesResponse' {} a -> s {nextToken = a} :: ListEventBusesResponse)++-- | The response's http status code.+listEventBusesResponse_httpStatus :: Lens.Lens' ListEventBusesResponse Prelude.Int+listEventBusesResponse_httpStatus = Lens.lens (\ListEventBusesResponse' {httpStatus} -> httpStatus) (\s@ListEventBusesResponse' {} a -> s {httpStatus = a} :: ListEventBusesResponse)++instance Prelude.NFData ListEventBusesResponse where+ rnf ListEventBusesResponse' {..} =+ Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListEventSources.hs view
@@ -0,0 +1,225 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListEventSources+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- You can use this to see all the partner event sources that have been+-- shared with your Amazon Web Services account. For more information about+-- partner event sources, see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html CreateEventBus>.+module Amazonka.CloudWatchEvents.ListEventSources+ ( -- * Creating a Request+ ListEventSources (..),+ newListEventSources,++ -- * Request Lenses+ listEventSources_limit,+ listEventSources_namePrefix,+ listEventSources_nextToken,++ -- * Destructuring the Response+ ListEventSourcesResponse (..),+ newListEventSourcesResponse,++ -- * Response Lenses+ listEventSourcesResponse_eventSources,+ listEventSourcesResponse_nextToken,+ listEventSourcesResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListEventSources' smart constructor.+data ListEventSources = ListEventSources'+ { -- | Specifying this limits the number of results returned by this operation.+ -- The operation also returns a NextToken which you can use in a subsequent+ -- operation to retrieve the next set of results.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | Specifying this limits the results to only those partner event sources+ -- with names that start with the specified prefix.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEventSources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limit', 'listEventSources_limit' - Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+--+-- 'namePrefix', 'listEventSources_namePrefix' - Specifying this limits the results to only those partner event sources+-- with names that start with the specified prefix.+--+-- 'nextToken', 'listEventSources_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+newListEventSources ::+ ListEventSources+newListEventSources =+ ListEventSources'+ { limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+listEventSources_limit :: Lens.Lens' ListEventSources (Prelude.Maybe Prelude.Natural)+listEventSources_limit = Lens.lens (\ListEventSources' {limit} -> limit) (\s@ListEventSources' {} a -> s {limit = a} :: ListEventSources)++-- | Specifying this limits the results to only those partner event sources+-- with names that start with the specified prefix.+listEventSources_namePrefix :: Lens.Lens' ListEventSources (Prelude.Maybe Prelude.Text)+listEventSources_namePrefix = Lens.lens (\ListEventSources' {namePrefix} -> namePrefix) (\s@ListEventSources' {} a -> s {namePrefix = a} :: ListEventSources)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listEventSources_nextToken :: Lens.Lens' ListEventSources (Prelude.Maybe Prelude.Text)+listEventSources_nextToken = Lens.lens (\ListEventSources' {nextToken} -> nextToken) (\s@ListEventSources' {} a -> s {nextToken = a} :: ListEventSources)++instance Core.AWSRequest ListEventSources where+ type+ AWSResponse ListEventSources =+ ListEventSourcesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListEventSourcesResponse'+ Prelude.<$> (x Data..?> "EventSources" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListEventSources where+ hashWithSalt _salt ListEventSources' {..} =+ _salt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListEventSources where+ rnf ListEventSources' {..} =+ Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListEventSources where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListEventSources" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListEventSources where+ toJSON ListEventSources' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListEventSources where+ toPath = Prelude.const "/"++instance Data.ToQuery ListEventSources where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListEventSourcesResponse' smart constructor.+data ListEventSourcesResponse = ListEventSourcesResponse'+ { -- | The list of event sources.+ eventSources :: Prelude.Maybe [EventSource],+ -- | A token you can use in a subsequent operation to retrieve the next set+ -- of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListEventSourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventSources', 'listEventSourcesResponse_eventSources' - The list of event sources.+--+-- 'nextToken', 'listEventSourcesResponse_nextToken' - A token you can use in a subsequent operation to retrieve the next set+-- of results.+--+-- 'httpStatus', 'listEventSourcesResponse_httpStatus' - The response's http status code.+newListEventSourcesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListEventSourcesResponse+newListEventSourcesResponse pHttpStatus_ =+ ListEventSourcesResponse'+ { eventSources =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of event sources.+listEventSourcesResponse_eventSources :: Lens.Lens' ListEventSourcesResponse (Prelude.Maybe [EventSource])+listEventSourcesResponse_eventSources = Lens.lens (\ListEventSourcesResponse' {eventSources} -> eventSources) (\s@ListEventSourcesResponse' {} a -> s {eventSources = a} :: ListEventSourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A token you can use in a subsequent operation to retrieve the next set+-- of results.+listEventSourcesResponse_nextToken :: Lens.Lens' ListEventSourcesResponse (Prelude.Maybe Prelude.Text)+listEventSourcesResponse_nextToken = Lens.lens (\ListEventSourcesResponse' {nextToken} -> nextToken) (\s@ListEventSourcesResponse' {} a -> s {nextToken = a} :: ListEventSourcesResponse)++-- | The response's http status code.+listEventSourcesResponse_httpStatus :: Lens.Lens' ListEventSourcesResponse Prelude.Int+listEventSourcesResponse_httpStatus = Lens.lens (\ListEventSourcesResponse' {httpStatus} -> httpStatus) (\s@ListEventSourcesResponse' {} a -> s {httpStatus = a} :: ListEventSourcesResponse)++instance Prelude.NFData ListEventSourcesResponse where+ rnf ListEventSourcesResponse' {..} =+ Prelude.rnf eventSources+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListPartnerEventSourceAccounts.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- An SaaS partner can use this operation to display the Amazon Web+-- Services account ID that a particular partner event source name is+-- associated with. This operation is not used by Amazon Web Services+-- customers.+module Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts+ ( -- * Creating a Request+ ListPartnerEventSourceAccounts (..),+ newListPartnerEventSourceAccounts,++ -- * Request Lenses+ listPartnerEventSourceAccounts_limit,+ listPartnerEventSourceAccounts_nextToken,+ listPartnerEventSourceAccounts_eventSourceName,++ -- * Destructuring the Response+ ListPartnerEventSourceAccountsResponse (..),+ newListPartnerEventSourceAccountsResponse,++ -- * Response Lenses+ listPartnerEventSourceAccountsResponse_nextToken,+ listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts,+ listPartnerEventSourceAccountsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListPartnerEventSourceAccounts' smart constructor.+data ListPartnerEventSourceAccounts = ListPartnerEventSourceAccounts'+ { -- | Specifying this limits the number of results returned by this operation.+ -- The operation also returns a NextToken which you can use in a subsequent+ -- operation to retrieve the next set of results.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The token returned by a previous call to this operation. Specifying this+ -- retrieves the next set of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the partner event source to display account information+ -- about.+ eventSourceName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPartnerEventSourceAccounts' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limit', 'listPartnerEventSourceAccounts_limit' - Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+--+-- 'nextToken', 'listPartnerEventSourceAccounts_nextToken' - The token returned by a previous call to this operation. Specifying this+-- retrieves the next set of results.+--+-- 'eventSourceName', 'listPartnerEventSourceAccounts_eventSourceName' - The name of the partner event source to display account information+-- about.+newListPartnerEventSourceAccounts ::+ -- | 'eventSourceName'+ Prelude.Text ->+ ListPartnerEventSourceAccounts+newListPartnerEventSourceAccounts pEventSourceName_ =+ ListPartnerEventSourceAccounts'+ { limit =+ Prelude.Nothing,+ nextToken = Prelude.Nothing,+ eventSourceName = pEventSourceName_+ }++-- | Specifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+listPartnerEventSourceAccounts_limit :: Lens.Lens' ListPartnerEventSourceAccounts (Prelude.Maybe Prelude.Natural)+listPartnerEventSourceAccounts_limit = Lens.lens (\ListPartnerEventSourceAccounts' {limit} -> limit) (\s@ListPartnerEventSourceAccounts' {} a -> s {limit = a} :: ListPartnerEventSourceAccounts)++-- | The token returned by a previous call to this operation. Specifying this+-- retrieves the next set of results.+listPartnerEventSourceAccounts_nextToken :: Lens.Lens' ListPartnerEventSourceAccounts (Prelude.Maybe Prelude.Text)+listPartnerEventSourceAccounts_nextToken = Lens.lens (\ListPartnerEventSourceAccounts' {nextToken} -> nextToken) (\s@ListPartnerEventSourceAccounts' {} a -> s {nextToken = a} :: ListPartnerEventSourceAccounts)++-- | The name of the partner event source to display account information+-- about.+listPartnerEventSourceAccounts_eventSourceName :: Lens.Lens' ListPartnerEventSourceAccounts Prelude.Text+listPartnerEventSourceAccounts_eventSourceName = Lens.lens (\ListPartnerEventSourceAccounts' {eventSourceName} -> eventSourceName) (\s@ListPartnerEventSourceAccounts' {} a -> s {eventSourceName = a} :: ListPartnerEventSourceAccounts)++instance+ Core.AWSRequest+ ListPartnerEventSourceAccounts+ where+ type+ AWSResponse ListPartnerEventSourceAccounts =+ ListPartnerEventSourceAccountsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListPartnerEventSourceAccountsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "PartnerEventSourceAccounts"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ ListPartnerEventSourceAccounts+ where+ hashWithSalt+ _salt+ ListPartnerEventSourceAccounts' {..} =+ _salt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` eventSourceName++instance+ Prelude.NFData+ ListPartnerEventSourceAccounts+ where+ rnf ListPartnerEventSourceAccounts' {..} =+ Prelude.rnf limit+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf eventSourceName++instance+ Data.ToHeaders+ ListPartnerEventSourceAccounts+ where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListPartnerEventSourceAccounts" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListPartnerEventSourceAccounts where+ toJSON ListPartnerEventSourceAccounts' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Limit" Data..=) Prelude.<$> limit,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just+ ("EventSourceName" Data..= eventSourceName)+ ]+ )++instance Data.ToPath ListPartnerEventSourceAccounts where+ toPath = Prelude.const "/"++instance Data.ToQuery ListPartnerEventSourceAccounts where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListPartnerEventSourceAccountsResponse' smart constructor.+data ListPartnerEventSourceAccountsResponse = ListPartnerEventSourceAccountsResponse'+ { -- | A token you can use in a subsequent operation to retrieve the next set+ -- of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of partner event sources returned by the operation.+ partnerEventSourceAccounts :: Prelude.Maybe [PartnerEventSourceAccount],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPartnerEventSourceAccountsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listPartnerEventSourceAccountsResponse_nextToken' - A token you can use in a subsequent operation to retrieve the next set+-- of results.+--+-- 'partnerEventSourceAccounts', 'listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts' - The list of partner event sources returned by the operation.+--+-- 'httpStatus', 'listPartnerEventSourceAccountsResponse_httpStatus' - The response's http status code.+newListPartnerEventSourceAccountsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListPartnerEventSourceAccountsResponse+newListPartnerEventSourceAccountsResponse+ pHttpStatus_ =+ ListPartnerEventSourceAccountsResponse'+ { nextToken =+ Prelude.Nothing,+ partnerEventSourceAccounts =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token you can use in a subsequent operation to retrieve the next set+-- of results.+listPartnerEventSourceAccountsResponse_nextToken :: Lens.Lens' ListPartnerEventSourceAccountsResponse (Prelude.Maybe Prelude.Text)+listPartnerEventSourceAccountsResponse_nextToken = Lens.lens (\ListPartnerEventSourceAccountsResponse' {nextToken} -> nextToken) (\s@ListPartnerEventSourceAccountsResponse' {} a -> s {nextToken = a} :: ListPartnerEventSourceAccountsResponse)++-- | The list of partner event sources returned by the operation.+listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens.Lens' ListPartnerEventSourceAccountsResponse (Prelude.Maybe [PartnerEventSourceAccount])+listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts = Lens.lens (\ListPartnerEventSourceAccountsResponse' {partnerEventSourceAccounts} -> partnerEventSourceAccounts) (\s@ListPartnerEventSourceAccountsResponse' {} a -> s {partnerEventSourceAccounts = a} :: ListPartnerEventSourceAccountsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listPartnerEventSourceAccountsResponse_httpStatus :: Lens.Lens' ListPartnerEventSourceAccountsResponse Prelude.Int+listPartnerEventSourceAccountsResponse_httpStatus = Lens.lens (\ListPartnerEventSourceAccountsResponse' {httpStatus} -> httpStatus) (\s@ListPartnerEventSourceAccountsResponse' {} a -> s {httpStatus = a} :: ListPartnerEventSourceAccountsResponse)++instance+ Prelude.NFData+ ListPartnerEventSourceAccountsResponse+ where+ rnf ListPartnerEventSourceAccountsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf partnerEventSourceAccounts+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListPartnerEventSources.hs view
@@ -0,0 +1,234 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListPartnerEventSources+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- An SaaS partner can use this operation to list all the partner event+-- source names that they have created. This operation is not used by+-- Amazon Web Services customers.+module Amazonka.CloudWatchEvents.ListPartnerEventSources+ ( -- * Creating a Request+ ListPartnerEventSources (..),+ newListPartnerEventSources,++ -- * Request Lenses+ listPartnerEventSources_limit,+ listPartnerEventSources_nextToken,+ listPartnerEventSources_namePrefix,++ -- * Destructuring the Response+ ListPartnerEventSourcesResponse (..),+ newListPartnerEventSourcesResponse,++ -- * Response Lenses+ listPartnerEventSourcesResponse_nextToken,+ listPartnerEventSourcesResponse_partnerEventSources,+ listPartnerEventSourcesResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListPartnerEventSources' smart constructor.+data ListPartnerEventSources = ListPartnerEventSources'+ { -- | pecifying this limits the number of results returned by this operation.+ -- The operation also returns a NextToken which you can use in a subsequent+ -- operation to retrieve the next set of results.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The token returned by a previous call to this operation. Specifying this+ -- retrieves the next set of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | If you specify this, the results are limited to only those partner event+ -- sources that start with the string you specify.+ namePrefix :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPartnerEventSources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'limit', 'listPartnerEventSources_limit' - pecifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+--+-- 'nextToken', 'listPartnerEventSources_nextToken' - The token returned by a previous call to this operation. Specifying this+-- retrieves the next set of results.+--+-- 'namePrefix', 'listPartnerEventSources_namePrefix' - If you specify this, the results are limited to only those partner event+-- sources that start with the string you specify.+newListPartnerEventSources ::+ -- | 'namePrefix'+ Prelude.Text ->+ ListPartnerEventSources+newListPartnerEventSources pNamePrefix_ =+ ListPartnerEventSources'+ { limit = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ namePrefix = pNamePrefix_+ }++-- | pecifying this limits the number of results returned by this operation.+-- The operation also returns a NextToken which you can use in a subsequent+-- operation to retrieve the next set of results.+listPartnerEventSources_limit :: Lens.Lens' ListPartnerEventSources (Prelude.Maybe Prelude.Natural)+listPartnerEventSources_limit = Lens.lens (\ListPartnerEventSources' {limit} -> limit) (\s@ListPartnerEventSources' {} a -> s {limit = a} :: ListPartnerEventSources)++-- | The token returned by a previous call to this operation. Specifying this+-- retrieves the next set of results.+listPartnerEventSources_nextToken :: Lens.Lens' ListPartnerEventSources (Prelude.Maybe Prelude.Text)+listPartnerEventSources_nextToken = Lens.lens (\ListPartnerEventSources' {nextToken} -> nextToken) (\s@ListPartnerEventSources' {} a -> s {nextToken = a} :: ListPartnerEventSources)++-- | If you specify this, the results are limited to only those partner event+-- sources that start with the string you specify.+listPartnerEventSources_namePrefix :: Lens.Lens' ListPartnerEventSources Prelude.Text+listPartnerEventSources_namePrefix = Lens.lens (\ListPartnerEventSources' {namePrefix} -> namePrefix) (\s@ListPartnerEventSources' {} a -> s {namePrefix = a} :: ListPartnerEventSources)++instance Core.AWSRequest ListPartnerEventSources where+ type+ AWSResponse ListPartnerEventSources =+ ListPartnerEventSourcesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListPartnerEventSourcesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> ( x+ Data..?> "PartnerEventSources"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListPartnerEventSources where+ hashWithSalt _salt ListPartnerEventSources' {..} =+ _salt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` namePrefix++instance Prelude.NFData ListPartnerEventSources where+ rnf ListPartnerEventSources' {..} =+ Prelude.rnf limit+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf namePrefix++instance Data.ToHeaders ListPartnerEventSources where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListPartnerEventSources" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListPartnerEventSources where+ toJSON ListPartnerEventSources' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Limit" Data..=) Prelude.<$> limit,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("NamePrefix" Data..= namePrefix)+ ]+ )++instance Data.ToPath ListPartnerEventSources where+ toPath = Prelude.const "/"++instance Data.ToQuery ListPartnerEventSources where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListPartnerEventSourcesResponse' smart constructor.+data ListPartnerEventSourcesResponse = ListPartnerEventSourcesResponse'+ { -- | A token you can use in a subsequent operation to retrieve the next set+ -- of results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The list of partner event sources returned by the operation.+ partnerEventSources :: Prelude.Maybe [PartnerEventSource],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListPartnerEventSourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listPartnerEventSourcesResponse_nextToken' - A token you can use in a subsequent operation to retrieve the next set+-- of results.+--+-- 'partnerEventSources', 'listPartnerEventSourcesResponse_partnerEventSources' - The list of partner event sources returned by the operation.+--+-- 'httpStatus', 'listPartnerEventSourcesResponse_httpStatus' - The response's http status code.+newListPartnerEventSourcesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListPartnerEventSourcesResponse+newListPartnerEventSourcesResponse pHttpStatus_ =+ ListPartnerEventSourcesResponse'+ { nextToken =+ Prelude.Nothing,+ partnerEventSources = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token you can use in a subsequent operation to retrieve the next set+-- of results.+listPartnerEventSourcesResponse_nextToken :: Lens.Lens' ListPartnerEventSourcesResponse (Prelude.Maybe Prelude.Text)+listPartnerEventSourcesResponse_nextToken = Lens.lens (\ListPartnerEventSourcesResponse' {nextToken} -> nextToken) (\s@ListPartnerEventSourcesResponse' {} a -> s {nextToken = a} :: ListPartnerEventSourcesResponse)++-- | The list of partner event sources returned by the operation.+listPartnerEventSourcesResponse_partnerEventSources :: Lens.Lens' ListPartnerEventSourcesResponse (Prelude.Maybe [PartnerEventSource])+listPartnerEventSourcesResponse_partnerEventSources = Lens.lens (\ListPartnerEventSourcesResponse' {partnerEventSources} -> partnerEventSources) (\s@ListPartnerEventSourcesResponse' {} a -> s {partnerEventSources = a} :: ListPartnerEventSourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listPartnerEventSourcesResponse_httpStatus :: Lens.Lens' ListPartnerEventSourcesResponse Prelude.Int+listPartnerEventSourcesResponse_httpStatus = Lens.lens (\ListPartnerEventSourcesResponse' {httpStatus} -> httpStatus) (\s@ListPartnerEventSourcesResponse' {} a -> s {httpStatus = a} :: ListPartnerEventSourcesResponse)++instance+ Prelude.NFData+ ListPartnerEventSourcesResponse+ where+ rnf ListPartnerEventSourcesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf partnerEventSources+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListReplays.hs view
@@ -0,0 +1,242 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListReplays+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists your replays. You can either list all the replays or you can+-- provide a prefix to match to the replay names. Filter parameters are+-- exclusive.+module Amazonka.CloudWatchEvents.ListReplays+ ( -- * Creating a Request+ ListReplays (..),+ newListReplays,++ -- * Request Lenses+ listReplays_eventSourceArn,+ listReplays_limit,+ listReplays_namePrefix,+ listReplays_nextToken,+ listReplays_state,++ -- * Destructuring the Response+ ListReplaysResponse (..),+ newListReplaysResponse,++ -- * Response Lenses+ listReplaysResponse_nextToken,+ listReplaysResponse_replays,+ listReplaysResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListReplays' smart constructor.+data ListReplays = ListReplays'+ { -- | The ARN of the archive from which the events are replayed.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of replays to retrieve.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | A name prefix to filter the replays returned. Only replays with name+ -- that match the prefix are returned.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The state of the replay.+ state :: Prelude.Maybe ReplayState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListReplays' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventSourceArn', 'listReplays_eventSourceArn' - The ARN of the archive from which the events are replayed.+--+-- 'limit', 'listReplays_limit' - The maximum number of replays to retrieve.+--+-- 'namePrefix', 'listReplays_namePrefix' - A name prefix to filter the replays returned. Only replays with name+-- that match the prefix are returned.+--+-- 'nextToken', 'listReplays_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'state', 'listReplays_state' - The state of the replay.+newListReplays ::+ ListReplays+newListReplays =+ ListReplays'+ { eventSourceArn = Prelude.Nothing,+ limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The ARN of the archive from which the events are replayed.+listReplays_eventSourceArn :: Lens.Lens' ListReplays (Prelude.Maybe Prelude.Text)+listReplays_eventSourceArn = Lens.lens (\ListReplays' {eventSourceArn} -> eventSourceArn) (\s@ListReplays' {} a -> s {eventSourceArn = a} :: ListReplays)++-- | The maximum number of replays to retrieve.+listReplays_limit :: Lens.Lens' ListReplays (Prelude.Maybe Prelude.Natural)+listReplays_limit = Lens.lens (\ListReplays' {limit} -> limit) (\s@ListReplays' {} a -> s {limit = a} :: ListReplays)++-- | A name prefix to filter the replays returned. Only replays with name+-- that match the prefix are returned.+listReplays_namePrefix :: Lens.Lens' ListReplays (Prelude.Maybe Prelude.Text)+listReplays_namePrefix = Lens.lens (\ListReplays' {namePrefix} -> namePrefix) (\s@ListReplays' {} a -> s {namePrefix = a} :: ListReplays)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listReplays_nextToken :: Lens.Lens' ListReplays (Prelude.Maybe Prelude.Text)+listReplays_nextToken = Lens.lens (\ListReplays' {nextToken} -> nextToken) (\s@ListReplays' {} a -> s {nextToken = a} :: ListReplays)++-- | The state of the replay.+listReplays_state :: Lens.Lens' ListReplays (Prelude.Maybe ReplayState)+listReplays_state = Lens.lens (\ListReplays' {state} -> state) (\s@ListReplays' {} a -> s {state = a} :: ListReplays)++instance Core.AWSRequest ListReplays where+ type AWSResponse ListReplays = ListReplaysResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListReplaysResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Replays" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListReplays where+ hashWithSalt _salt ListReplays' {..} =+ _salt+ `Prelude.hashWithSalt` eventSourceArn+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` state++instance Prelude.NFData ListReplays where+ rnf ListReplays' {..} =+ Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf state++instance Data.ToHeaders ListReplays where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListReplays" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListReplays where+ toJSON ListReplays' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventSourceArn" Data..=)+ Prelude.<$> eventSourceArn,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("State" Data..=) Prelude.<$> state+ ]+ )++instance Data.ToPath ListReplays where+ toPath = Prelude.const "/"++instance Data.ToQuery ListReplays where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListReplaysResponse' smart constructor.+data ListReplaysResponse = ListReplaysResponse'+ { -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | An array of @Replay@ objects that contain information about the replay.+ replays :: Prelude.Maybe [Replay],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListReplaysResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listReplaysResponse_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'replays', 'listReplaysResponse_replays' - An array of @Replay@ objects that contain information about the replay.+--+-- 'httpStatus', 'listReplaysResponse_httpStatus' - The response's http status code.+newListReplaysResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListReplaysResponse+newListReplaysResponse pHttpStatus_ =+ ListReplaysResponse'+ { nextToken = Prelude.Nothing,+ replays = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The token returned by a previous call to retrieve the next set of+-- results.+listReplaysResponse_nextToken :: Lens.Lens' ListReplaysResponse (Prelude.Maybe Prelude.Text)+listReplaysResponse_nextToken = Lens.lens (\ListReplaysResponse' {nextToken} -> nextToken) (\s@ListReplaysResponse' {} a -> s {nextToken = a} :: ListReplaysResponse)++-- | An array of @Replay@ objects that contain information about the replay.+listReplaysResponse_replays :: Lens.Lens' ListReplaysResponse (Prelude.Maybe [Replay])+listReplaysResponse_replays = Lens.lens (\ListReplaysResponse' {replays} -> replays) (\s@ListReplaysResponse' {} a -> s {replays = a} :: ListReplaysResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listReplaysResponse_httpStatus :: Lens.Lens' ListReplaysResponse Prelude.Int+listReplaysResponse_httpStatus = Lens.lens (\ListReplaysResponse' {httpStatus} -> httpStatus) (\s@ListReplaysResponse' {} a -> s {httpStatus = a} :: ListReplaysResponse)++instance Prelude.NFData ListReplaysResponse where+ rnf ListReplaysResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf replays+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListRuleNamesByTarget.hs view
@@ -0,0 +1,259 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListRuleNamesByTarget+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the rules for the specified target. You can see which of the rules+-- in Amazon EventBridge can invoke a specific target in your account.+--+-- This operation returns paginated results.+module Amazonka.CloudWatchEvents.ListRuleNamesByTarget+ ( -- * Creating a Request+ ListRuleNamesByTarget (..),+ newListRuleNamesByTarget,++ -- * Request Lenses+ listRuleNamesByTarget_eventBusName,+ listRuleNamesByTarget_limit,+ listRuleNamesByTarget_nextToken,+ listRuleNamesByTarget_targetArn,++ -- * Destructuring the Response+ ListRuleNamesByTargetResponse (..),+ newListRuleNamesByTargetResponse,++ -- * Response Lenses+ listRuleNamesByTargetResponse_nextToken,+ listRuleNamesByTargetResponse_ruleNames,+ listRuleNamesByTargetResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListRuleNamesByTarget' smart constructor.+data ListRuleNamesByTarget = ListRuleNamesByTarget'+ { -- | The name or ARN of the event bus to list rules for. If you omit this,+ -- the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results to return.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the target resource.+ targetArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRuleNamesByTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'listRuleNamesByTarget_eventBusName' - The name or ARN of the event bus to list rules for. If you omit this,+-- the default event bus is used.+--+-- 'limit', 'listRuleNamesByTarget_limit' - The maximum number of results to return.+--+-- 'nextToken', 'listRuleNamesByTarget_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'targetArn', 'listRuleNamesByTarget_targetArn' - The Amazon Resource Name (ARN) of the target resource.+newListRuleNamesByTarget ::+ -- | 'targetArn'+ Prelude.Text ->+ ListRuleNamesByTarget+newListRuleNamesByTarget pTargetArn_ =+ ListRuleNamesByTarget'+ { eventBusName =+ Prelude.Nothing,+ limit = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ targetArn = pTargetArn_+ }++-- | The name or ARN of the event bus to list rules for. If you omit this,+-- the default event bus is used.+listRuleNamesByTarget_eventBusName :: Lens.Lens' ListRuleNamesByTarget (Prelude.Maybe Prelude.Text)+listRuleNamesByTarget_eventBusName = Lens.lens (\ListRuleNamesByTarget' {eventBusName} -> eventBusName) (\s@ListRuleNamesByTarget' {} a -> s {eventBusName = a} :: ListRuleNamesByTarget)++-- | The maximum number of results to return.+listRuleNamesByTarget_limit :: Lens.Lens' ListRuleNamesByTarget (Prelude.Maybe Prelude.Natural)+listRuleNamesByTarget_limit = Lens.lens (\ListRuleNamesByTarget' {limit} -> limit) (\s@ListRuleNamesByTarget' {} a -> s {limit = a} :: ListRuleNamesByTarget)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listRuleNamesByTarget_nextToken :: Lens.Lens' ListRuleNamesByTarget (Prelude.Maybe Prelude.Text)+listRuleNamesByTarget_nextToken = Lens.lens (\ListRuleNamesByTarget' {nextToken} -> nextToken) (\s@ListRuleNamesByTarget' {} a -> s {nextToken = a} :: ListRuleNamesByTarget)++-- | The Amazon Resource Name (ARN) of the target resource.+listRuleNamesByTarget_targetArn :: Lens.Lens' ListRuleNamesByTarget Prelude.Text+listRuleNamesByTarget_targetArn = Lens.lens (\ListRuleNamesByTarget' {targetArn} -> targetArn) (\s@ListRuleNamesByTarget' {} a -> s {targetArn = a} :: ListRuleNamesByTarget)++instance Core.AWSPager ListRuleNamesByTarget where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listRuleNamesByTargetResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listRuleNamesByTargetResponse_ruleNames+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listRuleNamesByTarget_nextToken+ Lens..~ rs+ Lens.^? listRuleNamesByTargetResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListRuleNamesByTarget where+ type+ AWSResponse ListRuleNamesByTarget =+ ListRuleNamesByTargetResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListRuleNamesByTargetResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "RuleNames" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListRuleNamesByTarget where+ hashWithSalt _salt ListRuleNamesByTarget' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` targetArn++instance Prelude.NFData ListRuleNamesByTarget where+ rnf ListRuleNamesByTarget' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf targetArn++instance Data.ToHeaders ListRuleNamesByTarget where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListRuleNamesByTarget" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListRuleNamesByTarget where+ toJSON ListRuleNamesByTarget' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("TargetArn" Data..= targetArn)+ ]+ )++instance Data.ToPath ListRuleNamesByTarget where+ toPath = Prelude.const "/"++instance Data.ToQuery ListRuleNamesByTarget where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListRuleNamesByTargetResponse' smart constructor.+data ListRuleNamesByTargetResponse = ListRuleNamesByTargetResponse'+ { -- | Indicates whether there are additional results to retrieve. If there are+ -- no more results, the value is null.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The names of the rules that can invoke the given target.+ ruleNames :: Prelude.Maybe [Prelude.Text],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRuleNamesByTargetResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listRuleNamesByTargetResponse_nextToken' - Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+--+-- 'ruleNames', 'listRuleNamesByTargetResponse_ruleNames' - The names of the rules that can invoke the given target.+--+-- 'httpStatus', 'listRuleNamesByTargetResponse_httpStatus' - The response's http status code.+newListRuleNamesByTargetResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListRuleNamesByTargetResponse+newListRuleNamesByTargetResponse pHttpStatus_ =+ ListRuleNamesByTargetResponse'+ { nextToken =+ Prelude.Nothing,+ ruleNames = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+listRuleNamesByTargetResponse_nextToken :: Lens.Lens' ListRuleNamesByTargetResponse (Prelude.Maybe Prelude.Text)+listRuleNamesByTargetResponse_nextToken = Lens.lens (\ListRuleNamesByTargetResponse' {nextToken} -> nextToken) (\s@ListRuleNamesByTargetResponse' {} a -> s {nextToken = a} :: ListRuleNamesByTargetResponse)++-- | The names of the rules that can invoke the given target.+listRuleNamesByTargetResponse_ruleNames :: Lens.Lens' ListRuleNamesByTargetResponse (Prelude.Maybe [Prelude.Text])+listRuleNamesByTargetResponse_ruleNames = Lens.lens (\ListRuleNamesByTargetResponse' {ruleNames} -> ruleNames) (\s@ListRuleNamesByTargetResponse' {} a -> s {ruleNames = a} :: ListRuleNamesByTargetResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listRuleNamesByTargetResponse_httpStatus :: Lens.Lens' ListRuleNamesByTargetResponse Prelude.Int+listRuleNamesByTargetResponse_httpStatus = Lens.lens (\ListRuleNamesByTargetResponse' {httpStatus} -> httpStatus) (\s@ListRuleNamesByTargetResponse' {} a -> s {httpStatus = a} :: ListRuleNamesByTargetResponse)++instance Prelude.NFData ListRuleNamesByTargetResponse where+ rnf ListRuleNamesByTargetResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf ruleNames+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListRules.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListRules+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists your Amazon EventBridge rules. You can either list all the rules+-- or you can provide a prefix to match to the rule names.+--+-- ListRules does not list the targets of a rule. To see the targets+-- associated with a rule, use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListTargetsByRule.html ListTargetsByRule>.+--+-- This operation returns paginated results.+module Amazonka.CloudWatchEvents.ListRules+ ( -- * Creating a Request+ ListRules (..),+ newListRules,++ -- * Request Lenses+ listRules_eventBusName,+ listRules_limit,+ listRules_namePrefix,+ listRules_nextToken,++ -- * Destructuring the Response+ ListRulesResponse (..),+ newListRulesResponse,++ -- * Response Lenses+ listRulesResponse_nextToken,+ listRulesResponse_rules,+ listRulesResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListRules' smart constructor.+data ListRules = ListRules'+ { -- | The name or ARN of the event bus to list the rules for. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results to return.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The prefix matching the rule name.+ namePrefix :: Prelude.Maybe Prelude.Text,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRules' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'listRules_eventBusName' - The name or ARN of the event bus to list the rules for. If you omit+-- this, the default event bus is used.+--+-- 'limit', 'listRules_limit' - The maximum number of results to return.+--+-- 'namePrefix', 'listRules_namePrefix' - The prefix matching the rule name.+--+-- 'nextToken', 'listRules_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+newListRules ::+ ListRules+newListRules =+ ListRules'+ { eventBusName = Prelude.Nothing,+ limit = Prelude.Nothing,+ namePrefix = Prelude.Nothing,+ nextToken = Prelude.Nothing+ }++-- | The name or ARN of the event bus to list the rules for. If you omit+-- this, the default event bus is used.+listRules_eventBusName :: Lens.Lens' ListRules (Prelude.Maybe Prelude.Text)+listRules_eventBusName = Lens.lens (\ListRules' {eventBusName} -> eventBusName) (\s@ListRules' {} a -> s {eventBusName = a} :: ListRules)++-- | The maximum number of results to return.+listRules_limit :: Lens.Lens' ListRules (Prelude.Maybe Prelude.Natural)+listRules_limit = Lens.lens (\ListRules' {limit} -> limit) (\s@ListRules' {} a -> s {limit = a} :: ListRules)++-- | The prefix matching the rule name.+listRules_namePrefix :: Lens.Lens' ListRules (Prelude.Maybe Prelude.Text)+listRules_namePrefix = Lens.lens (\ListRules' {namePrefix} -> namePrefix) (\s@ListRules' {} a -> s {namePrefix = a} :: ListRules)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listRules_nextToken :: Lens.Lens' ListRules (Prelude.Maybe Prelude.Text)+listRules_nextToken = Lens.lens (\ListRules' {nextToken} -> nextToken) (\s@ListRules' {} a -> s {nextToken = a} :: ListRules)++instance Core.AWSPager ListRules where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listRulesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listRulesResponse_rules+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listRules_nextToken+ Lens..~ rs+ Lens.^? listRulesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListRules where+ type AWSResponse ListRules = ListRulesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListRulesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Rules" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListRules where+ hashWithSalt _salt ListRules' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` namePrefix+ `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListRules where+ rnf ListRules' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf namePrefix+ `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListRules where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.ListRules" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListRules where+ toJSON ListRules' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NamePrefix" Data..=) Prelude.<$> namePrefix,+ ("NextToken" Data..=) Prelude.<$> nextToken+ ]+ )++instance Data.ToPath ListRules where+ toPath = Prelude.const "/"++instance Data.ToQuery ListRules where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListRulesResponse' smart constructor.+data ListRulesResponse = ListRulesResponse'+ { -- | Indicates whether there are additional results to retrieve. If there are+ -- no more results, the value is null.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The rules that match the specified criteria.+ rules :: Prelude.Maybe [Rule],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListRulesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listRulesResponse_nextToken' - Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+--+-- 'rules', 'listRulesResponse_rules' - The rules that match the specified criteria.+--+-- 'httpStatus', 'listRulesResponse_httpStatus' - The response's http status code.+newListRulesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListRulesResponse+newListRulesResponse pHttpStatus_ =+ ListRulesResponse'+ { nextToken = Prelude.Nothing,+ rules = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+listRulesResponse_nextToken :: Lens.Lens' ListRulesResponse (Prelude.Maybe Prelude.Text)+listRulesResponse_nextToken = Lens.lens (\ListRulesResponse' {nextToken} -> nextToken) (\s@ListRulesResponse' {} a -> s {nextToken = a} :: ListRulesResponse)++-- | The rules that match the specified criteria.+listRulesResponse_rules :: Lens.Lens' ListRulesResponse (Prelude.Maybe [Rule])+listRulesResponse_rules = Lens.lens (\ListRulesResponse' {rules} -> rules) (\s@ListRulesResponse' {} a -> s {rules = a} :: ListRulesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listRulesResponse_httpStatus :: Lens.Lens' ListRulesResponse Prelude.Int+listRulesResponse_httpStatus = Lens.lens (\ListRulesResponse' {httpStatus} -> httpStatus) (\s@ListRulesResponse' {} a -> s {httpStatus = a} :: ListRulesResponse)++instance Prelude.NFData ListRulesResponse where+ rnf ListRulesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf rules+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListTagsForResource.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Displays the tags associated with an EventBridge resource. In+-- EventBridge, rules and event buses can be tagged.+module Amazonka.CloudWatchEvents.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_resourceARN,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | The ARN of the EventBridge resource for which you want to view tags.+ resourceARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'listTagsForResource_resourceARN' - The ARN of the EventBridge resource for which you want to view tags.+newListTagsForResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceARN_ =+ ListTagsForResource' {resourceARN = pResourceARN_}++-- | The ARN of the EventBridge resource for which you want to view tags.+listTagsForResource_resourceARN :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceARN = Lens.lens (\ListTagsForResource' {resourceARN} -> resourceARN) (\s@ListTagsForResource' {} a -> s {resourceARN = a} :: ListTagsForResource)++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt `Prelude.hashWithSalt` resourceARN++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf resourceARN++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListTagsForResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForResource where+ toJSON ListTagsForResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ResourceARN" Data..= resourceARN)]+ )++instance Data.ToPath ListTagsForResource where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | The list of tag keys and values associated with the resource you+ -- specified+ tags :: Prelude.Maybe [Tag],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listTagsForResourceResponse_tags' - The list of tag keys and values associated with the resource you+-- specified+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { tags =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of tag keys and values associated with the resource you+-- specified+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/ListTargetsByRule.hs view
@@ -0,0 +1,258 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.ListTargetsByRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists the targets assigned to the specified rule.+--+-- This operation returns paginated results.+module Amazonka.CloudWatchEvents.ListTargetsByRule+ ( -- * Creating a Request+ ListTargetsByRule (..),+ newListTargetsByRule,++ -- * Request Lenses+ listTargetsByRule_eventBusName,+ listTargetsByRule_limit,+ listTargetsByRule_nextToken,+ listTargetsByRule_rule,++ -- * Destructuring the Response+ ListTargetsByRuleResponse (..),+ newListTargetsByRuleResponse,++ -- * Response Lenses+ listTargetsByRuleResponse_nextToken,+ listTargetsByRuleResponse_targets,+ listTargetsByRuleResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTargetsByRule' smart constructor.+data ListTargetsByRule = ListTargetsByRule'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of results to return.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The token returned by a previous call to retrieve the next set of+ -- results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ rule :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTargetsByRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'listTargetsByRule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'limit', 'listTargetsByRule_limit' - The maximum number of results to return.+--+-- 'nextToken', 'listTargetsByRule_nextToken' - The token returned by a previous call to retrieve the next set of+-- results.+--+-- 'rule', 'listTargetsByRule_rule' - The name of the rule.+newListTargetsByRule ::+ -- | 'rule'+ Prelude.Text ->+ ListTargetsByRule+newListTargetsByRule pRule_ =+ ListTargetsByRule'+ { eventBusName = Prelude.Nothing,+ limit = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ rule = pRule_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+listTargetsByRule_eventBusName :: Lens.Lens' ListTargetsByRule (Prelude.Maybe Prelude.Text)+listTargetsByRule_eventBusName = Lens.lens (\ListTargetsByRule' {eventBusName} -> eventBusName) (\s@ListTargetsByRule' {} a -> s {eventBusName = a} :: ListTargetsByRule)++-- | The maximum number of results to return.+listTargetsByRule_limit :: Lens.Lens' ListTargetsByRule (Prelude.Maybe Prelude.Natural)+listTargetsByRule_limit = Lens.lens (\ListTargetsByRule' {limit} -> limit) (\s@ListTargetsByRule' {} a -> s {limit = a} :: ListTargetsByRule)++-- | The token returned by a previous call to retrieve the next set of+-- results.+listTargetsByRule_nextToken :: Lens.Lens' ListTargetsByRule (Prelude.Maybe Prelude.Text)+listTargetsByRule_nextToken = Lens.lens (\ListTargetsByRule' {nextToken} -> nextToken) (\s@ListTargetsByRule' {} a -> s {nextToken = a} :: ListTargetsByRule)++-- | The name of the rule.+listTargetsByRule_rule :: Lens.Lens' ListTargetsByRule Prelude.Text+listTargetsByRule_rule = Lens.lens (\ListTargetsByRule' {rule} -> rule) (\s@ListTargetsByRule' {} a -> s {rule = a} :: ListTargetsByRule)++instance Core.AWSPager ListTargetsByRule where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTargetsByRuleResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTargetsByRuleResponse_targets+ Prelude.. Lens._Just+ Prelude.. Lens.to Prelude.toList+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTargetsByRule_nextToken+ Lens..~ rs+ Lens.^? listTargetsByRuleResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTargetsByRule where+ type+ AWSResponse ListTargetsByRule =+ ListTargetsByRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTargetsByRuleResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Targets")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTargetsByRule where+ hashWithSalt _salt ListTargetsByRule' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` rule++instance Prelude.NFData ListTargetsByRule where+ rnf ListTargetsByRule' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf rule++instance Data.ToHeaders ListTargetsByRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.ListTargetsByRule" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTargetsByRule where+ toJSON ListTargetsByRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("Rule" Data..= rule)+ ]+ )++instance Data.ToPath ListTargetsByRule where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTargetsByRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTargetsByRuleResponse' smart constructor.+data ListTargetsByRuleResponse = ListTargetsByRuleResponse'+ { -- | Indicates whether there are additional results to retrieve. If there are+ -- no more results, the value is null.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The targets assigned to the rule.+ targets :: Prelude.Maybe (Prelude.NonEmpty Target),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTargetsByRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTargetsByRuleResponse_nextToken' - Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+--+-- 'targets', 'listTargetsByRuleResponse_targets' - The targets assigned to the rule.+--+-- 'httpStatus', 'listTargetsByRuleResponse_httpStatus' - The response's http status code.+newListTargetsByRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTargetsByRuleResponse+newListTargetsByRuleResponse pHttpStatus_ =+ ListTargetsByRuleResponse'+ { nextToken =+ Prelude.Nothing,+ targets = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Indicates whether there are additional results to retrieve. If there are+-- no more results, the value is null.+listTargetsByRuleResponse_nextToken :: Lens.Lens' ListTargetsByRuleResponse (Prelude.Maybe Prelude.Text)+listTargetsByRuleResponse_nextToken = Lens.lens (\ListTargetsByRuleResponse' {nextToken} -> nextToken) (\s@ListTargetsByRuleResponse' {} a -> s {nextToken = a} :: ListTargetsByRuleResponse)++-- | The targets assigned to the rule.+listTargetsByRuleResponse_targets :: Lens.Lens' ListTargetsByRuleResponse (Prelude.Maybe (Prelude.NonEmpty Target))+listTargetsByRuleResponse_targets = Lens.lens (\ListTargetsByRuleResponse' {targets} -> targets) (\s@ListTargetsByRuleResponse' {} a -> s {targets = a} :: ListTargetsByRuleResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTargetsByRuleResponse_httpStatus :: Lens.Lens' ListTargetsByRuleResponse Prelude.Int+listTargetsByRuleResponse_httpStatus = Lens.lens (\ListTargetsByRuleResponse' {httpStatus} -> httpStatus) (\s@ListTargetsByRuleResponse' {} a -> s {httpStatus = a} :: ListTargetsByRuleResponse)++instance Prelude.NFData ListTargetsByRuleResponse where+ rnf ListTargetsByRuleResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf targets+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/PutEvents.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.PutEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Sends custom events to Amazon EventBridge so that they can be matched to+-- rules.+--+-- PutEvents will only process nested JSON up to 1100 levels deep.+module Amazonka.CloudWatchEvents.PutEvents+ ( -- * Creating a Request+ PutEvents (..),+ newPutEvents,++ -- * Request Lenses+ putEvents_endpointId,+ putEvents_entries,++ -- * Destructuring the Response+ PutEventsResponse (..),+ newPutEventsResponse,++ -- * Response Lenses+ putEventsResponse_entries,+ putEventsResponse_failedEntryCount,+ putEventsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutEvents' smart constructor.+data PutEvents = PutEvents'+ { -- | The URL subdomain of the endpoint. For example, if the URL for Endpoint+ -- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+ -- @abcde.veo@.+ --+ -- When using Java, you must include @auth-crt@ on the class path.+ endpointId :: Prelude.Maybe Prelude.Text,+ -- | The entry that defines an event in your system. You can specify several+ -- parameters for the entry such as the source and type of the event,+ -- resources associated with the event, and so on.+ entries :: Prelude.NonEmpty PutEventsRequestEntry+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEvents' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'endpointId', 'putEvents_endpointId' - The URL subdomain of the endpoint. For example, if the URL for Endpoint+-- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+-- @abcde.veo@.+--+-- When using Java, you must include @auth-crt@ on the class path.+--+-- 'entries', 'putEvents_entries' - The entry that defines an event in your system. You can specify several+-- parameters for the entry such as the source and type of the event,+-- resources associated with the event, and so on.+newPutEvents ::+ -- | 'entries'+ Prelude.NonEmpty PutEventsRequestEntry ->+ PutEvents+newPutEvents pEntries_ =+ PutEvents'+ { endpointId = Prelude.Nothing,+ entries = Lens.coerced Lens.# pEntries_+ }++-- | The URL subdomain of the endpoint. For example, if the URL for Endpoint+-- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+-- @abcde.veo@.+--+-- When using Java, you must include @auth-crt@ on the class path.+putEvents_endpointId :: Lens.Lens' PutEvents (Prelude.Maybe Prelude.Text)+putEvents_endpointId = Lens.lens (\PutEvents' {endpointId} -> endpointId) (\s@PutEvents' {} a -> s {endpointId = a} :: PutEvents)++-- | The entry that defines an event in your system. You can specify several+-- parameters for the entry such as the source and type of the event,+-- resources associated with the event, and so on.+putEvents_entries :: Lens.Lens' PutEvents (Prelude.NonEmpty PutEventsRequestEntry)+putEvents_entries = Lens.lens (\PutEvents' {entries} -> entries) (\s@PutEvents' {} a -> s {entries = a} :: PutEvents) Prelude.. Lens.coerced++instance Core.AWSRequest PutEvents where+ type AWSResponse PutEvents = PutEventsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutEventsResponse'+ Prelude.<$> (x Data..?> "Entries" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "FailedEntryCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutEvents where+ hashWithSalt _salt PutEvents' {..} =+ _salt+ `Prelude.hashWithSalt` endpointId+ `Prelude.hashWithSalt` entries++instance Prelude.NFData PutEvents where+ rnf PutEvents' {..} =+ Prelude.rnf endpointId+ `Prelude.seq` Prelude.rnf entries++instance Data.ToHeaders PutEvents where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.PutEvents" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutEvents where+ toJSON PutEvents' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EndpointId" Data..=) Prelude.<$> endpointId,+ Prelude.Just ("Entries" Data..= entries)+ ]+ )++instance Data.ToPath PutEvents where+ toPath = Prelude.const "/"++instance Data.ToQuery PutEvents where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutEventsResponse' smart constructor.+data PutEventsResponse = PutEventsResponse'+ { -- | The successfully and unsuccessfully ingested events results. If the+ -- ingestion was successful, the entry has the event ID in it. Otherwise,+ -- you can use the error code and error message to identify the problem+ -- with the entry.+ entries :: Prelude.Maybe [PutEventsResultEntry],+ -- | The number of failed entries.+ failedEntryCount :: Prelude.Maybe Prelude.Int,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEventsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entries', 'putEventsResponse_entries' - The successfully and unsuccessfully ingested events results. If the+-- ingestion was successful, the entry has the event ID in it. Otherwise,+-- you can use the error code and error message to identify the problem+-- with the entry.+--+-- 'failedEntryCount', 'putEventsResponse_failedEntryCount' - The number of failed entries.+--+-- 'httpStatus', 'putEventsResponse_httpStatus' - The response's http status code.+newPutEventsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutEventsResponse+newPutEventsResponse pHttpStatus_ =+ PutEventsResponse'+ { entries = Prelude.Nothing,+ failedEntryCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The successfully and unsuccessfully ingested events results. If the+-- ingestion was successful, the entry has the event ID in it. Otherwise,+-- you can use the error code and error message to identify the problem+-- with the entry.+putEventsResponse_entries :: Lens.Lens' PutEventsResponse (Prelude.Maybe [PutEventsResultEntry])+putEventsResponse_entries = Lens.lens (\PutEventsResponse' {entries} -> entries) (\s@PutEventsResponse' {} a -> s {entries = a} :: PutEventsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The number of failed entries.+putEventsResponse_failedEntryCount :: Lens.Lens' PutEventsResponse (Prelude.Maybe Prelude.Int)+putEventsResponse_failedEntryCount = Lens.lens (\PutEventsResponse' {failedEntryCount} -> failedEntryCount) (\s@PutEventsResponse' {} a -> s {failedEntryCount = a} :: PutEventsResponse)++-- | The response's http status code.+putEventsResponse_httpStatus :: Lens.Lens' PutEventsResponse Prelude.Int+putEventsResponse_httpStatus = Lens.lens (\PutEventsResponse' {httpStatus} -> httpStatus) (\s@PutEventsResponse' {} a -> s {httpStatus = a} :: PutEventsResponse)++instance Prelude.NFData PutEventsResponse where+ rnf PutEventsResponse' {..} =+ Prelude.rnf entries+ `Prelude.seq` Prelude.rnf failedEntryCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/PutPartnerEvents.hs view
@@ -0,0 +1,188 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.PutPartnerEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- This is used by SaaS partners to write events to a customer\'s partner+-- event bus. Amazon Web Services customers do not use this operation.+module Amazonka.CloudWatchEvents.PutPartnerEvents+ ( -- * Creating a Request+ PutPartnerEvents (..),+ newPutPartnerEvents,++ -- * Request Lenses+ putPartnerEvents_entries,++ -- * Destructuring the Response+ PutPartnerEventsResponse (..),+ newPutPartnerEventsResponse,++ -- * Response Lenses+ putPartnerEventsResponse_entries,+ putPartnerEventsResponse_failedEntryCount,+ putPartnerEventsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutPartnerEvents' smart constructor.+data PutPartnerEvents = PutPartnerEvents'+ { -- | The list of events to write to the event bus.+ entries :: Prelude.NonEmpty PutPartnerEventsRequestEntry+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPartnerEvents' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entries', 'putPartnerEvents_entries' - The list of events to write to the event bus.+newPutPartnerEvents ::+ -- | 'entries'+ Prelude.NonEmpty PutPartnerEventsRequestEntry ->+ PutPartnerEvents+newPutPartnerEvents pEntries_ =+ PutPartnerEvents'+ { entries =+ Lens.coerced Lens.# pEntries_+ }++-- | The list of events to write to the event bus.+putPartnerEvents_entries :: Lens.Lens' PutPartnerEvents (Prelude.NonEmpty PutPartnerEventsRequestEntry)+putPartnerEvents_entries = Lens.lens (\PutPartnerEvents' {entries} -> entries) (\s@PutPartnerEvents' {} a -> s {entries = a} :: PutPartnerEvents) Prelude.. Lens.coerced++instance Core.AWSRequest PutPartnerEvents where+ type+ AWSResponse PutPartnerEvents =+ PutPartnerEventsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutPartnerEventsResponse'+ Prelude.<$> (x Data..?> "Entries" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "FailedEntryCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutPartnerEvents where+ hashWithSalt _salt PutPartnerEvents' {..} =+ _salt `Prelude.hashWithSalt` entries++instance Prelude.NFData PutPartnerEvents where+ rnf PutPartnerEvents' {..} = Prelude.rnf entries++instance Data.ToHeaders PutPartnerEvents where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.PutPartnerEvents" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutPartnerEvents where+ toJSON PutPartnerEvents' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Entries" Data..= entries)]+ )++instance Data.ToPath PutPartnerEvents where+ toPath = Prelude.const "/"++instance Data.ToQuery PutPartnerEvents where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutPartnerEventsResponse' smart constructor.+data PutPartnerEventsResponse = PutPartnerEventsResponse'+ { -- | The list of events from this operation that were successfully written to+ -- the partner event bus.+ entries :: Prelude.Maybe [PutPartnerEventsResultEntry],+ -- | The number of events from this operation that could not be written to+ -- the partner event bus.+ failedEntryCount :: Prelude.Maybe Prelude.Int,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPartnerEventsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'entries', 'putPartnerEventsResponse_entries' - The list of events from this operation that were successfully written to+-- the partner event bus.+--+-- 'failedEntryCount', 'putPartnerEventsResponse_failedEntryCount' - The number of events from this operation that could not be written to+-- the partner event bus.+--+-- 'httpStatus', 'putPartnerEventsResponse_httpStatus' - The response's http status code.+newPutPartnerEventsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutPartnerEventsResponse+newPutPartnerEventsResponse pHttpStatus_ =+ PutPartnerEventsResponse'+ { entries =+ Prelude.Nothing,+ failedEntryCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The list of events from this operation that were successfully written to+-- the partner event bus.+putPartnerEventsResponse_entries :: Lens.Lens' PutPartnerEventsResponse (Prelude.Maybe [PutPartnerEventsResultEntry])+putPartnerEventsResponse_entries = Lens.lens (\PutPartnerEventsResponse' {entries} -> entries) (\s@PutPartnerEventsResponse' {} a -> s {entries = a} :: PutPartnerEventsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The number of events from this operation that could not be written to+-- the partner event bus.+putPartnerEventsResponse_failedEntryCount :: Lens.Lens' PutPartnerEventsResponse (Prelude.Maybe Prelude.Int)+putPartnerEventsResponse_failedEntryCount = Lens.lens (\PutPartnerEventsResponse' {failedEntryCount} -> failedEntryCount) (\s@PutPartnerEventsResponse' {} a -> s {failedEntryCount = a} :: PutPartnerEventsResponse)++-- | The response's http status code.+putPartnerEventsResponse_httpStatus :: Lens.Lens' PutPartnerEventsResponse Prelude.Int+putPartnerEventsResponse_httpStatus = Lens.lens (\PutPartnerEventsResponse' {httpStatus} -> httpStatus) (\s@PutPartnerEventsResponse' {} a -> s {httpStatus = a} :: PutPartnerEventsResponse)++instance Prelude.NFData PutPartnerEventsResponse where+ rnf PutPartnerEventsResponse' {..} =+ Prelude.rnf entries+ `Prelude.seq` Prelude.rnf failedEntryCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/PutPermission.hs view
@@ -0,0 +1,306 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.PutPermission+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Running @PutPermission@ permits the specified Amazon Web Services+-- account or Amazon Web Services organization to put events to the+-- specified /event bus/. Amazon EventBridge (CloudWatch Events) rules in+-- your account are triggered by these events arriving to an event bus in+-- your account.+--+-- For another account to send events to your account, that external+-- account must have an EventBridge rule with your account\'s event bus as+-- a target.+--+-- To enable multiple Amazon Web Services accounts to put events to your+-- event bus, run @PutPermission@ once for each of these accounts. Or, if+-- all the accounts are members of the same Amazon Web Services+-- organization, you can run @PutPermission@ once specifying @Principal@ as+-- \"*\" and specifying the Amazon Web Services organization ID in+-- @Condition@, to grant permissions to all accounts in that organization.+--+-- If you grant permissions using an organization, then accounts in that+-- organization must specify a @RoleArn@ with proper permissions when they+-- use @PutTarget@ to add your account\'s event bus as a target. For more+-- information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html Sending and Receiving Events Between Amazon Web Services Accounts>+-- in the /Amazon EventBridge User Guide/.+--+-- The permission policy on the event bus cannot exceed 10 KB in size.+module Amazonka.CloudWatchEvents.PutPermission+ ( -- * Creating a Request+ PutPermission (..),+ newPutPermission,++ -- * Request Lenses+ putPermission_action,+ putPermission_condition,+ putPermission_eventBusName,+ putPermission_policy,+ putPermission_principal,+ putPermission_statementId,++ -- * Destructuring the Response+ PutPermissionResponse (..),+ newPutPermissionResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutPermission' smart constructor.+data PutPermission = PutPermission'+ { -- | The action that you are enabling the other account to perform.+ action :: Prelude.Maybe Prelude.Text,+ -- | This parameter enables you to limit the permission to accounts that+ -- fulfill a certain condition, such as being a member of a certain Amazon+ -- Web Services organization. For more information about Amazon Web+ -- Services Organizations, see+ -- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html What Is Amazon Web Services Organizations>+ -- in the /Amazon Web Services Organizations User Guide/.+ --+ -- If you specify @Condition@ with an Amazon Web Services organization ID,+ -- and specify \"*\" as the value for @Principal@, you grant permission to+ -- all the accounts in the named organization.+ --+ -- The @Condition@ is a JSON string which must contain @Type@, @Key@, and+ -- @Value@ fields.+ condition :: Prelude.Maybe Condition,+ -- | The name of the event bus associated with the rule. If you omit this,+ -- the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that describes the permission policy statement. You can+ -- include a @Policy@ parameter in the request instead of using the+ -- @StatementId@, @Action@, @Principal@, or @Condition@ parameters.+ policy :: Prelude.Maybe Prelude.Text,+ -- | The 12-digit Amazon Web Services account ID that you are permitting to+ -- put events to your default event bus. Specify \"*\" to permit any+ -- account to put events to your default event bus.+ --+ -- If you specify \"*\" without specifying @Condition@, avoid creating+ -- rules that may match undesirable events. To create more secure rules,+ -- make sure that the event pattern for each rule contains an @account@+ -- field with a specific account ID from which to receive events. Rules+ -- with an account field do not match any events sent from other accounts.+ principal :: Prelude.Maybe Prelude.Text,+ -- | An identifier string for the external account that you are granting+ -- permissions to. If you later want to revoke the permission for this+ -- external account, specify this @StatementId@ when you run+ -- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html RemovePermission>.+ --+ -- Each @StatementId@ must be unique.+ statementId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPermission' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'action', 'putPermission_action' - The action that you are enabling the other account to perform.+--+-- 'condition', 'putPermission_condition' - This parameter enables you to limit the permission to accounts that+-- fulfill a certain condition, such as being a member of a certain Amazon+-- Web Services organization. For more information about Amazon Web+-- Services Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html What Is Amazon Web Services Organizations>+-- in the /Amazon Web Services Organizations User Guide/.+--+-- If you specify @Condition@ with an Amazon Web Services organization ID,+-- and specify \"*\" as the value for @Principal@, you grant permission to+-- all the accounts in the named organization.+--+-- The @Condition@ is a JSON string which must contain @Type@, @Key@, and+-- @Value@ fields.+--+-- 'eventBusName', 'putPermission_eventBusName' - The name of the event bus associated with the rule. If you omit this,+-- the default event bus is used.+--+-- 'policy', 'putPermission_policy' - A JSON string that describes the permission policy statement. You can+-- include a @Policy@ parameter in the request instead of using the+-- @StatementId@, @Action@, @Principal@, or @Condition@ parameters.+--+-- 'principal', 'putPermission_principal' - The 12-digit Amazon Web Services account ID that you are permitting to+-- put events to your default event bus. Specify \"*\" to permit any+-- account to put events to your default event bus.+--+-- If you specify \"*\" without specifying @Condition@, avoid creating+-- rules that may match undesirable events. To create more secure rules,+-- make sure that the event pattern for each rule contains an @account@+-- field with a specific account ID from which to receive events. Rules+-- with an account field do not match any events sent from other accounts.+--+-- 'statementId', 'putPermission_statementId' - An identifier string for the external account that you are granting+-- permissions to. If you later want to revoke the permission for this+-- external account, specify this @StatementId@ when you run+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html RemovePermission>.+--+-- Each @StatementId@ must be unique.+newPutPermission ::+ PutPermission+newPutPermission =+ PutPermission'+ { action = Prelude.Nothing,+ condition = Prelude.Nothing,+ eventBusName = Prelude.Nothing,+ policy = Prelude.Nothing,+ principal = Prelude.Nothing,+ statementId = Prelude.Nothing+ }++-- | The action that you are enabling the other account to perform.+putPermission_action :: Lens.Lens' PutPermission (Prelude.Maybe Prelude.Text)+putPermission_action = Lens.lens (\PutPermission' {action} -> action) (\s@PutPermission' {} a -> s {action = a} :: PutPermission)++-- | This parameter enables you to limit the permission to accounts that+-- fulfill a certain condition, such as being a member of a certain Amazon+-- Web Services organization. For more information about Amazon Web+-- Services Organizations, see+-- <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html What Is Amazon Web Services Organizations>+-- in the /Amazon Web Services Organizations User Guide/.+--+-- If you specify @Condition@ with an Amazon Web Services organization ID,+-- and specify \"*\" as the value for @Principal@, you grant permission to+-- all the accounts in the named organization.+--+-- The @Condition@ is a JSON string which must contain @Type@, @Key@, and+-- @Value@ fields.+putPermission_condition :: Lens.Lens' PutPermission (Prelude.Maybe Condition)+putPermission_condition = Lens.lens (\PutPermission' {condition} -> condition) (\s@PutPermission' {} a -> s {condition = a} :: PutPermission)++-- | The name of the event bus associated with the rule. If you omit this,+-- the default event bus is used.+putPermission_eventBusName :: Lens.Lens' PutPermission (Prelude.Maybe Prelude.Text)+putPermission_eventBusName = Lens.lens (\PutPermission' {eventBusName} -> eventBusName) (\s@PutPermission' {} a -> s {eventBusName = a} :: PutPermission)++-- | A JSON string that describes the permission policy statement. You can+-- include a @Policy@ parameter in the request instead of using the+-- @StatementId@, @Action@, @Principal@, or @Condition@ parameters.+putPermission_policy :: Lens.Lens' PutPermission (Prelude.Maybe Prelude.Text)+putPermission_policy = Lens.lens (\PutPermission' {policy} -> policy) (\s@PutPermission' {} a -> s {policy = a} :: PutPermission)++-- | The 12-digit Amazon Web Services account ID that you are permitting to+-- put events to your default event bus. Specify \"*\" to permit any+-- account to put events to your default event bus.+--+-- If you specify \"*\" without specifying @Condition@, avoid creating+-- rules that may match undesirable events. To create more secure rules,+-- make sure that the event pattern for each rule contains an @account@+-- field with a specific account ID from which to receive events. Rules+-- with an account field do not match any events sent from other accounts.+putPermission_principal :: Lens.Lens' PutPermission (Prelude.Maybe Prelude.Text)+putPermission_principal = Lens.lens (\PutPermission' {principal} -> principal) (\s@PutPermission' {} a -> s {principal = a} :: PutPermission)++-- | An identifier string for the external account that you are granting+-- permissions to. If you later want to revoke the permission for this+-- external account, specify this @StatementId@ when you run+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html RemovePermission>.+--+-- Each @StatementId@ must be unique.+putPermission_statementId :: Lens.Lens' PutPermission (Prelude.Maybe Prelude.Text)+putPermission_statementId = Lens.lens (\PutPermission' {statementId} -> statementId) (\s@PutPermission' {} a -> s {statementId = a} :: PutPermission)++instance Core.AWSRequest PutPermission where+ type+ AWSResponse PutPermission =+ PutPermissionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull PutPermissionResponse'++instance Prelude.Hashable PutPermission where+ hashWithSalt _salt PutPermission' {..} =+ _salt+ `Prelude.hashWithSalt` action+ `Prelude.hashWithSalt` condition+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` policy+ `Prelude.hashWithSalt` principal+ `Prelude.hashWithSalt` statementId++instance Prelude.NFData PutPermission where+ rnf PutPermission' {..} =+ Prelude.rnf action+ `Prelude.seq` Prelude.rnf condition+ `Prelude.seq` Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf policy+ `Prelude.seq` Prelude.rnf principal+ `Prelude.seq` Prelude.rnf statementId++instance Data.ToHeaders PutPermission where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.PutPermission" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutPermission where+ toJSON PutPermission' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Action" Data..=) Prelude.<$> action,+ ("Condition" Data..=) Prelude.<$> condition,+ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Policy" Data..=) Prelude.<$> policy,+ ("Principal" Data..=) Prelude.<$> principal,+ ("StatementId" Data..=) Prelude.<$> statementId+ ]+ )++instance Data.ToPath PutPermission where+ toPath = Prelude.const "/"++instance Data.ToQuery PutPermission where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutPermissionResponse' smart constructor.+data PutPermissionResponse = PutPermissionResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPermissionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newPutPermissionResponse ::+ PutPermissionResponse+newPutPermissionResponse = PutPermissionResponse'++instance Prelude.NFData PutPermissionResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/PutRule.hs view
@@ -0,0 +1,353 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.PutRule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates the specified rule. Rules are enabled by default, or+-- based on value of the state. You can disable a rule using+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DisableRule.html DisableRule>.+--+-- A single rule watches for events from a single event bus. Events+-- generated by Amazon Web Services services go to your account\'s default+-- event bus. Events generated by SaaS partner services or applications go+-- to the matching partner event bus. If you have custom applications or+-- services, you can specify whether their events go to your default event+-- bus or a custom event bus that you have created. For more information,+-- see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html CreateEventBus>.+--+-- If you are updating an existing rule, the rule is replaced with what you+-- specify in this @PutRule@ command. If you omit arguments in @PutRule@,+-- the old values for those arguments are not kept. Instead, they are+-- replaced with null values.+--+-- When you create or update a rule, incoming events might not immediately+-- start matching to new or updated rules. Allow a short period of time for+-- changes to take effect.+--+-- A rule must contain at least an EventPattern or ScheduleExpression.+-- Rules with EventPatterns are triggered when a matching event is+-- observed. Rules with ScheduleExpressions self-trigger based on the given+-- schedule. A rule can have both an EventPattern and a ScheduleExpression,+-- in which case the rule triggers on matching events as well as on a+-- schedule.+--+-- When you initially create a rule, you can optionally assign one or more+-- tags to the rule. Tags can help you organize and categorize your+-- resources. You can also use them to scope user permissions, by granting+-- a user permission to access or change only rules with certain tag+-- values. To use the @PutRule@ operation and assign tags, you must have+-- both the @events:PutRule@ and @events:TagResource@ permissions.+--+-- If you are updating an existing rule, any tags you specify in the+-- @PutRule@ operation are ignored. To update the tags of an existing rule,+-- use+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_TagResource.html TagResource>+-- and+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UntagResource.html UntagResource>.+--+-- Most services in Amazon Web Services treat : or \/ as the same character+-- in Amazon Resource Names (ARNs). However, EventBridge uses an exact+-- match in event patterns and rules. Be sure to use the correct ARN+-- characters when creating event patterns so that they match the ARN+-- syntax in the event you want to match.+--+-- In EventBridge, it is possible to create rules that lead to infinite+-- loops, where a rule is fired repeatedly. For example, a rule might+-- detect that ACLs have changed on an S3 bucket, and trigger software to+-- change them to the desired state. If the rule is not written carefully,+-- the subsequent change to the ACLs fires the rule again, creating an+-- infinite loop.+--+-- To prevent this, write the rules so that the triggered actions do not+-- re-fire the same rule. For example, your rule could fire only if ACLs+-- are found to be in a bad state, instead of after any change.+--+-- An infinite loop can quickly cause higher than expected charges. We+-- recommend that you use budgeting, which alerts you when charges exceed+-- your specified limit. For more information, see+-- <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html Managing Your Costs with Budgets>.+module Amazonka.CloudWatchEvents.PutRule+ ( -- * Creating a Request+ PutRule (..),+ newPutRule,++ -- * Request Lenses+ putRule_description,+ putRule_eventBusName,+ putRule_eventPattern,+ putRule_roleArn,+ putRule_scheduleExpression,+ putRule_state,+ putRule_tags,+ putRule_name,++ -- * Destructuring the Response+ PutRuleResponse (..),+ newPutRuleResponse,++ -- * Response Lenses+ putRuleResponse_ruleArn,+ putRuleResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutRule' smart constructor.+data PutRule = PutRule'+ { -- | A description of the rule.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name or ARN of the event bus to associate with this rule. If you+ -- omit this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The event pattern. For more information, see+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html.html EventBridge event patterns>+ -- in the /Amazon EventBridge User Guide/.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.+ --+ -- If you\'re setting an event bus in another account as the target and+ -- that account granted permission to your account through an organization+ -- instead of directly by the account ID, you must specify a @RoleArn@ with+ -- proper permissions in the @Target@ structure, instead of here in this+ -- parameter.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The scheduling expression. For example, \"cron(0 20 * * ? *)\" or+ -- \"rate(5 minutes)\".+ scheduleExpression :: Prelude.Maybe Prelude.Text,+ -- | Indicates whether the rule is enabled or disabled.+ state :: Prelude.Maybe RuleState,+ -- | The list of key-value pairs to associate with the rule.+ tags :: Prelude.Maybe [Tag],+ -- | The name of the rule that you are creating or updating.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'putRule_description' - A description of the rule.+--+-- 'eventBusName', 'putRule_eventBusName' - The name or ARN of the event bus to associate with this rule. If you+-- omit this, the default event bus is used.+--+-- 'eventPattern', 'putRule_eventPattern' - The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html.html EventBridge event patterns>+-- in the /Amazon EventBridge User Guide/.+--+-- 'roleArn', 'putRule_roleArn' - The Amazon Resource Name (ARN) of the IAM role associated with the rule.+--+-- If you\'re setting an event bus in another account as the target and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, you must specify a @RoleArn@ with+-- proper permissions in the @Target@ structure, instead of here in this+-- parameter.+--+-- 'scheduleExpression', 'putRule_scheduleExpression' - The scheduling expression. For example, \"cron(0 20 * * ? *)\" or+-- \"rate(5 minutes)\".+--+-- 'state', 'putRule_state' - Indicates whether the rule is enabled or disabled.+--+-- 'tags', 'putRule_tags' - The list of key-value pairs to associate with the rule.+--+-- 'name', 'putRule_name' - The name of the rule that you are creating or updating.+newPutRule ::+ -- | 'name'+ Prelude.Text ->+ PutRule+newPutRule pName_ =+ PutRule'+ { description = Prelude.Nothing,+ eventBusName = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ scheduleExpression = Prelude.Nothing,+ state = Prelude.Nothing,+ tags = Prelude.Nothing,+ name = pName_+ }++-- | A description of the rule.+putRule_description :: Lens.Lens' PutRule (Prelude.Maybe Prelude.Text)+putRule_description = Lens.lens (\PutRule' {description} -> description) (\s@PutRule' {} a -> s {description = a} :: PutRule)++-- | The name or ARN of the event bus to associate with this rule. If you+-- omit this, the default event bus is used.+putRule_eventBusName :: Lens.Lens' PutRule (Prelude.Maybe Prelude.Text)+putRule_eventBusName = Lens.lens (\PutRule' {eventBusName} -> eventBusName) (\s@PutRule' {} a -> s {eventBusName = a} :: PutRule)++-- | The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html.html EventBridge event patterns>+-- in the /Amazon EventBridge User Guide/.+putRule_eventPattern :: Lens.Lens' PutRule (Prelude.Maybe Prelude.Text)+putRule_eventPattern = Lens.lens (\PutRule' {eventPattern} -> eventPattern) (\s@PutRule' {} a -> s {eventPattern = a} :: PutRule)++-- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.+--+-- If you\'re setting an event bus in another account as the target and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, you must specify a @RoleArn@ with+-- proper permissions in the @Target@ structure, instead of here in this+-- parameter.+putRule_roleArn :: Lens.Lens' PutRule (Prelude.Maybe Prelude.Text)+putRule_roleArn = Lens.lens (\PutRule' {roleArn} -> roleArn) (\s@PutRule' {} a -> s {roleArn = a} :: PutRule)++-- | The scheduling expression. For example, \"cron(0 20 * * ? *)\" or+-- \"rate(5 minutes)\".+putRule_scheduleExpression :: Lens.Lens' PutRule (Prelude.Maybe Prelude.Text)+putRule_scheduleExpression = Lens.lens (\PutRule' {scheduleExpression} -> scheduleExpression) (\s@PutRule' {} a -> s {scheduleExpression = a} :: PutRule)++-- | Indicates whether the rule is enabled or disabled.+putRule_state :: Lens.Lens' PutRule (Prelude.Maybe RuleState)+putRule_state = Lens.lens (\PutRule' {state} -> state) (\s@PutRule' {} a -> s {state = a} :: PutRule)++-- | The list of key-value pairs to associate with the rule.+putRule_tags :: Lens.Lens' PutRule (Prelude.Maybe [Tag])+putRule_tags = Lens.lens (\PutRule' {tags} -> tags) (\s@PutRule' {} a -> s {tags = a} :: PutRule) Prelude.. Lens.mapping Lens.coerced++-- | The name of the rule that you are creating or updating.+putRule_name :: Lens.Lens' PutRule Prelude.Text+putRule_name = Lens.lens (\PutRule' {name} -> name) (\s@PutRule' {} a -> s {name = a} :: PutRule)++instance Core.AWSRequest PutRule where+ type AWSResponse PutRule = PutRuleResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutRuleResponse'+ Prelude.<$> (x Data..?> "RuleArn")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutRule where+ hashWithSalt _salt PutRule' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` eventPattern+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` scheduleExpression+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` name++instance Prelude.NFData PutRule where+ rnf PutRule' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf scheduleExpression+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders PutRule where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.PutRule" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutRule where+ toJSON PutRule' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("EventPattern" Data..=) Prelude.<$> eventPattern,+ ("RoleArn" Data..=) Prelude.<$> roleArn,+ ("ScheduleExpression" Data..=)+ Prelude.<$> scheduleExpression,+ ("State" Data..=) Prelude.<$> state,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath PutRule where+ toPath = Prelude.const "/"++instance Data.ToQuery PutRule where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutRuleResponse' smart constructor.+data PutRuleResponse = PutRuleResponse'+ { -- | The Amazon Resource Name (ARN) of the rule.+ ruleArn :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutRuleResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ruleArn', 'putRuleResponse_ruleArn' - The Amazon Resource Name (ARN) of the rule.+--+-- 'httpStatus', 'putRuleResponse_httpStatus' - The response's http status code.+newPutRuleResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutRuleResponse+newPutRuleResponse pHttpStatus_ =+ PutRuleResponse'+ { ruleArn = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The Amazon Resource Name (ARN) of the rule.+putRuleResponse_ruleArn :: Lens.Lens' PutRuleResponse (Prelude.Maybe Prelude.Text)+putRuleResponse_ruleArn = Lens.lens (\PutRuleResponse' {ruleArn} -> ruleArn) (\s@PutRuleResponse' {} a -> s {ruleArn = a} :: PutRuleResponse)++-- | The response's http status code.+putRuleResponse_httpStatus :: Lens.Lens' PutRuleResponse Prelude.Int+putRuleResponse_httpStatus = Lens.lens (\PutRuleResponse' {httpStatus} -> httpStatus) (\s@PutRuleResponse' {} a -> s {httpStatus = a} :: PutRuleResponse)++instance Prelude.NFData PutRuleResponse where+ rnf PutRuleResponse' {..} =+ Prelude.rnf ruleArn+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/PutTargets.hs view
@@ -0,0 +1,355 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.PutTargets+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds the specified targets to the specified rule, or updates the targets+-- if they are already associated with the rule.+--+-- Targets are the resources that are invoked when a rule is triggered.+--+-- Each rule can have up to five (5) targets associated with it at one+-- time.+--+-- You can configure the following as targets for Events:+--+-- - <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html API destination>+--+-- - <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-gateway-target.html API Gateway>+--+-- - Batch job queue+--+-- - CloudWatch group+--+-- - CodeBuild project+--+-- - CodePipeline+--+-- - EC2 @CreateSnapshot@ API call+--+-- - EC2 Image Builder+--+-- - EC2 @RebootInstances@ API call+--+-- - EC2 @StopInstances@ API call+--+-- - EC2 @TerminateInstances@ API call+--+-- - ECS task+--+-- - <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html Event bus in a different account or Region>+--+-- - <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-bus-to-bus.html Event bus in the same account and Region>+--+-- - Firehose delivery stream+--+-- - Glue workflow+--+-- - <https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-creation.html#incident-tracking-auto-eventbridge Incident Manager response plan>+--+-- - Inspector assessment template+--+-- - Kinesis stream+--+-- - Lambda function+--+-- - Redshift cluster+--+-- - SageMaker Pipeline+--+-- - SNS topic+--+-- - SQS queue+--+-- - Step Functions state machine+--+-- - Systems Manager Automation+--+-- - Systems Manager OpsItem+--+-- - Systems Manager Run Command+--+-- Creating rules with built-in targets is supported only in the Amazon Web+-- Services Management Console. The built-in targets are+-- @EC2 CreateSnapshot API call@, @EC2 RebootInstances API call@,+-- @EC2 StopInstances API call@, and @EC2 TerminateInstances API call@.+--+-- For some target types, @PutTargets@ provides target-specific parameters.+-- If the target is a Kinesis data stream, you can optionally specify which+-- shard the event goes to by using the @KinesisParameters@ argument. To+-- invoke a command on multiple EC2 instances with one rule, you can use+-- the @RunCommandParameters@ field.+--+-- To be able to make API calls against the resources that you own, Amazon+-- EventBridge needs the appropriate permissions. For Lambda and Amazon SNS+-- resources, EventBridge relies on resource-based policies. For EC2+-- instances, Kinesis Data Streams, Step Functions state machines and API+-- Gateway REST APIs, EventBridge relies on IAM roles that you specify in+-- the @RoleARN@ argument in @PutTargets@. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html Authentication and Access Control>+-- in the /Amazon EventBridge User Guide/.+--+-- If another Amazon Web Services account is in the same region and has+-- granted you permission (using @PutPermission@), you can send events to+-- that account. Set that account\'s event bus as a target of the rules in+-- your account. To send the matched events to the other account, specify+-- that account\'s event bus as the @Arn@ value when you run @PutTargets@.+-- If your account sends events to another account, your account is charged+-- for each sent event. Each event sent to another account is charged as a+-- custom event. The account receiving the event is not charged. For more+-- information, see+-- <http://aws.amazon.com/eventbridge/pricing/ Amazon EventBridge Pricing>.+--+-- @Input@, @InputPath@, and @InputTransformer@ are not available with+-- @PutTarget@ if the target is an event bus of a different Amazon Web+-- Services account.+--+-- If you are setting the event bus of another account as the target, and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, then you must specify a @RoleArn@+-- with proper permissions in the @Target@ structure. For more information,+-- see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html Sending and Receiving Events Between Amazon Web Services Accounts>+-- in the /Amazon EventBridge User Guide/.+--+-- For more information about enabling cross-account events, see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html PutPermission>.+--+-- __Input__, __InputPath__, and __InputTransformer__ are mutually+-- exclusive and optional parameters of a target. When a rule is triggered+-- due to a matched event:+--+-- - If none of the following arguments are specified for a target, then+-- the entire event is passed to the target in JSON format (unless the+-- target is Amazon EC2 Run Command or Amazon ECS task, in which case+-- nothing from the event is passed to the target).+--+-- - If __Input__ is specified in the form of valid JSON, then the+-- matched event is overridden with this constant.+--+-- - If __InputPath__ is specified in the form of JSONPath (for example,+-- @$.detail@), then only the part of the event specified in the path+-- is passed to the target (for example, only the detail part of the+-- event is passed).+--+-- - If __InputTransformer__ is specified, then one or more specified+-- JSONPaths are extracted from the event and used as values in a+-- template that you specify as the input to the target.+--+-- When you specify @InputPath@ or @InputTransformer@, you must use JSON+-- dot notation, not bracket notation.+--+-- When you add targets to a rule and the associated rule triggers soon+-- after, new or updated targets might not be immediately invoked. Allow a+-- short period of time for changes to take effect.+--+-- This action can partially fail if too many requests are made at the same+-- time. If that happens, @FailedEntryCount@ is non-zero in the response+-- and each entry in @FailedEntries@ provides the ID of the failed target+-- and the error code.+module Amazonka.CloudWatchEvents.PutTargets+ ( -- * Creating a Request+ PutTargets (..),+ newPutTargets,++ -- * Request Lenses+ putTargets_eventBusName,+ putTargets_rule,+ putTargets_targets,++ -- * Destructuring the Response+ PutTargetsResponse (..),+ newPutTargetsResponse,++ -- * Response Lenses+ putTargetsResponse_failedEntries,+ putTargetsResponse_failedEntryCount,+ putTargetsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutTargets' smart constructor.+data PutTargets = PutTargets'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ rule :: Prelude.Text,+ -- | The targets to update or add to the rule.+ targets :: Prelude.NonEmpty Target+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutTargets' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'putTargets_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'rule', 'putTargets_rule' - The name of the rule.+--+-- 'targets', 'putTargets_targets' - The targets to update or add to the rule.+newPutTargets ::+ -- | 'rule'+ Prelude.Text ->+ -- | 'targets'+ Prelude.NonEmpty Target ->+ PutTargets+newPutTargets pRule_ pTargets_ =+ PutTargets'+ { eventBusName = Prelude.Nothing,+ rule = pRule_,+ targets = Lens.coerced Lens.# pTargets_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+putTargets_eventBusName :: Lens.Lens' PutTargets (Prelude.Maybe Prelude.Text)+putTargets_eventBusName = Lens.lens (\PutTargets' {eventBusName} -> eventBusName) (\s@PutTargets' {} a -> s {eventBusName = a} :: PutTargets)++-- | The name of the rule.+putTargets_rule :: Lens.Lens' PutTargets Prelude.Text+putTargets_rule = Lens.lens (\PutTargets' {rule} -> rule) (\s@PutTargets' {} a -> s {rule = a} :: PutTargets)++-- | The targets to update or add to the rule.+putTargets_targets :: Lens.Lens' PutTargets (Prelude.NonEmpty Target)+putTargets_targets = Lens.lens (\PutTargets' {targets} -> targets) (\s@PutTargets' {} a -> s {targets = a} :: PutTargets) Prelude.. Lens.coerced++instance Core.AWSRequest PutTargets where+ type AWSResponse PutTargets = PutTargetsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PutTargetsResponse'+ Prelude.<$> (x Data..?> "FailedEntries" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "FailedEntryCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable PutTargets where+ hashWithSalt _salt PutTargets' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` rule+ `Prelude.hashWithSalt` targets++instance Prelude.NFData PutTargets where+ rnf PutTargets' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf rule+ `Prelude.seq` Prelude.rnf targets++instance Data.ToHeaders PutTargets where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.PutTargets" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON PutTargets where+ toJSON PutTargets' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ Prelude.Just ("Rule" Data..= rule),+ Prelude.Just ("Targets" Data..= targets)+ ]+ )++instance Data.ToPath PutTargets where+ toPath = Prelude.const "/"++instance Data.ToQuery PutTargets where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutTargetsResponse' smart constructor.+data PutTargetsResponse = PutTargetsResponse'+ { -- | The failed target entries.+ failedEntries :: Prelude.Maybe [PutTargetsResultEntry],+ -- | The number of failed entries.+ failedEntryCount :: Prelude.Maybe Prelude.Int,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutTargetsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failedEntries', 'putTargetsResponse_failedEntries' - The failed target entries.+--+-- 'failedEntryCount', 'putTargetsResponse_failedEntryCount' - The number of failed entries.+--+-- 'httpStatus', 'putTargetsResponse_httpStatus' - The response's http status code.+newPutTargetsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PutTargetsResponse+newPutTargetsResponse pHttpStatus_ =+ PutTargetsResponse'+ { failedEntries =+ Prelude.Nothing,+ failedEntryCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The failed target entries.+putTargetsResponse_failedEntries :: Lens.Lens' PutTargetsResponse (Prelude.Maybe [PutTargetsResultEntry])+putTargetsResponse_failedEntries = Lens.lens (\PutTargetsResponse' {failedEntries} -> failedEntries) (\s@PutTargetsResponse' {} a -> s {failedEntries = a} :: PutTargetsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The number of failed entries.+putTargetsResponse_failedEntryCount :: Lens.Lens' PutTargetsResponse (Prelude.Maybe Prelude.Int)+putTargetsResponse_failedEntryCount = Lens.lens (\PutTargetsResponse' {failedEntryCount} -> failedEntryCount) (\s@PutTargetsResponse' {} a -> s {failedEntryCount = a} :: PutTargetsResponse)++-- | The response's http status code.+putTargetsResponse_httpStatus :: Lens.Lens' PutTargetsResponse Prelude.Int+putTargetsResponse_httpStatus = Lens.lens (\PutTargetsResponse' {httpStatus} -> httpStatus) (\s@PutTargetsResponse' {} a -> s {httpStatus = a} :: PutTargetsResponse)++instance Prelude.NFData PutTargetsResponse where+ rnf PutTargetsResponse' {..} =+ Prelude.rnf failedEntries+ `Prelude.seq` Prelude.rnf failedEntryCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/RemovePermission.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.RemovePermission+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Revokes the permission of another Amazon Web Services account to be able+-- to put events to the specified event bus. Specify the account to revoke+-- by the @StatementId@ value that you associated with the account when you+-- granted it permission with @PutPermission@. You can find the+-- @StatementId@ by using+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventBus.html DescribeEventBus>.+module Amazonka.CloudWatchEvents.RemovePermission+ ( -- * Creating a Request+ RemovePermission (..),+ newRemovePermission,++ -- * Request Lenses+ removePermission_eventBusName,+ removePermission_removeAllPermissions,+ removePermission_statementId,++ -- * Destructuring the Response+ RemovePermissionResponse (..),+ newRemovePermissionResponse,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRemovePermission' smart constructor.+data RemovePermission = RemovePermission'+ { -- | The name of the event bus to revoke permissions for. If you omit this,+ -- the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether to remove all permissions.+ removeAllPermissions :: Prelude.Maybe Prelude.Bool,+ -- | The statement ID corresponding to the account that is no longer allowed+ -- to put events to the default event bus.+ statementId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemovePermission' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'removePermission_eventBusName' - The name of the event bus to revoke permissions for. If you omit this,+-- the default event bus is used.+--+-- 'removeAllPermissions', 'removePermission_removeAllPermissions' - Specifies whether to remove all permissions.+--+-- 'statementId', 'removePermission_statementId' - The statement ID corresponding to the account that is no longer allowed+-- to put events to the default event bus.+newRemovePermission ::+ RemovePermission+newRemovePermission =+ RemovePermission'+ { eventBusName = Prelude.Nothing,+ removeAllPermissions = Prelude.Nothing,+ statementId = Prelude.Nothing+ }++-- | The name of the event bus to revoke permissions for. If you omit this,+-- the default event bus is used.+removePermission_eventBusName :: Lens.Lens' RemovePermission (Prelude.Maybe Prelude.Text)+removePermission_eventBusName = Lens.lens (\RemovePermission' {eventBusName} -> eventBusName) (\s@RemovePermission' {} a -> s {eventBusName = a} :: RemovePermission)++-- | Specifies whether to remove all permissions.+removePermission_removeAllPermissions :: Lens.Lens' RemovePermission (Prelude.Maybe Prelude.Bool)+removePermission_removeAllPermissions = Lens.lens (\RemovePermission' {removeAllPermissions} -> removeAllPermissions) (\s@RemovePermission' {} a -> s {removeAllPermissions = a} :: RemovePermission)++-- | The statement ID corresponding to the account that is no longer allowed+-- to put events to the default event bus.+removePermission_statementId :: Lens.Lens' RemovePermission (Prelude.Maybe Prelude.Text)+removePermission_statementId = Lens.lens (\RemovePermission' {statementId} -> statementId) (\s@RemovePermission' {} a -> s {statementId = a} :: RemovePermission)++instance Core.AWSRequest RemovePermission where+ type+ AWSResponse RemovePermission =+ RemovePermissionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveNull RemovePermissionResponse'++instance Prelude.Hashable RemovePermission where+ hashWithSalt _salt RemovePermission' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` removeAllPermissions+ `Prelude.hashWithSalt` statementId++instance Prelude.NFData RemovePermission where+ rnf RemovePermission' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf removeAllPermissions+ `Prelude.seq` Prelude.rnf statementId++instance Data.ToHeaders RemovePermission where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.RemovePermission" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RemovePermission where+ toJSON RemovePermission' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("RemoveAllPermissions" Data..=)+ Prelude.<$> removeAllPermissions,+ ("StatementId" Data..=) Prelude.<$> statementId+ ]+ )++instance Data.ToPath RemovePermission where+ toPath = Prelude.const "/"++instance Data.ToQuery RemovePermission where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRemovePermissionResponse' smart constructor.+data RemovePermissionResponse = RemovePermissionResponse'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemovePermissionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newRemovePermissionResponse ::+ RemovePermissionResponse+newRemovePermissionResponse =+ RemovePermissionResponse'++instance Prelude.NFData RemovePermissionResponse where+ rnf _ = ()
+ gen/Amazonka/CloudWatchEvents/RemoveTargets.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.RemoveTargets+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified targets from the specified rule. When the rule is+-- triggered, those targets are no longer be invoked.+--+-- A successful execution of @RemoveTargets@ doesn\'t guarantee all targets+-- are removed from the rule, it means that the target(s) listed in the+-- request are removed.+--+-- When you remove a target, when the associated rule triggers, removed+-- targets might continue to be invoked. Allow a short period of time for+-- changes to take effect.+--+-- This action can partially fail if too many requests are made at the same+-- time. If that happens, @FailedEntryCount@ is non-zero in the response+-- and each entry in @FailedEntries@ provides the ID of the failed target+-- and the error code.+module Amazonka.CloudWatchEvents.RemoveTargets+ ( -- * Creating a Request+ RemoveTargets (..),+ newRemoveTargets,++ -- * Request Lenses+ removeTargets_eventBusName,+ removeTargets_force,+ removeTargets_rule,+ removeTargets_ids,++ -- * Destructuring the Response+ RemoveTargetsResponse (..),+ newRemoveTargetsResponse,++ -- * Response Lenses+ removeTargetsResponse_failedEntries,+ removeTargetsResponse_failedEntryCount,+ removeTargetsResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRemoveTargets' smart constructor.+data RemoveTargets = RemoveTargets'+ { -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | If this is a managed rule, created by an Amazon Web Services service on+ -- your behalf, you must specify @Force@ as @True@ to remove targets. This+ -- parameter is ignored for rules that are not managed rules. You can check+ -- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+ -- and checking the @ManagedBy@ field of the response.+ force :: Prelude.Maybe Prelude.Bool,+ -- | The name of the rule.+ rule :: Prelude.Text,+ -- | The IDs of the targets to remove from the rule.+ ids :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveTargets' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusName', 'removeTargets_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'force', 'removeTargets_force' - If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, you must specify @Force@ as @True@ to remove targets. This+-- parameter is ignored for rules that are not managed rules. You can check+-- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+-- and checking the @ManagedBy@ field of the response.+--+-- 'rule', 'removeTargets_rule' - The name of the rule.+--+-- 'ids', 'removeTargets_ids' - The IDs of the targets to remove from the rule.+newRemoveTargets ::+ -- | 'rule'+ Prelude.Text ->+ -- | 'ids'+ Prelude.NonEmpty Prelude.Text ->+ RemoveTargets+newRemoveTargets pRule_ pIds_ =+ RemoveTargets'+ { eventBusName = Prelude.Nothing,+ force = Prelude.Nothing,+ rule = pRule_,+ ids = Lens.coerced Lens.# pIds_+ }++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+removeTargets_eventBusName :: Lens.Lens' RemoveTargets (Prelude.Maybe Prelude.Text)+removeTargets_eventBusName = Lens.lens (\RemoveTargets' {eventBusName} -> eventBusName) (\s@RemoveTargets' {} a -> s {eventBusName = a} :: RemoveTargets)++-- | If this is a managed rule, created by an Amazon Web Services service on+-- your behalf, you must specify @Force@ as @True@ to remove targets. This+-- parameter is ignored for rules that are not managed rules. You can check+-- whether a rule is a managed rule by using @DescribeRule@ or @ListRules@+-- and checking the @ManagedBy@ field of the response.+removeTargets_force :: Lens.Lens' RemoveTargets (Prelude.Maybe Prelude.Bool)+removeTargets_force = Lens.lens (\RemoveTargets' {force} -> force) (\s@RemoveTargets' {} a -> s {force = a} :: RemoveTargets)++-- | The name of the rule.+removeTargets_rule :: Lens.Lens' RemoveTargets Prelude.Text+removeTargets_rule = Lens.lens (\RemoveTargets' {rule} -> rule) (\s@RemoveTargets' {} a -> s {rule = a} :: RemoveTargets)++-- | The IDs of the targets to remove from the rule.+removeTargets_ids :: Lens.Lens' RemoveTargets (Prelude.NonEmpty Prelude.Text)+removeTargets_ids = Lens.lens (\RemoveTargets' {ids} -> ids) (\s@RemoveTargets' {} a -> s {ids = a} :: RemoveTargets) Prelude.. Lens.coerced++instance Core.AWSRequest RemoveTargets where+ type+ AWSResponse RemoveTargets =+ RemoveTargetsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RemoveTargetsResponse'+ Prelude.<$> (x Data..?> "FailedEntries" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "FailedEntryCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RemoveTargets where+ hashWithSalt _salt RemoveTargets' {..} =+ _salt+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` force+ `Prelude.hashWithSalt` rule+ `Prelude.hashWithSalt` ids++instance Prelude.NFData RemoveTargets where+ rnf RemoveTargets' {..} =+ Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf force+ `Prelude.seq` Prelude.rnf rule+ `Prelude.seq` Prelude.rnf ids++instance Data.ToHeaders RemoveTargets where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.RemoveTargets" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RemoveTargets where+ toJSON RemoveTargets' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Force" Data..=) Prelude.<$> force,+ Prelude.Just ("Rule" Data..= rule),+ Prelude.Just ("Ids" Data..= ids)+ ]+ )++instance Data.ToPath RemoveTargets where+ toPath = Prelude.const "/"++instance Data.ToQuery RemoveTargets where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRemoveTargetsResponse' smart constructor.+data RemoveTargetsResponse = RemoveTargetsResponse'+ { -- | The failed target entries.+ failedEntries :: Prelude.Maybe [RemoveTargetsResultEntry],+ -- | The number of failed entries.+ failedEntryCount :: Prelude.Maybe Prelude.Int,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveTargetsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failedEntries', 'removeTargetsResponse_failedEntries' - The failed target entries.+--+-- 'failedEntryCount', 'removeTargetsResponse_failedEntryCount' - The number of failed entries.+--+-- 'httpStatus', 'removeTargetsResponse_httpStatus' - The response's http status code.+newRemoveTargetsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RemoveTargetsResponse+newRemoveTargetsResponse pHttpStatus_ =+ RemoveTargetsResponse'+ { failedEntries =+ Prelude.Nothing,+ failedEntryCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The failed target entries.+removeTargetsResponse_failedEntries :: Lens.Lens' RemoveTargetsResponse (Prelude.Maybe [RemoveTargetsResultEntry])+removeTargetsResponse_failedEntries = Lens.lens (\RemoveTargetsResponse' {failedEntries} -> failedEntries) (\s@RemoveTargetsResponse' {} a -> s {failedEntries = a} :: RemoveTargetsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The number of failed entries.+removeTargetsResponse_failedEntryCount :: Lens.Lens' RemoveTargetsResponse (Prelude.Maybe Prelude.Int)+removeTargetsResponse_failedEntryCount = Lens.lens (\RemoveTargetsResponse' {failedEntryCount} -> failedEntryCount) (\s@RemoveTargetsResponse' {} a -> s {failedEntryCount = a} :: RemoveTargetsResponse)++-- | The response's http status code.+removeTargetsResponse_httpStatus :: Lens.Lens' RemoveTargetsResponse Prelude.Int+removeTargetsResponse_httpStatus = Lens.lens (\RemoveTargetsResponse' {httpStatus} -> httpStatus) (\s@RemoveTargetsResponse' {} a -> s {httpStatus = a} :: RemoveTargetsResponse)++instance Prelude.NFData RemoveTargetsResponse where+ rnf RemoveTargetsResponse' {..} =+ Prelude.rnf failedEntries+ `Prelude.seq` Prelude.rnf failedEntryCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/StartReplay.hs view
@@ -0,0 +1,302 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.StartReplay+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts the specified replay. Events are not necessarily replayed in the+-- exact same order that they were added to the archive. A replay processes+-- events to replay based on the time in the event, and replays them using+-- 1 minute intervals. If you specify an @EventStartTime@ and an+-- @EventEndTime@ that covers a 20 minute time range, the events are+-- replayed from the first minute of that 20 minute range first. Then the+-- events from the second minute are replayed. You can use @DescribeReplay@+-- to determine the progress of a replay. The value returned for+-- @EventLastReplayedTime@ indicates the time within the specified time+-- range associated with the last event replayed.+module Amazonka.CloudWatchEvents.StartReplay+ ( -- * Creating a Request+ StartReplay (..),+ newStartReplay,++ -- * Request Lenses+ startReplay_description,+ startReplay_replayName,+ startReplay_eventSourceArn,+ startReplay_eventStartTime,+ startReplay_eventEndTime,+ startReplay_destination,++ -- * Destructuring the Response+ StartReplayResponse (..),+ newStartReplayResponse,++ -- * Response Lenses+ startReplayResponse_replayArn,+ startReplayResponse_replayStartTime,+ startReplayResponse_state,+ startReplayResponse_stateReason,+ startReplayResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartReplay' smart constructor.+data StartReplay = StartReplay'+ { -- | A description for the replay to start.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the replay to start.+ replayName :: Prelude.Text,+ -- | The ARN of the archive to replay events from.+ eventSourceArn :: Prelude.Text,+ -- | A time stamp for the time to start replaying events. Only events that+ -- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+ eventStartTime :: Data.POSIX,+ -- | A time stamp for the time to stop replaying events. Only events that+ -- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+ eventEndTime :: Data.POSIX,+ -- | A @ReplayDestination@ object that includes details about the destination+ -- for the replay.+ destination :: ReplayDestination+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartReplay' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'startReplay_description' - A description for the replay to start.+--+-- 'replayName', 'startReplay_replayName' - The name of the replay to start.+--+-- 'eventSourceArn', 'startReplay_eventSourceArn' - The ARN of the archive to replay events from.+--+-- 'eventStartTime', 'startReplay_eventStartTime' - A time stamp for the time to start replaying events. Only events that+-- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+--+-- 'eventEndTime', 'startReplay_eventEndTime' - A time stamp for the time to stop replaying events. Only events that+-- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+--+-- 'destination', 'startReplay_destination' - A @ReplayDestination@ object that includes details about the destination+-- for the replay.+newStartReplay ::+ -- | 'replayName'+ Prelude.Text ->+ -- | 'eventSourceArn'+ Prelude.Text ->+ -- | 'eventStartTime'+ Prelude.UTCTime ->+ -- | 'eventEndTime'+ Prelude.UTCTime ->+ -- | 'destination'+ ReplayDestination ->+ StartReplay+newStartReplay+ pReplayName_+ pEventSourceArn_+ pEventStartTime_+ pEventEndTime_+ pDestination_ =+ StartReplay'+ { description = Prelude.Nothing,+ replayName = pReplayName_,+ eventSourceArn = pEventSourceArn_,+ eventStartTime = Data._Time Lens.# pEventStartTime_,+ eventEndTime = Data._Time Lens.# pEventEndTime_,+ destination = pDestination_+ }++-- | A description for the replay to start.+startReplay_description :: Lens.Lens' StartReplay (Prelude.Maybe Prelude.Text)+startReplay_description = Lens.lens (\StartReplay' {description} -> description) (\s@StartReplay' {} a -> s {description = a} :: StartReplay)++-- | The name of the replay to start.+startReplay_replayName :: Lens.Lens' StartReplay Prelude.Text+startReplay_replayName = Lens.lens (\StartReplay' {replayName} -> replayName) (\s@StartReplay' {} a -> s {replayName = a} :: StartReplay)++-- | The ARN of the archive to replay events from.+startReplay_eventSourceArn :: Lens.Lens' StartReplay Prelude.Text+startReplay_eventSourceArn = Lens.lens (\StartReplay' {eventSourceArn} -> eventSourceArn) (\s@StartReplay' {} a -> s {eventSourceArn = a} :: StartReplay)++-- | A time stamp for the time to start replaying events. Only events that+-- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+startReplay_eventStartTime :: Lens.Lens' StartReplay Prelude.UTCTime+startReplay_eventStartTime = Lens.lens (\StartReplay' {eventStartTime} -> eventStartTime) (\s@StartReplay' {} a -> s {eventStartTime = a} :: StartReplay) Prelude.. Data._Time++-- | A time stamp for the time to stop replaying events. Only events that+-- occurred between the @EventStartTime@ and @EventEndTime@ are replayed.+startReplay_eventEndTime :: Lens.Lens' StartReplay Prelude.UTCTime+startReplay_eventEndTime = Lens.lens (\StartReplay' {eventEndTime} -> eventEndTime) (\s@StartReplay' {} a -> s {eventEndTime = a} :: StartReplay) Prelude.. Data._Time++-- | A @ReplayDestination@ object that includes details about the destination+-- for the replay.+startReplay_destination :: Lens.Lens' StartReplay ReplayDestination+startReplay_destination = Lens.lens (\StartReplay' {destination} -> destination) (\s@StartReplay' {} a -> s {destination = a} :: StartReplay)++instance Core.AWSRequest StartReplay where+ type AWSResponse StartReplay = StartReplayResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartReplayResponse'+ Prelude.<$> (x Data..?> "ReplayArn")+ Prelude.<*> (x Data..?> "ReplayStartTime")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartReplay where+ hashWithSalt _salt StartReplay' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` replayName+ `Prelude.hashWithSalt` eventSourceArn+ `Prelude.hashWithSalt` eventStartTime+ `Prelude.hashWithSalt` eventEndTime+ `Prelude.hashWithSalt` destination++instance Prelude.NFData StartReplay where+ rnf StartReplay' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf replayName+ `Prelude.seq` Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf eventStartTime+ `Prelude.seq` Prelude.rnf eventEndTime+ `Prelude.seq` Prelude.rnf destination++instance Data.ToHeaders StartReplay where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.StartReplay" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartReplay where+ toJSON StartReplay' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("ReplayName" Data..= replayName),+ Prelude.Just+ ("EventSourceArn" Data..= eventSourceArn),+ Prelude.Just+ ("EventStartTime" Data..= eventStartTime),+ Prelude.Just ("EventEndTime" Data..= eventEndTime),+ Prelude.Just ("Destination" Data..= destination)+ ]+ )++instance Data.ToPath StartReplay where+ toPath = Prelude.const "/"++instance Data.ToQuery StartReplay where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartReplayResponse' smart constructor.+data StartReplayResponse = StartReplayResponse'+ { -- | The ARN of the replay.+ replayArn :: Prelude.Maybe Prelude.Text,+ -- | The time at which the replay started.+ replayStartTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the replay.+ state :: Prelude.Maybe ReplayState,+ -- | The reason that the replay is in the state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartReplayResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'replayArn', 'startReplayResponse_replayArn' - The ARN of the replay.+--+-- 'replayStartTime', 'startReplayResponse_replayStartTime' - The time at which the replay started.+--+-- 'state', 'startReplayResponse_state' - The state of the replay.+--+-- 'stateReason', 'startReplayResponse_stateReason' - The reason that the replay is in the state.+--+-- 'httpStatus', 'startReplayResponse_httpStatus' - The response's http status code.+newStartReplayResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartReplayResponse+newStartReplayResponse pHttpStatus_ =+ StartReplayResponse'+ { replayArn = Prelude.Nothing,+ replayStartTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the replay.+startReplayResponse_replayArn :: Lens.Lens' StartReplayResponse (Prelude.Maybe Prelude.Text)+startReplayResponse_replayArn = Lens.lens (\StartReplayResponse' {replayArn} -> replayArn) (\s@StartReplayResponse' {} a -> s {replayArn = a} :: StartReplayResponse)++-- | The time at which the replay started.+startReplayResponse_replayStartTime :: Lens.Lens' StartReplayResponse (Prelude.Maybe Prelude.UTCTime)+startReplayResponse_replayStartTime = Lens.lens (\StartReplayResponse' {replayStartTime} -> replayStartTime) (\s@StartReplayResponse' {} a -> s {replayStartTime = a} :: StartReplayResponse) Prelude.. Lens.mapping Data._Time++-- | The state of the replay.+startReplayResponse_state :: Lens.Lens' StartReplayResponse (Prelude.Maybe ReplayState)+startReplayResponse_state = Lens.lens (\StartReplayResponse' {state} -> state) (\s@StartReplayResponse' {} a -> s {state = a} :: StartReplayResponse)++-- | The reason that the replay is in the state.+startReplayResponse_stateReason :: Lens.Lens' StartReplayResponse (Prelude.Maybe Prelude.Text)+startReplayResponse_stateReason = Lens.lens (\StartReplayResponse' {stateReason} -> stateReason) (\s@StartReplayResponse' {} a -> s {stateReason = a} :: StartReplayResponse)++-- | The response's http status code.+startReplayResponse_httpStatus :: Lens.Lens' StartReplayResponse Prelude.Int+startReplayResponse_httpStatus = Lens.lens (\StartReplayResponse' {httpStatus} -> httpStatus) (\s@StartReplayResponse' {} a -> s {httpStatus = a} :: StartReplayResponse)++instance Prelude.NFData StartReplayResponse where+ rnf StartReplayResponse' {..} =+ Prelude.rnf replayArn+ `Prelude.seq` Prelude.rnf replayStartTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/TagResource.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns one or more tags (key-value pairs) to the specified EventBridge+-- resource. Tags can help you organize and categorize your resources. You+-- can also use them to scope user permissions by granting a user+-- permission to access or change only resources with certain tag values.+-- In EventBridge, rules and event buses can be tagged.+--+-- Tags don\'t have any semantic meaning to Amazon Web Services and are+-- interpreted strictly as strings of characters.+--+-- You can use the @TagResource@ action with a resource that already has+-- tags. If you specify a new tag key, this tag is appended to the list of+-- tags associated with the resource. If you specify a tag key that is+-- already associated with the resource, the new tag value that you specify+-- replaces the previous value for that tag.+--+-- You can associate as many as 50 tags with a resource.+module Amazonka.CloudWatchEvents.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceARN,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | The ARN of the EventBridge resource that you\'re adding tags to.+ resourceARN :: Prelude.Text,+ -- | The list of key-value pairs to associate with the resource.+ tags :: [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'tagResource_resourceARN' - The ARN of the EventBridge resource that you\'re adding tags to.+--+-- 'tags', 'tagResource_tags' - The list of key-value pairs to associate with the resource.+newTagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ TagResource+newTagResource pResourceARN_ =+ TagResource'+ { resourceARN = pResourceARN_,+ tags = Prelude.mempty+ }++-- | The ARN of the EventBridge resource that you\'re adding tags to.+tagResource_resourceARN :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceARN = Lens.lens (\TagResource' {resourceARN} -> resourceARN) (\s@TagResource' {} a -> s {resourceARN = a} :: TagResource)++-- | The list of key-value pairs to associate with the resource.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.TagResource" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath TagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/TestEventPattern.hs view
@@ -0,0 +1,248 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.TestEventPattern+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Tests whether the specified event pattern matches the provided event.+--+-- Most services in Amazon Web Services treat : or \/ as the same character+-- in Amazon Resource Names (ARNs). However, EventBridge uses an exact+-- match in event patterns and rules. Be sure to use the correct ARN+-- characters when creating event patterns so that they match the ARN+-- syntax in the event you want to match.+module Amazonka.CloudWatchEvents.TestEventPattern+ ( -- * Creating a Request+ TestEventPattern (..),+ newTestEventPattern,++ -- * Request Lenses+ testEventPattern_eventPattern,+ testEventPattern_event,++ -- * Destructuring the Response+ TestEventPatternResponse (..),+ newTestEventPatternResponse,++ -- * Response Lenses+ testEventPatternResponse_result,+ testEventPatternResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTestEventPattern' smart constructor.+data TestEventPattern = TestEventPattern'+ { -- | The event pattern. For more information, see+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+ -- in the /Amazon EventBridge User Guide/.+ eventPattern :: Prelude.Text,+ -- | The event, in JSON format, to test against the event pattern. The JSON+ -- must follow the format specified in+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html Amazon Web Services Events>,+ -- and the following fields are mandatory:+ --+ -- - @id@+ --+ -- - @account@+ --+ -- - @source@+ --+ -- - @time@+ --+ -- - @region@+ --+ -- - @resources@+ --+ -- - @detail-type@+ event :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TestEventPattern' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventPattern', 'testEventPattern_eventPattern' - The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+--+-- 'event', 'testEventPattern_event' - The event, in JSON format, to test against the event pattern. The JSON+-- must follow the format specified in+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html Amazon Web Services Events>,+-- and the following fields are mandatory:+--+-- - @id@+--+-- - @account@+--+-- - @source@+--+-- - @time@+--+-- - @region@+--+-- - @resources@+--+-- - @detail-type@+newTestEventPattern ::+ -- | 'eventPattern'+ Prelude.Text ->+ -- | 'event'+ Prelude.Text ->+ TestEventPattern+newTestEventPattern pEventPattern_ pEvent_ =+ TestEventPattern'+ { eventPattern = pEventPattern_,+ event = pEvent_+ }++-- | The event pattern. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+testEventPattern_eventPattern :: Lens.Lens' TestEventPattern Prelude.Text+testEventPattern_eventPattern = Lens.lens (\TestEventPattern' {eventPattern} -> eventPattern) (\s@TestEventPattern' {} a -> s {eventPattern = a} :: TestEventPattern)++-- | The event, in JSON format, to test against the event pattern. The JSON+-- must follow the format specified in+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html Amazon Web Services Events>,+-- and the following fields are mandatory:+--+-- - @id@+--+-- - @account@+--+-- - @source@+--+-- - @time@+--+-- - @region@+--+-- - @resources@+--+-- - @detail-type@+testEventPattern_event :: Lens.Lens' TestEventPattern Prelude.Text+testEventPattern_event = Lens.lens (\TestEventPattern' {event} -> event) (\s@TestEventPattern' {} a -> s {event = a} :: TestEventPattern)++instance Core.AWSRequest TestEventPattern where+ type+ AWSResponse TestEventPattern =+ TestEventPatternResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ TestEventPatternResponse'+ Prelude.<$> (x Data..?> "Result")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TestEventPattern where+ hashWithSalt _salt TestEventPattern' {..} =+ _salt+ `Prelude.hashWithSalt` eventPattern+ `Prelude.hashWithSalt` event++instance Prelude.NFData TestEventPattern where+ rnf TestEventPattern' {..} =+ Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf event++instance Data.ToHeaders TestEventPattern where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.TestEventPattern" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TestEventPattern where+ toJSON TestEventPattern' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("EventPattern" Data..= eventPattern),+ Prelude.Just ("Event" Data..= event)+ ]+ )++instance Data.ToPath TestEventPattern where+ toPath = Prelude.const "/"++instance Data.ToQuery TestEventPattern where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTestEventPatternResponse' smart constructor.+data TestEventPatternResponse = TestEventPatternResponse'+ { -- | Indicates whether the event matches the event pattern.+ result :: Prelude.Maybe Prelude.Bool,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TestEventPatternResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'result', 'testEventPatternResponse_result' - Indicates whether the event matches the event pattern.+--+-- 'httpStatus', 'testEventPatternResponse_httpStatus' - The response's http status code.+newTestEventPatternResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TestEventPatternResponse+newTestEventPatternResponse pHttpStatus_ =+ TestEventPatternResponse'+ { result = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Indicates whether the event matches the event pattern.+testEventPatternResponse_result :: Lens.Lens' TestEventPatternResponse (Prelude.Maybe Prelude.Bool)+testEventPatternResponse_result = Lens.lens (\TestEventPatternResponse' {result} -> result) (\s@TestEventPatternResponse' {} a -> s {result = a} :: TestEventPatternResponse)++-- | The response's http status code.+testEventPatternResponse_httpStatus :: Lens.Lens' TestEventPatternResponse Prelude.Int+testEventPatternResponse_httpStatus = Lens.lens (\TestEventPatternResponse' {httpStatus} -> httpStatus) (\s@TestEventPatternResponse' {} a -> s {httpStatus = a} :: TestEventPatternResponse)++instance Prelude.NFData TestEventPatternResponse where+ rnf TestEventPatternResponse' {..} =+ Prelude.rnf result+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/Types.hs view
@@ -0,0 +1,811 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _ConcurrentModificationException,+ _IllegalStatusException,+ _InternalException,+ _InvalidEventPatternException,+ _InvalidStateException,+ _LimitExceededException,+ _ManagedRuleException,+ _OperationDisabledException,+ _PolicyLengthExceededException,+ _ResourceAlreadyExistsException,+ _ResourceNotFoundException,++ -- * ApiDestinationHttpMethod+ ApiDestinationHttpMethod (..),++ -- * ApiDestinationState+ ApiDestinationState (..),++ -- * ArchiveState+ ArchiveState (..),++ -- * AssignPublicIp+ AssignPublicIp (..),++ -- * ConnectionAuthorizationType+ ConnectionAuthorizationType (..),++ -- * ConnectionOAuthHttpMethod+ ConnectionOAuthHttpMethod (..),++ -- * ConnectionState+ ConnectionState (..),++ -- * EndpointState+ EndpointState (..),++ -- * EventSourceState+ EventSourceState (..),++ -- * LaunchType+ LaunchType (..),++ -- * PlacementConstraintType+ PlacementConstraintType (..),++ -- * PlacementStrategyType+ PlacementStrategyType (..),++ -- * PropagateTags+ PropagateTags (..),++ -- * ReplayState+ ReplayState (..),++ -- * ReplicationState+ ReplicationState (..),++ -- * RuleState+ RuleState (..),++ -- * ApiDestination+ ApiDestination (..),+ newApiDestination,+ apiDestination_apiDestinationArn,+ apiDestination_apiDestinationState,+ apiDestination_connectionArn,+ apiDestination_creationTime,+ apiDestination_httpMethod,+ apiDestination_invocationEndpoint,+ apiDestination_invocationRateLimitPerSecond,+ apiDestination_lastModifiedTime,+ apiDestination_name,++ -- * Archive+ Archive (..),+ newArchive,+ archive_archiveName,+ archive_creationTime,+ archive_eventCount,+ archive_eventSourceArn,+ archive_retentionDays,+ archive_sizeBytes,+ archive_state,+ archive_stateReason,++ -- * AwsVpcConfiguration+ AwsVpcConfiguration (..),+ newAwsVpcConfiguration,+ awsVpcConfiguration_assignPublicIp,+ awsVpcConfiguration_securityGroups,+ awsVpcConfiguration_subnets,++ -- * BatchArrayProperties+ BatchArrayProperties (..),+ newBatchArrayProperties,+ batchArrayProperties_size,++ -- * BatchParameters+ BatchParameters (..),+ newBatchParameters,+ batchParameters_arrayProperties,+ batchParameters_retryStrategy,+ batchParameters_jobDefinition,+ batchParameters_jobName,++ -- * BatchRetryStrategy+ BatchRetryStrategy (..),+ newBatchRetryStrategy,+ batchRetryStrategy_attempts,++ -- * CapacityProviderStrategyItem+ CapacityProviderStrategyItem (..),+ newCapacityProviderStrategyItem,+ capacityProviderStrategyItem_base,+ capacityProviderStrategyItem_weight,+ capacityProviderStrategyItem_capacityProvider,++ -- * Condition+ Condition (..),+ newCondition,+ condition_type,+ condition_key,+ condition_value,++ -- * Connection+ Connection (..),+ newConnection,+ connection_authorizationType,+ connection_connectionArn,+ connection_connectionState,+ connection_creationTime,+ connection_lastAuthorizedTime,+ connection_lastModifiedTime,+ connection_name,+ connection_stateReason,++ -- * ConnectionApiKeyAuthResponseParameters+ ConnectionApiKeyAuthResponseParameters (..),+ newConnectionApiKeyAuthResponseParameters,+ connectionApiKeyAuthResponseParameters_apiKeyName,++ -- * ConnectionAuthResponseParameters+ ConnectionAuthResponseParameters (..),+ newConnectionAuthResponseParameters,+ connectionAuthResponseParameters_apiKeyAuthParameters,+ connectionAuthResponseParameters_basicAuthParameters,+ connectionAuthResponseParameters_invocationHttpParameters,+ connectionAuthResponseParameters_oAuthParameters,++ -- * ConnectionBasicAuthResponseParameters+ ConnectionBasicAuthResponseParameters (..),+ newConnectionBasicAuthResponseParameters,+ connectionBasicAuthResponseParameters_username,++ -- * ConnectionBodyParameter+ ConnectionBodyParameter (..),+ newConnectionBodyParameter,+ connectionBodyParameter_isValueSecret,+ connectionBodyParameter_key,+ connectionBodyParameter_value,++ -- * ConnectionHeaderParameter+ ConnectionHeaderParameter (..),+ newConnectionHeaderParameter,+ connectionHeaderParameter_isValueSecret,+ connectionHeaderParameter_key,+ connectionHeaderParameter_value,++ -- * ConnectionHttpParameters+ ConnectionHttpParameters (..),+ newConnectionHttpParameters,+ connectionHttpParameters_bodyParameters,+ connectionHttpParameters_headerParameters,+ connectionHttpParameters_queryStringParameters,++ -- * ConnectionOAuthClientResponseParameters+ ConnectionOAuthClientResponseParameters (..),+ newConnectionOAuthClientResponseParameters,+ connectionOAuthClientResponseParameters_clientID,++ -- * ConnectionOAuthResponseParameters+ ConnectionOAuthResponseParameters (..),+ newConnectionOAuthResponseParameters,+ connectionOAuthResponseParameters_authorizationEndpoint,+ connectionOAuthResponseParameters_clientParameters,+ connectionOAuthResponseParameters_httpMethod,+ connectionOAuthResponseParameters_oAuthHttpParameters,++ -- * ConnectionQueryStringParameter+ ConnectionQueryStringParameter (..),+ newConnectionQueryStringParameter,+ connectionQueryStringParameter_isValueSecret,+ connectionQueryStringParameter_key,+ connectionQueryStringParameter_value,++ -- * CreateConnectionApiKeyAuthRequestParameters+ CreateConnectionApiKeyAuthRequestParameters (..),+ newCreateConnectionApiKeyAuthRequestParameters,+ createConnectionApiKeyAuthRequestParameters_apiKeyName,+ createConnectionApiKeyAuthRequestParameters_apiKeyValue,++ -- * CreateConnectionAuthRequestParameters+ CreateConnectionAuthRequestParameters (..),+ newCreateConnectionAuthRequestParameters,+ createConnectionAuthRequestParameters_apiKeyAuthParameters,+ createConnectionAuthRequestParameters_basicAuthParameters,+ createConnectionAuthRequestParameters_invocationHttpParameters,+ createConnectionAuthRequestParameters_oAuthParameters,++ -- * CreateConnectionBasicAuthRequestParameters+ CreateConnectionBasicAuthRequestParameters (..),+ newCreateConnectionBasicAuthRequestParameters,+ createConnectionBasicAuthRequestParameters_username,+ createConnectionBasicAuthRequestParameters_password,++ -- * CreateConnectionOAuthClientRequestParameters+ CreateConnectionOAuthClientRequestParameters (..),+ newCreateConnectionOAuthClientRequestParameters,+ createConnectionOAuthClientRequestParameters_clientID,+ createConnectionOAuthClientRequestParameters_clientSecret,++ -- * CreateConnectionOAuthRequestParameters+ CreateConnectionOAuthRequestParameters (..),+ newCreateConnectionOAuthRequestParameters,+ createConnectionOAuthRequestParameters_oAuthHttpParameters,+ createConnectionOAuthRequestParameters_clientParameters,+ createConnectionOAuthRequestParameters_authorizationEndpoint,+ createConnectionOAuthRequestParameters_httpMethod,++ -- * DeadLetterConfig+ DeadLetterConfig (..),+ newDeadLetterConfig,+ deadLetterConfig_arn,++ -- * EcsParameters+ EcsParameters (..),+ newEcsParameters,+ ecsParameters_capacityProviderStrategy,+ ecsParameters_enableECSManagedTags,+ ecsParameters_enableExecuteCommand,+ ecsParameters_group,+ ecsParameters_launchType,+ ecsParameters_networkConfiguration,+ ecsParameters_placementConstraints,+ ecsParameters_placementStrategy,+ ecsParameters_platformVersion,+ ecsParameters_propagateTags,+ ecsParameters_referenceId,+ ecsParameters_tags,+ ecsParameters_taskCount,+ ecsParameters_taskDefinitionArn,++ -- * Endpoint+ Endpoint (..),+ newEndpoint,+ endpoint_arn,+ endpoint_creationTime,+ endpoint_description,+ endpoint_endpointId,+ endpoint_endpointUrl,+ endpoint_eventBuses,+ endpoint_lastModifiedTime,+ endpoint_name,+ endpoint_replicationConfig,+ endpoint_roleArn,+ endpoint_routingConfig,+ endpoint_state,+ endpoint_stateReason,++ -- * EndpointEventBus+ EndpointEventBus (..),+ newEndpointEventBus,+ endpointEventBus_eventBusArn,++ -- * EventBus+ EventBus (..),+ newEventBus,+ eventBus_arn,+ eventBus_name,+ eventBus_policy,++ -- * EventSource+ EventSource (..),+ newEventSource,+ eventSource_arn,+ eventSource_createdBy,+ eventSource_creationTime,+ eventSource_expirationTime,+ eventSource_name,+ eventSource_state,++ -- * FailoverConfig+ FailoverConfig (..),+ newFailoverConfig,+ failoverConfig_primary,+ failoverConfig_secondary,++ -- * HttpParameters+ HttpParameters (..),+ newHttpParameters,+ httpParameters_headerParameters,+ httpParameters_pathParameterValues,+ httpParameters_queryStringParameters,++ -- * InputTransformer+ InputTransformer (..),+ newInputTransformer,+ inputTransformer_inputPathsMap,+ inputTransformer_inputTemplate,++ -- * KinesisParameters+ KinesisParameters (..),+ newKinesisParameters,+ kinesisParameters_partitionKeyPath,++ -- * NetworkConfiguration+ NetworkConfiguration (..),+ newNetworkConfiguration,+ networkConfiguration_awsvpcConfiguration,++ -- * PartnerEventSource+ PartnerEventSource (..),+ newPartnerEventSource,+ partnerEventSource_arn,+ partnerEventSource_name,++ -- * PartnerEventSourceAccount+ PartnerEventSourceAccount (..),+ newPartnerEventSourceAccount,+ partnerEventSourceAccount_account,+ partnerEventSourceAccount_creationTime,+ partnerEventSourceAccount_expirationTime,+ partnerEventSourceAccount_state,++ -- * PlacementConstraint+ PlacementConstraint (..),+ newPlacementConstraint,+ placementConstraint_expression,+ placementConstraint_type,++ -- * PlacementStrategy+ PlacementStrategy (..),+ newPlacementStrategy,+ placementStrategy_field,+ placementStrategy_type,++ -- * Primary+ Primary (..),+ newPrimary,+ primary_healthCheck,++ -- * PutEventsRequestEntry+ PutEventsRequestEntry (..),+ newPutEventsRequestEntry,+ putEventsRequestEntry_detail,+ putEventsRequestEntry_detailType,+ putEventsRequestEntry_eventBusName,+ putEventsRequestEntry_resources,+ putEventsRequestEntry_source,+ putEventsRequestEntry_time,+ putEventsRequestEntry_traceHeader,++ -- * PutEventsResultEntry+ PutEventsResultEntry (..),+ newPutEventsResultEntry,+ putEventsResultEntry_errorCode,+ putEventsResultEntry_errorMessage,+ putEventsResultEntry_eventId,++ -- * PutPartnerEventsRequestEntry+ PutPartnerEventsRequestEntry (..),+ newPutPartnerEventsRequestEntry,+ putPartnerEventsRequestEntry_detail,+ putPartnerEventsRequestEntry_detailType,+ putPartnerEventsRequestEntry_resources,+ putPartnerEventsRequestEntry_source,+ putPartnerEventsRequestEntry_time,++ -- * PutPartnerEventsResultEntry+ PutPartnerEventsResultEntry (..),+ newPutPartnerEventsResultEntry,+ putPartnerEventsResultEntry_errorCode,+ putPartnerEventsResultEntry_errorMessage,+ putPartnerEventsResultEntry_eventId,++ -- * PutTargetsResultEntry+ PutTargetsResultEntry (..),+ newPutTargetsResultEntry,+ putTargetsResultEntry_errorCode,+ putTargetsResultEntry_errorMessage,+ putTargetsResultEntry_targetId,++ -- * RedshiftDataParameters+ RedshiftDataParameters (..),+ newRedshiftDataParameters,+ redshiftDataParameters_dbUser,+ redshiftDataParameters_secretManagerArn,+ redshiftDataParameters_statementName,+ redshiftDataParameters_withEvent,+ redshiftDataParameters_database,+ redshiftDataParameters_sql,++ -- * RemoveTargetsResultEntry+ RemoveTargetsResultEntry (..),+ newRemoveTargetsResultEntry,+ removeTargetsResultEntry_errorCode,+ removeTargetsResultEntry_errorMessage,+ removeTargetsResultEntry_targetId,++ -- * Replay+ Replay (..),+ newReplay,+ replay_eventEndTime,+ replay_eventLastReplayedTime,+ replay_eventSourceArn,+ replay_eventStartTime,+ replay_replayEndTime,+ replay_replayName,+ replay_replayStartTime,+ replay_state,+ replay_stateReason,++ -- * ReplayDestination+ ReplayDestination (..),+ newReplayDestination,+ replayDestination_filterArns,+ replayDestination_arn,++ -- * ReplicationConfig+ ReplicationConfig (..),+ newReplicationConfig,+ replicationConfig_state,++ -- * RetryPolicy+ RetryPolicy (..),+ newRetryPolicy,+ retryPolicy_maximumEventAgeInSeconds,+ retryPolicy_maximumRetryAttempts,++ -- * RoutingConfig+ RoutingConfig (..),+ newRoutingConfig,+ routingConfig_failoverConfig,++ -- * Rule+ Rule (..),+ newRule,+ rule_arn,+ rule_description,+ rule_eventBusName,+ rule_eventPattern,+ rule_managedBy,+ rule_name,+ rule_roleArn,+ rule_scheduleExpression,+ rule_state,++ -- * RunCommandParameters+ RunCommandParameters (..),+ newRunCommandParameters,+ runCommandParameters_runCommandTargets,++ -- * RunCommandTarget+ RunCommandTarget (..),+ newRunCommandTarget,+ runCommandTarget_key,+ runCommandTarget_values,++ -- * SageMakerPipelineParameter+ SageMakerPipelineParameter (..),+ newSageMakerPipelineParameter,+ sageMakerPipelineParameter_name,+ sageMakerPipelineParameter_value,++ -- * SageMakerPipelineParameters+ SageMakerPipelineParameters (..),+ newSageMakerPipelineParameters,+ sageMakerPipelineParameters_pipelineParameterList,++ -- * Secondary+ Secondary (..),+ newSecondary,+ secondary_route,++ -- * SqsParameters+ SqsParameters (..),+ newSqsParameters,+ sqsParameters_messageGroupId,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,++ -- * Target+ Target (..),+ newTarget,+ target_batchParameters,+ target_deadLetterConfig,+ target_ecsParameters,+ target_httpParameters,+ target_input,+ target_inputPath,+ target_inputTransformer,+ target_kinesisParameters,+ target_redshiftDataParameters,+ target_retryPolicy,+ target_roleArn,+ target_runCommandParameters,+ target_sageMakerPipelineParameters,+ target_sqsParameters,+ target_id,+ target_arn,++ -- * UpdateConnectionApiKeyAuthRequestParameters+ UpdateConnectionApiKeyAuthRequestParameters (..),+ newUpdateConnectionApiKeyAuthRequestParameters,+ updateConnectionApiKeyAuthRequestParameters_apiKeyName,+ updateConnectionApiKeyAuthRequestParameters_apiKeyValue,++ -- * UpdateConnectionAuthRequestParameters+ UpdateConnectionAuthRequestParameters (..),+ newUpdateConnectionAuthRequestParameters,+ updateConnectionAuthRequestParameters_apiKeyAuthParameters,+ updateConnectionAuthRequestParameters_basicAuthParameters,+ updateConnectionAuthRequestParameters_invocationHttpParameters,+ updateConnectionAuthRequestParameters_oAuthParameters,++ -- * UpdateConnectionBasicAuthRequestParameters+ UpdateConnectionBasicAuthRequestParameters (..),+ newUpdateConnectionBasicAuthRequestParameters,+ updateConnectionBasicAuthRequestParameters_password,+ updateConnectionBasicAuthRequestParameters_username,++ -- * UpdateConnectionOAuthClientRequestParameters+ UpdateConnectionOAuthClientRequestParameters (..),+ newUpdateConnectionOAuthClientRequestParameters,+ updateConnectionOAuthClientRequestParameters_clientID,+ updateConnectionOAuthClientRequestParameters_clientSecret,++ -- * UpdateConnectionOAuthRequestParameters+ UpdateConnectionOAuthRequestParameters (..),+ newUpdateConnectionOAuthRequestParameters,+ updateConnectionOAuthRequestParameters_authorizationEndpoint,+ updateConnectionOAuthRequestParameters_clientParameters,+ updateConnectionOAuthRequestParameters_httpMethod,+ updateConnectionOAuthRequestParameters_oAuthHttpParameters,+ )+where++import Amazonka.CloudWatchEvents.Types.ApiDestination+import Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod+import Amazonka.CloudWatchEvents.Types.ApiDestinationState+import Amazonka.CloudWatchEvents.Types.Archive+import Amazonka.CloudWatchEvents.Types.ArchiveState+import Amazonka.CloudWatchEvents.Types.AssignPublicIp+import Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration+import Amazonka.CloudWatchEvents.Types.BatchArrayProperties+import Amazonka.CloudWatchEvents.Types.BatchParameters+import Amazonka.CloudWatchEvents.Types.BatchRetryStrategy+import Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem+import Amazonka.CloudWatchEvents.Types.Condition+import Amazonka.CloudWatchEvents.Types.Connection+import Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType+import Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter+import Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter+import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter+import Amazonka.CloudWatchEvents.Types.ConnectionState+import Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.DeadLetterConfig+import Amazonka.CloudWatchEvents.Types.EcsParameters+import Amazonka.CloudWatchEvents.Types.Endpoint+import Amazonka.CloudWatchEvents.Types.EndpointEventBus+import Amazonka.CloudWatchEvents.Types.EndpointState+import Amazonka.CloudWatchEvents.Types.EventBus+import Amazonka.CloudWatchEvents.Types.EventSource+import Amazonka.CloudWatchEvents.Types.EventSourceState+import Amazonka.CloudWatchEvents.Types.FailoverConfig+import Amazonka.CloudWatchEvents.Types.HttpParameters+import Amazonka.CloudWatchEvents.Types.InputTransformer+import Amazonka.CloudWatchEvents.Types.KinesisParameters+import Amazonka.CloudWatchEvents.Types.LaunchType+import Amazonka.CloudWatchEvents.Types.NetworkConfiguration+import Amazonka.CloudWatchEvents.Types.PartnerEventSource+import Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount+import Amazonka.CloudWatchEvents.Types.PlacementConstraint+import Amazonka.CloudWatchEvents.Types.PlacementConstraintType+import Amazonka.CloudWatchEvents.Types.PlacementStrategy+import Amazonka.CloudWatchEvents.Types.PlacementStrategyType+import Amazonka.CloudWatchEvents.Types.Primary+import Amazonka.CloudWatchEvents.Types.PropagateTags+import Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry+import Amazonka.CloudWatchEvents.Types.PutEventsResultEntry+import Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry+import Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry+import Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry+import Amazonka.CloudWatchEvents.Types.RedshiftDataParameters+import Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry+import Amazonka.CloudWatchEvents.Types.Replay+import Amazonka.CloudWatchEvents.Types.ReplayDestination+import Amazonka.CloudWatchEvents.Types.ReplayState+import Amazonka.CloudWatchEvents.Types.ReplicationConfig+import Amazonka.CloudWatchEvents.Types.ReplicationState+import Amazonka.CloudWatchEvents.Types.RetryPolicy+import Amazonka.CloudWatchEvents.Types.RoutingConfig+import Amazonka.CloudWatchEvents.Types.Rule+import Amazonka.CloudWatchEvents.Types.RuleState+import Amazonka.CloudWatchEvents.Types.RunCommandParameters+import Amazonka.CloudWatchEvents.Types.RunCommandTarget+import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter+import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters+import Amazonka.CloudWatchEvents.Types.Secondary+import Amazonka.CloudWatchEvents.Types.SqsParameters+import Amazonka.CloudWatchEvents.Types.Tag+import Amazonka.CloudWatchEvents.Types.Target+import Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2015-10-07@ of the Amazon EventBridge SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "CloudWatchEvents",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "events",+ Core.signingName = "events",+ Core.version = "2015-10-07",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "CloudWatchEvents",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | There is concurrent modification on a rule, target, archive, or replay.+_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentModificationException =+ Core._MatchServiceError+ defaultService+ "ConcurrentModificationException"++-- | An error occurred because a replay can be canceled only when the state+-- is Running or Starting.+_IllegalStatusException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_IllegalStatusException =+ Core._MatchServiceError+ defaultService+ "IllegalStatusException"++-- | This exception occurs due to unexpected causes.+_InternalException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalException =+ Core._MatchServiceError+ defaultService+ "InternalException"++-- | The event pattern is not valid.+_InvalidEventPatternException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidEventPatternException =+ Core._MatchServiceError+ defaultService+ "InvalidEventPatternException"++-- | The specified state is not a valid state for an event source.+_InvalidStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidStateException =+ Core._MatchServiceError+ defaultService+ "InvalidStateException"++-- | The request failed because it attempted to create resource beyond the+-- allowed service quota.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | This rule was created by an Amazon Web Services service on behalf of+-- your account. It is managed by that service. If you see this error in+-- response to @DeleteRule@ or @RemoveTargets@, you can use the @Force@+-- parameter in those calls to delete the rule or remove targets from the+-- rule. You cannot modify these managed rules by using @DisableRule@,+-- @EnableRule@, @PutTargets@, @PutRule@, @TagResource@, or+-- @UntagResource@.+_ManagedRuleException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ManagedRuleException =+ Core._MatchServiceError+ defaultService+ "ManagedRuleException"++-- | The operation you are attempting is not available in this region.+_OperationDisabledException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_OperationDisabledException =+ Core._MatchServiceError+ defaultService+ "OperationDisabledException"++-- | The event bus policy is too long. For more information, see the limits.+_PolicyLengthExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PolicyLengthExceededException =+ Core._MatchServiceError+ defaultService+ "PolicyLengthExceededException"++-- | The resource you are trying to create already exists.+_ResourceAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceAlreadyExistsException =+ Core._MatchServiceError+ defaultService+ "ResourceAlreadyExistsException"++-- | An entity that you specified does not exist.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"
+ gen/Amazonka/CloudWatchEvents/Types/ApiDestination.hs view
@@ -0,0 +1,174 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ApiDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ApiDestination where++import Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod+import Amazonka.CloudWatchEvents.Types.ApiDestinationState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains details about an API destination.+--+-- /See:/ 'newApiDestination' smart constructor.+data ApiDestination = ApiDestination'+ { -- | The ARN of the API destination.+ apiDestinationArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the API destination.+ apiDestinationState :: Prelude.Maybe ApiDestinationState,+ -- | The ARN of the connection specified for the API destination.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the API destination was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The method to use to connect to the HTTP endpoint.+ httpMethod :: Prelude.Maybe ApiDestinationHttpMethod,+ -- | The URL to the endpoint for the API destination.+ invocationEndpoint :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of invocations per second to send to the HTTP+ -- endpoint.+ invocationRateLimitPerSecond :: Prelude.Maybe Prelude.Natural,+ -- | A time stamp for the time that the API destination was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the API destination.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ApiDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiDestinationArn', 'apiDestination_apiDestinationArn' - The ARN of the API destination.+--+-- 'apiDestinationState', 'apiDestination_apiDestinationState' - The state of the API destination.+--+-- 'connectionArn', 'apiDestination_connectionArn' - The ARN of the connection specified for the API destination.+--+-- 'creationTime', 'apiDestination_creationTime' - A time stamp for the time that the API destination was created.+--+-- 'httpMethod', 'apiDestination_httpMethod' - The method to use to connect to the HTTP endpoint.+--+-- 'invocationEndpoint', 'apiDestination_invocationEndpoint' - The URL to the endpoint for the API destination.+--+-- 'invocationRateLimitPerSecond', 'apiDestination_invocationRateLimitPerSecond' - The maximum number of invocations per second to send to the HTTP+-- endpoint.+--+-- 'lastModifiedTime', 'apiDestination_lastModifiedTime' - A time stamp for the time that the API destination was last modified.+--+-- 'name', 'apiDestination_name' - The name of the API destination.+newApiDestination ::+ ApiDestination+newApiDestination =+ ApiDestination'+ { apiDestinationArn =+ Prelude.Nothing,+ apiDestinationState = Prelude.Nothing,+ connectionArn = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ httpMethod = Prelude.Nothing,+ invocationEndpoint = Prelude.Nothing,+ invocationRateLimitPerSecond = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | The ARN of the API destination.+apiDestination_apiDestinationArn :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.Text)+apiDestination_apiDestinationArn = Lens.lens (\ApiDestination' {apiDestinationArn} -> apiDestinationArn) (\s@ApiDestination' {} a -> s {apiDestinationArn = a} :: ApiDestination)++-- | The state of the API destination.+apiDestination_apiDestinationState :: Lens.Lens' ApiDestination (Prelude.Maybe ApiDestinationState)+apiDestination_apiDestinationState = Lens.lens (\ApiDestination' {apiDestinationState} -> apiDestinationState) (\s@ApiDestination' {} a -> s {apiDestinationState = a} :: ApiDestination)++-- | The ARN of the connection specified for the API destination.+apiDestination_connectionArn :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.Text)+apiDestination_connectionArn = Lens.lens (\ApiDestination' {connectionArn} -> connectionArn) (\s@ApiDestination' {} a -> s {connectionArn = a} :: ApiDestination)++-- | A time stamp for the time that the API destination was created.+apiDestination_creationTime :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.UTCTime)+apiDestination_creationTime = Lens.lens (\ApiDestination' {creationTime} -> creationTime) (\s@ApiDestination' {} a -> s {creationTime = a} :: ApiDestination) Prelude.. Lens.mapping Data._Time++-- | The method to use to connect to the HTTP endpoint.+apiDestination_httpMethod :: Lens.Lens' ApiDestination (Prelude.Maybe ApiDestinationHttpMethod)+apiDestination_httpMethod = Lens.lens (\ApiDestination' {httpMethod} -> httpMethod) (\s@ApiDestination' {} a -> s {httpMethod = a} :: ApiDestination)++-- | The URL to the endpoint for the API destination.+apiDestination_invocationEndpoint :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.Text)+apiDestination_invocationEndpoint = Lens.lens (\ApiDestination' {invocationEndpoint} -> invocationEndpoint) (\s@ApiDestination' {} a -> s {invocationEndpoint = a} :: ApiDestination)++-- | The maximum number of invocations per second to send to the HTTP+-- endpoint.+apiDestination_invocationRateLimitPerSecond :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.Natural)+apiDestination_invocationRateLimitPerSecond = Lens.lens (\ApiDestination' {invocationRateLimitPerSecond} -> invocationRateLimitPerSecond) (\s@ApiDestination' {} a -> s {invocationRateLimitPerSecond = a} :: ApiDestination)++-- | A time stamp for the time that the API destination was last modified.+apiDestination_lastModifiedTime :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.UTCTime)+apiDestination_lastModifiedTime = Lens.lens (\ApiDestination' {lastModifiedTime} -> lastModifiedTime) (\s@ApiDestination' {} a -> s {lastModifiedTime = a} :: ApiDestination) Prelude.. Lens.mapping Data._Time++-- | The name of the API destination.+apiDestination_name :: Lens.Lens' ApiDestination (Prelude.Maybe Prelude.Text)+apiDestination_name = Lens.lens (\ApiDestination' {name} -> name) (\s@ApiDestination' {} a -> s {name = a} :: ApiDestination)++instance Data.FromJSON ApiDestination where+ parseJSON =+ Data.withObject+ "ApiDestination"+ ( \x ->+ ApiDestination'+ Prelude.<$> (x Data..:? "ApiDestinationArn")+ Prelude.<*> (x Data..:? "ApiDestinationState")+ Prelude.<*> (x Data..:? "ConnectionArn")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "HttpMethod")+ Prelude.<*> (x Data..:? "InvocationEndpoint")+ Prelude.<*> (x Data..:? "InvocationRateLimitPerSecond")+ Prelude.<*> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "Name")+ )++instance Prelude.Hashable ApiDestination where+ hashWithSalt _salt ApiDestination' {..} =+ _salt+ `Prelude.hashWithSalt` apiDestinationArn+ `Prelude.hashWithSalt` apiDestinationState+ `Prelude.hashWithSalt` connectionArn+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` httpMethod+ `Prelude.hashWithSalt` invocationEndpoint+ `Prelude.hashWithSalt` invocationRateLimitPerSecond+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` name++instance Prelude.NFData ApiDestination where+ rnf ApiDestination' {..} =+ Prelude.rnf apiDestinationArn+ `Prelude.seq` Prelude.rnf apiDestinationState+ `Prelude.seq` Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf httpMethod+ `Prelude.seq` Prelude.rnf invocationEndpoint+ `Prelude.seq` Prelude.rnf invocationRateLimitPerSecond+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/CloudWatchEvents/Types/ApiDestinationHttpMethod.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ApiDestinationHttpMethod+ ( ApiDestinationHttpMethod+ ( ..,+ ApiDestinationHttpMethod_DELETE,+ ApiDestinationHttpMethod_GET,+ ApiDestinationHttpMethod_HEAD,+ ApiDestinationHttpMethod_OPTIONS,+ ApiDestinationHttpMethod_PATCH,+ ApiDestinationHttpMethod_POST,+ ApiDestinationHttpMethod_PUT+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ApiDestinationHttpMethod = ApiDestinationHttpMethod'+ { fromApiDestinationHttpMethod ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ApiDestinationHttpMethod_DELETE :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_DELETE = ApiDestinationHttpMethod' "DELETE"++pattern ApiDestinationHttpMethod_GET :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_GET = ApiDestinationHttpMethod' "GET"++pattern ApiDestinationHttpMethod_HEAD :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_HEAD = ApiDestinationHttpMethod' "HEAD"++pattern ApiDestinationHttpMethod_OPTIONS :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_OPTIONS = ApiDestinationHttpMethod' "OPTIONS"++pattern ApiDestinationHttpMethod_PATCH :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_PATCH = ApiDestinationHttpMethod' "PATCH"++pattern ApiDestinationHttpMethod_POST :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_POST = ApiDestinationHttpMethod' "POST"++pattern ApiDestinationHttpMethod_PUT :: ApiDestinationHttpMethod+pattern ApiDestinationHttpMethod_PUT = ApiDestinationHttpMethod' "PUT"++{-# COMPLETE+ ApiDestinationHttpMethod_DELETE,+ ApiDestinationHttpMethod_GET,+ ApiDestinationHttpMethod_HEAD,+ ApiDestinationHttpMethod_OPTIONS,+ ApiDestinationHttpMethod_PATCH,+ ApiDestinationHttpMethod_POST,+ ApiDestinationHttpMethod_PUT,+ ApiDestinationHttpMethod'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/ApiDestinationState.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ApiDestinationState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ApiDestinationState+ ( ApiDestinationState+ ( ..,+ ApiDestinationState_ACTIVE,+ ApiDestinationState_INACTIVE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ApiDestinationState = ApiDestinationState'+ { fromApiDestinationState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ApiDestinationState_ACTIVE :: ApiDestinationState+pattern ApiDestinationState_ACTIVE = ApiDestinationState' "ACTIVE"++pattern ApiDestinationState_INACTIVE :: ApiDestinationState+pattern ApiDestinationState_INACTIVE = ApiDestinationState' "INACTIVE"++{-# COMPLETE+ ApiDestinationState_ACTIVE,+ ApiDestinationState_INACTIVE,+ ApiDestinationState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/Archive.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Archive+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Archive where++import Amazonka.CloudWatchEvents.Types.ArchiveState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An @Archive@ object that contains details about an archive.+--+-- /See:/ 'newArchive' smart constructor.+data Archive = Archive'+ { -- | The name of the archive.+ archiveName :: Prelude.Maybe Prelude.Text,+ -- | The time stamp for the time that the archive was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The number of events in the archive.+ eventCount :: Prelude.Maybe Prelude.Integer,+ -- | The ARN of the event bus associated with the archive. Only events from+ -- this event bus are sent to the archive.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | The number of days to retain events in the archive before they are+ -- deleted.+ retentionDays :: Prelude.Maybe Prelude.Natural,+ -- | The size of the archive, in bytes.+ sizeBytes :: Prelude.Maybe Prelude.Integer,+ -- | The current state of the archive.+ state :: Prelude.Maybe ArchiveState,+ -- | A description for the reason that the archive is in the current state.+ stateReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Archive' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveName', 'archive_archiveName' - The name of the archive.+--+-- 'creationTime', 'archive_creationTime' - The time stamp for the time that the archive was created.+--+-- 'eventCount', 'archive_eventCount' - The number of events in the archive.+--+-- 'eventSourceArn', 'archive_eventSourceArn' - The ARN of the event bus associated with the archive. Only events from+-- this event bus are sent to the archive.+--+-- 'retentionDays', 'archive_retentionDays' - The number of days to retain events in the archive before they are+-- deleted.+--+-- 'sizeBytes', 'archive_sizeBytes' - The size of the archive, in bytes.+--+-- 'state', 'archive_state' - The current state of the archive.+--+-- 'stateReason', 'archive_stateReason' - A description for the reason that the archive is in the current state.+newArchive ::+ Archive+newArchive =+ Archive'+ { archiveName = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ eventCount = Prelude.Nothing,+ eventSourceArn = Prelude.Nothing,+ retentionDays = Prelude.Nothing,+ sizeBytes = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing+ }++-- | The name of the archive.+archive_archiveName :: Lens.Lens' Archive (Prelude.Maybe Prelude.Text)+archive_archiveName = Lens.lens (\Archive' {archiveName} -> archiveName) (\s@Archive' {} a -> s {archiveName = a} :: Archive)++-- | The time stamp for the time that the archive was created.+archive_creationTime :: Lens.Lens' Archive (Prelude.Maybe Prelude.UTCTime)+archive_creationTime = Lens.lens (\Archive' {creationTime} -> creationTime) (\s@Archive' {} a -> s {creationTime = a} :: Archive) Prelude.. Lens.mapping Data._Time++-- | The number of events in the archive.+archive_eventCount :: Lens.Lens' Archive (Prelude.Maybe Prelude.Integer)+archive_eventCount = Lens.lens (\Archive' {eventCount} -> eventCount) (\s@Archive' {} a -> s {eventCount = a} :: Archive)++-- | The ARN of the event bus associated with the archive. Only events from+-- this event bus are sent to the archive.+archive_eventSourceArn :: Lens.Lens' Archive (Prelude.Maybe Prelude.Text)+archive_eventSourceArn = Lens.lens (\Archive' {eventSourceArn} -> eventSourceArn) (\s@Archive' {} a -> s {eventSourceArn = a} :: Archive)++-- | The number of days to retain events in the archive before they are+-- deleted.+archive_retentionDays :: Lens.Lens' Archive (Prelude.Maybe Prelude.Natural)+archive_retentionDays = Lens.lens (\Archive' {retentionDays} -> retentionDays) (\s@Archive' {} a -> s {retentionDays = a} :: Archive)++-- | The size of the archive, in bytes.+archive_sizeBytes :: Lens.Lens' Archive (Prelude.Maybe Prelude.Integer)+archive_sizeBytes = Lens.lens (\Archive' {sizeBytes} -> sizeBytes) (\s@Archive' {} a -> s {sizeBytes = a} :: Archive)++-- | The current state of the archive.+archive_state :: Lens.Lens' Archive (Prelude.Maybe ArchiveState)+archive_state = Lens.lens (\Archive' {state} -> state) (\s@Archive' {} a -> s {state = a} :: Archive)++-- | A description for the reason that the archive is in the current state.+archive_stateReason :: Lens.Lens' Archive (Prelude.Maybe Prelude.Text)+archive_stateReason = Lens.lens (\Archive' {stateReason} -> stateReason) (\s@Archive' {} a -> s {stateReason = a} :: Archive)++instance Data.FromJSON Archive where+ parseJSON =+ Data.withObject+ "Archive"+ ( \x ->+ Archive'+ Prelude.<$> (x Data..:? "ArchiveName")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "EventCount")+ Prelude.<*> (x Data..:? "EventSourceArn")+ Prelude.<*> (x Data..:? "RetentionDays")+ Prelude.<*> (x Data..:? "SizeBytes")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateReason")+ )++instance Prelude.Hashable Archive where+ hashWithSalt _salt Archive' {..} =+ _salt+ `Prelude.hashWithSalt` archiveName+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` eventCount+ `Prelude.hashWithSalt` eventSourceArn+ `Prelude.hashWithSalt` retentionDays+ `Prelude.hashWithSalt` sizeBytes+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateReason++instance Prelude.NFData Archive where+ rnf Archive' {..} =+ Prelude.rnf archiveName+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf eventCount+ `Prelude.seq` Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf retentionDays+ `Prelude.seq` Prelude.rnf sizeBytes+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason
+ gen/Amazonka/CloudWatchEvents/Types/ArchiveState.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ArchiveState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ArchiveState+ ( ArchiveState+ ( ..,+ ArchiveState_CREATE_FAILED,+ ArchiveState_CREATING,+ ArchiveState_DISABLED,+ ArchiveState_ENABLED,+ ArchiveState_UPDATE_FAILED,+ ArchiveState_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ArchiveState = ArchiveState'+ { fromArchiveState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ArchiveState_CREATE_FAILED :: ArchiveState+pattern ArchiveState_CREATE_FAILED = ArchiveState' "CREATE_FAILED"++pattern ArchiveState_CREATING :: ArchiveState+pattern ArchiveState_CREATING = ArchiveState' "CREATING"++pattern ArchiveState_DISABLED :: ArchiveState+pattern ArchiveState_DISABLED = ArchiveState' "DISABLED"++pattern ArchiveState_ENABLED :: ArchiveState+pattern ArchiveState_ENABLED = ArchiveState' "ENABLED"++pattern ArchiveState_UPDATE_FAILED :: ArchiveState+pattern ArchiveState_UPDATE_FAILED = ArchiveState' "UPDATE_FAILED"++pattern ArchiveState_UPDATING :: ArchiveState+pattern ArchiveState_UPDATING = ArchiveState' "UPDATING"++{-# COMPLETE+ ArchiveState_CREATE_FAILED,+ ArchiveState_CREATING,+ ArchiveState_DISABLED,+ ArchiveState_ENABLED,+ ArchiveState_UPDATE_FAILED,+ ArchiveState_UPDATING,+ ArchiveState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/AssignPublicIp.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.AssignPublicIp+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.AssignPublicIp+ ( AssignPublicIp+ ( ..,+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype AssignPublicIp = AssignPublicIp'+ { fromAssignPublicIp ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern AssignPublicIp_DISABLED :: AssignPublicIp+pattern AssignPublicIp_DISABLED = AssignPublicIp' "DISABLED"++pattern AssignPublicIp_ENABLED :: AssignPublicIp+pattern AssignPublicIp_ENABLED = AssignPublicIp' "ENABLED"++{-# COMPLETE+ AssignPublicIp_DISABLED,+ AssignPublicIp_ENABLED,+ AssignPublicIp'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/AwsVpcConfiguration.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration where++import Amazonka.CloudWatchEvents.Types.AssignPublicIp+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This structure specifies the VPC subnets and security groups for the+-- task, and whether a public IP address is to be used. This structure is+-- relevant only for ECS tasks that use the @awsvpc@ network mode.+--+-- /See:/ 'newAwsVpcConfiguration' smart constructor.+data AwsVpcConfiguration = AwsVpcConfiguration'+ { -- | Specifies whether the task\'s elastic network interface receives a+ -- public IP address. You can specify @ENABLED@ only when @LaunchType@ in+ -- @EcsParameters@ is set to @FARGATE@.+ assignPublicIp :: Prelude.Maybe AssignPublicIp,+ -- | Specifies the security groups associated with the task. These security+ -- groups must all be in the same VPC. You can specify as many as five+ -- security groups. If you do not specify a security group, the default+ -- security group for the VPC is used.+ securityGroups :: Prelude.Maybe [Prelude.Text],+ -- | Specifies the subnets associated with the task. These subnets must all+ -- be in the same VPC. You can specify as many as 16 subnets.+ subnets :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AwsVpcConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'assignPublicIp', 'awsVpcConfiguration_assignPublicIp' - Specifies whether the task\'s elastic network interface receives a+-- public IP address. You can specify @ENABLED@ only when @LaunchType@ in+-- @EcsParameters@ is set to @FARGATE@.+--+-- 'securityGroups', 'awsVpcConfiguration_securityGroups' - Specifies the security groups associated with the task. These security+-- groups must all be in the same VPC. You can specify as many as five+-- security groups. If you do not specify a security group, the default+-- security group for the VPC is used.+--+-- 'subnets', 'awsVpcConfiguration_subnets' - Specifies the subnets associated with the task. These subnets must all+-- be in the same VPC. You can specify as many as 16 subnets.+newAwsVpcConfiguration ::+ AwsVpcConfiguration+newAwsVpcConfiguration =+ AwsVpcConfiguration'+ { assignPublicIp =+ Prelude.Nothing,+ securityGroups = Prelude.Nothing,+ subnets = Prelude.mempty+ }++-- | Specifies whether the task\'s elastic network interface receives a+-- public IP address. You can specify @ENABLED@ only when @LaunchType@ in+-- @EcsParameters@ is set to @FARGATE@.+awsVpcConfiguration_assignPublicIp :: Lens.Lens' AwsVpcConfiguration (Prelude.Maybe AssignPublicIp)+awsVpcConfiguration_assignPublicIp = Lens.lens (\AwsVpcConfiguration' {assignPublicIp} -> assignPublicIp) (\s@AwsVpcConfiguration' {} a -> s {assignPublicIp = a} :: AwsVpcConfiguration)++-- | Specifies the security groups associated with the task. These security+-- groups must all be in the same VPC. You can specify as many as five+-- security groups. If you do not specify a security group, the default+-- security group for the VPC is used.+awsVpcConfiguration_securityGroups :: Lens.Lens' AwsVpcConfiguration (Prelude.Maybe [Prelude.Text])+awsVpcConfiguration_securityGroups = Lens.lens (\AwsVpcConfiguration' {securityGroups} -> securityGroups) (\s@AwsVpcConfiguration' {} a -> s {securityGroups = a} :: AwsVpcConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | Specifies the subnets associated with the task. These subnets must all+-- be in the same VPC. You can specify as many as 16 subnets.+awsVpcConfiguration_subnets :: Lens.Lens' AwsVpcConfiguration [Prelude.Text]+awsVpcConfiguration_subnets = Lens.lens (\AwsVpcConfiguration' {subnets} -> subnets) (\s@AwsVpcConfiguration' {} a -> s {subnets = a} :: AwsVpcConfiguration) Prelude.. Lens.coerced++instance Data.FromJSON AwsVpcConfiguration where+ parseJSON =+ Data.withObject+ "AwsVpcConfiguration"+ ( \x ->+ AwsVpcConfiguration'+ Prelude.<$> (x Data..:? "AssignPublicIp")+ Prelude.<*> (x Data..:? "SecurityGroups" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "Subnets" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable AwsVpcConfiguration where+ hashWithSalt _salt AwsVpcConfiguration' {..} =+ _salt+ `Prelude.hashWithSalt` assignPublicIp+ `Prelude.hashWithSalt` securityGroups+ `Prelude.hashWithSalt` subnets++instance Prelude.NFData AwsVpcConfiguration where+ rnf AwsVpcConfiguration' {..} =+ Prelude.rnf assignPublicIp+ `Prelude.seq` Prelude.rnf securityGroups+ `Prelude.seq` Prelude.rnf subnets++instance Data.ToJSON AwsVpcConfiguration where+ toJSON AwsVpcConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AssignPublicIp" Data..=)+ Prelude.<$> assignPublicIp,+ ("SecurityGroups" Data..=)+ Prelude.<$> securityGroups,+ Prelude.Just ("Subnets" Data..= subnets)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/BatchArrayProperties.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.BatchArrayProperties+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.BatchArrayProperties where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The array properties for the submitted job, such as the size of the+-- array. The array size can be between 2 and 10,000. If you specify array+-- properties for a job, it becomes an array job. This parameter is used+-- only if the target is an Batch job.+--+-- /See:/ 'newBatchArrayProperties' smart constructor.+data BatchArrayProperties = BatchArrayProperties'+ { -- | The size of the array, if this is an array batch job. Valid values are+ -- integers between 2 and 10,000.+ size :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchArrayProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'size', 'batchArrayProperties_size' - The size of the array, if this is an array batch job. Valid values are+-- integers between 2 and 10,000.+newBatchArrayProperties ::+ BatchArrayProperties+newBatchArrayProperties =+ BatchArrayProperties' {size = Prelude.Nothing}++-- | The size of the array, if this is an array batch job. Valid values are+-- integers between 2 and 10,000.+batchArrayProperties_size :: Lens.Lens' BatchArrayProperties (Prelude.Maybe Prelude.Int)+batchArrayProperties_size = Lens.lens (\BatchArrayProperties' {size} -> size) (\s@BatchArrayProperties' {} a -> s {size = a} :: BatchArrayProperties)++instance Data.FromJSON BatchArrayProperties where+ parseJSON =+ Data.withObject+ "BatchArrayProperties"+ ( \x ->+ BatchArrayProperties'+ Prelude.<$> (x Data..:? "Size")+ )++instance Prelude.Hashable BatchArrayProperties where+ hashWithSalt _salt BatchArrayProperties' {..} =+ _salt `Prelude.hashWithSalt` size++instance Prelude.NFData BatchArrayProperties where+ rnf BatchArrayProperties' {..} = Prelude.rnf size++instance Data.ToJSON BatchArrayProperties where+ toJSON BatchArrayProperties' {..} =+ Data.object+ ( Prelude.catMaybes+ [("Size" Data..=) Prelude.<$> size]+ )
+ gen/Amazonka/CloudWatchEvents/Types/BatchParameters.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.BatchParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.BatchParameters where++import Amazonka.CloudWatchEvents.Types.BatchArrayProperties+import Amazonka.CloudWatchEvents.Types.BatchRetryStrategy+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The custom parameters to be used when the target is an Batch job.+--+-- /See:/ 'newBatchParameters' smart constructor.+data BatchParameters = BatchParameters'+ { -- | The array properties for the submitted job, such as the size of the+ -- array. The array size can be between 2 and 10,000. If you specify array+ -- properties for a job, it becomes an array job. This parameter is used+ -- only if the target is an Batch job.+ arrayProperties :: Prelude.Maybe BatchArrayProperties,+ -- | The retry strategy to use for failed jobs, if the target is an Batch+ -- job. The retry strategy is the number of times to retry the failed job+ -- execution. Valid values are 1–10. When you specify a retry strategy+ -- here, it overrides the retry strategy defined in the job definition.+ retryStrategy :: Prelude.Maybe BatchRetryStrategy,+ -- | The ARN or name of the job definition to use if the event target is an+ -- Batch job. This job definition must already exist.+ jobDefinition :: Prelude.Text,+ -- | The name to use for this execution of the job, if the target is an Batch+ -- job.+ jobName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arrayProperties', 'batchParameters_arrayProperties' - The array properties for the submitted job, such as the size of the+-- array. The array size can be between 2 and 10,000. If you specify array+-- properties for a job, it becomes an array job. This parameter is used+-- only if the target is an Batch job.+--+-- 'retryStrategy', 'batchParameters_retryStrategy' - The retry strategy to use for failed jobs, if the target is an Batch+-- job. The retry strategy is the number of times to retry the failed job+-- execution. Valid values are 1–10. When you specify a retry strategy+-- here, it overrides the retry strategy defined in the job definition.+--+-- 'jobDefinition', 'batchParameters_jobDefinition' - The ARN or name of the job definition to use if the event target is an+-- Batch job. This job definition must already exist.+--+-- 'jobName', 'batchParameters_jobName' - The name to use for this execution of the job, if the target is an Batch+-- job.+newBatchParameters ::+ -- | 'jobDefinition'+ Prelude.Text ->+ -- | 'jobName'+ Prelude.Text ->+ BatchParameters+newBatchParameters pJobDefinition_ pJobName_ =+ BatchParameters'+ { arrayProperties = Prelude.Nothing,+ retryStrategy = Prelude.Nothing,+ jobDefinition = pJobDefinition_,+ jobName = pJobName_+ }++-- | The array properties for the submitted job, such as the size of the+-- array. The array size can be between 2 and 10,000. If you specify array+-- properties for a job, it becomes an array job. This parameter is used+-- only if the target is an Batch job.+batchParameters_arrayProperties :: Lens.Lens' BatchParameters (Prelude.Maybe BatchArrayProperties)+batchParameters_arrayProperties = Lens.lens (\BatchParameters' {arrayProperties} -> arrayProperties) (\s@BatchParameters' {} a -> s {arrayProperties = a} :: BatchParameters)++-- | The retry strategy to use for failed jobs, if the target is an Batch+-- job. The retry strategy is the number of times to retry the failed job+-- execution. Valid values are 1–10. When you specify a retry strategy+-- here, it overrides the retry strategy defined in the job definition.+batchParameters_retryStrategy :: Lens.Lens' BatchParameters (Prelude.Maybe BatchRetryStrategy)+batchParameters_retryStrategy = Lens.lens (\BatchParameters' {retryStrategy} -> retryStrategy) (\s@BatchParameters' {} a -> s {retryStrategy = a} :: BatchParameters)++-- | The ARN or name of the job definition to use if the event target is an+-- Batch job. This job definition must already exist.+batchParameters_jobDefinition :: Lens.Lens' BatchParameters Prelude.Text+batchParameters_jobDefinition = Lens.lens (\BatchParameters' {jobDefinition} -> jobDefinition) (\s@BatchParameters' {} a -> s {jobDefinition = a} :: BatchParameters)++-- | The name to use for this execution of the job, if the target is an Batch+-- job.+batchParameters_jobName :: Lens.Lens' BatchParameters Prelude.Text+batchParameters_jobName = Lens.lens (\BatchParameters' {jobName} -> jobName) (\s@BatchParameters' {} a -> s {jobName = a} :: BatchParameters)++instance Data.FromJSON BatchParameters where+ parseJSON =+ Data.withObject+ "BatchParameters"+ ( \x ->+ BatchParameters'+ Prelude.<$> (x Data..:? "ArrayProperties")+ Prelude.<*> (x Data..:? "RetryStrategy")+ Prelude.<*> (x Data..: "JobDefinition")+ Prelude.<*> (x Data..: "JobName")+ )++instance Prelude.Hashable BatchParameters where+ hashWithSalt _salt BatchParameters' {..} =+ _salt+ `Prelude.hashWithSalt` arrayProperties+ `Prelude.hashWithSalt` retryStrategy+ `Prelude.hashWithSalt` jobDefinition+ `Prelude.hashWithSalt` jobName++instance Prelude.NFData BatchParameters where+ rnf BatchParameters' {..} =+ Prelude.rnf arrayProperties+ `Prelude.seq` Prelude.rnf retryStrategy+ `Prelude.seq` Prelude.rnf jobDefinition+ `Prelude.seq` Prelude.rnf jobName++instance Data.ToJSON BatchParameters where+ toJSON BatchParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ArrayProperties" Data..=)+ Prelude.<$> arrayProperties,+ ("RetryStrategy" Data..=) Prelude.<$> retryStrategy,+ Prelude.Just ("JobDefinition" Data..= jobDefinition),+ Prelude.Just ("JobName" Data..= jobName)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/BatchRetryStrategy.hs view
@@ -0,0 +1,80 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.BatchRetryStrategy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.BatchRetryStrategy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The retry strategy to use for failed jobs, if the target is an Batch+-- job. If you specify a retry strategy here, it overrides the retry+-- strategy defined in the job definition.+--+-- /See:/ 'newBatchRetryStrategy' smart constructor.+data BatchRetryStrategy = BatchRetryStrategy'+ { -- | The number of times to attempt to retry, if the job fails. Valid values+ -- are 1–10.+ attempts :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchRetryStrategy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attempts', 'batchRetryStrategy_attempts' - The number of times to attempt to retry, if the job fails. Valid values+-- are 1–10.+newBatchRetryStrategy ::+ BatchRetryStrategy+newBatchRetryStrategy =+ BatchRetryStrategy' {attempts = Prelude.Nothing}++-- | The number of times to attempt to retry, if the job fails. Valid values+-- are 1–10.+batchRetryStrategy_attempts :: Lens.Lens' BatchRetryStrategy (Prelude.Maybe Prelude.Int)+batchRetryStrategy_attempts = Lens.lens (\BatchRetryStrategy' {attempts} -> attempts) (\s@BatchRetryStrategy' {} a -> s {attempts = a} :: BatchRetryStrategy)++instance Data.FromJSON BatchRetryStrategy where+ parseJSON =+ Data.withObject+ "BatchRetryStrategy"+ ( \x ->+ BatchRetryStrategy'+ Prelude.<$> (x Data..:? "Attempts")+ )++instance Prelude.Hashable BatchRetryStrategy where+ hashWithSalt _salt BatchRetryStrategy' {..} =+ _salt `Prelude.hashWithSalt` attempts++instance Prelude.NFData BatchRetryStrategy where+ rnf BatchRetryStrategy' {..} = Prelude.rnf attempts++instance Data.ToJSON BatchRetryStrategy where+ toJSON BatchRetryStrategy' {..} =+ Data.object+ ( Prelude.catMaybes+ [("Attempts" Data..=) Prelude.<$> attempts]+ )
+ gen/Amazonka/CloudWatchEvents/Types/CapacityProviderStrategyItem.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The details of a capacity provider strategy. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CapacityProviderStrategyItem.html CapacityProviderStrategyItem>+-- in the Amazon ECS API Reference.+--+-- /See:/ 'newCapacityProviderStrategyItem' smart constructor.+data CapacityProviderStrategyItem = CapacityProviderStrategyItem'+ { -- | The base value designates how many tasks, at a minimum, to run on the+ -- specified capacity provider. Only one capacity provider in a capacity+ -- provider strategy can have a base defined. If no value is specified, the+ -- default value of 0 is used.+ base :: Prelude.Maybe Prelude.Natural,+ -- | The weight value designates the relative percentage of the total number+ -- of tasks launched that should use the specified capacity provider. The+ -- weight value is taken into consideration after the base value, if+ -- defined, is satisfied.+ weight :: Prelude.Maybe Prelude.Natural,+ -- | The short name of the capacity provider.+ capacityProvider :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CapacityProviderStrategyItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'base', 'capacityProviderStrategyItem_base' - The base value designates how many tasks, at a minimum, to run on the+-- specified capacity provider. Only one capacity provider in a capacity+-- provider strategy can have a base defined. If no value is specified, the+-- default value of 0 is used.+--+-- 'weight', 'capacityProviderStrategyItem_weight' - The weight value designates the relative percentage of the total number+-- of tasks launched that should use the specified capacity provider. The+-- weight value is taken into consideration after the base value, if+-- defined, is satisfied.+--+-- 'capacityProvider', 'capacityProviderStrategyItem_capacityProvider' - The short name of the capacity provider.+newCapacityProviderStrategyItem ::+ -- | 'capacityProvider'+ Prelude.Text ->+ CapacityProviderStrategyItem+newCapacityProviderStrategyItem pCapacityProvider_ =+ CapacityProviderStrategyItem'+ { base =+ Prelude.Nothing,+ weight = Prelude.Nothing,+ capacityProvider = pCapacityProvider_+ }++-- | The base value designates how many tasks, at a minimum, to run on the+-- specified capacity provider. Only one capacity provider in a capacity+-- provider strategy can have a base defined. If no value is specified, the+-- default value of 0 is used.+capacityProviderStrategyItem_base :: Lens.Lens' CapacityProviderStrategyItem (Prelude.Maybe Prelude.Natural)+capacityProviderStrategyItem_base = Lens.lens (\CapacityProviderStrategyItem' {base} -> base) (\s@CapacityProviderStrategyItem' {} a -> s {base = a} :: CapacityProviderStrategyItem)++-- | The weight value designates the relative percentage of the total number+-- of tasks launched that should use the specified capacity provider. The+-- weight value is taken into consideration after the base value, if+-- defined, is satisfied.+capacityProviderStrategyItem_weight :: Lens.Lens' CapacityProviderStrategyItem (Prelude.Maybe Prelude.Natural)+capacityProviderStrategyItem_weight = Lens.lens (\CapacityProviderStrategyItem' {weight} -> weight) (\s@CapacityProviderStrategyItem' {} a -> s {weight = a} :: CapacityProviderStrategyItem)++-- | The short name of the capacity provider.+capacityProviderStrategyItem_capacityProvider :: Lens.Lens' CapacityProviderStrategyItem Prelude.Text+capacityProviderStrategyItem_capacityProvider = Lens.lens (\CapacityProviderStrategyItem' {capacityProvider} -> capacityProvider) (\s@CapacityProviderStrategyItem' {} a -> s {capacityProvider = a} :: CapacityProviderStrategyItem)++instance Data.FromJSON CapacityProviderStrategyItem where+ parseJSON =+ Data.withObject+ "CapacityProviderStrategyItem"+ ( \x ->+ CapacityProviderStrategyItem'+ Prelude.<$> (x Data..:? "base")+ Prelude.<*> (x Data..:? "weight")+ Prelude.<*> (x Data..: "capacityProvider")+ )++instance+ Prelude.Hashable+ CapacityProviderStrategyItem+ where+ hashWithSalt _salt CapacityProviderStrategyItem' {..} =+ _salt+ `Prelude.hashWithSalt` base+ `Prelude.hashWithSalt` weight+ `Prelude.hashWithSalt` capacityProvider++instance Prelude.NFData CapacityProviderStrategyItem where+ rnf CapacityProviderStrategyItem' {..} =+ Prelude.rnf base+ `Prelude.seq` Prelude.rnf weight+ `Prelude.seq` Prelude.rnf capacityProvider++instance Data.ToJSON CapacityProviderStrategyItem where+ toJSON CapacityProviderStrategyItem' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("base" Data..=) Prelude.<$> base,+ ("weight" Data..=) Prelude.<$> weight,+ Prelude.Just+ ("capacityProvider" Data..= capacityProvider)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Condition.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Condition+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Condition where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A JSON string which you can use to limit the event bus permissions you+-- are granting to only accounts that fulfill the condition. Currently, the+-- only supported condition is membership in a certain Amazon Web Services+-- organization. The string must contain @Type@, @Key@, and @Value@ fields.+-- The @Value@ field specifies the ID of the Amazon Web Services+-- organization. Following is an example value for @Condition@:+--+-- @\'{\"Type\" : \"StringEquals\", \"Key\": \"aws:PrincipalOrgID\", \"Value\": \"o-1234567890\"}\'@+--+-- /See:/ 'newCondition' smart constructor.+data Condition = Condition'+ { -- | Specifies the type of condition. Currently the only supported value is+ -- @StringEquals@.+ type' :: Prelude.Text,+ -- | Specifies the key for the condition. Currently the only supported key is+ -- @aws:PrincipalOrgID@.+ key :: Prelude.Text,+ -- | Specifies the value for the key. Currently, this must be the ID of the+ -- organization.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Condition' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'type'', 'condition_type' - Specifies the type of condition. Currently the only supported value is+-- @StringEquals@.+--+-- 'key', 'condition_key' - Specifies the key for the condition. Currently the only supported key is+-- @aws:PrincipalOrgID@.+--+-- 'value', 'condition_value' - Specifies the value for the key. Currently, this must be the ID of the+-- organization.+newCondition ::+ -- | 'type''+ Prelude.Text ->+ -- | 'key'+ Prelude.Text ->+ -- | 'value'+ Prelude.Text ->+ Condition+newCondition pType_ pKey_ pValue_ =+ Condition'+ { type' = pType_,+ key = pKey_,+ value = pValue_+ }++-- | Specifies the type of condition. Currently the only supported value is+-- @StringEquals@.+condition_type :: Lens.Lens' Condition Prelude.Text+condition_type = Lens.lens (\Condition' {type'} -> type') (\s@Condition' {} a -> s {type' = a} :: Condition)++-- | Specifies the key for the condition. Currently the only supported key is+-- @aws:PrincipalOrgID@.+condition_key :: Lens.Lens' Condition Prelude.Text+condition_key = Lens.lens (\Condition' {key} -> key) (\s@Condition' {} a -> s {key = a} :: Condition)++-- | Specifies the value for the key. Currently, this must be the ID of the+-- organization.+condition_value :: Lens.Lens' Condition Prelude.Text+condition_value = Lens.lens (\Condition' {value} -> value) (\s@Condition' {} a -> s {value = a} :: Condition)++instance Prelude.Hashable Condition where+ hashWithSalt _salt Condition' {..} =+ _salt+ `Prelude.hashWithSalt` type'+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Condition where+ rnf Condition' {..} =+ Prelude.rnf type'+ `Prelude.seq` Prelude.rnf key+ `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Condition where+ toJSON Condition' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Type" Data..= type'),+ Prelude.Just ("Key" Data..= key),+ Prelude.Just ("Value" Data..= value)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Connection.hs view
@@ -0,0 +1,158 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Connection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Connection where++import Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType+import Amazonka.CloudWatchEvents.Types.ConnectionState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a connection.+--+-- /See:/ 'newConnection' smart constructor.+data Connection = Connection'+ { -- | The authorization type specified for the connection.+ authorizationType :: Prelude.Maybe ConnectionAuthorizationType,+ -- | The ARN of the connection.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last authorized.+ lastAuthorizedTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the connection.+ name :: Prelude.Maybe Prelude.Text,+ -- | The reason that the connection is in the connection state.+ stateReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Connection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authorizationType', 'connection_authorizationType' - The authorization type specified for the connection.+--+-- 'connectionArn', 'connection_connectionArn' - The ARN of the connection.+--+-- 'connectionState', 'connection_connectionState' - The state of the connection.+--+-- 'creationTime', 'connection_creationTime' - A time stamp for the time that the connection was created.+--+-- 'lastAuthorizedTime', 'connection_lastAuthorizedTime' - A time stamp for the time that the connection was last authorized.+--+-- 'lastModifiedTime', 'connection_lastModifiedTime' - A time stamp for the time that the connection was last modified.+--+-- 'name', 'connection_name' - The name of the connection.+--+-- 'stateReason', 'connection_stateReason' - The reason that the connection is in the connection state.+newConnection ::+ Connection+newConnection =+ Connection'+ { authorizationType = Prelude.Nothing,+ connectionArn = Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastAuthorizedTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ stateReason = Prelude.Nothing+ }++-- | The authorization type specified for the connection.+connection_authorizationType :: Lens.Lens' Connection (Prelude.Maybe ConnectionAuthorizationType)+connection_authorizationType = Lens.lens (\Connection' {authorizationType} -> authorizationType) (\s@Connection' {} a -> s {authorizationType = a} :: Connection)++-- | The ARN of the connection.+connection_connectionArn :: Lens.Lens' Connection (Prelude.Maybe Prelude.Text)+connection_connectionArn = Lens.lens (\Connection' {connectionArn} -> connectionArn) (\s@Connection' {} a -> s {connectionArn = a} :: Connection)++-- | The state of the connection.+connection_connectionState :: Lens.Lens' Connection (Prelude.Maybe ConnectionState)+connection_connectionState = Lens.lens (\Connection' {connectionState} -> connectionState) (\s@Connection' {} a -> s {connectionState = a} :: Connection)++-- | A time stamp for the time that the connection was created.+connection_creationTime :: Lens.Lens' Connection (Prelude.Maybe Prelude.UTCTime)+connection_creationTime = Lens.lens (\Connection' {creationTime} -> creationTime) (\s@Connection' {} a -> s {creationTime = a} :: Connection) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last authorized.+connection_lastAuthorizedTime :: Lens.Lens' Connection (Prelude.Maybe Prelude.UTCTime)+connection_lastAuthorizedTime = Lens.lens (\Connection' {lastAuthorizedTime} -> lastAuthorizedTime) (\s@Connection' {} a -> s {lastAuthorizedTime = a} :: Connection) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last modified.+connection_lastModifiedTime :: Lens.Lens' Connection (Prelude.Maybe Prelude.UTCTime)+connection_lastModifiedTime = Lens.lens (\Connection' {lastModifiedTime} -> lastModifiedTime) (\s@Connection' {} a -> s {lastModifiedTime = a} :: Connection) Prelude.. Lens.mapping Data._Time++-- | The name of the connection.+connection_name :: Lens.Lens' Connection (Prelude.Maybe Prelude.Text)+connection_name = Lens.lens (\Connection' {name} -> name) (\s@Connection' {} a -> s {name = a} :: Connection)++-- | The reason that the connection is in the connection state.+connection_stateReason :: Lens.Lens' Connection (Prelude.Maybe Prelude.Text)+connection_stateReason = Lens.lens (\Connection' {stateReason} -> stateReason) (\s@Connection' {} a -> s {stateReason = a} :: Connection)++instance Data.FromJSON Connection where+ parseJSON =+ Data.withObject+ "Connection"+ ( \x ->+ Connection'+ Prelude.<$> (x Data..:? "AuthorizationType")+ Prelude.<*> (x Data..:? "ConnectionArn")+ Prelude.<*> (x Data..:? "ConnectionState")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "LastAuthorizedTime")+ Prelude.<*> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "StateReason")+ )++instance Prelude.Hashable Connection where+ hashWithSalt _salt Connection' {..} =+ _salt+ `Prelude.hashWithSalt` authorizationType+ `Prelude.hashWithSalt` connectionArn+ `Prelude.hashWithSalt` connectionState+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` lastAuthorizedTime+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` stateReason++instance Prelude.NFData Connection where+ rnf Connection' {..} =+ Prelude.rnf authorizationType+ `Prelude.seq` Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastAuthorizedTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf stateReason
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionApiKeyAuthResponseParameters.hs view
@@ -0,0 +1,87 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the authorization parameters for the connection if API Key is+-- specified as the authorization type.+--+-- /See:/ 'newConnectionApiKeyAuthResponseParameters' smart constructor.+data ConnectionApiKeyAuthResponseParameters = ConnectionApiKeyAuthResponseParameters'+ { -- | The name of the header to use for the @APIKeyValue@ used for+ -- authorization.+ apiKeyName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionApiKeyAuthResponseParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyName', 'connectionApiKeyAuthResponseParameters_apiKeyName' - The name of the header to use for the @APIKeyValue@ used for+-- authorization.+newConnectionApiKeyAuthResponseParameters ::+ ConnectionApiKeyAuthResponseParameters+newConnectionApiKeyAuthResponseParameters =+ ConnectionApiKeyAuthResponseParameters'+ { apiKeyName =+ Prelude.Nothing+ }++-- | The name of the header to use for the @APIKeyValue@ used for+-- authorization.+connectionApiKeyAuthResponseParameters_apiKeyName :: Lens.Lens' ConnectionApiKeyAuthResponseParameters (Prelude.Maybe Prelude.Text)+connectionApiKeyAuthResponseParameters_apiKeyName = Lens.lens (\ConnectionApiKeyAuthResponseParameters' {apiKeyName} -> apiKeyName) (\s@ConnectionApiKeyAuthResponseParameters' {} a -> s {apiKeyName = a} :: ConnectionApiKeyAuthResponseParameters)++instance+ Data.FromJSON+ ConnectionApiKeyAuthResponseParameters+ where+ parseJSON =+ Data.withObject+ "ConnectionApiKeyAuthResponseParameters"+ ( \x ->+ ConnectionApiKeyAuthResponseParameters'+ Prelude.<$> (x Data..:? "ApiKeyName")+ )++instance+ Prelude.Hashable+ ConnectionApiKeyAuthResponseParameters+ where+ hashWithSalt+ _salt+ ConnectionApiKeyAuthResponseParameters' {..} =+ _salt `Prelude.hashWithSalt` apiKeyName++instance+ Prelude.NFData+ ConnectionApiKeyAuthResponseParameters+ where+ rnf ConnectionApiKeyAuthResponseParameters' {..} =+ Prelude.rnf apiKeyName
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionAuthResponseParameters.hs view
@@ -0,0 +1,128 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionAuthResponseParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionApiKeyAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the authorization parameters to use for the connection.+--+-- /See:/ 'newConnectionAuthResponseParameters' smart constructor.+data ConnectionAuthResponseParameters = ConnectionAuthResponseParameters'+ { -- | The API Key parameters to use for authorization.+ apiKeyAuthParameters :: Prelude.Maybe ConnectionApiKeyAuthResponseParameters,+ -- | The authorization parameters for Basic authorization.+ basicAuthParameters :: Prelude.Maybe ConnectionBasicAuthResponseParameters,+ -- | Additional parameters for the connection that are passed through with+ -- every invocation to the HTTP endpoint.+ invocationHttpParameters :: Prelude.Maybe ConnectionHttpParameters,+ -- | The OAuth parameters to use for authorization.+ oAuthParameters :: Prelude.Maybe ConnectionOAuthResponseParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionAuthResponseParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyAuthParameters', 'connectionAuthResponseParameters_apiKeyAuthParameters' - The API Key parameters to use for authorization.+--+-- 'basicAuthParameters', 'connectionAuthResponseParameters_basicAuthParameters' - The authorization parameters for Basic authorization.+--+-- 'invocationHttpParameters', 'connectionAuthResponseParameters_invocationHttpParameters' - Additional parameters for the connection that are passed through with+-- every invocation to the HTTP endpoint.+--+-- 'oAuthParameters', 'connectionAuthResponseParameters_oAuthParameters' - The OAuth parameters to use for authorization.+newConnectionAuthResponseParameters ::+ ConnectionAuthResponseParameters+newConnectionAuthResponseParameters =+ ConnectionAuthResponseParameters'+ { apiKeyAuthParameters =+ Prelude.Nothing,+ basicAuthParameters = Prelude.Nothing,+ invocationHttpParameters =+ Prelude.Nothing,+ oAuthParameters = Prelude.Nothing+ }++-- | The API Key parameters to use for authorization.+connectionAuthResponseParameters_apiKeyAuthParameters :: Lens.Lens' ConnectionAuthResponseParameters (Prelude.Maybe ConnectionApiKeyAuthResponseParameters)+connectionAuthResponseParameters_apiKeyAuthParameters = Lens.lens (\ConnectionAuthResponseParameters' {apiKeyAuthParameters} -> apiKeyAuthParameters) (\s@ConnectionAuthResponseParameters' {} a -> s {apiKeyAuthParameters = a} :: ConnectionAuthResponseParameters)++-- | The authorization parameters for Basic authorization.+connectionAuthResponseParameters_basicAuthParameters :: Lens.Lens' ConnectionAuthResponseParameters (Prelude.Maybe ConnectionBasicAuthResponseParameters)+connectionAuthResponseParameters_basicAuthParameters = Lens.lens (\ConnectionAuthResponseParameters' {basicAuthParameters} -> basicAuthParameters) (\s@ConnectionAuthResponseParameters' {} a -> s {basicAuthParameters = a} :: ConnectionAuthResponseParameters)++-- | Additional parameters for the connection that are passed through with+-- every invocation to the HTTP endpoint.+connectionAuthResponseParameters_invocationHttpParameters :: Lens.Lens' ConnectionAuthResponseParameters (Prelude.Maybe ConnectionHttpParameters)+connectionAuthResponseParameters_invocationHttpParameters = Lens.lens (\ConnectionAuthResponseParameters' {invocationHttpParameters} -> invocationHttpParameters) (\s@ConnectionAuthResponseParameters' {} a -> s {invocationHttpParameters = a} :: ConnectionAuthResponseParameters)++-- | The OAuth parameters to use for authorization.+connectionAuthResponseParameters_oAuthParameters :: Lens.Lens' ConnectionAuthResponseParameters (Prelude.Maybe ConnectionOAuthResponseParameters)+connectionAuthResponseParameters_oAuthParameters = Lens.lens (\ConnectionAuthResponseParameters' {oAuthParameters} -> oAuthParameters) (\s@ConnectionAuthResponseParameters' {} a -> s {oAuthParameters = a} :: ConnectionAuthResponseParameters)++instance+ Data.FromJSON+ ConnectionAuthResponseParameters+ where+ parseJSON =+ Data.withObject+ "ConnectionAuthResponseParameters"+ ( \x ->+ ConnectionAuthResponseParameters'+ Prelude.<$> (x Data..:? "ApiKeyAuthParameters")+ Prelude.<*> (x Data..:? "BasicAuthParameters")+ Prelude.<*> (x Data..:? "InvocationHttpParameters")+ Prelude.<*> (x Data..:? "OAuthParameters")+ )++instance+ Prelude.Hashable+ ConnectionAuthResponseParameters+ where+ hashWithSalt+ _salt+ ConnectionAuthResponseParameters' {..} =+ _salt+ `Prelude.hashWithSalt` apiKeyAuthParameters+ `Prelude.hashWithSalt` basicAuthParameters+ `Prelude.hashWithSalt` invocationHttpParameters+ `Prelude.hashWithSalt` oAuthParameters++instance+ Prelude.NFData+ ConnectionAuthResponseParameters+ where+ rnf ConnectionAuthResponseParameters' {..} =+ Prelude.rnf apiKeyAuthParameters+ `Prelude.seq` Prelude.rnf basicAuthParameters+ `Prelude.seq` Prelude.rnf invocationHttpParameters+ `Prelude.seq` Prelude.rnf oAuthParameters
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionAuthorizationType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionAuthorizationType+ ( ConnectionAuthorizationType+ ( ..,+ ConnectionAuthorizationType_API_KEY,+ ConnectionAuthorizationType_BASIC,+ ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ConnectionAuthorizationType = ConnectionAuthorizationType'+ { fromConnectionAuthorizationType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ConnectionAuthorizationType_API_KEY :: ConnectionAuthorizationType+pattern ConnectionAuthorizationType_API_KEY = ConnectionAuthorizationType' "API_KEY"++pattern ConnectionAuthorizationType_BASIC :: ConnectionAuthorizationType+pattern ConnectionAuthorizationType_BASIC = ConnectionAuthorizationType' "BASIC"++pattern ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS :: ConnectionAuthorizationType+pattern ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS = ConnectionAuthorizationType' "OAUTH_CLIENT_CREDENTIALS"++{-# COMPLETE+ ConnectionAuthorizationType_API_KEY,+ ConnectionAuthorizationType_BASIC,+ ConnectionAuthorizationType_OAUTH_CLIENT_CREDENTIALS,+ ConnectionAuthorizationType'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionBasicAuthResponseParameters.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionBasicAuthResponseParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the authorization parameters for the connection if Basic is+-- specified as the authorization type.+--+-- /See:/ 'newConnectionBasicAuthResponseParameters' smart constructor.+data ConnectionBasicAuthResponseParameters = ConnectionBasicAuthResponseParameters'+ { -- | The user name to use for Basic authorization.+ username :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionBasicAuthResponseParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'username', 'connectionBasicAuthResponseParameters_username' - The user name to use for Basic authorization.+newConnectionBasicAuthResponseParameters ::+ ConnectionBasicAuthResponseParameters+newConnectionBasicAuthResponseParameters =+ ConnectionBasicAuthResponseParameters'+ { username =+ Prelude.Nothing+ }++-- | The user name to use for Basic authorization.+connectionBasicAuthResponseParameters_username :: Lens.Lens' ConnectionBasicAuthResponseParameters (Prelude.Maybe Prelude.Text)+connectionBasicAuthResponseParameters_username = Lens.lens (\ConnectionBasicAuthResponseParameters' {username} -> username) (\s@ConnectionBasicAuthResponseParameters' {} a -> s {username = a} :: ConnectionBasicAuthResponseParameters)++instance+ Data.FromJSON+ ConnectionBasicAuthResponseParameters+ where+ parseJSON =+ Data.withObject+ "ConnectionBasicAuthResponseParameters"+ ( \x ->+ ConnectionBasicAuthResponseParameters'+ Prelude.<$> (x Data..:? "Username")+ )++instance+ Prelude.Hashable+ ConnectionBasicAuthResponseParameters+ where+ hashWithSalt+ _salt+ ConnectionBasicAuthResponseParameters' {..} =+ _salt `Prelude.hashWithSalt` username++instance+ Prelude.NFData+ ConnectionBasicAuthResponseParameters+ where+ rnf ConnectionBasicAuthResponseParameters' {..} =+ Prelude.rnf username
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionBodyParameter.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Additional parameter included in the body. You can include up to 100+-- additional body parameters per request. An event payload cannot exceed+-- 64 KB.+--+-- /See:/ 'newConnectionBodyParameter' smart constructor.+data ConnectionBodyParameter = ConnectionBodyParameter'+ { -- | Specified whether the value is secret.+ isValueSecret :: Prelude.Maybe Prelude.Bool,+ -- | The key for the parameter.+ key :: Prelude.Maybe Prelude.Text,+ -- | The value associated with the key.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionBodyParameter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'isValueSecret', 'connectionBodyParameter_isValueSecret' - Specified whether the value is secret.+--+-- 'key', 'connectionBodyParameter_key' - The key for the parameter.+--+-- 'value', 'connectionBodyParameter_value' - The value associated with the key.+newConnectionBodyParameter ::+ ConnectionBodyParameter+newConnectionBodyParameter =+ ConnectionBodyParameter'+ { isValueSecret =+ Prelude.Nothing,+ key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | Specified whether the value is secret.+connectionBodyParameter_isValueSecret :: Lens.Lens' ConnectionBodyParameter (Prelude.Maybe Prelude.Bool)+connectionBodyParameter_isValueSecret = Lens.lens (\ConnectionBodyParameter' {isValueSecret} -> isValueSecret) (\s@ConnectionBodyParameter' {} a -> s {isValueSecret = a} :: ConnectionBodyParameter)++-- | The key for the parameter.+connectionBodyParameter_key :: Lens.Lens' ConnectionBodyParameter (Prelude.Maybe Prelude.Text)+connectionBodyParameter_key = Lens.lens (\ConnectionBodyParameter' {key} -> key) (\s@ConnectionBodyParameter' {} a -> s {key = a} :: ConnectionBodyParameter)++-- | The value associated with the key.+connectionBodyParameter_value :: Lens.Lens' ConnectionBodyParameter (Prelude.Maybe Prelude.Text)+connectionBodyParameter_value = Lens.lens (\ConnectionBodyParameter' {value} -> value) (\s@ConnectionBodyParameter' {} a -> s {value = a} :: ConnectionBodyParameter)++instance Data.FromJSON ConnectionBodyParameter where+ parseJSON =+ Data.withObject+ "ConnectionBodyParameter"+ ( \x ->+ ConnectionBodyParameter'+ Prelude.<$> (x Data..:? "IsValueSecret")+ Prelude.<*> (x Data..:? "Key")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable ConnectionBodyParameter where+ hashWithSalt _salt ConnectionBodyParameter' {..} =+ _salt+ `Prelude.hashWithSalt` isValueSecret+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData ConnectionBodyParameter where+ rnf ConnectionBodyParameter' {..} =+ Prelude.rnf isValueSecret+ `Prelude.seq` Prelude.rnf key+ `Prelude.seq` Prelude.rnf value++instance Data.ToJSON ConnectionBodyParameter where+ toJSON ConnectionBodyParameter' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("IsValueSecret" Data..=) Prelude.<$> isValueSecret,+ ("Key" Data..=) Prelude.<$> key,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionHeaderParameter.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Additional parameter included in the header. You can include up to 100+-- additional header parameters per request. An event payload cannot exceed+-- 64 KB.+--+-- /See:/ 'newConnectionHeaderParameter' smart constructor.+data ConnectionHeaderParameter = ConnectionHeaderParameter'+ { -- | Specified whether the value is a secret.+ isValueSecret :: Prelude.Maybe Prelude.Bool,+ -- | The key for the parameter.+ key :: Prelude.Maybe Prelude.Text,+ -- | The value associated with the key.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionHeaderParameter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'isValueSecret', 'connectionHeaderParameter_isValueSecret' - Specified whether the value is a secret.+--+-- 'key', 'connectionHeaderParameter_key' - The key for the parameter.+--+-- 'value', 'connectionHeaderParameter_value' - The value associated with the key.+newConnectionHeaderParameter ::+ ConnectionHeaderParameter+newConnectionHeaderParameter =+ ConnectionHeaderParameter'+ { isValueSecret =+ Prelude.Nothing,+ key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | Specified whether the value is a secret.+connectionHeaderParameter_isValueSecret :: Lens.Lens' ConnectionHeaderParameter (Prelude.Maybe Prelude.Bool)+connectionHeaderParameter_isValueSecret = Lens.lens (\ConnectionHeaderParameter' {isValueSecret} -> isValueSecret) (\s@ConnectionHeaderParameter' {} a -> s {isValueSecret = a} :: ConnectionHeaderParameter)++-- | The key for the parameter.+connectionHeaderParameter_key :: Lens.Lens' ConnectionHeaderParameter (Prelude.Maybe Prelude.Text)+connectionHeaderParameter_key = Lens.lens (\ConnectionHeaderParameter' {key} -> key) (\s@ConnectionHeaderParameter' {} a -> s {key = a} :: ConnectionHeaderParameter)++-- | The value associated with the key.+connectionHeaderParameter_value :: Lens.Lens' ConnectionHeaderParameter (Prelude.Maybe Prelude.Text)+connectionHeaderParameter_value = Lens.lens (\ConnectionHeaderParameter' {value} -> value) (\s@ConnectionHeaderParameter' {} a -> s {value = a} :: ConnectionHeaderParameter)++instance Data.FromJSON ConnectionHeaderParameter where+ parseJSON =+ Data.withObject+ "ConnectionHeaderParameter"+ ( \x ->+ ConnectionHeaderParameter'+ Prelude.<$> (x Data..:? "IsValueSecret")+ Prelude.<*> (x Data..:? "Key")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable ConnectionHeaderParameter where+ hashWithSalt _salt ConnectionHeaderParameter' {..} =+ _salt+ `Prelude.hashWithSalt` isValueSecret+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData ConnectionHeaderParameter where+ rnf ConnectionHeaderParameter' {..} =+ Prelude.rnf isValueSecret+ `Prelude.seq` Prelude.rnf key+ `Prelude.seq` Prelude.rnf value++instance Data.ToJSON ConnectionHeaderParameter where+ toJSON ConnectionHeaderParameter' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("IsValueSecret" Data..=) Prelude.<$> isValueSecret,+ ("Key" Data..=) Prelude.<$> key,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionHttpParameters.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionBodyParameter+import Amazonka.CloudWatchEvents.Types.ConnectionHeaderParameter+import Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains additional parameters for the connection.+--+-- /See:/ 'newConnectionHttpParameters' smart constructor.+data ConnectionHttpParameters = ConnectionHttpParameters'+ { -- | Contains additional body string parameters for the connection.+ bodyParameters :: Prelude.Maybe [ConnectionBodyParameter],+ -- | Contains additional header parameters for the connection.+ headerParameters :: Prelude.Maybe [ConnectionHeaderParameter],+ -- | Contains additional query string parameters for the connection.+ queryStringParameters :: Prelude.Maybe [ConnectionQueryStringParameter]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionHttpParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'bodyParameters', 'connectionHttpParameters_bodyParameters' - Contains additional body string parameters for the connection.+--+-- 'headerParameters', 'connectionHttpParameters_headerParameters' - Contains additional header parameters for the connection.+--+-- 'queryStringParameters', 'connectionHttpParameters_queryStringParameters' - Contains additional query string parameters for the connection.+newConnectionHttpParameters ::+ ConnectionHttpParameters+newConnectionHttpParameters =+ ConnectionHttpParameters'+ { bodyParameters =+ Prelude.Nothing,+ headerParameters = Prelude.Nothing,+ queryStringParameters = Prelude.Nothing+ }++-- | Contains additional body string parameters for the connection.+connectionHttpParameters_bodyParameters :: Lens.Lens' ConnectionHttpParameters (Prelude.Maybe [ConnectionBodyParameter])+connectionHttpParameters_bodyParameters = Lens.lens (\ConnectionHttpParameters' {bodyParameters} -> bodyParameters) (\s@ConnectionHttpParameters' {} a -> s {bodyParameters = a} :: ConnectionHttpParameters) Prelude.. Lens.mapping Lens.coerced++-- | Contains additional header parameters for the connection.+connectionHttpParameters_headerParameters :: Lens.Lens' ConnectionHttpParameters (Prelude.Maybe [ConnectionHeaderParameter])+connectionHttpParameters_headerParameters = Lens.lens (\ConnectionHttpParameters' {headerParameters} -> headerParameters) (\s@ConnectionHttpParameters' {} a -> s {headerParameters = a} :: ConnectionHttpParameters) Prelude.. Lens.mapping Lens.coerced++-- | Contains additional query string parameters for the connection.+connectionHttpParameters_queryStringParameters :: Lens.Lens' ConnectionHttpParameters (Prelude.Maybe [ConnectionQueryStringParameter])+connectionHttpParameters_queryStringParameters = Lens.lens (\ConnectionHttpParameters' {queryStringParameters} -> queryStringParameters) (\s@ConnectionHttpParameters' {} a -> s {queryStringParameters = a} :: ConnectionHttpParameters) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ConnectionHttpParameters where+ parseJSON =+ Data.withObject+ "ConnectionHttpParameters"+ ( \x ->+ ConnectionHttpParameters'+ Prelude.<$> (x Data..:? "BodyParameters" Data..!= Prelude.mempty)+ Prelude.<*> ( x+ Data..:? "HeaderParameters"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "QueryStringParameters"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable ConnectionHttpParameters where+ hashWithSalt _salt ConnectionHttpParameters' {..} =+ _salt+ `Prelude.hashWithSalt` bodyParameters+ `Prelude.hashWithSalt` headerParameters+ `Prelude.hashWithSalt` queryStringParameters++instance Prelude.NFData ConnectionHttpParameters where+ rnf ConnectionHttpParameters' {..} =+ Prelude.rnf bodyParameters+ `Prelude.seq` Prelude.rnf headerParameters+ `Prelude.seq` Prelude.rnf queryStringParameters++instance Data.ToJSON ConnectionHttpParameters where+ toJSON ConnectionHttpParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BodyParameters" Data..=)+ Prelude.<$> bodyParameters,+ ("HeaderParameters" Data..=)+ Prelude.<$> headerParameters,+ ("QueryStringParameters" Data..=)+ Prelude.<$> queryStringParameters+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthClientResponseParameters.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the client response parameters for the connection when OAuth is+-- specified as the authorization type.+--+-- /See:/ 'newConnectionOAuthClientResponseParameters' smart constructor.+data ConnectionOAuthClientResponseParameters = ConnectionOAuthClientResponseParameters'+ { -- | The client ID associated with the response to the connection request.+ clientID :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionOAuthClientResponseParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientID', 'connectionOAuthClientResponseParameters_clientID' - The client ID associated with the response to the connection request.+newConnectionOAuthClientResponseParameters ::+ ConnectionOAuthClientResponseParameters+newConnectionOAuthClientResponseParameters =+ ConnectionOAuthClientResponseParameters'+ { clientID =+ Prelude.Nothing+ }++-- | The client ID associated with the response to the connection request.+connectionOAuthClientResponseParameters_clientID :: Lens.Lens' ConnectionOAuthClientResponseParameters (Prelude.Maybe Prelude.Text)+connectionOAuthClientResponseParameters_clientID = Lens.lens (\ConnectionOAuthClientResponseParameters' {clientID} -> clientID) (\s@ConnectionOAuthClientResponseParameters' {} a -> s {clientID = a} :: ConnectionOAuthClientResponseParameters)++instance+ Data.FromJSON+ ConnectionOAuthClientResponseParameters+ where+ parseJSON =+ Data.withObject+ "ConnectionOAuthClientResponseParameters"+ ( \x ->+ ConnectionOAuthClientResponseParameters'+ Prelude.<$> (x Data..:? "ClientID")+ )++instance+ Prelude.Hashable+ ConnectionOAuthClientResponseParameters+ where+ hashWithSalt+ _salt+ ConnectionOAuthClientResponseParameters' {..} =+ _salt `Prelude.hashWithSalt` clientID++instance+ Prelude.NFData+ ConnectionOAuthClientResponseParameters+ where+ rnf ConnectionOAuthClientResponseParameters' {..} =+ Prelude.rnf clientID
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthHttpMethod.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+ ( ConnectionOAuthHttpMethod+ ( ..,+ ConnectionOAuthHttpMethod_GET,+ ConnectionOAuthHttpMethod_POST,+ ConnectionOAuthHttpMethod_PUT+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ConnectionOAuthHttpMethod = ConnectionOAuthHttpMethod'+ { fromConnectionOAuthHttpMethod ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ConnectionOAuthHttpMethod_GET :: ConnectionOAuthHttpMethod+pattern ConnectionOAuthHttpMethod_GET = ConnectionOAuthHttpMethod' "GET"++pattern ConnectionOAuthHttpMethod_POST :: ConnectionOAuthHttpMethod+pattern ConnectionOAuthHttpMethod_POST = ConnectionOAuthHttpMethod' "POST"++pattern ConnectionOAuthHttpMethod_PUT :: ConnectionOAuthHttpMethod+pattern ConnectionOAuthHttpMethod_PUT = ConnectionOAuthHttpMethod' "PUT"++{-# COMPLETE+ ConnectionOAuthHttpMethod_GET,+ ConnectionOAuthHttpMethod_POST,+ ConnectionOAuthHttpMethod_PUT,+ ConnectionOAuthHttpMethod'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionOAuthResponseParameters.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionOAuthResponseParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthClientResponseParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the response parameters when OAuth is specified as the+-- authorization type.+--+-- /See:/ 'newConnectionOAuthResponseParameters' smart constructor.+data ConnectionOAuthResponseParameters = ConnectionOAuthResponseParameters'+ { -- | The URL to the HTTP endpoint that authorized the request.+ authorizationEndpoint :: Prelude.Maybe Prelude.Text,+ -- | A @ConnectionOAuthClientResponseParameters@ object that contains details+ -- about the client parameters returned when OAuth is specified as the+ -- authorization type.+ clientParameters :: Prelude.Maybe ConnectionOAuthClientResponseParameters,+ -- | The method used to connect to the HTTP endpoint.+ httpMethod :: Prelude.Maybe ConnectionOAuthHttpMethod,+ -- | The additional HTTP parameters used for the OAuth authorization request.+ oAuthHttpParameters :: Prelude.Maybe ConnectionHttpParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionOAuthResponseParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authorizationEndpoint', 'connectionOAuthResponseParameters_authorizationEndpoint' - The URL to the HTTP endpoint that authorized the request.+--+-- 'clientParameters', 'connectionOAuthResponseParameters_clientParameters' - A @ConnectionOAuthClientResponseParameters@ object that contains details+-- about the client parameters returned when OAuth is specified as the+-- authorization type.+--+-- 'httpMethod', 'connectionOAuthResponseParameters_httpMethod' - The method used to connect to the HTTP endpoint.+--+-- 'oAuthHttpParameters', 'connectionOAuthResponseParameters_oAuthHttpParameters' - The additional HTTP parameters used for the OAuth authorization request.+newConnectionOAuthResponseParameters ::+ ConnectionOAuthResponseParameters+newConnectionOAuthResponseParameters =+ ConnectionOAuthResponseParameters'+ { authorizationEndpoint =+ Prelude.Nothing,+ clientParameters = Prelude.Nothing,+ httpMethod = Prelude.Nothing,+ oAuthHttpParameters = Prelude.Nothing+ }++-- | The URL to the HTTP endpoint that authorized the request.+connectionOAuthResponseParameters_authorizationEndpoint :: Lens.Lens' ConnectionOAuthResponseParameters (Prelude.Maybe Prelude.Text)+connectionOAuthResponseParameters_authorizationEndpoint = Lens.lens (\ConnectionOAuthResponseParameters' {authorizationEndpoint} -> authorizationEndpoint) (\s@ConnectionOAuthResponseParameters' {} a -> s {authorizationEndpoint = a} :: ConnectionOAuthResponseParameters)++-- | A @ConnectionOAuthClientResponseParameters@ object that contains details+-- about the client parameters returned when OAuth is specified as the+-- authorization type.+connectionOAuthResponseParameters_clientParameters :: Lens.Lens' ConnectionOAuthResponseParameters (Prelude.Maybe ConnectionOAuthClientResponseParameters)+connectionOAuthResponseParameters_clientParameters = Lens.lens (\ConnectionOAuthResponseParameters' {clientParameters} -> clientParameters) (\s@ConnectionOAuthResponseParameters' {} a -> s {clientParameters = a} :: ConnectionOAuthResponseParameters)++-- | The method used to connect to the HTTP endpoint.+connectionOAuthResponseParameters_httpMethod :: Lens.Lens' ConnectionOAuthResponseParameters (Prelude.Maybe ConnectionOAuthHttpMethod)+connectionOAuthResponseParameters_httpMethod = Lens.lens (\ConnectionOAuthResponseParameters' {httpMethod} -> httpMethod) (\s@ConnectionOAuthResponseParameters' {} a -> s {httpMethod = a} :: ConnectionOAuthResponseParameters)++-- | The additional HTTP parameters used for the OAuth authorization request.+connectionOAuthResponseParameters_oAuthHttpParameters :: Lens.Lens' ConnectionOAuthResponseParameters (Prelude.Maybe ConnectionHttpParameters)+connectionOAuthResponseParameters_oAuthHttpParameters = Lens.lens (\ConnectionOAuthResponseParameters' {oAuthHttpParameters} -> oAuthHttpParameters) (\s@ConnectionOAuthResponseParameters' {} a -> s {oAuthHttpParameters = a} :: ConnectionOAuthResponseParameters)++instance+ Data.FromJSON+ ConnectionOAuthResponseParameters+ where+ parseJSON =+ Data.withObject+ "ConnectionOAuthResponseParameters"+ ( \x ->+ ConnectionOAuthResponseParameters'+ Prelude.<$> (x Data..:? "AuthorizationEndpoint")+ Prelude.<*> (x Data..:? "ClientParameters")+ Prelude.<*> (x Data..:? "HttpMethod")+ Prelude.<*> (x Data..:? "OAuthHttpParameters")+ )++instance+ Prelude.Hashable+ ConnectionOAuthResponseParameters+ where+ hashWithSalt+ _salt+ ConnectionOAuthResponseParameters' {..} =+ _salt+ `Prelude.hashWithSalt` authorizationEndpoint+ `Prelude.hashWithSalt` clientParameters+ `Prelude.hashWithSalt` httpMethod+ `Prelude.hashWithSalt` oAuthHttpParameters++instance+ Prelude.NFData+ ConnectionOAuthResponseParameters+ where+ rnf ConnectionOAuthResponseParameters' {..} =+ Prelude.rnf authorizationEndpoint+ `Prelude.seq` Prelude.rnf clientParameters+ `Prelude.seq` Prelude.rnf httpMethod+ `Prelude.seq` Prelude.rnf oAuthHttpParameters
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionQueryStringParameter.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionQueryStringParameter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Additional query string parameter for the connection. You can include up+-- to 100 additional query string parameters per request. Each additional+-- parameter counts towards the event payload size, which cannot exceed 64+-- KB.+--+-- /See:/ 'newConnectionQueryStringParameter' smart constructor.+data ConnectionQueryStringParameter = ConnectionQueryStringParameter'+ { -- | Specifies whether the value is secret.+ isValueSecret :: Prelude.Maybe Prelude.Bool,+ -- | The key for a query string parameter.+ key :: Prelude.Maybe Prelude.Text,+ -- | The value associated with the key for the query string parameter.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ConnectionQueryStringParameter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'isValueSecret', 'connectionQueryStringParameter_isValueSecret' - Specifies whether the value is secret.+--+-- 'key', 'connectionQueryStringParameter_key' - The key for a query string parameter.+--+-- 'value', 'connectionQueryStringParameter_value' - The value associated with the key for the query string parameter.+newConnectionQueryStringParameter ::+ ConnectionQueryStringParameter+newConnectionQueryStringParameter =+ ConnectionQueryStringParameter'+ { isValueSecret =+ Prelude.Nothing,+ key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | Specifies whether the value is secret.+connectionQueryStringParameter_isValueSecret :: Lens.Lens' ConnectionQueryStringParameter (Prelude.Maybe Prelude.Bool)+connectionQueryStringParameter_isValueSecret = Lens.lens (\ConnectionQueryStringParameter' {isValueSecret} -> isValueSecret) (\s@ConnectionQueryStringParameter' {} a -> s {isValueSecret = a} :: ConnectionQueryStringParameter)++-- | The key for a query string parameter.+connectionQueryStringParameter_key :: Lens.Lens' ConnectionQueryStringParameter (Prelude.Maybe Prelude.Text)+connectionQueryStringParameter_key = Lens.lens (\ConnectionQueryStringParameter' {key} -> key) (\s@ConnectionQueryStringParameter' {} a -> s {key = a} :: ConnectionQueryStringParameter)++-- | The value associated with the key for the query string parameter.+connectionQueryStringParameter_value :: Lens.Lens' ConnectionQueryStringParameter (Prelude.Maybe Prelude.Text)+connectionQueryStringParameter_value = Lens.lens (\ConnectionQueryStringParameter' {value} -> value) (\s@ConnectionQueryStringParameter' {} a -> s {value = a} :: ConnectionQueryStringParameter)++instance Data.FromJSON ConnectionQueryStringParameter where+ parseJSON =+ Data.withObject+ "ConnectionQueryStringParameter"+ ( \x ->+ ConnectionQueryStringParameter'+ Prelude.<$> (x Data..:? "IsValueSecret")+ Prelude.<*> (x Data..:? "Key")+ Prelude.<*> (x Data..:? "Value")+ )++instance+ Prelude.Hashable+ ConnectionQueryStringParameter+ where+ hashWithSalt+ _salt+ ConnectionQueryStringParameter' {..} =+ _salt+ `Prelude.hashWithSalt` isValueSecret+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance+ Prelude.NFData+ ConnectionQueryStringParameter+ where+ rnf ConnectionQueryStringParameter' {..} =+ Prelude.rnf isValueSecret+ `Prelude.seq` Prelude.rnf key+ `Prelude.seq` Prelude.rnf value++instance Data.ToJSON ConnectionQueryStringParameter where+ toJSON ConnectionQueryStringParameter' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("IsValueSecret" Data..=) Prelude.<$> isValueSecret,+ ("Key" Data..=) Prelude.<$> key,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ConnectionState.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ConnectionState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ConnectionState+ ( ConnectionState+ ( ..,+ ConnectionState_AUTHORIZED,+ ConnectionState_AUTHORIZING,+ ConnectionState_CREATING,+ ConnectionState_DEAUTHORIZED,+ ConnectionState_DEAUTHORIZING,+ ConnectionState_DELETING,+ ConnectionState_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ConnectionState = ConnectionState'+ { fromConnectionState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ConnectionState_AUTHORIZED :: ConnectionState+pattern ConnectionState_AUTHORIZED = ConnectionState' "AUTHORIZED"++pattern ConnectionState_AUTHORIZING :: ConnectionState+pattern ConnectionState_AUTHORIZING = ConnectionState' "AUTHORIZING"++pattern ConnectionState_CREATING :: ConnectionState+pattern ConnectionState_CREATING = ConnectionState' "CREATING"++pattern ConnectionState_DEAUTHORIZED :: ConnectionState+pattern ConnectionState_DEAUTHORIZED = ConnectionState' "DEAUTHORIZED"++pattern ConnectionState_DEAUTHORIZING :: ConnectionState+pattern ConnectionState_DEAUTHORIZING = ConnectionState' "DEAUTHORIZING"++pattern ConnectionState_DELETING :: ConnectionState+pattern ConnectionState_DELETING = ConnectionState' "DELETING"++pattern ConnectionState_UPDATING :: ConnectionState+pattern ConnectionState_UPDATING = ConnectionState' "UPDATING"++{-# COMPLETE+ ConnectionState_AUTHORIZED,+ ConnectionState_AUTHORIZING,+ ConnectionState_CREATING,+ ConnectionState_DEAUTHORIZED,+ ConnectionState_DEAUTHORIZING,+ ConnectionState_DELETING,+ ConnectionState_UPDATING,+ ConnectionState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/CreateConnectionApiKeyAuthRequestParameters.hs view
@@ -0,0 +1,102 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the API key authorization parameters for the connection.+--+-- /See:/ 'newCreateConnectionApiKeyAuthRequestParameters' smart constructor.+data CreateConnectionApiKeyAuthRequestParameters = CreateConnectionApiKeyAuthRequestParameters'+ { -- | The name of the API key to use for authorization.+ apiKeyName :: Prelude.Text,+ -- | The value for the API key to use for authorization.+ apiKeyValue :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionApiKeyAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyName', 'createConnectionApiKeyAuthRequestParameters_apiKeyName' - The name of the API key to use for authorization.+--+-- 'apiKeyValue', 'createConnectionApiKeyAuthRequestParameters_apiKeyValue' - The value for the API key to use for authorization.+newCreateConnectionApiKeyAuthRequestParameters ::+ -- | 'apiKeyName'+ Prelude.Text ->+ -- | 'apiKeyValue'+ Prelude.Text ->+ CreateConnectionApiKeyAuthRequestParameters+newCreateConnectionApiKeyAuthRequestParameters+ pApiKeyName_+ pApiKeyValue_ =+ CreateConnectionApiKeyAuthRequestParameters'+ { apiKeyName =+ pApiKeyName_,+ apiKeyValue = pApiKeyValue_+ }++-- | The name of the API key to use for authorization.+createConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens.Lens' CreateConnectionApiKeyAuthRequestParameters Prelude.Text+createConnectionApiKeyAuthRequestParameters_apiKeyName = Lens.lens (\CreateConnectionApiKeyAuthRequestParameters' {apiKeyName} -> apiKeyName) (\s@CreateConnectionApiKeyAuthRequestParameters' {} a -> s {apiKeyName = a} :: CreateConnectionApiKeyAuthRequestParameters)++-- | The value for the API key to use for authorization.+createConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens.Lens' CreateConnectionApiKeyAuthRequestParameters Prelude.Text+createConnectionApiKeyAuthRequestParameters_apiKeyValue = Lens.lens (\CreateConnectionApiKeyAuthRequestParameters' {apiKeyValue} -> apiKeyValue) (\s@CreateConnectionApiKeyAuthRequestParameters' {} a -> s {apiKeyValue = a} :: CreateConnectionApiKeyAuthRequestParameters)++instance+ Prelude.Hashable+ CreateConnectionApiKeyAuthRequestParameters+ where+ hashWithSalt+ _salt+ CreateConnectionApiKeyAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` apiKeyName+ `Prelude.hashWithSalt` apiKeyValue++instance+ Prelude.NFData+ CreateConnectionApiKeyAuthRequestParameters+ where+ rnf CreateConnectionApiKeyAuthRequestParameters' {..} =+ Prelude.rnf apiKeyName+ `Prelude.seq` Prelude.rnf apiKeyValue++instance+ Data.ToJSON+ CreateConnectionApiKeyAuthRequestParameters+ where+ toJSON+ CreateConnectionApiKeyAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ApiKeyName" Data..= apiKeyName),+ Prelude.Just ("ApiKeyValue" Data..= apiKeyValue)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/CreateConnectionAuthRequestParameters.hs view
@@ -0,0 +1,150 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CreateConnectionAuthRequestParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the authorization parameters for the connection.+--+-- /See:/ 'newCreateConnectionAuthRequestParameters' smart constructor.+data CreateConnectionAuthRequestParameters = CreateConnectionAuthRequestParameters'+ { -- | A @CreateConnectionApiKeyAuthRequestParameters@ object that contains the+ -- API key authorization parameters to use for the connection.+ apiKeyAuthParameters :: Prelude.Maybe CreateConnectionApiKeyAuthRequestParameters,+ -- | A @CreateConnectionBasicAuthRequestParameters@ object that contains the+ -- Basic authorization parameters to use for the connection.+ basicAuthParameters :: Prelude.Maybe CreateConnectionBasicAuthRequestParameters,+ -- | A @ConnectionHttpParameters@ object that contains the API key+ -- authorization parameters to use for the connection. Note that if you+ -- include additional parameters for the target of a rule via+ -- @HttpParameters@, including query strings, the parameters added for the+ -- connection take precedence.+ invocationHttpParameters :: Prelude.Maybe ConnectionHttpParameters,+ -- | A @CreateConnectionOAuthRequestParameters@ object that contains the+ -- OAuth authorization parameters to use for the connection.+ oAuthParameters :: Prelude.Maybe CreateConnectionOAuthRequestParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyAuthParameters', 'createConnectionAuthRequestParameters_apiKeyAuthParameters' - A @CreateConnectionApiKeyAuthRequestParameters@ object that contains the+-- API key authorization parameters to use for the connection.+--+-- 'basicAuthParameters', 'createConnectionAuthRequestParameters_basicAuthParameters' - A @CreateConnectionBasicAuthRequestParameters@ object that contains the+-- Basic authorization parameters to use for the connection.+--+-- 'invocationHttpParameters', 'createConnectionAuthRequestParameters_invocationHttpParameters' - A @ConnectionHttpParameters@ object that contains the API key+-- authorization parameters to use for the connection. Note that if you+-- include additional parameters for the target of a rule via+-- @HttpParameters@, including query strings, the parameters added for the+-- connection take precedence.+--+-- 'oAuthParameters', 'createConnectionAuthRequestParameters_oAuthParameters' - A @CreateConnectionOAuthRequestParameters@ object that contains the+-- OAuth authorization parameters to use for the connection.+newCreateConnectionAuthRequestParameters ::+ CreateConnectionAuthRequestParameters+newCreateConnectionAuthRequestParameters =+ CreateConnectionAuthRequestParameters'+ { apiKeyAuthParameters =+ Prelude.Nothing,+ basicAuthParameters =+ Prelude.Nothing,+ invocationHttpParameters =+ Prelude.Nothing,+ oAuthParameters = Prelude.Nothing+ }++-- | A @CreateConnectionApiKeyAuthRequestParameters@ object that contains the+-- API key authorization parameters to use for the connection.+createConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens.Lens' CreateConnectionAuthRequestParameters (Prelude.Maybe CreateConnectionApiKeyAuthRequestParameters)+createConnectionAuthRequestParameters_apiKeyAuthParameters = Lens.lens (\CreateConnectionAuthRequestParameters' {apiKeyAuthParameters} -> apiKeyAuthParameters) (\s@CreateConnectionAuthRequestParameters' {} a -> s {apiKeyAuthParameters = a} :: CreateConnectionAuthRequestParameters)++-- | A @CreateConnectionBasicAuthRequestParameters@ object that contains the+-- Basic authorization parameters to use for the connection.+createConnectionAuthRequestParameters_basicAuthParameters :: Lens.Lens' CreateConnectionAuthRequestParameters (Prelude.Maybe CreateConnectionBasicAuthRequestParameters)+createConnectionAuthRequestParameters_basicAuthParameters = Lens.lens (\CreateConnectionAuthRequestParameters' {basicAuthParameters} -> basicAuthParameters) (\s@CreateConnectionAuthRequestParameters' {} a -> s {basicAuthParameters = a} :: CreateConnectionAuthRequestParameters)++-- | A @ConnectionHttpParameters@ object that contains the API key+-- authorization parameters to use for the connection. Note that if you+-- include additional parameters for the target of a rule via+-- @HttpParameters@, including query strings, the parameters added for the+-- connection take precedence.+createConnectionAuthRequestParameters_invocationHttpParameters :: Lens.Lens' CreateConnectionAuthRequestParameters (Prelude.Maybe ConnectionHttpParameters)+createConnectionAuthRequestParameters_invocationHttpParameters = Lens.lens (\CreateConnectionAuthRequestParameters' {invocationHttpParameters} -> invocationHttpParameters) (\s@CreateConnectionAuthRequestParameters' {} a -> s {invocationHttpParameters = a} :: CreateConnectionAuthRequestParameters)++-- | A @CreateConnectionOAuthRequestParameters@ object that contains the+-- OAuth authorization parameters to use for the connection.+createConnectionAuthRequestParameters_oAuthParameters :: Lens.Lens' CreateConnectionAuthRequestParameters (Prelude.Maybe CreateConnectionOAuthRequestParameters)+createConnectionAuthRequestParameters_oAuthParameters = Lens.lens (\CreateConnectionAuthRequestParameters' {oAuthParameters} -> oAuthParameters) (\s@CreateConnectionAuthRequestParameters' {} a -> s {oAuthParameters = a} :: CreateConnectionAuthRequestParameters)++instance+ Prelude.Hashable+ CreateConnectionAuthRequestParameters+ where+ hashWithSalt+ _salt+ CreateConnectionAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` apiKeyAuthParameters+ `Prelude.hashWithSalt` basicAuthParameters+ `Prelude.hashWithSalt` invocationHttpParameters+ `Prelude.hashWithSalt` oAuthParameters++instance+ Prelude.NFData+ CreateConnectionAuthRequestParameters+ where+ rnf CreateConnectionAuthRequestParameters' {..} =+ Prelude.rnf apiKeyAuthParameters+ `Prelude.seq` Prelude.rnf basicAuthParameters+ `Prelude.seq` Prelude.rnf invocationHttpParameters+ `Prelude.seq` Prelude.rnf oAuthParameters++instance+ Data.ToJSON+ CreateConnectionAuthRequestParameters+ where+ toJSON CreateConnectionAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ApiKeyAuthParameters" Data..=)+ Prelude.<$> apiKeyAuthParameters,+ ("BasicAuthParameters" Data..=)+ Prelude.<$> basicAuthParameters,+ ("InvocationHttpParameters" Data..=)+ Prelude.<$> invocationHttpParameters,+ ("OAuthParameters" Data..=)+ Prelude.<$> oAuthParameters+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/CreateConnectionBasicAuthRequestParameters.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CreateConnectionBasicAuthRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the Basic authorization parameters to use for the connection.+--+-- /See:/ 'newCreateConnectionBasicAuthRequestParameters' smart constructor.+data CreateConnectionBasicAuthRequestParameters = CreateConnectionBasicAuthRequestParameters'+ { -- | The user name to use for Basic authorization.+ username :: Prelude.Text,+ -- | The password associated with the user name to use for Basic+ -- authorization.+ password :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionBasicAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'username', 'createConnectionBasicAuthRequestParameters_username' - The user name to use for Basic authorization.+--+-- 'password', 'createConnectionBasicAuthRequestParameters_password' - The password associated with the user name to use for Basic+-- authorization.+newCreateConnectionBasicAuthRequestParameters ::+ -- | 'username'+ Prelude.Text ->+ -- | 'password'+ Prelude.Text ->+ CreateConnectionBasicAuthRequestParameters+newCreateConnectionBasicAuthRequestParameters+ pUsername_+ pPassword_ =+ CreateConnectionBasicAuthRequestParameters'+ { username =+ pUsername_,+ password = pPassword_+ }++-- | The user name to use for Basic authorization.+createConnectionBasicAuthRequestParameters_username :: Lens.Lens' CreateConnectionBasicAuthRequestParameters Prelude.Text+createConnectionBasicAuthRequestParameters_username = Lens.lens (\CreateConnectionBasicAuthRequestParameters' {username} -> username) (\s@CreateConnectionBasicAuthRequestParameters' {} a -> s {username = a} :: CreateConnectionBasicAuthRequestParameters)++-- | The password associated with the user name to use for Basic+-- authorization.+createConnectionBasicAuthRequestParameters_password :: Lens.Lens' CreateConnectionBasicAuthRequestParameters Prelude.Text+createConnectionBasicAuthRequestParameters_password = Lens.lens (\CreateConnectionBasicAuthRequestParameters' {password} -> password) (\s@CreateConnectionBasicAuthRequestParameters' {} a -> s {password = a} :: CreateConnectionBasicAuthRequestParameters)++instance+ Prelude.Hashable+ CreateConnectionBasicAuthRequestParameters+ where+ hashWithSalt+ _salt+ CreateConnectionBasicAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` username+ `Prelude.hashWithSalt` password++instance+ Prelude.NFData+ CreateConnectionBasicAuthRequestParameters+ where+ rnf CreateConnectionBasicAuthRequestParameters' {..} =+ Prelude.rnf username+ `Prelude.seq` Prelude.rnf password++instance+ Data.ToJSON+ CreateConnectionBasicAuthRequestParameters+ where+ toJSON+ CreateConnectionBasicAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Username" Data..= username),+ Prelude.Just ("Password" Data..= password)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/CreateConnectionOAuthClientRequestParameters.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the Basic authorization parameters to use for the connection.+--+-- /See:/ 'newCreateConnectionOAuthClientRequestParameters' smart constructor.+data CreateConnectionOAuthClientRequestParameters = CreateConnectionOAuthClientRequestParameters'+ { -- | The client ID to use for OAuth authorization for the connection.+ clientID :: Prelude.Text,+ -- | The client secret associated with the client ID to use for OAuth+ -- authorization for the connection.+ clientSecret :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionOAuthClientRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientID', 'createConnectionOAuthClientRequestParameters_clientID' - The client ID to use for OAuth authorization for the connection.+--+-- 'clientSecret', 'createConnectionOAuthClientRequestParameters_clientSecret' - The client secret associated with the client ID to use for OAuth+-- authorization for the connection.+newCreateConnectionOAuthClientRequestParameters ::+ -- | 'clientID'+ Prelude.Text ->+ -- | 'clientSecret'+ Prelude.Text ->+ CreateConnectionOAuthClientRequestParameters+newCreateConnectionOAuthClientRequestParameters+ pClientID_+ pClientSecret_ =+ CreateConnectionOAuthClientRequestParameters'+ { clientID =+ pClientID_,+ clientSecret = pClientSecret_+ }++-- | The client ID to use for OAuth authorization for the connection.+createConnectionOAuthClientRequestParameters_clientID :: Lens.Lens' CreateConnectionOAuthClientRequestParameters Prelude.Text+createConnectionOAuthClientRequestParameters_clientID = Lens.lens (\CreateConnectionOAuthClientRequestParameters' {clientID} -> clientID) (\s@CreateConnectionOAuthClientRequestParameters' {} a -> s {clientID = a} :: CreateConnectionOAuthClientRequestParameters)++-- | The client secret associated with the client ID to use for OAuth+-- authorization for the connection.+createConnectionOAuthClientRequestParameters_clientSecret :: Lens.Lens' CreateConnectionOAuthClientRequestParameters Prelude.Text+createConnectionOAuthClientRequestParameters_clientSecret = Lens.lens (\CreateConnectionOAuthClientRequestParameters' {clientSecret} -> clientSecret) (\s@CreateConnectionOAuthClientRequestParameters' {} a -> s {clientSecret = a} :: CreateConnectionOAuthClientRequestParameters)++instance+ Prelude.Hashable+ CreateConnectionOAuthClientRequestParameters+ where+ hashWithSalt+ _salt+ CreateConnectionOAuthClientRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` clientID+ `Prelude.hashWithSalt` clientSecret++instance+ Prelude.NFData+ CreateConnectionOAuthClientRequestParameters+ where+ rnf CreateConnectionOAuthClientRequestParameters' {..} =+ Prelude.rnf clientID+ `Prelude.seq` Prelude.rnf clientSecret++instance+ Data.ToJSON+ CreateConnectionOAuthClientRequestParameters+ where+ toJSON+ CreateConnectionOAuthClientRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ClientID" Data..= clientID),+ Prelude.Just ("ClientSecret" Data..= clientSecret)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/CreateConnectionOAuthRequestParameters.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthRequestParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+import Amazonka.CloudWatchEvents.Types.CreateConnectionOAuthClientRequestParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the OAuth authorization parameters to use for the connection.+--+-- /See:/ 'newCreateConnectionOAuthRequestParameters' smart constructor.+data CreateConnectionOAuthRequestParameters = CreateConnectionOAuthRequestParameters'+ { -- | A @ConnectionHttpParameters@ object that contains details about the+ -- additional parameters to use for the connection.+ oAuthHttpParameters :: Prelude.Maybe ConnectionHttpParameters,+ -- | A @CreateConnectionOAuthClientRequestParameters@ object that contains+ -- the client parameters for OAuth authorization.+ clientParameters :: CreateConnectionOAuthClientRequestParameters,+ -- | The URL to the authorization endpoint when OAuth is specified as the+ -- authorization type.+ authorizationEndpoint :: Prelude.Text,+ -- | The method to use for the authorization request.+ httpMethod :: ConnectionOAuthHttpMethod+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateConnectionOAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'oAuthHttpParameters', 'createConnectionOAuthRequestParameters_oAuthHttpParameters' - A @ConnectionHttpParameters@ object that contains details about the+-- additional parameters to use for the connection.+--+-- 'clientParameters', 'createConnectionOAuthRequestParameters_clientParameters' - A @CreateConnectionOAuthClientRequestParameters@ object that contains+-- the client parameters for OAuth authorization.+--+-- 'authorizationEndpoint', 'createConnectionOAuthRequestParameters_authorizationEndpoint' - The URL to the authorization endpoint when OAuth is specified as the+-- authorization type.+--+-- 'httpMethod', 'createConnectionOAuthRequestParameters_httpMethod' - The method to use for the authorization request.+newCreateConnectionOAuthRequestParameters ::+ -- | 'clientParameters'+ CreateConnectionOAuthClientRequestParameters ->+ -- | 'authorizationEndpoint'+ Prelude.Text ->+ -- | 'httpMethod'+ ConnectionOAuthHttpMethod ->+ CreateConnectionOAuthRequestParameters+newCreateConnectionOAuthRequestParameters+ pClientParameters_+ pAuthorizationEndpoint_+ pHttpMethod_ =+ CreateConnectionOAuthRequestParameters'+ { oAuthHttpParameters =+ Prelude.Nothing,+ clientParameters =+ pClientParameters_,+ authorizationEndpoint =+ pAuthorizationEndpoint_,+ httpMethod = pHttpMethod_+ }++-- | A @ConnectionHttpParameters@ object that contains details about the+-- additional parameters to use for the connection.+createConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens.Lens' CreateConnectionOAuthRequestParameters (Prelude.Maybe ConnectionHttpParameters)+createConnectionOAuthRequestParameters_oAuthHttpParameters = Lens.lens (\CreateConnectionOAuthRequestParameters' {oAuthHttpParameters} -> oAuthHttpParameters) (\s@CreateConnectionOAuthRequestParameters' {} a -> s {oAuthHttpParameters = a} :: CreateConnectionOAuthRequestParameters)++-- | A @CreateConnectionOAuthClientRequestParameters@ object that contains+-- the client parameters for OAuth authorization.+createConnectionOAuthRequestParameters_clientParameters :: Lens.Lens' CreateConnectionOAuthRequestParameters CreateConnectionOAuthClientRequestParameters+createConnectionOAuthRequestParameters_clientParameters = Lens.lens (\CreateConnectionOAuthRequestParameters' {clientParameters} -> clientParameters) (\s@CreateConnectionOAuthRequestParameters' {} a -> s {clientParameters = a} :: CreateConnectionOAuthRequestParameters)++-- | The URL to the authorization endpoint when OAuth is specified as the+-- authorization type.+createConnectionOAuthRequestParameters_authorizationEndpoint :: Lens.Lens' CreateConnectionOAuthRequestParameters Prelude.Text+createConnectionOAuthRequestParameters_authorizationEndpoint = Lens.lens (\CreateConnectionOAuthRequestParameters' {authorizationEndpoint} -> authorizationEndpoint) (\s@CreateConnectionOAuthRequestParameters' {} a -> s {authorizationEndpoint = a} :: CreateConnectionOAuthRequestParameters)++-- | The method to use for the authorization request.+createConnectionOAuthRequestParameters_httpMethod :: Lens.Lens' CreateConnectionOAuthRequestParameters ConnectionOAuthHttpMethod+createConnectionOAuthRequestParameters_httpMethod = Lens.lens (\CreateConnectionOAuthRequestParameters' {httpMethod} -> httpMethod) (\s@CreateConnectionOAuthRequestParameters' {} a -> s {httpMethod = a} :: CreateConnectionOAuthRequestParameters)++instance+ Prelude.Hashable+ CreateConnectionOAuthRequestParameters+ where+ hashWithSalt+ _salt+ CreateConnectionOAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` oAuthHttpParameters+ `Prelude.hashWithSalt` clientParameters+ `Prelude.hashWithSalt` authorizationEndpoint+ `Prelude.hashWithSalt` httpMethod++instance+ Prelude.NFData+ CreateConnectionOAuthRequestParameters+ where+ rnf CreateConnectionOAuthRequestParameters' {..} =+ Prelude.rnf oAuthHttpParameters+ `Prelude.seq` Prelude.rnf clientParameters+ `Prelude.seq` Prelude.rnf authorizationEndpoint+ `Prelude.seq` Prelude.rnf httpMethod++instance+ Data.ToJSON+ CreateConnectionOAuthRequestParameters+ where+ toJSON CreateConnectionOAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("OAuthHttpParameters" Data..=)+ Prelude.<$> oAuthHttpParameters,+ Prelude.Just+ ("ClientParameters" Data..= clientParameters),+ Prelude.Just+ ( "AuthorizationEndpoint"+ Data..= authorizationEndpoint+ ),+ Prelude.Just ("HttpMethod" Data..= httpMethod)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/DeadLetterConfig.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.DeadLetterConfig+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.DeadLetterConfig where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A @DeadLetterConfig@ object that contains information about a+-- dead-letter queue configuration.+--+-- /See:/ 'newDeadLetterConfig' smart constructor.+data DeadLetterConfig = DeadLetterConfig'+ { -- | The ARN of the SQS queue specified as the target for the dead-letter+ -- queue.+ arn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeadLetterConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'deadLetterConfig_arn' - The ARN of the SQS queue specified as the target for the dead-letter+-- queue.+newDeadLetterConfig ::+ DeadLetterConfig+newDeadLetterConfig =+ DeadLetterConfig' {arn = Prelude.Nothing}++-- | The ARN of the SQS queue specified as the target for the dead-letter+-- queue.+deadLetterConfig_arn :: Lens.Lens' DeadLetterConfig (Prelude.Maybe Prelude.Text)+deadLetterConfig_arn = Lens.lens (\DeadLetterConfig' {arn} -> arn) (\s@DeadLetterConfig' {} a -> s {arn = a} :: DeadLetterConfig)++instance Data.FromJSON DeadLetterConfig where+ parseJSON =+ Data.withObject+ "DeadLetterConfig"+ ( \x ->+ DeadLetterConfig' Prelude.<$> (x Data..:? "Arn")+ )++instance Prelude.Hashable DeadLetterConfig where+ hashWithSalt _salt DeadLetterConfig' {..} =+ _salt `Prelude.hashWithSalt` arn++instance Prelude.NFData DeadLetterConfig where+ rnf DeadLetterConfig' {..} = Prelude.rnf arn++instance Data.ToJSON DeadLetterConfig where+ toJSON DeadLetterConfig' {..} =+ Data.object+ (Prelude.catMaybes [("Arn" Data..=) Prelude.<$> arn])
+ gen/Amazonka/CloudWatchEvents/Types/EcsParameters.hs view
@@ -0,0 +1,402 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EcsParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EcsParameters where++import Amazonka.CloudWatchEvents.Types.CapacityProviderStrategyItem+import Amazonka.CloudWatchEvents.Types.LaunchType+import Amazonka.CloudWatchEvents.Types.NetworkConfiguration+import Amazonka.CloudWatchEvents.Types.PlacementConstraint+import Amazonka.CloudWatchEvents.Types.PlacementStrategy+import Amazonka.CloudWatchEvents.Types.PropagateTags+import Amazonka.CloudWatchEvents.Types.Tag+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The custom parameters to be used when the target is an Amazon ECS task.+--+-- /See:/ 'newEcsParameters' smart constructor.+data EcsParameters = EcsParameters'+ { -- | The capacity provider strategy to use for the task.+ --+ -- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+ -- must be omitted. If no @capacityProviderStrategy@ or launchType is+ -- specified, the @defaultCapacityProviderStrategy@ for the cluster is+ -- used.+ capacityProviderStrategy :: Prelude.Maybe [CapacityProviderStrategyItem],+ -- | Specifies whether to enable Amazon ECS managed tags for the task. For+ -- more information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+ -- in the Amazon Elastic Container Service Developer Guide.+ enableECSManagedTags :: Prelude.Maybe Prelude.Bool,+ -- | Whether or not to enable the execute command functionality for the+ -- containers in this task. If true, this enables execute command+ -- functionality on all containers in the task.+ enableExecuteCommand :: Prelude.Maybe Prelude.Bool,+ -- | Specifies an ECS task group for the task. The maximum length is 255+ -- characters.+ group' :: Prelude.Maybe Prelude.Text,+ -- | Specifies the launch type on which your task is running. The launch type+ -- that you specify here must match one of the launch type+ -- (compatibilities) of the target task. The @FARGATE@ value is supported+ -- only in the Regions where Fargate with Amazon ECS is supported. For more+ -- information, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html Fargate on Amazon ECS>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ launchType :: Prelude.Maybe LaunchType,+ -- | Use this structure if the Amazon ECS task uses the @awsvpc@ network+ -- mode. This structure specifies the VPC subnets and security groups+ -- associated with the task, and whether a public IP address is to be used.+ -- This structure is required if @LaunchType@ is @FARGATE@ because the+ -- @awsvpc@ mode is required for Fargate tasks.+ --+ -- If you specify @NetworkConfiguration@ when the target ECS task does not+ -- use the @awsvpc@ network mode, the task fails.+ networkConfiguration :: Prelude.Maybe NetworkConfiguration,+ -- | An array of placement constraint objects to use for the task. You can+ -- specify up to 10 constraints per task (including constraints in the task+ -- definition and those specified at runtime).+ placementConstraints :: Prelude.Maybe [PlacementConstraint],+ -- | The placement strategy objects to use for the task. You can specify a+ -- maximum of five strategy rules per task.+ placementStrategy :: Prelude.Maybe [PlacementStrategy],+ -- | Specifies the platform version for the task. Specify only the numeric+ -- portion of the platform version, such as @1.1.0@.+ --+ -- This structure is used only if @LaunchType@ is @FARGATE@. For more+ -- information about valid platform versions, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+ -- in the /Amazon Elastic Container Service Developer Guide/.+ platformVersion :: Prelude.Maybe Prelude.Text,+ -- | Specifies whether to propagate the tags from the task definition to the+ -- task. If no value is specified, the tags are not propagated. Tags can+ -- only be propagated to the task during task creation. To add tags to a+ -- task after task creation, use the TagResource API action.+ propagateTags :: Prelude.Maybe PropagateTags,+ -- | The reference ID to use for the task.+ referenceId :: Prelude.Maybe Prelude.Text,+ -- | The metadata that you apply to the task to help you categorize and+ -- organize them. Each tag consists of a key and an optional value, both of+ -- which you define. To learn more, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags RunTask>+ -- in the Amazon ECS API Reference.+ tags :: Prelude.Maybe [Tag],+ -- | The number of tasks to create based on @TaskDefinition@. The default is+ -- 1.+ taskCount :: Prelude.Maybe Prelude.Natural,+ -- | The ARN of the task definition to use if the event target is an Amazon+ -- ECS task.+ taskDefinitionArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EcsParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'capacityProviderStrategy', 'ecsParameters_capacityProviderStrategy' - The capacity provider strategy to use for the task.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or launchType is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+--+-- 'enableECSManagedTags', 'ecsParameters_enableECSManagedTags' - Specifies whether to enable Amazon ECS managed tags for the task. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the Amazon Elastic Container Service Developer Guide.+--+-- 'enableExecuteCommand', 'ecsParameters_enableExecuteCommand' - Whether or not to enable the execute command functionality for the+-- containers in this task. If true, this enables execute command+-- functionality on all containers in the task.+--+-- 'group'', 'ecsParameters_group' - Specifies an ECS task group for the task. The maximum length is 255+-- characters.+--+-- 'launchType', 'ecsParameters_launchType' - Specifies the launch type on which your task is running. The launch type+-- that you specify here must match one of the launch type+-- (compatibilities) of the target task. The @FARGATE@ value is supported+-- only in the Regions where Fargate with Amazon ECS is supported. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html Fargate on Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'networkConfiguration', 'ecsParameters_networkConfiguration' - Use this structure if the Amazon ECS task uses the @awsvpc@ network+-- mode. This structure specifies the VPC subnets and security groups+-- associated with the task, and whether a public IP address is to be used.+-- This structure is required if @LaunchType@ is @FARGATE@ because the+-- @awsvpc@ mode is required for Fargate tasks.+--+-- If you specify @NetworkConfiguration@ when the target ECS task does not+-- use the @awsvpc@ network mode, the task fails.+--+-- 'placementConstraints', 'ecsParameters_placementConstraints' - An array of placement constraint objects to use for the task. You can+-- specify up to 10 constraints per task (including constraints in the task+-- definition and those specified at runtime).+--+-- 'placementStrategy', 'ecsParameters_placementStrategy' - The placement strategy objects to use for the task. You can specify a+-- maximum of five strategy rules per task.+--+-- 'platformVersion', 'ecsParameters_platformVersion' - Specifies the platform version for the task. Specify only the numeric+-- portion of the platform version, such as @1.1.0@.+--+-- This structure is used only if @LaunchType@ is @FARGATE@. For more+-- information about valid platform versions, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+--+-- 'propagateTags', 'ecsParameters_propagateTags' - Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags are not propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+--+-- 'referenceId', 'ecsParameters_referenceId' - The reference ID to use for the task.+--+-- 'tags', 'ecsParameters_tags' - The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags RunTask>+-- in the Amazon ECS API Reference.+--+-- 'taskCount', 'ecsParameters_taskCount' - The number of tasks to create based on @TaskDefinition@. The default is+-- 1.+--+-- 'taskDefinitionArn', 'ecsParameters_taskDefinitionArn' - The ARN of the task definition to use if the event target is an Amazon+-- ECS task.+newEcsParameters ::+ -- | 'taskDefinitionArn'+ Prelude.Text ->+ EcsParameters+newEcsParameters pTaskDefinitionArn_ =+ EcsParameters'+ { capacityProviderStrategy =+ Prelude.Nothing,+ enableECSManagedTags = Prelude.Nothing,+ enableExecuteCommand = Prelude.Nothing,+ group' = Prelude.Nothing,+ launchType = Prelude.Nothing,+ networkConfiguration = Prelude.Nothing,+ placementConstraints = Prelude.Nothing,+ placementStrategy = Prelude.Nothing,+ platformVersion = Prelude.Nothing,+ propagateTags = Prelude.Nothing,+ referenceId = Prelude.Nothing,+ tags = Prelude.Nothing,+ taskCount = Prelude.Nothing,+ taskDefinitionArn = pTaskDefinitionArn_+ }++-- | The capacity provider strategy to use for the task.+--+-- If a @capacityProviderStrategy@ is specified, the @launchType@ parameter+-- must be omitted. If no @capacityProviderStrategy@ or launchType is+-- specified, the @defaultCapacityProviderStrategy@ for the cluster is+-- used.+ecsParameters_capacityProviderStrategy :: Lens.Lens' EcsParameters (Prelude.Maybe [CapacityProviderStrategyItem])+ecsParameters_capacityProviderStrategy = Lens.lens (\EcsParameters' {capacityProviderStrategy} -> capacityProviderStrategy) (\s@EcsParameters' {} a -> s {capacityProviderStrategy = a} :: EcsParameters) Prelude.. Lens.mapping Lens.coerced++-- | Specifies whether to enable Amazon ECS managed tags for the task. For+-- more information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html Tagging Your Amazon ECS Resources>+-- in the Amazon Elastic Container Service Developer Guide.+ecsParameters_enableECSManagedTags :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Bool)+ecsParameters_enableECSManagedTags = Lens.lens (\EcsParameters' {enableECSManagedTags} -> enableECSManagedTags) (\s@EcsParameters' {} a -> s {enableECSManagedTags = a} :: EcsParameters)++-- | Whether or not to enable the execute command functionality for the+-- containers in this task. If true, this enables execute command+-- functionality on all containers in the task.+ecsParameters_enableExecuteCommand :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Bool)+ecsParameters_enableExecuteCommand = Lens.lens (\EcsParameters' {enableExecuteCommand} -> enableExecuteCommand) (\s@EcsParameters' {} a -> s {enableExecuteCommand = a} :: EcsParameters)++-- | Specifies an ECS task group for the task. The maximum length is 255+-- characters.+ecsParameters_group :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Text)+ecsParameters_group = Lens.lens (\EcsParameters' {group'} -> group') (\s@EcsParameters' {} a -> s {group' = a} :: EcsParameters)++-- | Specifies the launch type on which your task is running. The launch type+-- that you specify here must match one of the launch type+-- (compatibilities) of the target task. The @FARGATE@ value is supported+-- only in the Regions where Fargate with Amazon ECS is supported. For more+-- information, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html Fargate on Amazon ECS>+-- in the /Amazon Elastic Container Service Developer Guide/.+ecsParameters_launchType :: Lens.Lens' EcsParameters (Prelude.Maybe LaunchType)+ecsParameters_launchType = Lens.lens (\EcsParameters' {launchType} -> launchType) (\s@EcsParameters' {} a -> s {launchType = a} :: EcsParameters)++-- | Use this structure if the Amazon ECS task uses the @awsvpc@ network+-- mode. This structure specifies the VPC subnets and security groups+-- associated with the task, and whether a public IP address is to be used.+-- This structure is required if @LaunchType@ is @FARGATE@ because the+-- @awsvpc@ mode is required for Fargate tasks.+--+-- If you specify @NetworkConfiguration@ when the target ECS task does not+-- use the @awsvpc@ network mode, the task fails.+ecsParameters_networkConfiguration :: Lens.Lens' EcsParameters (Prelude.Maybe NetworkConfiguration)+ecsParameters_networkConfiguration = Lens.lens (\EcsParameters' {networkConfiguration} -> networkConfiguration) (\s@EcsParameters' {} a -> s {networkConfiguration = a} :: EcsParameters)++-- | An array of placement constraint objects to use for the task. You can+-- specify up to 10 constraints per task (including constraints in the task+-- definition and those specified at runtime).+ecsParameters_placementConstraints :: Lens.Lens' EcsParameters (Prelude.Maybe [PlacementConstraint])+ecsParameters_placementConstraints = Lens.lens (\EcsParameters' {placementConstraints} -> placementConstraints) (\s@EcsParameters' {} a -> s {placementConstraints = a} :: EcsParameters) Prelude.. Lens.mapping Lens.coerced++-- | The placement strategy objects to use for the task. You can specify a+-- maximum of five strategy rules per task.+ecsParameters_placementStrategy :: Lens.Lens' EcsParameters (Prelude.Maybe [PlacementStrategy])+ecsParameters_placementStrategy = Lens.lens (\EcsParameters' {placementStrategy} -> placementStrategy) (\s@EcsParameters' {} a -> s {placementStrategy = a} :: EcsParameters) Prelude.. Lens.mapping Lens.coerced++-- | Specifies the platform version for the task. Specify only the numeric+-- portion of the platform version, such as @1.1.0@.+--+-- This structure is used only if @LaunchType@ is @FARGATE@. For more+-- information about valid platform versions, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html Fargate Platform Versions>+-- in the /Amazon Elastic Container Service Developer Guide/.+ecsParameters_platformVersion :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Text)+ecsParameters_platformVersion = Lens.lens (\EcsParameters' {platformVersion} -> platformVersion) (\s@EcsParameters' {} a -> s {platformVersion = a} :: EcsParameters)++-- | Specifies whether to propagate the tags from the task definition to the+-- task. If no value is specified, the tags are not propagated. Tags can+-- only be propagated to the task during task creation. To add tags to a+-- task after task creation, use the TagResource API action.+ecsParameters_propagateTags :: Lens.Lens' EcsParameters (Prelude.Maybe PropagateTags)+ecsParameters_propagateTags = Lens.lens (\EcsParameters' {propagateTags} -> propagateTags) (\s@EcsParameters' {} a -> s {propagateTags = a} :: EcsParameters)++-- | The reference ID to use for the task.+ecsParameters_referenceId :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Text)+ecsParameters_referenceId = Lens.lens (\EcsParameters' {referenceId} -> referenceId) (\s@EcsParameters' {} a -> s {referenceId = a} :: EcsParameters)++-- | The metadata that you apply to the task to help you categorize and+-- organize them. Each tag consists of a key and an optional value, both of+-- which you define. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags RunTask>+-- in the Amazon ECS API Reference.+ecsParameters_tags :: Lens.Lens' EcsParameters (Prelude.Maybe [Tag])+ecsParameters_tags = Lens.lens (\EcsParameters' {tags} -> tags) (\s@EcsParameters' {} a -> s {tags = a} :: EcsParameters) Prelude.. Lens.mapping Lens.coerced++-- | The number of tasks to create based on @TaskDefinition@. The default is+-- 1.+ecsParameters_taskCount :: Lens.Lens' EcsParameters (Prelude.Maybe Prelude.Natural)+ecsParameters_taskCount = Lens.lens (\EcsParameters' {taskCount} -> taskCount) (\s@EcsParameters' {} a -> s {taskCount = a} :: EcsParameters)++-- | The ARN of the task definition to use if the event target is an Amazon+-- ECS task.+ecsParameters_taskDefinitionArn :: Lens.Lens' EcsParameters Prelude.Text+ecsParameters_taskDefinitionArn = Lens.lens (\EcsParameters' {taskDefinitionArn} -> taskDefinitionArn) (\s@EcsParameters' {} a -> s {taskDefinitionArn = a} :: EcsParameters)++instance Data.FromJSON EcsParameters where+ parseJSON =+ Data.withObject+ "EcsParameters"+ ( \x ->+ EcsParameters'+ Prelude.<$> ( x+ Data..:? "CapacityProviderStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "EnableECSManagedTags")+ Prelude.<*> (x Data..:? "EnableExecuteCommand")+ Prelude.<*> (x Data..:? "Group")+ Prelude.<*> (x Data..:? "LaunchType")+ Prelude.<*> (x Data..:? "NetworkConfiguration")+ Prelude.<*> ( x+ Data..:? "PlacementConstraints"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "PlacementStrategy"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "PlatformVersion")+ Prelude.<*> (x Data..:? "PropagateTags")+ Prelude.<*> (x Data..:? "ReferenceId")+ Prelude.<*> (x Data..:? "Tags" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "TaskCount")+ Prelude.<*> (x Data..: "TaskDefinitionArn")+ )++instance Prelude.Hashable EcsParameters where+ hashWithSalt _salt EcsParameters' {..} =+ _salt+ `Prelude.hashWithSalt` capacityProviderStrategy+ `Prelude.hashWithSalt` enableECSManagedTags+ `Prelude.hashWithSalt` enableExecuteCommand+ `Prelude.hashWithSalt` group'+ `Prelude.hashWithSalt` launchType+ `Prelude.hashWithSalt` networkConfiguration+ `Prelude.hashWithSalt` placementConstraints+ `Prelude.hashWithSalt` placementStrategy+ `Prelude.hashWithSalt` platformVersion+ `Prelude.hashWithSalt` propagateTags+ `Prelude.hashWithSalt` referenceId+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` taskCount+ `Prelude.hashWithSalt` taskDefinitionArn++instance Prelude.NFData EcsParameters where+ rnf EcsParameters' {..} =+ Prelude.rnf capacityProviderStrategy+ `Prelude.seq` Prelude.rnf enableECSManagedTags+ `Prelude.seq` Prelude.rnf enableExecuteCommand+ `Prelude.seq` Prelude.rnf group'+ `Prelude.seq` Prelude.rnf launchType+ `Prelude.seq` Prelude.rnf networkConfiguration+ `Prelude.seq` Prelude.rnf placementConstraints+ `Prelude.seq` Prelude.rnf placementStrategy+ `Prelude.seq` Prelude.rnf platformVersion+ `Prelude.seq` Prelude.rnf propagateTags+ `Prelude.seq` Prelude.rnf referenceId+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf taskCount+ `Prelude.seq` Prelude.rnf taskDefinitionArn++instance Data.ToJSON EcsParameters where+ toJSON EcsParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("CapacityProviderStrategy" Data..=)+ Prelude.<$> capacityProviderStrategy,+ ("EnableECSManagedTags" Data..=)+ Prelude.<$> enableECSManagedTags,+ ("EnableExecuteCommand" Data..=)+ Prelude.<$> enableExecuteCommand,+ ("Group" Data..=) Prelude.<$> group',+ ("LaunchType" Data..=) Prelude.<$> launchType,+ ("NetworkConfiguration" Data..=)+ Prelude.<$> networkConfiguration,+ ("PlacementConstraints" Data..=)+ Prelude.<$> placementConstraints,+ ("PlacementStrategy" Data..=)+ Prelude.<$> placementStrategy,+ ("PlatformVersion" Data..=)+ Prelude.<$> platformVersion,+ ("PropagateTags" Data..=) Prelude.<$> propagateTags,+ ("ReferenceId" Data..=) Prelude.<$> referenceId,+ ("Tags" Data..=) Prelude.<$> tags,+ ("TaskCount" Data..=) Prelude.<$> taskCount,+ Prelude.Just+ ("TaskDefinitionArn" Data..= taskDefinitionArn)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Endpoint.hs view
@@ -0,0 +1,230 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Endpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Endpoint where++import Amazonka.CloudWatchEvents.Types.EndpointEventBus+import Amazonka.CloudWatchEvents.Types.EndpointState+import Amazonka.CloudWatchEvents.Types.ReplicationConfig+import Amazonka.CloudWatchEvents.Types.RoutingConfig+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An global endpoint used to improve your application\'s availability by+-- making it regional-fault tolerant. For more information about global+-- endpoints, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html Making applications Regional-fault tolerant with global endpoints and event replication>+-- in the Amazon EventBridge User Guide..+--+-- /See:/ 'newEndpoint' smart constructor.+data Endpoint = Endpoint'+ { -- | The ARN of the endpoint.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The time the endpoint was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A description for the endpoint.+ description :: Prelude.Maybe Prelude.Text,+ -- | The URL subdomain of the endpoint. For example, if the URL for Endpoint+ -- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+ -- @abcde.veo@.+ endpointId :: Prelude.Maybe Prelude.Text,+ -- | The URL of the endpoint.+ endpointUrl :: Prelude.Maybe Prelude.Text,+ -- | The event buses being used by the endpoint.+ eventBuses :: Prelude.Maybe (Prelude.NonEmpty EndpointEventBus),+ -- | The last time the endpoint was modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the endpoint.+ name :: Prelude.Maybe Prelude.Text,+ -- | Whether event replication was enabled or disabled for this endpoint.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used by event replication for the endpoint.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The routing configuration of the endpoint.+ routingConfig :: Prelude.Maybe RoutingConfig,+ -- | The current state of the endpoint.+ state :: Prelude.Maybe EndpointState,+ -- | The reason the endpoint is in its current state.+ stateReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Endpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'endpoint_arn' - The ARN of the endpoint.+--+-- 'creationTime', 'endpoint_creationTime' - The time the endpoint was created.+--+-- 'description', 'endpoint_description' - A description for the endpoint.+--+-- 'endpointId', 'endpoint_endpointId' - The URL subdomain of the endpoint. For example, if the URL for Endpoint+-- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+-- @abcde.veo@.+--+-- 'endpointUrl', 'endpoint_endpointUrl' - The URL of the endpoint.+--+-- 'eventBuses', 'endpoint_eventBuses' - The event buses being used by the endpoint.+--+-- 'lastModifiedTime', 'endpoint_lastModifiedTime' - The last time the endpoint was modified.+--+-- 'name', 'endpoint_name' - The name of the endpoint.+--+-- 'replicationConfig', 'endpoint_replicationConfig' - Whether event replication was enabled or disabled for this endpoint.+--+-- 'roleArn', 'endpoint_roleArn' - The ARN of the role used by event replication for the endpoint.+--+-- 'routingConfig', 'endpoint_routingConfig' - The routing configuration of the endpoint.+--+-- 'state', 'endpoint_state' - The current state of the endpoint.+--+-- 'stateReason', 'endpoint_stateReason' - The reason the endpoint is in its current state.+newEndpoint ::+ Endpoint+newEndpoint =+ Endpoint'+ { arn = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ description = Prelude.Nothing,+ endpointId = Prelude.Nothing,+ endpointUrl = Prelude.Nothing,+ eventBuses = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ name = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ routingConfig = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing+ }++-- | The ARN of the endpoint.+endpoint_arn :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_arn = Lens.lens (\Endpoint' {arn} -> arn) (\s@Endpoint' {} a -> s {arn = a} :: Endpoint)++-- | The time the endpoint was created.+endpoint_creationTime :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.UTCTime)+endpoint_creationTime = Lens.lens (\Endpoint' {creationTime} -> creationTime) (\s@Endpoint' {} a -> s {creationTime = a} :: Endpoint) Prelude.. Lens.mapping Data._Time++-- | A description for the endpoint.+endpoint_description :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_description = Lens.lens (\Endpoint' {description} -> description) (\s@Endpoint' {} a -> s {description = a} :: Endpoint)++-- | The URL subdomain of the endpoint. For example, if the URL for Endpoint+-- is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is+-- @abcde.veo@.+endpoint_endpointId :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_endpointId = Lens.lens (\Endpoint' {endpointId} -> endpointId) (\s@Endpoint' {} a -> s {endpointId = a} :: Endpoint)++-- | The URL of the endpoint.+endpoint_endpointUrl :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_endpointUrl = Lens.lens (\Endpoint' {endpointUrl} -> endpointUrl) (\s@Endpoint' {} a -> s {endpointUrl = a} :: Endpoint)++-- | The event buses being used by the endpoint.+endpoint_eventBuses :: Lens.Lens' Endpoint (Prelude.Maybe (Prelude.NonEmpty EndpointEventBus))+endpoint_eventBuses = Lens.lens (\Endpoint' {eventBuses} -> eventBuses) (\s@Endpoint' {} a -> s {eventBuses = a} :: Endpoint) Prelude.. Lens.mapping Lens.coerced++-- | The last time the endpoint was modified.+endpoint_lastModifiedTime :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.UTCTime)+endpoint_lastModifiedTime = Lens.lens (\Endpoint' {lastModifiedTime} -> lastModifiedTime) (\s@Endpoint' {} a -> s {lastModifiedTime = a} :: Endpoint) Prelude.. Lens.mapping Data._Time++-- | The name of the endpoint.+endpoint_name :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_name = Lens.lens (\Endpoint' {name} -> name) (\s@Endpoint' {} a -> s {name = a} :: Endpoint)++-- | Whether event replication was enabled or disabled for this endpoint.+endpoint_replicationConfig :: Lens.Lens' Endpoint (Prelude.Maybe ReplicationConfig)+endpoint_replicationConfig = Lens.lens (\Endpoint' {replicationConfig} -> replicationConfig) (\s@Endpoint' {} a -> s {replicationConfig = a} :: Endpoint)++-- | The ARN of the role used by event replication for the endpoint.+endpoint_roleArn :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_roleArn = Lens.lens (\Endpoint' {roleArn} -> roleArn) (\s@Endpoint' {} a -> s {roleArn = a} :: Endpoint)++-- | The routing configuration of the endpoint.+endpoint_routingConfig :: Lens.Lens' Endpoint (Prelude.Maybe RoutingConfig)+endpoint_routingConfig = Lens.lens (\Endpoint' {routingConfig} -> routingConfig) (\s@Endpoint' {} a -> s {routingConfig = a} :: Endpoint)++-- | The current state of the endpoint.+endpoint_state :: Lens.Lens' Endpoint (Prelude.Maybe EndpointState)+endpoint_state = Lens.lens (\Endpoint' {state} -> state) (\s@Endpoint' {} a -> s {state = a} :: Endpoint)++-- | The reason the endpoint is in its current state.+endpoint_stateReason :: Lens.Lens' Endpoint (Prelude.Maybe Prelude.Text)+endpoint_stateReason = Lens.lens (\Endpoint' {stateReason} -> stateReason) (\s@Endpoint' {} a -> s {stateReason = a} :: Endpoint)++instance Data.FromJSON Endpoint where+ parseJSON =+ Data.withObject+ "Endpoint"+ ( \x ->+ Endpoint'+ Prelude.<$> (x Data..:? "Arn")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "EndpointId")+ Prelude.<*> (x Data..:? "EndpointUrl")+ Prelude.<*> (x Data..:? "EventBuses")+ Prelude.<*> (x Data..:? "LastModifiedTime")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "ReplicationConfig")+ Prelude.<*> (x Data..:? "RoleArn")+ Prelude.<*> (x Data..:? "RoutingConfig")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateReason")+ )++instance Prelude.Hashable Endpoint where+ hashWithSalt _salt Endpoint' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` endpointId+ `Prelude.hashWithSalt` endpointUrl+ `Prelude.hashWithSalt` eventBuses+ `Prelude.hashWithSalt` lastModifiedTime+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` replicationConfig+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` routingConfig+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateReason++instance Prelude.NFData Endpoint where+ rnf Endpoint' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf endpointId+ `Prelude.seq` Prelude.rnf endpointUrl+ `Prelude.seq` Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason
+ gen/Amazonka/CloudWatchEvents/Types/EndpointEventBus.hs view
@@ -0,0 +1,77 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EndpointEventBus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EndpointEventBus where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The event buses the endpoint is associated with.+--+-- /See:/ 'newEndpointEventBus' smart constructor.+data EndpointEventBus = EndpointEventBus'+ { -- | The ARN of the event bus the endpoint is associated with.+ eventBusArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EndpointEventBus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventBusArn', 'endpointEventBus_eventBusArn' - The ARN of the event bus the endpoint is associated with.+newEndpointEventBus ::+ -- | 'eventBusArn'+ Prelude.Text ->+ EndpointEventBus+newEndpointEventBus pEventBusArn_ =+ EndpointEventBus' {eventBusArn = pEventBusArn_}++-- | The ARN of the event bus the endpoint is associated with.+endpointEventBus_eventBusArn :: Lens.Lens' EndpointEventBus Prelude.Text+endpointEventBus_eventBusArn = Lens.lens (\EndpointEventBus' {eventBusArn} -> eventBusArn) (\s@EndpointEventBus' {} a -> s {eventBusArn = a} :: EndpointEventBus)++instance Data.FromJSON EndpointEventBus where+ parseJSON =+ Data.withObject+ "EndpointEventBus"+ ( \x ->+ EndpointEventBus'+ Prelude.<$> (x Data..: "EventBusArn")+ )++instance Prelude.Hashable EndpointEventBus where+ hashWithSalt _salt EndpointEventBus' {..} =+ _salt `Prelude.hashWithSalt` eventBusArn++instance Prelude.NFData EndpointEventBus where+ rnf EndpointEventBus' {..} = Prelude.rnf eventBusArn++instance Data.ToJSON EndpointEventBus where+ toJSON EndpointEventBus' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("EventBusArn" Data..= eventBusArn)]+ )
+ gen/Amazonka/CloudWatchEvents/Types/EndpointState.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EndpointState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EndpointState+ ( EndpointState+ ( ..,+ EndpointState_ACTIVE,+ EndpointState_CREATE_FAILED,+ EndpointState_CREATING,+ EndpointState_DELETE_FAILED,+ EndpointState_DELETING,+ EndpointState_UPDATE_FAILED,+ EndpointState_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EndpointState = EndpointState'+ { fromEndpointState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EndpointState_ACTIVE :: EndpointState+pattern EndpointState_ACTIVE = EndpointState' "ACTIVE"++pattern EndpointState_CREATE_FAILED :: EndpointState+pattern EndpointState_CREATE_FAILED = EndpointState' "CREATE_FAILED"++pattern EndpointState_CREATING :: EndpointState+pattern EndpointState_CREATING = EndpointState' "CREATING"++pattern EndpointState_DELETE_FAILED :: EndpointState+pattern EndpointState_DELETE_FAILED = EndpointState' "DELETE_FAILED"++pattern EndpointState_DELETING :: EndpointState+pattern EndpointState_DELETING = EndpointState' "DELETING"++pattern EndpointState_UPDATE_FAILED :: EndpointState+pattern EndpointState_UPDATE_FAILED = EndpointState' "UPDATE_FAILED"++pattern EndpointState_UPDATING :: EndpointState+pattern EndpointState_UPDATING = EndpointState' "UPDATING"++{-# COMPLETE+ EndpointState_ACTIVE,+ EndpointState_CREATE_FAILED,+ EndpointState_CREATING,+ EndpointState_DELETE_FAILED,+ EndpointState_DELETING,+ EndpointState_UPDATE_FAILED,+ EndpointState_UPDATING,+ EndpointState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/EventBus.hs view
@@ -0,0 +1,104 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EventBus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EventBus where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An event bus receives events from a source and routes them to rules+-- associated with that event bus. Your account\'s default event bus+-- receives events from Amazon Web Services services. A custom event bus+-- can receive events from your custom applications and services. A partner+-- event bus receives events from an event source created by an SaaS+-- partner. These events come from the partners services or applications.+--+-- /See:/ 'newEventBus' smart constructor.+data EventBus = EventBus'+ { -- | The ARN of the event bus.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the event bus.+ name :: Prelude.Maybe Prelude.Text,+ -- | The permissions policy of the event bus, describing which other Amazon+ -- Web Services accounts can write events to this event bus.+ policy :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventBus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'eventBus_arn' - The ARN of the event bus.+--+-- 'name', 'eventBus_name' - The name of the event bus.+--+-- 'policy', 'eventBus_policy' - The permissions policy of the event bus, describing which other Amazon+-- Web Services accounts can write events to this event bus.+newEventBus ::+ EventBus+newEventBus =+ EventBus'+ { arn = Prelude.Nothing,+ name = Prelude.Nothing,+ policy = Prelude.Nothing+ }++-- | The ARN of the event bus.+eventBus_arn :: Lens.Lens' EventBus (Prelude.Maybe Prelude.Text)+eventBus_arn = Lens.lens (\EventBus' {arn} -> arn) (\s@EventBus' {} a -> s {arn = a} :: EventBus)++-- | The name of the event bus.+eventBus_name :: Lens.Lens' EventBus (Prelude.Maybe Prelude.Text)+eventBus_name = Lens.lens (\EventBus' {name} -> name) (\s@EventBus' {} a -> s {name = a} :: EventBus)++-- | The permissions policy of the event bus, describing which other Amazon+-- Web Services accounts can write events to this event bus.+eventBus_policy :: Lens.Lens' EventBus (Prelude.Maybe Prelude.Text)+eventBus_policy = Lens.lens (\EventBus' {policy} -> policy) (\s@EventBus' {} a -> s {policy = a} :: EventBus)++instance Data.FromJSON EventBus where+ parseJSON =+ Data.withObject+ "EventBus"+ ( \x ->+ EventBus'+ Prelude.<$> (x Data..:? "Arn")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "Policy")+ )++instance Prelude.Hashable EventBus where+ hashWithSalt _salt EventBus' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` policy++instance Prelude.NFData EventBus where+ rnf EventBus' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf policy
+ gen/Amazonka/CloudWatchEvents/Types/EventSource.hs view
@@ -0,0 +1,154 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EventSource where++import Amazonka.CloudWatchEvents.Types.EventSourceState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A partner event source is created by an SaaS partner. If a customer+-- creates a partner event bus that matches this event source, that Amazon+-- Web Services account can receive events from the partner\'s applications+-- or services.+--+-- /See:/ 'newEventSource' smart constructor.+data EventSource = EventSource'+ { -- | The ARN of the event source.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the partner that created the event source.+ createdBy :: Prelude.Maybe Prelude.Text,+ -- | The date and time the event source was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The date and time that the event source will expire, if the Amazon Web+ -- Services account doesn\'t create a matching event bus for it.+ expirationTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the event source.+ name :: Prelude.Maybe Prelude.Text,+ -- | The state of the event source. If it is ACTIVE, you have already created+ -- a matching event bus for this event source, and that event bus is+ -- active. If it is PENDING, either you haven\'t yet created a matching+ -- event bus, or that event bus is deactivated. If it is DELETED, you have+ -- created a matching event bus, but the event source has since been+ -- deleted.+ state :: Prelude.Maybe EventSourceState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'eventSource_arn' - The ARN of the event source.+--+-- 'createdBy', 'eventSource_createdBy' - The name of the partner that created the event source.+--+-- 'creationTime', 'eventSource_creationTime' - The date and time the event source was created.+--+-- 'expirationTime', 'eventSource_expirationTime' - The date and time that the event source will expire, if the Amazon Web+-- Services account doesn\'t create a matching event bus for it.+--+-- 'name', 'eventSource_name' - The name of the event source.+--+-- 'state', 'eventSource_state' - The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+newEventSource ::+ EventSource+newEventSource =+ EventSource'+ { arn = Prelude.Nothing,+ createdBy = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ expirationTime = Prelude.Nothing,+ name = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The ARN of the event source.+eventSource_arn :: Lens.Lens' EventSource (Prelude.Maybe Prelude.Text)+eventSource_arn = Lens.lens (\EventSource' {arn} -> arn) (\s@EventSource' {} a -> s {arn = a} :: EventSource)++-- | The name of the partner that created the event source.+eventSource_createdBy :: Lens.Lens' EventSource (Prelude.Maybe Prelude.Text)+eventSource_createdBy = Lens.lens (\EventSource' {createdBy} -> createdBy) (\s@EventSource' {} a -> s {createdBy = a} :: EventSource)++-- | The date and time the event source was created.+eventSource_creationTime :: Lens.Lens' EventSource (Prelude.Maybe Prelude.UTCTime)+eventSource_creationTime = Lens.lens (\EventSource' {creationTime} -> creationTime) (\s@EventSource' {} a -> s {creationTime = a} :: EventSource) Prelude.. Lens.mapping Data._Time++-- | The date and time that the event source will expire, if the Amazon Web+-- Services account doesn\'t create a matching event bus for it.+eventSource_expirationTime :: Lens.Lens' EventSource (Prelude.Maybe Prelude.UTCTime)+eventSource_expirationTime = Lens.lens (\EventSource' {expirationTime} -> expirationTime) (\s@EventSource' {} a -> s {expirationTime = a} :: EventSource) Prelude.. Lens.mapping Data._Time++-- | The name of the event source.+eventSource_name :: Lens.Lens' EventSource (Prelude.Maybe Prelude.Text)+eventSource_name = Lens.lens (\EventSource' {name} -> name) (\s@EventSource' {} a -> s {name = a} :: EventSource)++-- | The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+eventSource_state :: Lens.Lens' EventSource (Prelude.Maybe EventSourceState)+eventSource_state = Lens.lens (\EventSource' {state} -> state) (\s@EventSource' {} a -> s {state = a} :: EventSource)++instance Data.FromJSON EventSource where+ parseJSON =+ Data.withObject+ "EventSource"+ ( \x ->+ EventSource'+ Prelude.<$> (x Data..:? "Arn")+ Prelude.<*> (x Data..:? "CreatedBy")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "ExpirationTime")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable EventSource where+ hashWithSalt _salt EventSource' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` createdBy+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` expirationTime+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` state++instance Prelude.NFData EventSource where+ rnf EventSource' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf createdBy+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf expirationTime+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/CloudWatchEvents/Types/EventSourceState.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.EventSourceState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.EventSourceState+ ( EventSourceState+ ( ..,+ EventSourceState_ACTIVE,+ EventSourceState_DELETED,+ EventSourceState_PENDING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EventSourceState = EventSourceState'+ { fromEventSourceState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EventSourceState_ACTIVE :: EventSourceState+pattern EventSourceState_ACTIVE = EventSourceState' "ACTIVE"++pattern EventSourceState_DELETED :: EventSourceState+pattern EventSourceState_DELETED = EventSourceState' "DELETED"++pattern EventSourceState_PENDING :: EventSourceState+pattern EventSourceState_PENDING = EventSourceState' "PENDING"++{-# COMPLETE+ EventSourceState_ACTIVE,+ EventSourceState_DELETED,+ EventSourceState_PENDING,+ EventSourceState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/FailoverConfig.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.FailoverConfig+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.FailoverConfig where++import Amazonka.CloudWatchEvents.Types.Primary+import Amazonka.CloudWatchEvents.Types.Secondary+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The failover configuration for an endpoint. This includes what triggers+-- failover and what happens when it\'s triggered.+--+-- /See:/ 'newFailoverConfig' smart constructor.+data FailoverConfig = FailoverConfig'+ { -- | The main Region of the endpoint.+ primary :: Primary,+ -- | The Region that events are routed to when failover is triggered or event+ -- replication is enabled.+ secondary :: Secondary+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FailoverConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'primary', 'failoverConfig_primary' - The main Region of the endpoint.+--+-- 'secondary', 'failoverConfig_secondary' - The Region that events are routed to when failover is triggered or event+-- replication is enabled.+newFailoverConfig ::+ -- | 'primary'+ Primary ->+ -- | 'secondary'+ Secondary ->+ FailoverConfig+newFailoverConfig pPrimary_ pSecondary_ =+ FailoverConfig'+ { primary = pPrimary_,+ secondary = pSecondary_+ }++-- | The main Region of the endpoint.+failoverConfig_primary :: Lens.Lens' FailoverConfig Primary+failoverConfig_primary = Lens.lens (\FailoverConfig' {primary} -> primary) (\s@FailoverConfig' {} a -> s {primary = a} :: FailoverConfig)++-- | The Region that events are routed to when failover is triggered or event+-- replication is enabled.+failoverConfig_secondary :: Lens.Lens' FailoverConfig Secondary+failoverConfig_secondary = Lens.lens (\FailoverConfig' {secondary} -> secondary) (\s@FailoverConfig' {} a -> s {secondary = a} :: FailoverConfig)++instance Data.FromJSON FailoverConfig where+ parseJSON =+ Data.withObject+ "FailoverConfig"+ ( \x ->+ FailoverConfig'+ Prelude.<$> (x Data..: "Primary")+ Prelude.<*> (x Data..: "Secondary")+ )++instance Prelude.Hashable FailoverConfig where+ hashWithSalt _salt FailoverConfig' {..} =+ _salt+ `Prelude.hashWithSalt` primary+ `Prelude.hashWithSalt` secondary++instance Prelude.NFData FailoverConfig where+ rnf FailoverConfig' {..} =+ Prelude.rnf primary+ `Prelude.seq` Prelude.rnf secondary++instance Data.ToJSON FailoverConfig where+ toJSON FailoverConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Primary" Data..= primary),+ Prelude.Just ("Secondary" Data..= secondary)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/HttpParameters.hs view
@@ -0,0 +1,130 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.HttpParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.HttpParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | These are custom parameter to be used when the target is an API Gateway+-- REST APIs or EventBridge ApiDestinations. In the latter case, these are+-- merged with any InvocationParameters specified on the Connection, with+-- any values from the Connection taking precedence.+--+-- /See:/ 'newHttpParameters' smart constructor.+data HttpParameters = HttpParameters'+ { -- | The headers that need to be sent as part of request invoking the API+ -- Gateway REST API or EventBridge ApiDestination.+ headerParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The path parameter values to be used to populate API Gateway REST API or+ -- EventBridge ApiDestination path wildcards (\"*\").+ pathParameterValues :: Prelude.Maybe [Prelude.Text],+ -- | The query string keys\/values that need to be sent as part of request+ -- invoking the API Gateway REST API or EventBridge ApiDestination.+ queryStringParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'HttpParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'headerParameters', 'httpParameters_headerParameters' - The headers that need to be sent as part of request invoking the API+-- Gateway REST API or EventBridge ApiDestination.+--+-- 'pathParameterValues', 'httpParameters_pathParameterValues' - The path parameter values to be used to populate API Gateway REST API or+-- EventBridge ApiDestination path wildcards (\"*\").+--+-- 'queryStringParameters', 'httpParameters_queryStringParameters' - The query string keys\/values that need to be sent as part of request+-- invoking the API Gateway REST API or EventBridge ApiDestination.+newHttpParameters ::+ HttpParameters+newHttpParameters =+ HttpParameters'+ { headerParameters = Prelude.Nothing,+ pathParameterValues = Prelude.Nothing,+ queryStringParameters = Prelude.Nothing+ }++-- | The headers that need to be sent as part of request invoking the API+-- Gateway REST API or EventBridge ApiDestination.+httpParameters_headerParameters :: Lens.Lens' HttpParameters (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+httpParameters_headerParameters = Lens.lens (\HttpParameters' {headerParameters} -> headerParameters) (\s@HttpParameters' {} a -> s {headerParameters = a} :: HttpParameters) Prelude.. Lens.mapping Lens.coerced++-- | The path parameter values to be used to populate API Gateway REST API or+-- EventBridge ApiDestination path wildcards (\"*\").+httpParameters_pathParameterValues :: Lens.Lens' HttpParameters (Prelude.Maybe [Prelude.Text])+httpParameters_pathParameterValues = Lens.lens (\HttpParameters' {pathParameterValues} -> pathParameterValues) (\s@HttpParameters' {} a -> s {pathParameterValues = a} :: HttpParameters) Prelude.. Lens.mapping Lens.coerced++-- | The query string keys\/values that need to be sent as part of request+-- invoking the API Gateway REST API or EventBridge ApiDestination.+httpParameters_queryStringParameters :: Lens.Lens' HttpParameters (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+httpParameters_queryStringParameters = Lens.lens (\HttpParameters' {queryStringParameters} -> queryStringParameters) (\s@HttpParameters' {} a -> s {queryStringParameters = a} :: HttpParameters) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON HttpParameters where+ parseJSON =+ Data.withObject+ "HttpParameters"+ ( \x ->+ HttpParameters'+ Prelude.<$> ( x+ Data..:? "HeaderParameters"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "PathParameterValues"+ Data..!= Prelude.mempty+ )+ Prelude.<*> ( x+ Data..:? "QueryStringParameters"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable HttpParameters where+ hashWithSalt _salt HttpParameters' {..} =+ _salt+ `Prelude.hashWithSalt` headerParameters+ `Prelude.hashWithSalt` pathParameterValues+ `Prelude.hashWithSalt` queryStringParameters++instance Prelude.NFData HttpParameters where+ rnf HttpParameters' {..} =+ Prelude.rnf headerParameters+ `Prelude.seq` Prelude.rnf pathParameterValues+ `Prelude.seq` Prelude.rnf queryStringParameters++instance Data.ToJSON HttpParameters where+ toJSON HttpParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("HeaderParameters" Data..=)+ Prelude.<$> headerParameters,+ ("PathParameterValues" Data..=)+ Prelude.<$> pathParameterValues,+ ("QueryStringParameters" Data..=)+ Prelude.<$> queryStringParameters+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/InputTransformer.hs view
@@ -0,0 +1,262 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.InputTransformer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.InputTransformer where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the parameters needed for you to provide custom input to a+-- target based on one or more pieces of data extracted from the event.+--+-- /See:/ 'newInputTransformer' smart constructor.+data InputTransformer = InputTransformer'+ { -- | Map of JSON paths to be extracted from the event. You can then insert+ -- these in the template in @InputTemplate@ to produce the output you want+ -- to be sent to the target.+ --+ -- @InputPathsMap@ is an array key-value pairs, where each value is a valid+ -- JSON path. You can have as many as 100 key-value pairs. You must use+ -- JSON dot notation, not bracket notation.+ --+ -- The keys cannot start with \"Amazon Web Services.\"+ inputPathsMap :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | Input template where you specify placeholders that will be filled with+ -- the values of the keys from @InputPathsMap@ to customize the data sent+ -- to the target. Enclose each @InputPathsMaps@ value in brackets:+ -- \</value/> The InputTemplate must be valid JSON.+ --+ -- If @InputTemplate@ is a JSON object (surrounded by curly braces), the+ -- following restrictions apply:+ --+ -- - The placeholder cannot be used as an object key.+ --+ -- The following example shows the syntax for using @InputPathsMap@ and+ -- @InputTemplate@.+ --+ -- @ \"InputTransformer\":@+ --+ -- @{@+ --+ -- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+ --+ -- @\"InputTemplate\": \"\<instance> is in state \<status>\"@+ --+ -- @}@+ --+ -- To have the @InputTemplate@ include quote marks within a JSON string,+ -- escape each quote marks with a slash, as in the following example:+ --+ -- @ \"InputTransformer\":@+ --+ -- @{@+ --+ -- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+ --+ -- @\"InputTemplate\": \"\<instance> is in state \\\"\<status>\\\"\"@+ --+ -- @}@+ --+ -- The @InputTemplate@ can also be valid JSON with varibles in quotes or+ -- out, as in the following example:+ --+ -- @ \"InputTransformer\":@+ --+ -- @{@+ --+ -- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+ --+ -- @\"InputTemplate\": \'{\"myInstance\": \<instance>,\"myStatus\": \"\<instance> is in state \\\"\<status>\\\"\"}\'@+ --+ -- @}@+ inputTemplate :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InputTransformer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'inputPathsMap', 'inputTransformer_inputPathsMap' - Map of JSON paths to be extracted from the event. You can then insert+-- these in the template in @InputTemplate@ to produce the output you want+-- to be sent to the target.+--+-- @InputPathsMap@ is an array key-value pairs, where each value is a valid+-- JSON path. You can have as many as 100 key-value pairs. You must use+-- JSON dot notation, not bracket notation.+--+-- The keys cannot start with \"Amazon Web Services.\"+--+-- 'inputTemplate', 'inputTransformer_inputTemplate' - Input template where you specify placeholders that will be filled with+-- the values of the keys from @InputPathsMap@ to customize the data sent+-- to the target. Enclose each @InputPathsMaps@ value in brackets:+-- \</value/> The InputTemplate must be valid JSON.+--+-- If @InputTemplate@ is a JSON object (surrounded by curly braces), the+-- following restrictions apply:+--+-- - The placeholder cannot be used as an object key.+--+-- The following example shows the syntax for using @InputPathsMap@ and+-- @InputTemplate@.+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \"\<instance> is in state \<status>\"@+--+-- @}@+--+-- To have the @InputTemplate@ include quote marks within a JSON string,+-- escape each quote marks with a slash, as in the following example:+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \"\<instance> is in state \\\"\<status>\\\"\"@+--+-- @}@+--+-- The @InputTemplate@ can also be valid JSON with varibles in quotes or+-- out, as in the following example:+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \'{\"myInstance\": \<instance>,\"myStatus\": \"\<instance> is in state \\\"\<status>\\\"\"}\'@+--+-- @}@+newInputTransformer ::+ -- | 'inputTemplate'+ Prelude.Text ->+ InputTransformer+newInputTransformer pInputTemplate_ =+ InputTransformer'+ { inputPathsMap = Prelude.Nothing,+ inputTemplate = pInputTemplate_+ }++-- | Map of JSON paths to be extracted from the event. You can then insert+-- these in the template in @InputTemplate@ to produce the output you want+-- to be sent to the target.+--+-- @InputPathsMap@ is an array key-value pairs, where each value is a valid+-- JSON path. You can have as many as 100 key-value pairs. You must use+-- JSON dot notation, not bracket notation.+--+-- The keys cannot start with \"Amazon Web Services.\"+inputTransformer_inputPathsMap :: Lens.Lens' InputTransformer (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+inputTransformer_inputPathsMap = Lens.lens (\InputTransformer' {inputPathsMap} -> inputPathsMap) (\s@InputTransformer' {} a -> s {inputPathsMap = a} :: InputTransformer) Prelude.. Lens.mapping Lens.coerced++-- | Input template where you specify placeholders that will be filled with+-- the values of the keys from @InputPathsMap@ to customize the data sent+-- to the target. Enclose each @InputPathsMaps@ value in brackets:+-- \</value/> The InputTemplate must be valid JSON.+--+-- If @InputTemplate@ is a JSON object (surrounded by curly braces), the+-- following restrictions apply:+--+-- - The placeholder cannot be used as an object key.+--+-- The following example shows the syntax for using @InputPathsMap@ and+-- @InputTemplate@.+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \"\<instance> is in state \<status>\"@+--+-- @}@+--+-- To have the @InputTemplate@ include quote marks within a JSON string,+-- escape each quote marks with a slash, as in the following example:+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \"\<instance> is in state \\\"\<status>\\\"\"@+--+-- @}@+--+-- The @InputTemplate@ can also be valid JSON with varibles in quotes or+-- out, as in the following example:+--+-- @ \"InputTransformer\":@+--+-- @{@+--+-- @\"InputPathsMap\": {\"instance\": \"$.detail.instance\",\"status\": \"$.detail.status\"},@+--+-- @\"InputTemplate\": \'{\"myInstance\": \<instance>,\"myStatus\": \"\<instance> is in state \\\"\<status>\\\"\"}\'@+--+-- @}@+inputTransformer_inputTemplate :: Lens.Lens' InputTransformer Prelude.Text+inputTransformer_inputTemplate = Lens.lens (\InputTransformer' {inputTemplate} -> inputTemplate) (\s@InputTransformer' {} a -> s {inputTemplate = a} :: InputTransformer)++instance Data.FromJSON InputTransformer where+ parseJSON =+ Data.withObject+ "InputTransformer"+ ( \x ->+ InputTransformer'+ Prelude.<$> (x Data..:? "InputPathsMap" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "InputTemplate")+ )++instance Prelude.Hashable InputTransformer where+ hashWithSalt _salt InputTransformer' {..} =+ _salt+ `Prelude.hashWithSalt` inputPathsMap+ `Prelude.hashWithSalt` inputTemplate++instance Prelude.NFData InputTransformer where+ rnf InputTransformer' {..} =+ Prelude.rnf inputPathsMap+ `Prelude.seq` Prelude.rnf inputTemplate++instance Data.ToJSON InputTransformer where+ toJSON InputTransformer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("InputPathsMap" Data..=) Prelude.<$> inputPathsMap,+ Prelude.Just+ ("InputTemplate" Data..= inputTemplate)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/KinesisParameters.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.KinesisParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.KinesisParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This object enables you to specify a JSON path to extract from the event+-- and use as the partition key for the Amazon Kinesis data stream, so that+-- you can control the shard to which the event goes. If you do not include+-- this parameter, the default is to use the @eventId@ as the partition+-- key.+--+-- /See:/ 'newKinesisParameters' smart constructor.+data KinesisParameters = KinesisParameters'+ { -- | The JSON path to be extracted from the event and used as the partition+ -- key. For more information, see+ -- <https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key Amazon Kinesis Streams Key Concepts>+ -- in the /Amazon Kinesis Streams Developer Guide/.+ partitionKeyPath :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'KinesisParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'partitionKeyPath', 'kinesisParameters_partitionKeyPath' - The JSON path to be extracted from the event and used as the partition+-- key. For more information, see+-- <https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key Amazon Kinesis Streams Key Concepts>+-- in the /Amazon Kinesis Streams Developer Guide/.+newKinesisParameters ::+ -- | 'partitionKeyPath'+ Prelude.Text ->+ KinesisParameters+newKinesisParameters pPartitionKeyPath_ =+ KinesisParameters'+ { partitionKeyPath =+ pPartitionKeyPath_+ }++-- | The JSON path to be extracted from the event and used as the partition+-- key. For more information, see+-- <https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key Amazon Kinesis Streams Key Concepts>+-- in the /Amazon Kinesis Streams Developer Guide/.+kinesisParameters_partitionKeyPath :: Lens.Lens' KinesisParameters Prelude.Text+kinesisParameters_partitionKeyPath = Lens.lens (\KinesisParameters' {partitionKeyPath} -> partitionKeyPath) (\s@KinesisParameters' {} a -> s {partitionKeyPath = a} :: KinesisParameters)++instance Data.FromJSON KinesisParameters where+ parseJSON =+ Data.withObject+ "KinesisParameters"+ ( \x ->+ KinesisParameters'+ Prelude.<$> (x Data..: "PartitionKeyPath")+ )++instance Prelude.Hashable KinesisParameters where+ hashWithSalt _salt KinesisParameters' {..} =+ _salt `Prelude.hashWithSalt` partitionKeyPath++instance Prelude.NFData KinesisParameters where+ rnf KinesisParameters' {..} =+ Prelude.rnf partitionKeyPath++instance Data.ToJSON KinesisParameters where+ toJSON KinesisParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("PartitionKeyPath" Data..= partitionKeyPath)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/LaunchType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.LaunchType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.LaunchType+ ( LaunchType+ ( ..,+ LaunchType_EC2,+ LaunchType_EXTERNAL,+ LaunchType_FARGATE+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype LaunchType = LaunchType'+ { fromLaunchType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern LaunchType_EC2 :: LaunchType+pattern LaunchType_EC2 = LaunchType' "EC2"++pattern LaunchType_EXTERNAL :: LaunchType+pattern LaunchType_EXTERNAL = LaunchType' "EXTERNAL"++pattern LaunchType_FARGATE :: LaunchType+pattern LaunchType_FARGATE = LaunchType' "FARGATE"++{-# COMPLETE+ LaunchType_EC2,+ LaunchType_EXTERNAL,+ LaunchType_FARGATE,+ LaunchType'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/NetworkConfiguration.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.NetworkConfiguration+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.NetworkConfiguration where++import Amazonka.CloudWatchEvents.Types.AwsVpcConfiguration+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This structure specifies the network configuration for an ECS task.+--+-- /See:/ 'newNetworkConfiguration' smart constructor.+data NetworkConfiguration = NetworkConfiguration'+ { -- | Use this structure to specify the VPC subnets and security groups for+ -- the task, and whether a public IP address is to be used. This structure+ -- is relevant only for ECS tasks that use the @awsvpc@ network mode.+ awsvpcConfiguration :: Prelude.Maybe AwsVpcConfiguration+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'NetworkConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsvpcConfiguration', 'networkConfiguration_awsvpcConfiguration' - Use this structure to specify the VPC subnets and security groups for+-- the task, and whether a public IP address is to be used. This structure+-- is relevant only for ECS tasks that use the @awsvpc@ network mode.+newNetworkConfiguration ::+ NetworkConfiguration+newNetworkConfiguration =+ NetworkConfiguration'+ { awsvpcConfiguration =+ Prelude.Nothing+ }++-- | Use this structure to specify the VPC subnets and security groups for+-- the task, and whether a public IP address is to be used. This structure+-- is relevant only for ECS tasks that use the @awsvpc@ network mode.+networkConfiguration_awsvpcConfiguration :: Lens.Lens' NetworkConfiguration (Prelude.Maybe AwsVpcConfiguration)+networkConfiguration_awsvpcConfiguration = Lens.lens (\NetworkConfiguration' {awsvpcConfiguration} -> awsvpcConfiguration) (\s@NetworkConfiguration' {} a -> s {awsvpcConfiguration = a} :: NetworkConfiguration)++instance Data.FromJSON NetworkConfiguration where+ parseJSON =+ Data.withObject+ "NetworkConfiguration"+ ( \x ->+ NetworkConfiguration'+ Prelude.<$> (x Data..:? "awsvpcConfiguration")+ )++instance Prelude.Hashable NetworkConfiguration where+ hashWithSalt _salt NetworkConfiguration' {..} =+ _salt `Prelude.hashWithSalt` awsvpcConfiguration++instance Prelude.NFData NetworkConfiguration where+ rnf NetworkConfiguration' {..} =+ Prelude.rnf awsvpcConfiguration++instance Data.ToJSON NetworkConfiguration where+ toJSON NetworkConfiguration' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("awsvpcConfiguration" Data..=)+ Prelude.<$> awsvpcConfiguration+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PartnerEventSource.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PartnerEventSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PartnerEventSource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A partner event source is created by an SaaS partner. If a customer+-- creates a partner event bus that matches this event source, that Amazon+-- Web Services account can receive events from the partner\'s applications+-- or services.+--+-- /See:/ 'newPartnerEventSource' smart constructor.+data PartnerEventSource = PartnerEventSource'+ { -- | The ARN of the partner event source.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The name of the partner event source.+ name :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PartnerEventSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'partnerEventSource_arn' - The ARN of the partner event source.+--+-- 'name', 'partnerEventSource_name' - The name of the partner event source.+newPartnerEventSource ::+ PartnerEventSource+newPartnerEventSource =+ PartnerEventSource'+ { arn = Prelude.Nothing,+ name = Prelude.Nothing+ }++-- | The ARN of the partner event source.+partnerEventSource_arn :: Lens.Lens' PartnerEventSource (Prelude.Maybe Prelude.Text)+partnerEventSource_arn = Lens.lens (\PartnerEventSource' {arn} -> arn) (\s@PartnerEventSource' {} a -> s {arn = a} :: PartnerEventSource)++-- | The name of the partner event source.+partnerEventSource_name :: Lens.Lens' PartnerEventSource (Prelude.Maybe Prelude.Text)+partnerEventSource_name = Lens.lens (\PartnerEventSource' {name} -> name) (\s@PartnerEventSource' {} a -> s {name = a} :: PartnerEventSource)++instance Data.FromJSON PartnerEventSource where+ parseJSON =+ Data.withObject+ "PartnerEventSource"+ ( \x ->+ PartnerEventSource'+ Prelude.<$> (x Data..:? "Arn")+ Prelude.<*> (x Data..:? "Name")+ )++instance Prelude.Hashable PartnerEventSource where+ hashWithSalt _salt PartnerEventSource' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` name++instance Prelude.NFData PartnerEventSource where+ rnf PartnerEventSource' {..} =+ Prelude.rnf arn `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/CloudWatchEvents/Types/PartnerEventSourceAccount.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PartnerEventSourceAccount where++import Amazonka.CloudWatchEvents.Types.EventSourceState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The Amazon Web Services account that a partner event source has been+-- offered to.+--+-- /See:/ 'newPartnerEventSourceAccount' smart constructor.+data PartnerEventSourceAccount = PartnerEventSourceAccount'+ { -- | The Amazon Web Services account ID that the partner event source was+ -- offered to.+ account :: Prelude.Maybe Prelude.Text,+ -- | The date and time the event source was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The date and time that the event source will expire, if the Amazon Web+ -- Services account doesn\'t create a matching event bus for it.+ expirationTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the event source. If it is ACTIVE, you have already created+ -- a matching event bus for this event source, and that event bus is+ -- active. If it is PENDING, either you haven\'t yet created a matching+ -- event bus, or that event bus is deactivated. If it is DELETED, you have+ -- created a matching event bus, but the event source has since been+ -- deleted.+ state :: Prelude.Maybe EventSourceState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PartnerEventSourceAccount' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'account', 'partnerEventSourceAccount_account' - The Amazon Web Services account ID that the partner event source was+-- offered to.+--+-- 'creationTime', 'partnerEventSourceAccount_creationTime' - The date and time the event source was created.+--+-- 'expirationTime', 'partnerEventSourceAccount_expirationTime' - The date and time that the event source will expire, if the Amazon Web+-- Services account doesn\'t create a matching event bus for it.+--+-- 'state', 'partnerEventSourceAccount_state' - The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+newPartnerEventSourceAccount ::+ PartnerEventSourceAccount+newPartnerEventSourceAccount =+ PartnerEventSourceAccount'+ { account =+ Prelude.Nothing,+ creationTime = Prelude.Nothing,+ expirationTime = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The Amazon Web Services account ID that the partner event source was+-- offered to.+partnerEventSourceAccount_account :: Lens.Lens' PartnerEventSourceAccount (Prelude.Maybe Prelude.Text)+partnerEventSourceAccount_account = Lens.lens (\PartnerEventSourceAccount' {account} -> account) (\s@PartnerEventSourceAccount' {} a -> s {account = a} :: PartnerEventSourceAccount)++-- | The date and time the event source was created.+partnerEventSourceAccount_creationTime :: Lens.Lens' PartnerEventSourceAccount (Prelude.Maybe Prelude.UTCTime)+partnerEventSourceAccount_creationTime = Lens.lens (\PartnerEventSourceAccount' {creationTime} -> creationTime) (\s@PartnerEventSourceAccount' {} a -> s {creationTime = a} :: PartnerEventSourceAccount) Prelude.. Lens.mapping Data._Time++-- | The date and time that the event source will expire, if the Amazon Web+-- Services account doesn\'t create a matching event bus for it.+partnerEventSourceAccount_expirationTime :: Lens.Lens' PartnerEventSourceAccount (Prelude.Maybe Prelude.UTCTime)+partnerEventSourceAccount_expirationTime = Lens.lens (\PartnerEventSourceAccount' {expirationTime} -> expirationTime) (\s@PartnerEventSourceAccount' {} a -> s {expirationTime = a} :: PartnerEventSourceAccount) Prelude.. Lens.mapping Data._Time++-- | The state of the event source. If it is ACTIVE, you have already created+-- a matching event bus for this event source, and that event bus is+-- active. If it is PENDING, either you haven\'t yet created a matching+-- event bus, or that event bus is deactivated. If it is DELETED, you have+-- created a matching event bus, but the event source has since been+-- deleted.+partnerEventSourceAccount_state :: Lens.Lens' PartnerEventSourceAccount (Prelude.Maybe EventSourceState)+partnerEventSourceAccount_state = Lens.lens (\PartnerEventSourceAccount' {state} -> state) (\s@PartnerEventSourceAccount' {} a -> s {state = a} :: PartnerEventSourceAccount)++instance Data.FromJSON PartnerEventSourceAccount where+ parseJSON =+ Data.withObject+ "PartnerEventSourceAccount"+ ( \x ->+ PartnerEventSourceAccount'+ Prelude.<$> (x Data..:? "Account")+ Prelude.<*> (x Data..:? "CreationTime")+ Prelude.<*> (x Data..:? "ExpirationTime")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable PartnerEventSourceAccount where+ hashWithSalt _salt PartnerEventSourceAccount' {..} =+ _salt+ `Prelude.hashWithSalt` account+ `Prelude.hashWithSalt` creationTime+ `Prelude.hashWithSalt` expirationTime+ `Prelude.hashWithSalt` state++instance Prelude.NFData PartnerEventSourceAccount where+ rnf PartnerEventSourceAccount' {..} =+ Prelude.rnf account+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf expirationTime+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/CloudWatchEvents/Types/PlacementConstraint.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PlacementConstraint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PlacementConstraint where++import Amazonka.CloudWatchEvents.Types.PlacementConstraintType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An object representing a constraint on task placement. To learn more,+-- see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html Task Placement Constraints>+-- in the Amazon Elastic Container Service Developer Guide.+--+-- /See:/ 'newPlacementConstraint' smart constructor.+data PlacementConstraint = PlacementConstraint'+ { -- | A cluster query language expression to apply to the constraint. You+ -- cannot specify an expression if the constraint type is+ -- @distinctInstance@. To learn more, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+ -- in the Amazon Elastic Container Service Developer Guide.+ expression :: Prelude.Maybe Prelude.Text,+ -- | The type of constraint. Use distinctInstance to ensure that each task in+ -- a particular group is running on a different container instance. Use+ -- memberOf to restrict the selection to a group of valid candidates.+ type' :: Prelude.Maybe PlacementConstraintType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PlacementConstraint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'expression', 'placementConstraint_expression' - A cluster query language expression to apply to the constraint. You+-- cannot specify an expression if the constraint type is+-- @distinctInstance@. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+-- in the Amazon Elastic Container Service Developer Guide.+--+-- 'type'', 'placementConstraint_type' - The type of constraint. Use distinctInstance to ensure that each task in+-- a particular group is running on a different container instance. Use+-- memberOf to restrict the selection to a group of valid candidates.+newPlacementConstraint ::+ PlacementConstraint+newPlacementConstraint =+ PlacementConstraint'+ { expression = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | A cluster query language expression to apply to the constraint. You+-- cannot specify an expression if the constraint type is+-- @distinctInstance@. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html Cluster Query Language>+-- in the Amazon Elastic Container Service Developer Guide.+placementConstraint_expression :: Lens.Lens' PlacementConstraint (Prelude.Maybe Prelude.Text)+placementConstraint_expression = Lens.lens (\PlacementConstraint' {expression} -> expression) (\s@PlacementConstraint' {} a -> s {expression = a} :: PlacementConstraint)++-- | The type of constraint. Use distinctInstance to ensure that each task in+-- a particular group is running on a different container instance. Use+-- memberOf to restrict the selection to a group of valid candidates.+placementConstraint_type :: Lens.Lens' PlacementConstraint (Prelude.Maybe PlacementConstraintType)+placementConstraint_type = Lens.lens (\PlacementConstraint' {type'} -> type') (\s@PlacementConstraint' {} a -> s {type' = a} :: PlacementConstraint)++instance Data.FromJSON PlacementConstraint where+ parseJSON =+ Data.withObject+ "PlacementConstraint"+ ( \x ->+ PlacementConstraint'+ Prelude.<$> (x Data..:? "expression")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable PlacementConstraint where+ hashWithSalt _salt PlacementConstraint' {..} =+ _salt+ `Prelude.hashWithSalt` expression+ `Prelude.hashWithSalt` type'++instance Prelude.NFData PlacementConstraint where+ rnf PlacementConstraint' {..} =+ Prelude.rnf expression+ `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON PlacementConstraint where+ toJSON PlacementConstraint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("expression" Data..=) Prelude.<$> expression,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PlacementConstraintType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PlacementConstraintType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PlacementConstraintType+ ( PlacementConstraintType+ ( ..,+ PlacementConstraintType_DistinctInstance,+ PlacementConstraintType_MemberOf+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlacementConstraintType = PlacementConstraintType'+ { fromPlacementConstraintType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern PlacementConstraintType_DistinctInstance :: PlacementConstraintType+pattern PlacementConstraintType_DistinctInstance = PlacementConstraintType' "distinctInstance"++pattern PlacementConstraintType_MemberOf :: PlacementConstraintType+pattern PlacementConstraintType_MemberOf = PlacementConstraintType' "memberOf"++{-# COMPLETE+ PlacementConstraintType_DistinctInstance,+ PlacementConstraintType_MemberOf,+ PlacementConstraintType'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/PlacementStrategy.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PlacementStrategy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PlacementStrategy where++import Amazonka.CloudWatchEvents.Types.PlacementStrategyType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The task placement strategy for a task or service. To learn more, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html Task Placement Strategies>+-- in the Amazon Elastic Container Service Service Developer Guide.+--+-- /See:/ 'newPlacementStrategy' smart constructor.+data PlacementStrategy = PlacementStrategy'+ { -- | The field to apply the placement strategy against. For the spread+ -- placement strategy, valid values are instanceId (or host, which has the+ -- same effect), or any platform or custom attribute that is applied to a+ -- container instance, such as attribute:ecs.availability-zone. For the+ -- binpack placement strategy, valid values are cpu and memory. For the+ -- random placement strategy, this field is not used.+ field :: Prelude.Maybe Prelude.Text,+ -- | The type of placement strategy. The random placement strategy randomly+ -- places tasks on available candidates. The spread placement strategy+ -- spreads placement across available candidates evenly based on the field+ -- parameter. The binpack strategy places tasks on available candidates+ -- that have the least available amount of the resource that is specified+ -- with the field parameter. For example, if you binpack on memory, a task+ -- is placed on the instance with the least amount of remaining memory (but+ -- still enough to run the task).+ type' :: Prelude.Maybe PlacementStrategyType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PlacementStrategy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'field', 'placementStrategy_field' - The field to apply the placement strategy against. For the spread+-- placement strategy, valid values are instanceId (or host, which has the+-- same effect), or any platform or custom attribute that is applied to a+-- container instance, such as attribute:ecs.availability-zone. For the+-- binpack placement strategy, valid values are cpu and memory. For the+-- random placement strategy, this field is not used.+--+-- 'type'', 'placementStrategy_type' - The type of placement strategy. The random placement strategy randomly+-- places tasks on available candidates. The spread placement strategy+-- spreads placement across available candidates evenly based on the field+-- parameter. The binpack strategy places tasks on available candidates+-- that have the least available amount of the resource that is specified+-- with the field parameter. For example, if you binpack on memory, a task+-- is placed on the instance with the least amount of remaining memory (but+-- still enough to run the task).+newPlacementStrategy ::+ PlacementStrategy+newPlacementStrategy =+ PlacementStrategy'+ { field = Prelude.Nothing,+ type' = Prelude.Nothing+ }++-- | The field to apply the placement strategy against. For the spread+-- placement strategy, valid values are instanceId (or host, which has the+-- same effect), or any platform or custom attribute that is applied to a+-- container instance, such as attribute:ecs.availability-zone. For the+-- binpack placement strategy, valid values are cpu and memory. For the+-- random placement strategy, this field is not used.+placementStrategy_field :: Lens.Lens' PlacementStrategy (Prelude.Maybe Prelude.Text)+placementStrategy_field = Lens.lens (\PlacementStrategy' {field} -> field) (\s@PlacementStrategy' {} a -> s {field = a} :: PlacementStrategy)++-- | The type of placement strategy. The random placement strategy randomly+-- places tasks on available candidates. The spread placement strategy+-- spreads placement across available candidates evenly based on the field+-- parameter. The binpack strategy places tasks on available candidates+-- that have the least available amount of the resource that is specified+-- with the field parameter. For example, if you binpack on memory, a task+-- is placed on the instance with the least amount of remaining memory (but+-- still enough to run the task).+placementStrategy_type :: Lens.Lens' PlacementStrategy (Prelude.Maybe PlacementStrategyType)+placementStrategy_type = Lens.lens (\PlacementStrategy' {type'} -> type') (\s@PlacementStrategy' {} a -> s {type' = a} :: PlacementStrategy)++instance Data.FromJSON PlacementStrategy where+ parseJSON =+ Data.withObject+ "PlacementStrategy"+ ( \x ->+ PlacementStrategy'+ Prelude.<$> (x Data..:? "field")+ Prelude.<*> (x Data..:? "type")+ )++instance Prelude.Hashable PlacementStrategy where+ hashWithSalt _salt PlacementStrategy' {..} =+ _salt+ `Prelude.hashWithSalt` field+ `Prelude.hashWithSalt` type'++instance Prelude.NFData PlacementStrategy where+ rnf PlacementStrategy' {..} =+ Prelude.rnf field `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON PlacementStrategy where+ toJSON PlacementStrategy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("field" Data..=) Prelude.<$> field,+ ("type" Data..=) Prelude.<$> type'+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PlacementStrategyType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PlacementStrategyType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PlacementStrategyType+ ( PlacementStrategyType+ ( ..,+ PlacementStrategyType_Binpack,+ PlacementStrategyType_Random,+ PlacementStrategyType_Spread+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PlacementStrategyType = PlacementStrategyType'+ { fromPlacementStrategyType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern PlacementStrategyType_Binpack :: PlacementStrategyType+pattern PlacementStrategyType_Binpack = PlacementStrategyType' "binpack"++pattern PlacementStrategyType_Random :: PlacementStrategyType+pattern PlacementStrategyType_Random = PlacementStrategyType' "random"++pattern PlacementStrategyType_Spread :: PlacementStrategyType+pattern PlacementStrategyType_Spread = PlacementStrategyType' "spread"++{-# COMPLETE+ PlacementStrategyType_Binpack,+ PlacementStrategyType_Random,+ PlacementStrategyType_Spread,+ PlacementStrategyType'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/Primary.hs view
@@ -0,0 +1,79 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Primary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Primary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The primary Region of the endpoint.+--+-- /See:/ 'newPrimary' smart constructor.+data Primary = Primary'+ { -- | The ARN of the health check used by the endpoint to determine whether+ -- failover is triggered.+ healthCheck :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Primary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'healthCheck', 'primary_healthCheck' - The ARN of the health check used by the endpoint to determine whether+-- failover is triggered.+newPrimary ::+ -- | 'healthCheck'+ Prelude.Text ->+ Primary+newPrimary pHealthCheck_ =+ Primary' {healthCheck = pHealthCheck_}++-- | The ARN of the health check used by the endpoint to determine whether+-- failover is triggered.+primary_healthCheck :: Lens.Lens' Primary Prelude.Text+primary_healthCheck = Lens.lens (\Primary' {healthCheck} -> healthCheck) (\s@Primary' {} a -> s {healthCheck = a} :: Primary)++instance Data.FromJSON Primary where+ parseJSON =+ Data.withObject+ "Primary"+ ( \x ->+ Primary' Prelude.<$> (x Data..: "HealthCheck")+ )++instance Prelude.Hashable Primary where+ hashWithSalt _salt Primary' {..} =+ _salt `Prelude.hashWithSalt` healthCheck++instance Prelude.NFData Primary where+ rnf Primary' {..} = Prelude.rnf healthCheck++instance Data.ToJSON Primary where+ toJSON Primary' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("HealthCheck" Data..= healthCheck)]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PropagateTags.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PropagateTags+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PropagateTags+ ( PropagateTags+ ( ..,+ PropagateTags_TASK_DEFINITION+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype PropagateTags = PropagateTags'+ { fromPropagateTags ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern PropagateTags_TASK_DEFINITION :: PropagateTags+pattern PropagateTags_TASK_DEFINITION = PropagateTags' "TASK_DEFINITION"++{-# COMPLETE+ PropagateTags_TASK_DEFINITION,+ PropagateTags'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/PutEventsRequestEntry.hs view
@@ -0,0 +1,203 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PutEventsRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents an event to be submitted.+--+-- /See:/ 'newPutEventsRequestEntry' smart constructor.+data PutEventsRequestEntry = PutEventsRequestEntry'+ { -- | A valid JSON object. There is no other schema imposed. The JSON object+ -- may contain fields and nested subobjects.+ detail :: Prelude.Maybe Prelude.Text,+ -- | Free-form string used to decide what fields to expect in the event+ -- detail.+ detailType :: Prelude.Maybe Prelude.Text,+ -- | The name or ARN of the event bus to receive the event. Only the rules+ -- that are associated with this event bus are used to match the event. If+ -- you omit this, the default event bus is used.+ --+ -- If you\'re using a global endpoint with a custom bus, you must enter the+ -- name, not the ARN, of the event bus in either the primary or secondary+ -- Region here and the corresponding event bus in the other Region will be+ -- determined based on the endpoint referenced by the @EndpointId@.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | Amazon Web Services resources, identified by Amazon Resource Name (ARN),+ -- which the event primarily concerns. Any number, including zero, may be+ -- present.+ resources :: Prelude.Maybe [Prelude.Text],+ -- | The source of the event.+ source :: Prelude.Maybe Prelude.Text,+ -- | The time stamp of the event, per+ -- <https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339>. If no time stamp+ -- is provided, the time stamp of the+ -- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html PutEvents>+ -- call is used.+ time :: Prelude.Maybe Data.POSIX,+ -- | An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that+ -- contains the trace-id associated with the event.+ --+ -- To learn more about X-Ray trace headers, see+ -- <https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader Tracing header>+ -- in the X-Ray Developer Guide.+ traceHeader :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEventsRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'detail', 'putEventsRequestEntry_detail' - A valid JSON object. There is no other schema imposed. The JSON object+-- may contain fields and nested subobjects.+--+-- 'detailType', 'putEventsRequestEntry_detailType' - Free-form string used to decide what fields to expect in the event+-- detail.+--+-- 'eventBusName', 'putEventsRequestEntry_eventBusName' - The name or ARN of the event bus to receive the event. Only the rules+-- that are associated with this event bus are used to match the event. If+-- you omit this, the default event bus is used.+--+-- If you\'re using a global endpoint with a custom bus, you must enter the+-- name, not the ARN, of the event bus in either the primary or secondary+-- Region here and the corresponding event bus in the other Region will be+-- determined based on the endpoint referenced by the @EndpointId@.+--+-- 'resources', 'putEventsRequestEntry_resources' - Amazon Web Services resources, identified by Amazon Resource Name (ARN),+-- which the event primarily concerns. Any number, including zero, may be+-- present.+--+-- 'source', 'putEventsRequestEntry_source' - The source of the event.+--+-- 'time', 'putEventsRequestEntry_time' - The time stamp of the event, per+-- <https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339>. If no time stamp+-- is provided, the time stamp of the+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html PutEvents>+-- call is used.+--+-- 'traceHeader', 'putEventsRequestEntry_traceHeader' - An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that+-- contains the trace-id associated with the event.+--+-- To learn more about X-Ray trace headers, see+-- <https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader Tracing header>+-- in the X-Ray Developer Guide.+newPutEventsRequestEntry ::+ PutEventsRequestEntry+newPutEventsRequestEntry =+ PutEventsRequestEntry'+ { detail = Prelude.Nothing,+ detailType = Prelude.Nothing,+ eventBusName = Prelude.Nothing,+ resources = Prelude.Nothing,+ source = Prelude.Nothing,+ time = Prelude.Nothing,+ traceHeader = Prelude.Nothing+ }++-- | A valid JSON object. There is no other schema imposed. The JSON object+-- may contain fields and nested subobjects.+putEventsRequestEntry_detail :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.Text)+putEventsRequestEntry_detail = Lens.lens (\PutEventsRequestEntry' {detail} -> detail) (\s@PutEventsRequestEntry' {} a -> s {detail = a} :: PutEventsRequestEntry)++-- | Free-form string used to decide what fields to expect in the event+-- detail.+putEventsRequestEntry_detailType :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.Text)+putEventsRequestEntry_detailType = Lens.lens (\PutEventsRequestEntry' {detailType} -> detailType) (\s@PutEventsRequestEntry' {} a -> s {detailType = a} :: PutEventsRequestEntry)++-- | The name or ARN of the event bus to receive the event. Only the rules+-- that are associated with this event bus are used to match the event. If+-- you omit this, the default event bus is used.+--+-- If you\'re using a global endpoint with a custom bus, you must enter the+-- name, not the ARN, of the event bus in either the primary or secondary+-- Region here and the corresponding event bus in the other Region will be+-- determined based on the endpoint referenced by the @EndpointId@.+putEventsRequestEntry_eventBusName :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.Text)+putEventsRequestEntry_eventBusName = Lens.lens (\PutEventsRequestEntry' {eventBusName} -> eventBusName) (\s@PutEventsRequestEntry' {} a -> s {eventBusName = a} :: PutEventsRequestEntry)++-- | Amazon Web Services resources, identified by Amazon Resource Name (ARN),+-- which the event primarily concerns. Any number, including zero, may be+-- present.+putEventsRequestEntry_resources :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe [Prelude.Text])+putEventsRequestEntry_resources = Lens.lens (\PutEventsRequestEntry' {resources} -> resources) (\s@PutEventsRequestEntry' {} a -> s {resources = a} :: PutEventsRequestEntry) Prelude.. Lens.mapping Lens.coerced++-- | The source of the event.+putEventsRequestEntry_source :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.Text)+putEventsRequestEntry_source = Lens.lens (\PutEventsRequestEntry' {source} -> source) (\s@PutEventsRequestEntry' {} a -> s {source = a} :: PutEventsRequestEntry)++-- | The time stamp of the event, per+-- <https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339>. If no time stamp+-- is provided, the time stamp of the+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html PutEvents>+-- call is used.+putEventsRequestEntry_time :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.UTCTime)+putEventsRequestEntry_time = Lens.lens (\PutEventsRequestEntry' {time} -> time) (\s@PutEventsRequestEntry' {} a -> s {time = a} :: PutEventsRequestEntry) Prelude.. Lens.mapping Data._Time++-- | An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that+-- contains the trace-id associated with the event.+--+-- To learn more about X-Ray trace headers, see+-- <https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader Tracing header>+-- in the X-Ray Developer Guide.+putEventsRequestEntry_traceHeader :: Lens.Lens' PutEventsRequestEntry (Prelude.Maybe Prelude.Text)+putEventsRequestEntry_traceHeader = Lens.lens (\PutEventsRequestEntry' {traceHeader} -> traceHeader) (\s@PutEventsRequestEntry' {} a -> s {traceHeader = a} :: PutEventsRequestEntry)++instance Prelude.Hashable PutEventsRequestEntry where+ hashWithSalt _salt PutEventsRequestEntry' {..} =+ _salt+ `Prelude.hashWithSalt` detail+ `Prelude.hashWithSalt` detailType+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` resources+ `Prelude.hashWithSalt` source+ `Prelude.hashWithSalt` time+ `Prelude.hashWithSalt` traceHeader++instance Prelude.NFData PutEventsRequestEntry where+ rnf PutEventsRequestEntry' {..} =+ Prelude.rnf detail+ `Prelude.seq` Prelude.rnf detailType+ `Prelude.seq` Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf resources+ `Prelude.seq` Prelude.rnf source+ `Prelude.seq` Prelude.rnf time+ `Prelude.seq` Prelude.rnf traceHeader++instance Data.ToJSON PutEventsRequestEntry where+ toJSON PutEventsRequestEntry' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Detail" Data..=) Prelude.<$> detail,+ ("DetailType" Data..=) Prelude.<$> detailType,+ ("EventBusName" Data..=) Prelude.<$> eventBusName,+ ("Resources" Data..=) Prelude.<$> resources,+ ("Source" Data..=) Prelude.<$> source,+ ("Time" Data..=) Prelude.<$> time,+ ("TraceHeader" Data..=) Prelude.<$> traceHeader+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PutEventsResultEntry.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PutEventsResultEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PutEventsResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents an event that failed to be submitted. For information about+-- the errors that are common to all actions, see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html Common Errors>.+--+-- /See:/ 'newPutEventsResultEntry' smart constructor.+data PutEventsResultEntry = PutEventsResultEntry'+ { -- | The error code that indicates why the event submission failed.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message that explains why the event submission failed.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The ID of the event.+ eventId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutEventsResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'putEventsResultEntry_errorCode' - The error code that indicates why the event submission failed.+--+-- 'errorMessage', 'putEventsResultEntry_errorMessage' - The error message that explains why the event submission failed.+--+-- 'eventId', 'putEventsResultEntry_eventId' - The ID of the event.+newPutEventsResultEntry ::+ PutEventsResultEntry+newPutEventsResultEntry =+ PutEventsResultEntry'+ { errorCode = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ eventId = Prelude.Nothing+ }++-- | The error code that indicates why the event submission failed.+putEventsResultEntry_errorCode :: Lens.Lens' PutEventsResultEntry (Prelude.Maybe Prelude.Text)+putEventsResultEntry_errorCode = Lens.lens (\PutEventsResultEntry' {errorCode} -> errorCode) (\s@PutEventsResultEntry' {} a -> s {errorCode = a} :: PutEventsResultEntry)++-- | The error message that explains why the event submission failed.+putEventsResultEntry_errorMessage :: Lens.Lens' PutEventsResultEntry (Prelude.Maybe Prelude.Text)+putEventsResultEntry_errorMessage = Lens.lens (\PutEventsResultEntry' {errorMessage} -> errorMessage) (\s@PutEventsResultEntry' {} a -> s {errorMessage = a} :: PutEventsResultEntry)++-- | The ID of the event.+putEventsResultEntry_eventId :: Lens.Lens' PutEventsResultEntry (Prelude.Maybe Prelude.Text)+putEventsResultEntry_eventId = Lens.lens (\PutEventsResultEntry' {eventId} -> eventId) (\s@PutEventsResultEntry' {} a -> s {eventId = a} :: PutEventsResultEntry)++instance Data.FromJSON PutEventsResultEntry where+ parseJSON =+ Data.withObject+ "PutEventsResultEntry"+ ( \x ->+ PutEventsResultEntry'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "EventId")+ )++instance Prelude.Hashable PutEventsResultEntry where+ hashWithSalt _salt PutEventsResultEntry' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` eventId++instance Prelude.NFData PutEventsResultEntry where+ rnf PutEventsResultEntry' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf eventId
+ gen/Amazonka/CloudWatchEvents/Types/PutPartnerEventsRequestEntry.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The details about an event generated by an SaaS partner.+--+-- /See:/ 'newPutPartnerEventsRequestEntry' smart constructor.+data PutPartnerEventsRequestEntry = PutPartnerEventsRequestEntry'+ { -- | A valid JSON string. There is no other schema imposed. The JSON string+ -- may contain fields and nested subobjects.+ detail :: Prelude.Maybe Prelude.Text,+ -- | A free-form string used to decide what fields to expect in the event+ -- detail.+ detailType :: Prelude.Maybe Prelude.Text,+ -- | Amazon Web Services resources, identified by Amazon Resource Name (ARN),+ -- which the event primarily concerns. Any number, including zero, may be+ -- present.+ resources :: Prelude.Maybe [Prelude.Text],+ -- | The event source that is generating the entry.+ source :: Prelude.Maybe Prelude.Text,+ -- | The date and time of the event.+ time :: Prelude.Maybe Data.POSIX+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPartnerEventsRequestEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'detail', 'putPartnerEventsRequestEntry_detail' - A valid JSON string. There is no other schema imposed. The JSON string+-- may contain fields and nested subobjects.+--+-- 'detailType', 'putPartnerEventsRequestEntry_detailType' - A free-form string used to decide what fields to expect in the event+-- detail.+--+-- 'resources', 'putPartnerEventsRequestEntry_resources' - Amazon Web Services resources, identified by Amazon Resource Name (ARN),+-- which the event primarily concerns. Any number, including zero, may be+-- present.+--+-- 'source', 'putPartnerEventsRequestEntry_source' - The event source that is generating the entry.+--+-- 'time', 'putPartnerEventsRequestEntry_time' - The date and time of the event.+newPutPartnerEventsRequestEntry ::+ PutPartnerEventsRequestEntry+newPutPartnerEventsRequestEntry =+ PutPartnerEventsRequestEntry'+ { detail =+ Prelude.Nothing,+ detailType = Prelude.Nothing,+ resources = Prelude.Nothing,+ source = Prelude.Nothing,+ time = Prelude.Nothing+ }++-- | A valid JSON string. There is no other schema imposed. The JSON string+-- may contain fields and nested subobjects.+putPartnerEventsRequestEntry_detail :: Lens.Lens' PutPartnerEventsRequestEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsRequestEntry_detail = Lens.lens (\PutPartnerEventsRequestEntry' {detail} -> detail) (\s@PutPartnerEventsRequestEntry' {} a -> s {detail = a} :: PutPartnerEventsRequestEntry)++-- | A free-form string used to decide what fields to expect in the event+-- detail.+putPartnerEventsRequestEntry_detailType :: Lens.Lens' PutPartnerEventsRequestEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsRequestEntry_detailType = Lens.lens (\PutPartnerEventsRequestEntry' {detailType} -> detailType) (\s@PutPartnerEventsRequestEntry' {} a -> s {detailType = a} :: PutPartnerEventsRequestEntry)++-- | Amazon Web Services resources, identified by Amazon Resource Name (ARN),+-- which the event primarily concerns. Any number, including zero, may be+-- present.+putPartnerEventsRequestEntry_resources :: Lens.Lens' PutPartnerEventsRequestEntry (Prelude.Maybe [Prelude.Text])+putPartnerEventsRequestEntry_resources = Lens.lens (\PutPartnerEventsRequestEntry' {resources} -> resources) (\s@PutPartnerEventsRequestEntry' {} a -> s {resources = a} :: PutPartnerEventsRequestEntry) Prelude.. Lens.mapping Lens.coerced++-- | The event source that is generating the entry.+putPartnerEventsRequestEntry_source :: Lens.Lens' PutPartnerEventsRequestEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsRequestEntry_source = Lens.lens (\PutPartnerEventsRequestEntry' {source} -> source) (\s@PutPartnerEventsRequestEntry' {} a -> s {source = a} :: PutPartnerEventsRequestEntry)++-- | The date and time of the event.+putPartnerEventsRequestEntry_time :: Lens.Lens' PutPartnerEventsRequestEntry (Prelude.Maybe Prelude.UTCTime)+putPartnerEventsRequestEntry_time = Lens.lens (\PutPartnerEventsRequestEntry' {time} -> time) (\s@PutPartnerEventsRequestEntry' {} a -> s {time = a} :: PutPartnerEventsRequestEntry) Prelude.. Lens.mapping Data._Time++instance+ Prelude.Hashable+ PutPartnerEventsRequestEntry+ where+ hashWithSalt _salt PutPartnerEventsRequestEntry' {..} =+ _salt+ `Prelude.hashWithSalt` detail+ `Prelude.hashWithSalt` detailType+ `Prelude.hashWithSalt` resources+ `Prelude.hashWithSalt` source+ `Prelude.hashWithSalt` time++instance Prelude.NFData PutPartnerEventsRequestEntry where+ rnf PutPartnerEventsRequestEntry' {..} =+ Prelude.rnf detail+ `Prelude.seq` Prelude.rnf detailType+ `Prelude.seq` Prelude.rnf resources+ `Prelude.seq` Prelude.rnf source+ `Prelude.seq` Prelude.rnf time++instance Data.ToJSON PutPartnerEventsRequestEntry where+ toJSON PutPartnerEventsRequestEntry' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Detail" Data..=) Prelude.<$> detail,+ ("DetailType" Data..=) Prelude.<$> detailType,+ ("Resources" Data..=) Prelude.<$> resources,+ ("Source" Data..=) Prelude.<$> source,+ ("Time" Data..=) Prelude.<$> time+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/PutPartnerEventsResultEntry.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PutPartnerEventsResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents an event that a partner tried to generate, but failed.+--+-- /See:/ 'newPutPartnerEventsResultEntry' smart constructor.+data PutPartnerEventsResultEntry = PutPartnerEventsResultEntry'+ { -- | The error code that indicates why the event submission failed.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message that explains why the event submission failed.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The ID of the event.+ eventId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutPartnerEventsResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'putPartnerEventsResultEntry_errorCode' - The error code that indicates why the event submission failed.+--+-- 'errorMessage', 'putPartnerEventsResultEntry_errorMessage' - The error message that explains why the event submission failed.+--+-- 'eventId', 'putPartnerEventsResultEntry_eventId' - The ID of the event.+newPutPartnerEventsResultEntry ::+ PutPartnerEventsResultEntry+newPutPartnerEventsResultEntry =+ PutPartnerEventsResultEntry'+ { errorCode =+ Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ eventId = Prelude.Nothing+ }++-- | The error code that indicates why the event submission failed.+putPartnerEventsResultEntry_errorCode :: Lens.Lens' PutPartnerEventsResultEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsResultEntry_errorCode = Lens.lens (\PutPartnerEventsResultEntry' {errorCode} -> errorCode) (\s@PutPartnerEventsResultEntry' {} a -> s {errorCode = a} :: PutPartnerEventsResultEntry)++-- | The error message that explains why the event submission failed.+putPartnerEventsResultEntry_errorMessage :: Lens.Lens' PutPartnerEventsResultEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsResultEntry_errorMessage = Lens.lens (\PutPartnerEventsResultEntry' {errorMessage} -> errorMessage) (\s@PutPartnerEventsResultEntry' {} a -> s {errorMessage = a} :: PutPartnerEventsResultEntry)++-- | The ID of the event.+putPartnerEventsResultEntry_eventId :: Lens.Lens' PutPartnerEventsResultEntry (Prelude.Maybe Prelude.Text)+putPartnerEventsResultEntry_eventId = Lens.lens (\PutPartnerEventsResultEntry' {eventId} -> eventId) (\s@PutPartnerEventsResultEntry' {} a -> s {eventId = a} :: PutPartnerEventsResultEntry)++instance Data.FromJSON PutPartnerEventsResultEntry where+ parseJSON =+ Data.withObject+ "PutPartnerEventsResultEntry"+ ( \x ->+ PutPartnerEventsResultEntry'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "EventId")+ )++instance Prelude.Hashable PutPartnerEventsResultEntry where+ hashWithSalt _salt PutPartnerEventsResultEntry' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` eventId++instance Prelude.NFData PutPartnerEventsResultEntry where+ rnf PutPartnerEventsResultEntry' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf eventId
+ gen/Amazonka/CloudWatchEvents/Types/PutTargetsResultEntry.hs view
@@ -0,0 +1,102 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.PutTargetsResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a target that failed to be added to a rule.+--+-- /See:/ 'newPutTargetsResultEntry' smart constructor.+data PutTargetsResultEntry = PutTargetsResultEntry'+ { -- | The error code that indicates why the target addition failed. If the+ -- value is @ConcurrentModificationException@, too many requests were made+ -- at the same time.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message that explains why the target addition failed.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The ID of the target.+ targetId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutTargetsResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'putTargetsResultEntry_errorCode' - The error code that indicates why the target addition failed. If the+-- value is @ConcurrentModificationException@, too many requests were made+-- at the same time.+--+-- 'errorMessage', 'putTargetsResultEntry_errorMessage' - The error message that explains why the target addition failed.+--+-- 'targetId', 'putTargetsResultEntry_targetId' - The ID of the target.+newPutTargetsResultEntry ::+ PutTargetsResultEntry+newPutTargetsResultEntry =+ PutTargetsResultEntry'+ { errorCode = Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ targetId = Prelude.Nothing+ }++-- | The error code that indicates why the target addition failed. If the+-- value is @ConcurrentModificationException@, too many requests were made+-- at the same time.+putTargetsResultEntry_errorCode :: Lens.Lens' PutTargetsResultEntry (Prelude.Maybe Prelude.Text)+putTargetsResultEntry_errorCode = Lens.lens (\PutTargetsResultEntry' {errorCode} -> errorCode) (\s@PutTargetsResultEntry' {} a -> s {errorCode = a} :: PutTargetsResultEntry)++-- | The error message that explains why the target addition failed.+putTargetsResultEntry_errorMessage :: Lens.Lens' PutTargetsResultEntry (Prelude.Maybe Prelude.Text)+putTargetsResultEntry_errorMessage = Lens.lens (\PutTargetsResultEntry' {errorMessage} -> errorMessage) (\s@PutTargetsResultEntry' {} a -> s {errorMessage = a} :: PutTargetsResultEntry)++-- | The ID of the target.+putTargetsResultEntry_targetId :: Lens.Lens' PutTargetsResultEntry (Prelude.Maybe Prelude.Text)+putTargetsResultEntry_targetId = Lens.lens (\PutTargetsResultEntry' {targetId} -> targetId) (\s@PutTargetsResultEntry' {} a -> s {targetId = a} :: PutTargetsResultEntry)++instance Data.FromJSON PutTargetsResultEntry where+ parseJSON =+ Data.withObject+ "PutTargetsResultEntry"+ ( \x ->+ PutTargetsResultEntry'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "TargetId")+ )++instance Prelude.Hashable PutTargetsResultEntry where+ hashWithSalt _salt PutTargetsResultEntry' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` targetId++instance Prelude.NFData PutTargetsResultEntry where+ rnf PutTargetsResultEntry' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf targetId
+ gen/Amazonka/CloudWatchEvents/Types/RedshiftDataParameters.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RedshiftDataParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RedshiftDataParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | These are custom parameters to be used when the target is a Amazon+-- Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement+-- based on EventBridge events.+--+-- /See:/ 'newRedshiftDataParameters' smart constructor.+data RedshiftDataParameters = RedshiftDataParameters'+ { -- | The database user name. Required when authenticating using temporary+ -- credentials.+ dbUser :: Prelude.Maybe Prelude.Text,+ -- | The name or ARN of the secret that enables access to the database.+ -- Required when authenticating using Amazon Web Services Secrets Manager.+ secretManagerArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the SQL statement. You can name the SQL statement when you+ -- create it to identify the query.+ statementName :: Prelude.Maybe Prelude.Text,+ -- | Indicates whether to send an event back to EventBridge after the SQL+ -- statement runs.+ withEvent :: Prelude.Maybe Prelude.Bool,+ -- | The name of the database. Required when authenticating using temporary+ -- credentials.+ database :: Prelude.Text,+ -- | The SQL statement text to run.+ sql :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedshiftDataParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dbUser', 'redshiftDataParameters_dbUser' - The database user name. Required when authenticating using temporary+-- credentials.+--+-- 'secretManagerArn', 'redshiftDataParameters_secretManagerArn' - The name or ARN of the secret that enables access to the database.+-- Required when authenticating using Amazon Web Services Secrets Manager.+--+-- 'statementName', 'redshiftDataParameters_statementName' - The name of the SQL statement. You can name the SQL statement when you+-- create it to identify the query.+--+-- 'withEvent', 'redshiftDataParameters_withEvent' - Indicates whether to send an event back to EventBridge after the SQL+-- statement runs.+--+-- 'database', 'redshiftDataParameters_database' - The name of the database. Required when authenticating using temporary+-- credentials.+--+-- 'sql', 'redshiftDataParameters_sql' - The SQL statement text to run.+newRedshiftDataParameters ::+ -- | 'database'+ Prelude.Text ->+ -- | 'sql'+ Prelude.Text ->+ RedshiftDataParameters+newRedshiftDataParameters pDatabase_ pSql_ =+ RedshiftDataParameters'+ { dbUser = Prelude.Nothing,+ secretManagerArn = Prelude.Nothing,+ statementName = Prelude.Nothing,+ withEvent = Prelude.Nothing,+ database = pDatabase_,+ sql = pSql_+ }++-- | The database user name. Required when authenticating using temporary+-- credentials.+redshiftDataParameters_dbUser :: Lens.Lens' RedshiftDataParameters (Prelude.Maybe Prelude.Text)+redshiftDataParameters_dbUser = Lens.lens (\RedshiftDataParameters' {dbUser} -> dbUser) (\s@RedshiftDataParameters' {} a -> s {dbUser = a} :: RedshiftDataParameters)++-- | The name or ARN of the secret that enables access to the database.+-- Required when authenticating using Amazon Web Services Secrets Manager.+redshiftDataParameters_secretManagerArn :: Lens.Lens' RedshiftDataParameters (Prelude.Maybe Prelude.Text)+redshiftDataParameters_secretManagerArn = Lens.lens (\RedshiftDataParameters' {secretManagerArn} -> secretManagerArn) (\s@RedshiftDataParameters' {} a -> s {secretManagerArn = a} :: RedshiftDataParameters)++-- | The name of the SQL statement. You can name the SQL statement when you+-- create it to identify the query.+redshiftDataParameters_statementName :: Lens.Lens' RedshiftDataParameters (Prelude.Maybe Prelude.Text)+redshiftDataParameters_statementName = Lens.lens (\RedshiftDataParameters' {statementName} -> statementName) (\s@RedshiftDataParameters' {} a -> s {statementName = a} :: RedshiftDataParameters)++-- | Indicates whether to send an event back to EventBridge after the SQL+-- statement runs.+redshiftDataParameters_withEvent :: Lens.Lens' RedshiftDataParameters (Prelude.Maybe Prelude.Bool)+redshiftDataParameters_withEvent = Lens.lens (\RedshiftDataParameters' {withEvent} -> withEvent) (\s@RedshiftDataParameters' {} a -> s {withEvent = a} :: RedshiftDataParameters)++-- | The name of the database. Required when authenticating using temporary+-- credentials.+redshiftDataParameters_database :: Lens.Lens' RedshiftDataParameters Prelude.Text+redshiftDataParameters_database = Lens.lens (\RedshiftDataParameters' {database} -> database) (\s@RedshiftDataParameters' {} a -> s {database = a} :: RedshiftDataParameters)++-- | The SQL statement text to run.+redshiftDataParameters_sql :: Lens.Lens' RedshiftDataParameters Prelude.Text+redshiftDataParameters_sql = Lens.lens (\RedshiftDataParameters' {sql} -> sql) (\s@RedshiftDataParameters' {} a -> s {sql = a} :: RedshiftDataParameters)++instance Data.FromJSON RedshiftDataParameters where+ parseJSON =+ Data.withObject+ "RedshiftDataParameters"+ ( \x ->+ RedshiftDataParameters'+ Prelude.<$> (x Data..:? "DbUser")+ Prelude.<*> (x Data..:? "SecretManagerArn")+ Prelude.<*> (x Data..:? "StatementName")+ Prelude.<*> (x Data..:? "WithEvent")+ Prelude.<*> (x Data..: "Database")+ Prelude.<*> (x Data..: "Sql")+ )++instance Prelude.Hashable RedshiftDataParameters where+ hashWithSalt _salt RedshiftDataParameters' {..} =+ _salt+ `Prelude.hashWithSalt` dbUser+ `Prelude.hashWithSalt` secretManagerArn+ `Prelude.hashWithSalt` statementName+ `Prelude.hashWithSalt` withEvent+ `Prelude.hashWithSalt` database+ `Prelude.hashWithSalt` sql++instance Prelude.NFData RedshiftDataParameters where+ rnf RedshiftDataParameters' {..} =+ Prelude.rnf dbUser+ `Prelude.seq` Prelude.rnf secretManagerArn+ `Prelude.seq` Prelude.rnf statementName+ `Prelude.seq` Prelude.rnf withEvent+ `Prelude.seq` Prelude.rnf database+ `Prelude.seq` Prelude.rnf sql++instance Data.ToJSON RedshiftDataParameters where+ toJSON RedshiftDataParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DbUser" Data..=) Prelude.<$> dbUser,+ ("SecretManagerArn" Data..=)+ Prelude.<$> secretManagerArn,+ ("StatementName" Data..=) Prelude.<$> statementName,+ ("WithEvent" Data..=) Prelude.<$> withEvent,+ Prelude.Just ("Database" Data..= database),+ Prelude.Just ("Sql" Data..= sql)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/RemoveTargetsResultEntry.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RemoveTargetsResultEntry where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Represents a target that failed to be removed from a rule.+--+-- /See:/ 'newRemoveTargetsResultEntry' smart constructor.+data RemoveTargetsResultEntry = RemoveTargetsResultEntry'+ { -- | The error code that indicates why the target removal failed. If the+ -- value is @ConcurrentModificationException@, too many requests were made+ -- at the same time.+ errorCode :: Prelude.Maybe Prelude.Text,+ -- | The error message that explains why the target removal failed.+ errorMessage :: Prelude.Maybe Prelude.Text,+ -- | The ID of the target.+ targetId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RemoveTargetsResultEntry' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'removeTargetsResultEntry_errorCode' - The error code that indicates why the target removal failed. If the+-- value is @ConcurrentModificationException@, too many requests were made+-- at the same time.+--+-- 'errorMessage', 'removeTargetsResultEntry_errorMessage' - The error message that explains why the target removal failed.+--+-- 'targetId', 'removeTargetsResultEntry_targetId' - The ID of the target.+newRemoveTargetsResultEntry ::+ RemoveTargetsResultEntry+newRemoveTargetsResultEntry =+ RemoveTargetsResultEntry'+ { errorCode =+ Prelude.Nothing,+ errorMessage = Prelude.Nothing,+ targetId = Prelude.Nothing+ }++-- | The error code that indicates why the target removal failed. If the+-- value is @ConcurrentModificationException@, too many requests were made+-- at the same time.+removeTargetsResultEntry_errorCode :: Lens.Lens' RemoveTargetsResultEntry (Prelude.Maybe Prelude.Text)+removeTargetsResultEntry_errorCode = Lens.lens (\RemoveTargetsResultEntry' {errorCode} -> errorCode) (\s@RemoveTargetsResultEntry' {} a -> s {errorCode = a} :: RemoveTargetsResultEntry)++-- | The error message that explains why the target removal failed.+removeTargetsResultEntry_errorMessage :: Lens.Lens' RemoveTargetsResultEntry (Prelude.Maybe Prelude.Text)+removeTargetsResultEntry_errorMessage = Lens.lens (\RemoveTargetsResultEntry' {errorMessage} -> errorMessage) (\s@RemoveTargetsResultEntry' {} a -> s {errorMessage = a} :: RemoveTargetsResultEntry)++-- | The ID of the target.+removeTargetsResultEntry_targetId :: Lens.Lens' RemoveTargetsResultEntry (Prelude.Maybe Prelude.Text)+removeTargetsResultEntry_targetId = Lens.lens (\RemoveTargetsResultEntry' {targetId} -> targetId) (\s@RemoveTargetsResultEntry' {} a -> s {targetId = a} :: RemoveTargetsResultEntry)++instance Data.FromJSON RemoveTargetsResultEntry where+ parseJSON =+ Data.withObject+ "RemoveTargetsResultEntry"+ ( \x ->+ RemoveTargetsResultEntry'+ Prelude.<$> (x Data..:? "ErrorCode")+ Prelude.<*> (x Data..:? "ErrorMessage")+ Prelude.<*> (x Data..:? "TargetId")+ )++instance Prelude.Hashable RemoveTargetsResultEntry where+ hashWithSalt _salt RemoveTargetsResultEntry' {..} =+ _salt+ `Prelude.hashWithSalt` errorCode+ `Prelude.hashWithSalt` errorMessage+ `Prelude.hashWithSalt` targetId++instance Prelude.NFData RemoveTargetsResultEntry where+ rnf RemoveTargetsResultEntry' {..} =+ Prelude.rnf errorCode+ `Prelude.seq` Prelude.rnf errorMessage+ `Prelude.seq` Prelude.rnf targetId
+ gen/Amazonka/CloudWatchEvents/Types/Replay.hs view
@@ -0,0 +1,178 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Replay+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Replay where++import Amazonka.CloudWatchEvents.Types.ReplayState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A @Replay@ object that contains details about a replay.+--+-- /See:/ 'newReplay' smart constructor.+data Replay = Replay'+ { -- | A time stamp for the time to start replaying events. Any event with a+ -- creation time prior to the @EventEndTime@ specified is replayed.+ eventEndTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the last event was replayed.+ eventLastReplayedTime :: Prelude.Maybe Data.POSIX,+ -- | The ARN of the archive to replay event from.+ eventSourceArn :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time to start replaying events. This is determined+ -- by the time in the event as described in+ -- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html#eventbridge-Type-PutEventsRequestEntry-Time Time>.+ eventStartTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the replay completed.+ replayEndTime :: Prelude.Maybe Data.POSIX,+ -- | The name of the replay.+ replayName :: Prelude.Maybe Prelude.Text,+ -- | A time stamp for the time that the replay started.+ replayStartTime :: Prelude.Maybe Data.POSIX,+ -- | The current state of the replay.+ state :: Prelude.Maybe ReplayState,+ -- | A description of why the replay is in the current state.+ stateReason :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Replay' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eventEndTime', 'replay_eventEndTime' - A time stamp for the time to start replaying events. Any event with a+-- creation time prior to the @EventEndTime@ specified is replayed.+--+-- 'eventLastReplayedTime', 'replay_eventLastReplayedTime' - A time stamp for the time that the last event was replayed.+--+-- 'eventSourceArn', 'replay_eventSourceArn' - The ARN of the archive to replay event from.+--+-- 'eventStartTime', 'replay_eventStartTime' - A time stamp for the time to start replaying events. This is determined+-- by the time in the event as described in+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html#eventbridge-Type-PutEventsRequestEntry-Time Time>.+--+-- 'replayEndTime', 'replay_replayEndTime' - A time stamp for the time that the replay completed.+--+-- 'replayName', 'replay_replayName' - The name of the replay.+--+-- 'replayStartTime', 'replay_replayStartTime' - A time stamp for the time that the replay started.+--+-- 'state', 'replay_state' - The current state of the replay.+--+-- 'stateReason', 'replay_stateReason' - A description of why the replay is in the current state.+newReplay ::+ Replay+newReplay =+ Replay'+ { eventEndTime = Prelude.Nothing,+ eventLastReplayedTime = Prelude.Nothing,+ eventSourceArn = Prelude.Nothing,+ eventStartTime = Prelude.Nothing,+ replayEndTime = Prelude.Nothing,+ replayName = Prelude.Nothing,+ replayStartTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing+ }++-- | A time stamp for the time to start replaying events. Any event with a+-- creation time prior to the @EventEndTime@ specified is replayed.+replay_eventEndTime :: Lens.Lens' Replay (Prelude.Maybe Prelude.UTCTime)+replay_eventEndTime = Lens.lens (\Replay' {eventEndTime} -> eventEndTime) (\s@Replay' {} a -> s {eventEndTime = a} :: Replay) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the last event was replayed.+replay_eventLastReplayedTime :: Lens.Lens' Replay (Prelude.Maybe Prelude.UTCTime)+replay_eventLastReplayedTime = Lens.lens (\Replay' {eventLastReplayedTime} -> eventLastReplayedTime) (\s@Replay' {} a -> s {eventLastReplayedTime = a} :: Replay) Prelude.. Lens.mapping Data._Time++-- | The ARN of the archive to replay event from.+replay_eventSourceArn :: Lens.Lens' Replay (Prelude.Maybe Prelude.Text)+replay_eventSourceArn = Lens.lens (\Replay' {eventSourceArn} -> eventSourceArn) (\s@Replay' {} a -> s {eventSourceArn = a} :: Replay)++-- | A time stamp for the time to start replaying events. This is determined+-- by the time in the event as described in+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEventsRequestEntry.html#eventbridge-Type-PutEventsRequestEntry-Time Time>.+replay_eventStartTime :: Lens.Lens' Replay (Prelude.Maybe Prelude.UTCTime)+replay_eventStartTime = Lens.lens (\Replay' {eventStartTime} -> eventStartTime) (\s@Replay' {} a -> s {eventStartTime = a} :: Replay) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the replay completed.+replay_replayEndTime :: Lens.Lens' Replay (Prelude.Maybe Prelude.UTCTime)+replay_replayEndTime = Lens.lens (\Replay' {replayEndTime} -> replayEndTime) (\s@Replay' {} a -> s {replayEndTime = a} :: Replay) Prelude.. Lens.mapping Data._Time++-- | The name of the replay.+replay_replayName :: Lens.Lens' Replay (Prelude.Maybe Prelude.Text)+replay_replayName = Lens.lens (\Replay' {replayName} -> replayName) (\s@Replay' {} a -> s {replayName = a} :: Replay)++-- | A time stamp for the time that the replay started.+replay_replayStartTime :: Lens.Lens' Replay (Prelude.Maybe Prelude.UTCTime)+replay_replayStartTime = Lens.lens (\Replay' {replayStartTime} -> replayStartTime) (\s@Replay' {} a -> s {replayStartTime = a} :: Replay) Prelude.. Lens.mapping Data._Time++-- | The current state of the replay.+replay_state :: Lens.Lens' Replay (Prelude.Maybe ReplayState)+replay_state = Lens.lens (\Replay' {state} -> state) (\s@Replay' {} a -> s {state = a} :: Replay)++-- | A description of why the replay is in the current state.+replay_stateReason :: Lens.Lens' Replay (Prelude.Maybe Prelude.Text)+replay_stateReason = Lens.lens (\Replay' {stateReason} -> stateReason) (\s@Replay' {} a -> s {stateReason = a} :: Replay)++instance Data.FromJSON Replay where+ parseJSON =+ Data.withObject+ "Replay"+ ( \x ->+ Replay'+ Prelude.<$> (x Data..:? "EventEndTime")+ Prelude.<*> (x Data..:? "EventLastReplayedTime")+ Prelude.<*> (x Data..:? "EventSourceArn")+ Prelude.<*> (x Data..:? "EventStartTime")+ Prelude.<*> (x Data..:? "ReplayEndTime")+ Prelude.<*> (x Data..:? "ReplayName")+ Prelude.<*> (x Data..:? "ReplayStartTime")+ Prelude.<*> (x Data..:? "State")+ Prelude.<*> (x Data..:? "StateReason")+ )++instance Prelude.Hashable Replay where+ hashWithSalt _salt Replay' {..} =+ _salt+ `Prelude.hashWithSalt` eventEndTime+ `Prelude.hashWithSalt` eventLastReplayedTime+ `Prelude.hashWithSalt` eventSourceArn+ `Prelude.hashWithSalt` eventStartTime+ `Prelude.hashWithSalt` replayEndTime+ `Prelude.hashWithSalt` replayName+ `Prelude.hashWithSalt` replayStartTime+ `Prelude.hashWithSalt` state+ `Prelude.hashWithSalt` stateReason++instance Prelude.NFData Replay where+ rnf Replay' {..} =+ Prelude.rnf eventEndTime+ `Prelude.seq` Prelude.rnf eventLastReplayedTime+ `Prelude.seq` Prelude.rnf eventSourceArn+ `Prelude.seq` Prelude.rnf eventStartTime+ `Prelude.seq` Prelude.rnf replayEndTime+ `Prelude.seq` Prelude.rnf replayName+ `Prelude.seq` Prelude.rnf replayStartTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason
+ gen/Amazonka/CloudWatchEvents/Types/ReplayDestination.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ReplayDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ReplayDestination where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A @ReplayDestination@ object that contains details about a replay.+--+-- /See:/ 'newReplayDestination' smart constructor.+data ReplayDestination = ReplayDestination'+ { -- | A list of ARNs for rules to replay events to.+ filterArns :: Prelude.Maybe [Prelude.Text],+ -- | The ARN of the event bus to replay event to. You can replay events only+ -- to the event bus specified to create the archive.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ReplayDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filterArns', 'replayDestination_filterArns' - A list of ARNs for rules to replay events to.+--+-- 'arn', 'replayDestination_arn' - The ARN of the event bus to replay event to. You can replay events only+-- to the event bus specified to create the archive.+newReplayDestination ::+ -- | 'arn'+ Prelude.Text ->+ ReplayDestination+newReplayDestination pArn_ =+ ReplayDestination'+ { filterArns = Prelude.Nothing,+ arn = pArn_+ }++-- | A list of ARNs for rules to replay events to.+replayDestination_filterArns :: Lens.Lens' ReplayDestination (Prelude.Maybe [Prelude.Text])+replayDestination_filterArns = Lens.lens (\ReplayDestination' {filterArns} -> filterArns) (\s@ReplayDestination' {} a -> s {filterArns = a} :: ReplayDestination) Prelude.. Lens.mapping Lens.coerced++-- | The ARN of the event bus to replay event to. You can replay events only+-- to the event bus specified to create the archive.+replayDestination_arn :: Lens.Lens' ReplayDestination Prelude.Text+replayDestination_arn = Lens.lens (\ReplayDestination' {arn} -> arn) (\s@ReplayDestination' {} a -> s {arn = a} :: ReplayDestination)++instance Data.FromJSON ReplayDestination where+ parseJSON =+ Data.withObject+ "ReplayDestination"+ ( \x ->+ ReplayDestination'+ Prelude.<$> (x Data..:? "FilterArns" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..: "Arn")+ )++instance Prelude.Hashable ReplayDestination where+ hashWithSalt _salt ReplayDestination' {..} =+ _salt+ `Prelude.hashWithSalt` filterArns+ `Prelude.hashWithSalt` arn++instance Prelude.NFData ReplayDestination where+ rnf ReplayDestination' {..} =+ Prelude.rnf filterArns+ `Prelude.seq` Prelude.rnf arn++instance Data.ToJSON ReplayDestination where+ toJSON ReplayDestination' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("FilterArns" Data..=) Prelude.<$> filterArns,+ Prelude.Just ("Arn" Data..= arn)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ReplayState.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ReplayState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ReplayState+ ( ReplayState+ ( ..,+ ReplayState_CANCELLED,+ ReplayState_CANCELLING,+ ReplayState_COMPLETED,+ ReplayState_FAILED,+ ReplayState_RUNNING,+ ReplayState_STARTING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ReplayState = ReplayState'+ { fromReplayState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ReplayState_CANCELLED :: ReplayState+pattern ReplayState_CANCELLED = ReplayState' "CANCELLED"++pattern ReplayState_CANCELLING :: ReplayState+pattern ReplayState_CANCELLING = ReplayState' "CANCELLING"++pattern ReplayState_COMPLETED :: ReplayState+pattern ReplayState_COMPLETED = ReplayState' "COMPLETED"++pattern ReplayState_FAILED :: ReplayState+pattern ReplayState_FAILED = ReplayState' "FAILED"++pattern ReplayState_RUNNING :: ReplayState+pattern ReplayState_RUNNING = ReplayState' "RUNNING"++pattern ReplayState_STARTING :: ReplayState+pattern ReplayState_STARTING = ReplayState' "STARTING"++{-# COMPLETE+ ReplayState_CANCELLED,+ ReplayState_CANCELLING,+ ReplayState_COMPLETED,+ ReplayState_FAILED,+ ReplayState_RUNNING,+ ReplayState_STARTING,+ ReplayState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/ReplicationConfig.hs view
@@ -0,0 +1,75 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ReplicationConfig+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ReplicationConfig where++import Amazonka.CloudWatchEvents.Types.ReplicationState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Endpoints can replicate all events to the secondary Region.+--+-- /See:/ 'newReplicationConfig' smart constructor.+data ReplicationConfig = ReplicationConfig'+ { -- | The state of event replication.+ state :: Prelude.Maybe ReplicationState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ReplicationConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'state', 'replicationConfig_state' - The state of event replication.+newReplicationConfig ::+ ReplicationConfig+newReplicationConfig =+ ReplicationConfig' {state = Prelude.Nothing}++-- | The state of event replication.+replicationConfig_state :: Lens.Lens' ReplicationConfig (Prelude.Maybe ReplicationState)+replicationConfig_state = Lens.lens (\ReplicationConfig' {state} -> state) (\s@ReplicationConfig' {} a -> s {state = a} :: ReplicationConfig)++instance Data.FromJSON ReplicationConfig where+ parseJSON =+ Data.withObject+ "ReplicationConfig"+ ( \x ->+ ReplicationConfig' Prelude.<$> (x Data..:? "State")+ )++instance Prelude.Hashable ReplicationConfig where+ hashWithSalt _salt ReplicationConfig' {..} =+ _salt `Prelude.hashWithSalt` state++instance Prelude.NFData ReplicationConfig where+ rnf ReplicationConfig' {..} = Prelude.rnf state++instance Data.ToJSON ReplicationConfig where+ toJSON ReplicationConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [("State" Data..=) Prelude.<$> state]+ )
+ gen/Amazonka/CloudWatchEvents/Types/ReplicationState.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.ReplicationState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.ReplicationState+ ( ReplicationState+ ( ..,+ ReplicationState_DISABLED,+ ReplicationState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ReplicationState = ReplicationState'+ { fromReplicationState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ReplicationState_DISABLED :: ReplicationState+pattern ReplicationState_DISABLED = ReplicationState' "DISABLED"++pattern ReplicationState_ENABLED :: ReplicationState+pattern ReplicationState_ENABLED = ReplicationState' "ENABLED"++{-# COMPLETE+ ReplicationState_DISABLED,+ ReplicationState_ENABLED,+ ReplicationState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/RetryPolicy.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RetryPolicy+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RetryPolicy where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A @RetryPolicy@ object that includes information about the retry policy+-- settings.+--+-- /See:/ 'newRetryPolicy' smart constructor.+data RetryPolicy = RetryPolicy'+ { -- | The maximum amount of time, in seconds, to continue to make retry+ -- attempts.+ maximumEventAgeInSeconds :: Prelude.Maybe Prelude.Natural,+ -- | The maximum number of retry attempts to make before the request fails.+ -- Retry attempts continue until either the maximum number of attempts is+ -- made or until the duration of the @MaximumEventAgeInSeconds@ is met.+ maximumRetryAttempts :: Prelude.Maybe Prelude.Natural+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RetryPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maximumEventAgeInSeconds', 'retryPolicy_maximumEventAgeInSeconds' - The maximum amount of time, in seconds, to continue to make retry+-- attempts.+--+-- 'maximumRetryAttempts', 'retryPolicy_maximumRetryAttempts' - The maximum number of retry attempts to make before the request fails.+-- Retry attempts continue until either the maximum number of attempts is+-- made or until the duration of the @MaximumEventAgeInSeconds@ is met.+newRetryPolicy ::+ RetryPolicy+newRetryPolicy =+ RetryPolicy'+ { maximumEventAgeInSeconds =+ Prelude.Nothing,+ maximumRetryAttempts = Prelude.Nothing+ }++-- | The maximum amount of time, in seconds, to continue to make retry+-- attempts.+retryPolicy_maximumEventAgeInSeconds :: Lens.Lens' RetryPolicy (Prelude.Maybe Prelude.Natural)+retryPolicy_maximumEventAgeInSeconds = Lens.lens (\RetryPolicy' {maximumEventAgeInSeconds} -> maximumEventAgeInSeconds) (\s@RetryPolicy' {} a -> s {maximumEventAgeInSeconds = a} :: RetryPolicy)++-- | The maximum number of retry attempts to make before the request fails.+-- Retry attempts continue until either the maximum number of attempts is+-- made or until the duration of the @MaximumEventAgeInSeconds@ is met.+retryPolicy_maximumRetryAttempts :: Lens.Lens' RetryPolicy (Prelude.Maybe Prelude.Natural)+retryPolicy_maximumRetryAttempts = Lens.lens (\RetryPolicy' {maximumRetryAttempts} -> maximumRetryAttempts) (\s@RetryPolicy' {} a -> s {maximumRetryAttempts = a} :: RetryPolicy)++instance Data.FromJSON RetryPolicy where+ parseJSON =+ Data.withObject+ "RetryPolicy"+ ( \x ->+ RetryPolicy'+ Prelude.<$> (x Data..:? "MaximumEventAgeInSeconds")+ Prelude.<*> (x Data..:? "MaximumRetryAttempts")+ )++instance Prelude.Hashable RetryPolicy where+ hashWithSalt _salt RetryPolicy' {..} =+ _salt+ `Prelude.hashWithSalt` maximumEventAgeInSeconds+ `Prelude.hashWithSalt` maximumRetryAttempts++instance Prelude.NFData RetryPolicy where+ rnf RetryPolicy' {..} =+ Prelude.rnf maximumEventAgeInSeconds+ `Prelude.seq` Prelude.rnf maximumRetryAttempts++instance Data.ToJSON RetryPolicy where+ toJSON RetryPolicy' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaximumEventAgeInSeconds" Data..=)+ Prelude.<$> maximumEventAgeInSeconds,+ ("MaximumRetryAttempts" Data..=)+ Prelude.<$> maximumRetryAttempts+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/RoutingConfig.hs view
@@ -0,0 +1,83 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RoutingConfig+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RoutingConfig where++import Amazonka.CloudWatchEvents.Types.FailoverConfig+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The routing configuration of the endpoint.+--+-- /See:/ 'newRoutingConfig' smart constructor.+data RoutingConfig = RoutingConfig'+ { -- | The failover configuration for an endpoint. This includes what triggers+ -- failover and what happens when it\'s triggered.+ failoverConfig :: FailoverConfig+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RoutingConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failoverConfig', 'routingConfig_failoverConfig' - The failover configuration for an endpoint. This includes what triggers+-- failover and what happens when it\'s triggered.+newRoutingConfig ::+ -- | 'failoverConfig'+ FailoverConfig ->+ RoutingConfig+newRoutingConfig pFailoverConfig_ =+ RoutingConfig' {failoverConfig = pFailoverConfig_}++-- | The failover configuration for an endpoint. This includes what triggers+-- failover and what happens when it\'s triggered.+routingConfig_failoverConfig :: Lens.Lens' RoutingConfig FailoverConfig+routingConfig_failoverConfig = Lens.lens (\RoutingConfig' {failoverConfig} -> failoverConfig) (\s@RoutingConfig' {} a -> s {failoverConfig = a} :: RoutingConfig)++instance Data.FromJSON RoutingConfig where+ parseJSON =+ Data.withObject+ "RoutingConfig"+ ( \x ->+ RoutingConfig'+ Prelude.<$> (x Data..: "FailoverConfig")+ )++instance Prelude.Hashable RoutingConfig where+ hashWithSalt _salt RoutingConfig' {..} =+ _salt `Prelude.hashWithSalt` failoverConfig++instance Prelude.NFData RoutingConfig where+ rnf RoutingConfig' {..} = Prelude.rnf failoverConfig++instance Data.ToJSON RoutingConfig where+ toJSON RoutingConfig' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("FailoverConfig" Data..= failoverConfig)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Rule.hs view
@@ -0,0 +1,211 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Rule+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Rule where++import Amazonka.CloudWatchEvents.Types.RuleState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a rule in Amazon EventBridge.+--+-- /See:/ 'newRule' smart constructor.+data Rule = Rule'+ { -- | The Amazon Resource Name (ARN) of the rule.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The description of the rule.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name or ARN of the event bus associated with the rule. If you omit+ -- this, the default event bus is used.+ eventBusName :: Prelude.Maybe Prelude.Text,+ -- | The event pattern of the rule. For more information, see+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+ -- in the /Amazon EventBridge User Guide/.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | If the rule was created on behalf of your account by an Amazon Web+ -- Services service, this field displays the principal name of the service+ -- that created the rule.+ managedBy :: Prelude.Maybe Prelude.Text,+ -- | The name of the rule.+ name :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the role that is used for target+ -- invocation.+ --+ -- If you\'re setting an event bus in another account as the target and+ -- that account granted permission to your account through an organization+ -- instead of directly by the account ID, you must specify a @RoleArn@ with+ -- proper permissions in the @Target@ structure, instead of here in this+ -- parameter.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+ -- minutes)\". For more information, see+ -- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html Creating an Amazon EventBridge rule that runs on a schedule>.+ scheduleExpression :: Prelude.Maybe Prelude.Text,+ -- | The state of the rule.+ state :: Prelude.Maybe RuleState+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Rule' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'rule_arn' - The Amazon Resource Name (ARN) of the rule.+--+-- 'description', 'rule_description' - The description of the rule.+--+-- 'eventBusName', 'rule_eventBusName' - The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+--+-- 'eventPattern', 'rule_eventPattern' - The event pattern of the rule. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+--+-- 'managedBy', 'rule_managedBy' - If the rule was created on behalf of your account by an Amazon Web+-- Services service, this field displays the principal name of the service+-- that created the rule.+--+-- 'name', 'rule_name' - The name of the rule.+--+-- 'roleArn', 'rule_roleArn' - The Amazon Resource Name (ARN) of the role that is used for target+-- invocation.+--+-- If you\'re setting an event bus in another account as the target and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, you must specify a @RoleArn@ with+-- proper permissions in the @Target@ structure, instead of here in this+-- parameter.+--+-- 'scheduleExpression', 'rule_scheduleExpression' - The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+-- minutes)\". For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html Creating an Amazon EventBridge rule that runs on a schedule>.+--+-- 'state', 'rule_state' - The state of the rule.+newRule ::+ Rule+newRule =+ Rule'+ { arn = Prelude.Nothing,+ description = Prelude.Nothing,+ eventBusName = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ managedBy = Prelude.Nothing,+ name = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ scheduleExpression = Prelude.Nothing,+ state = Prelude.Nothing+ }++-- | The Amazon Resource Name (ARN) of the rule.+rule_arn :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_arn = Lens.lens (\Rule' {arn} -> arn) (\s@Rule' {} a -> s {arn = a} :: Rule)++-- | The description of the rule.+rule_description :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_description = Lens.lens (\Rule' {description} -> description) (\s@Rule' {} a -> s {description = a} :: Rule)++-- | The name or ARN of the event bus associated with the rule. If you omit+-- this, the default event bus is used.+rule_eventBusName :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_eventBusName = Lens.lens (\Rule' {eventBusName} -> eventBusName) (\s@Rule' {} a -> s {eventBusName = a} :: Rule)++-- | The event pattern of the rule. For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html Events and Event Patterns>+-- in the /Amazon EventBridge User Guide/.+rule_eventPattern :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_eventPattern = Lens.lens (\Rule' {eventPattern} -> eventPattern) (\s@Rule' {} a -> s {eventPattern = a} :: Rule)++-- | If the rule was created on behalf of your account by an Amazon Web+-- Services service, this field displays the principal name of the service+-- that created the rule.+rule_managedBy :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_managedBy = Lens.lens (\Rule' {managedBy} -> managedBy) (\s@Rule' {} a -> s {managedBy = a} :: Rule)++-- | The name of the rule.+rule_name :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_name = Lens.lens (\Rule' {name} -> name) (\s@Rule' {} a -> s {name = a} :: Rule)++-- | The Amazon Resource Name (ARN) of the role that is used for target+-- invocation.+--+-- If you\'re setting an event bus in another account as the target and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, you must specify a @RoleArn@ with+-- proper permissions in the @Target@ structure, instead of here in this+-- parameter.+rule_roleArn :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_roleArn = Lens.lens (\Rule' {roleArn} -> roleArn) (\s@Rule' {} a -> s {roleArn = a} :: Rule)++-- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5+-- minutes)\". For more information, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html Creating an Amazon EventBridge rule that runs on a schedule>.+rule_scheduleExpression :: Lens.Lens' Rule (Prelude.Maybe Prelude.Text)+rule_scheduleExpression = Lens.lens (\Rule' {scheduleExpression} -> scheduleExpression) (\s@Rule' {} a -> s {scheduleExpression = a} :: Rule)++-- | The state of the rule.+rule_state :: Lens.Lens' Rule (Prelude.Maybe RuleState)+rule_state = Lens.lens (\Rule' {state} -> state) (\s@Rule' {} a -> s {state = a} :: Rule)++instance Data.FromJSON Rule where+ parseJSON =+ Data.withObject+ "Rule"+ ( \x ->+ Rule'+ Prelude.<$> (x Data..:? "Arn")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "EventBusName")+ Prelude.<*> (x Data..:? "EventPattern")+ Prelude.<*> (x Data..:? "ManagedBy")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "RoleArn")+ Prelude.<*> (x Data..:? "ScheduleExpression")+ Prelude.<*> (x Data..:? "State")+ )++instance Prelude.Hashable Rule where+ hashWithSalt _salt Rule' {..} =+ _salt+ `Prelude.hashWithSalt` arn+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` eventBusName+ `Prelude.hashWithSalt` eventPattern+ `Prelude.hashWithSalt` managedBy+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` scheduleExpression+ `Prelude.hashWithSalt` state++instance Prelude.NFData Rule where+ rnf Rule' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventBusName+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf managedBy+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf scheduleExpression+ `Prelude.seq` Prelude.rnf state
+ gen/Amazonka/CloudWatchEvents/Types/RuleState.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RuleState+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RuleState+ ( RuleState+ ( ..,+ RuleState_DISABLED,+ RuleState_ENABLED+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype RuleState = RuleState'+ { fromRuleState ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern RuleState_DISABLED :: RuleState+pattern RuleState_DISABLED = RuleState' "DISABLED"++pattern RuleState_ENABLED :: RuleState+pattern RuleState_ENABLED = RuleState' "ENABLED"++{-# COMPLETE+ RuleState_DISABLED,+ RuleState_ENABLED,+ RuleState'+ #-}
+ gen/Amazonka/CloudWatchEvents/Types/RunCommandParameters.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RunCommandParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RunCommandParameters where++import Amazonka.CloudWatchEvents.Types.RunCommandTarget+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This parameter contains the criteria (either InstanceIds or a tag) used+-- to specify which EC2 instances are to be sent the command.+--+-- /See:/ 'newRunCommandParameters' smart constructor.+data RunCommandParameters = RunCommandParameters'+ { -- | Currently, we support including only one RunCommandTarget block, which+ -- specifies either an array of InstanceIds or a tag.+ runCommandTargets :: Prelude.NonEmpty RunCommandTarget+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RunCommandParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'runCommandTargets', 'runCommandParameters_runCommandTargets' - Currently, we support including only one RunCommandTarget block, which+-- specifies either an array of InstanceIds or a tag.+newRunCommandParameters ::+ -- | 'runCommandTargets'+ Prelude.NonEmpty RunCommandTarget ->+ RunCommandParameters+newRunCommandParameters pRunCommandTargets_ =+ RunCommandParameters'+ { runCommandTargets =+ Lens.coerced Lens.# pRunCommandTargets_+ }++-- | Currently, we support including only one RunCommandTarget block, which+-- specifies either an array of InstanceIds or a tag.+runCommandParameters_runCommandTargets :: Lens.Lens' RunCommandParameters (Prelude.NonEmpty RunCommandTarget)+runCommandParameters_runCommandTargets = Lens.lens (\RunCommandParameters' {runCommandTargets} -> runCommandTargets) (\s@RunCommandParameters' {} a -> s {runCommandTargets = a} :: RunCommandParameters) Prelude.. Lens.coerced++instance Data.FromJSON RunCommandParameters where+ parseJSON =+ Data.withObject+ "RunCommandParameters"+ ( \x ->+ RunCommandParameters'+ Prelude.<$> (x Data..: "RunCommandTargets")+ )++instance Prelude.Hashable RunCommandParameters where+ hashWithSalt _salt RunCommandParameters' {..} =+ _salt `Prelude.hashWithSalt` runCommandTargets++instance Prelude.NFData RunCommandParameters where+ rnf RunCommandParameters' {..} =+ Prelude.rnf runCommandTargets++instance Data.ToJSON RunCommandParameters where+ toJSON RunCommandParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("RunCommandTargets" Data..= runCommandTargets)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/RunCommandTarget.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.RunCommandTarget+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.RunCommandTarget where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Information about the EC2 instances that are to be sent the command,+-- specified as key-value pairs. Each @RunCommandTarget@ block can include+-- only one key, but this key may specify multiple values.+--+-- /See:/ 'newRunCommandTarget' smart constructor.+data RunCommandTarget = RunCommandTarget'+ { -- | Can be either @tag:@ /tag-key/ or @InstanceIds@.+ key :: Prelude.Text,+ -- | If @Key@ is @tag:@ /tag-key/, @Values@ is a list of tag values. If @Key@+ -- is @InstanceIds@, @Values@ is a list of Amazon EC2 instance IDs.+ values :: Prelude.NonEmpty Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RunCommandTarget' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'runCommandTarget_key' - Can be either @tag:@ /tag-key/ or @InstanceIds@.+--+-- 'values', 'runCommandTarget_values' - If @Key@ is @tag:@ /tag-key/, @Values@ is a list of tag values. If @Key@+-- is @InstanceIds@, @Values@ is a list of Amazon EC2 instance IDs.+newRunCommandTarget ::+ -- | 'key'+ Prelude.Text ->+ -- | 'values'+ Prelude.NonEmpty Prelude.Text ->+ RunCommandTarget+newRunCommandTarget pKey_ pValues_ =+ RunCommandTarget'+ { key = pKey_,+ values = Lens.coerced Lens.# pValues_+ }++-- | Can be either @tag:@ /tag-key/ or @InstanceIds@.+runCommandTarget_key :: Lens.Lens' RunCommandTarget Prelude.Text+runCommandTarget_key = Lens.lens (\RunCommandTarget' {key} -> key) (\s@RunCommandTarget' {} a -> s {key = a} :: RunCommandTarget)++-- | If @Key@ is @tag:@ /tag-key/, @Values@ is a list of tag values. If @Key@+-- is @InstanceIds@, @Values@ is a list of Amazon EC2 instance IDs.+runCommandTarget_values :: Lens.Lens' RunCommandTarget (Prelude.NonEmpty Prelude.Text)+runCommandTarget_values = Lens.lens (\RunCommandTarget' {values} -> values) (\s@RunCommandTarget' {} a -> s {values = a} :: RunCommandTarget) Prelude.. Lens.coerced++instance Data.FromJSON RunCommandTarget where+ parseJSON =+ Data.withObject+ "RunCommandTarget"+ ( \x ->+ RunCommandTarget'+ Prelude.<$> (x Data..: "Key")+ Prelude.<*> (x Data..: "Values")+ )++instance Prelude.Hashable RunCommandTarget where+ hashWithSalt _salt RunCommandTarget' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` values++instance Prelude.NFData RunCommandTarget where+ rnf RunCommandTarget' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf values++instance Data.ToJSON RunCommandTarget where+ toJSON RunCommandTarget' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Key" Data..= key),+ Prelude.Just ("Values" Data..= values)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/SageMakerPipelineParameter.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Name\/Value pair of a parameter to start execution of a SageMaker Model+-- Building Pipeline.+--+-- /See:/ 'newSageMakerPipelineParameter' smart constructor.+data SageMakerPipelineParameter = SageMakerPipelineParameter'+ { -- | Name of parameter to start execution of a SageMaker Model Building+ -- Pipeline.+ name :: Prelude.Text,+ -- | Value of parameter to start execution of a SageMaker Model Building+ -- Pipeline.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SageMakerPipelineParameter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'sageMakerPipelineParameter_name' - Name of parameter to start execution of a SageMaker Model Building+-- Pipeline.+--+-- 'value', 'sageMakerPipelineParameter_value' - Value of parameter to start execution of a SageMaker Model Building+-- Pipeline.+newSageMakerPipelineParameter ::+ -- | 'name'+ Prelude.Text ->+ -- | 'value'+ Prelude.Text ->+ SageMakerPipelineParameter+newSageMakerPipelineParameter pName_ pValue_ =+ SageMakerPipelineParameter'+ { name = pName_,+ value = pValue_+ }++-- | Name of parameter to start execution of a SageMaker Model Building+-- Pipeline.+sageMakerPipelineParameter_name :: Lens.Lens' SageMakerPipelineParameter Prelude.Text+sageMakerPipelineParameter_name = Lens.lens (\SageMakerPipelineParameter' {name} -> name) (\s@SageMakerPipelineParameter' {} a -> s {name = a} :: SageMakerPipelineParameter)++-- | Value of parameter to start execution of a SageMaker Model Building+-- Pipeline.+sageMakerPipelineParameter_value :: Lens.Lens' SageMakerPipelineParameter Prelude.Text+sageMakerPipelineParameter_value = Lens.lens (\SageMakerPipelineParameter' {value} -> value) (\s@SageMakerPipelineParameter' {} a -> s {value = a} :: SageMakerPipelineParameter)++instance Data.FromJSON SageMakerPipelineParameter where+ parseJSON =+ Data.withObject+ "SageMakerPipelineParameter"+ ( \x ->+ SageMakerPipelineParameter'+ Prelude.<$> (x Data..: "Name")+ Prelude.<*> (x Data..: "Value")+ )++instance Prelude.Hashable SageMakerPipelineParameter where+ hashWithSalt _salt SageMakerPipelineParameter' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData SageMakerPipelineParameter where+ rnf SageMakerPipelineParameter' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON SageMakerPipelineParameter where+ toJSON SageMakerPipelineParameter' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Name" Data..= name),+ Prelude.Just ("Value" Data..= value)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/SageMakerPipelineParameters.hs view
@@ -0,0 +1,89 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters where++import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameter+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | These are custom parameters to use when the target is a SageMaker Model+-- Building Pipeline that starts based on EventBridge events.+--+-- /See:/ 'newSageMakerPipelineParameters' smart constructor.+data SageMakerPipelineParameters = SageMakerPipelineParameters'+ { -- | List of Parameter names and values for SageMaker Model Building Pipeline+ -- execution.+ pipelineParameterList :: Prelude.Maybe [SageMakerPipelineParameter]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SageMakerPipelineParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'pipelineParameterList', 'sageMakerPipelineParameters_pipelineParameterList' - List of Parameter names and values for SageMaker Model Building Pipeline+-- execution.+newSageMakerPipelineParameters ::+ SageMakerPipelineParameters+newSageMakerPipelineParameters =+ SageMakerPipelineParameters'+ { pipelineParameterList =+ Prelude.Nothing+ }++-- | List of Parameter names and values for SageMaker Model Building Pipeline+-- execution.+sageMakerPipelineParameters_pipelineParameterList :: Lens.Lens' SageMakerPipelineParameters (Prelude.Maybe [SageMakerPipelineParameter])+sageMakerPipelineParameters_pipelineParameterList = Lens.lens (\SageMakerPipelineParameters' {pipelineParameterList} -> pipelineParameterList) (\s@SageMakerPipelineParameters' {} a -> s {pipelineParameterList = a} :: SageMakerPipelineParameters) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON SageMakerPipelineParameters where+ parseJSON =+ Data.withObject+ "SageMakerPipelineParameters"+ ( \x ->+ SageMakerPipelineParameters'+ Prelude.<$> ( x+ Data..:? "PipelineParameterList"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable SageMakerPipelineParameters where+ hashWithSalt _salt SageMakerPipelineParameters' {..} =+ _salt `Prelude.hashWithSalt` pipelineParameterList++instance Prelude.NFData SageMakerPipelineParameters where+ rnf SageMakerPipelineParameters' {..} =+ Prelude.rnf pipelineParameterList++instance Data.ToJSON SageMakerPipelineParameters where+ toJSON SageMakerPipelineParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("PipelineParameterList" Data..=)+ Prelude.<$> pipelineParameterList+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Secondary.hs view
@@ -0,0 +1,74 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Secondary+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Secondary where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The secondary Region that processes events when failover is triggered or+-- replication is enabled.+--+-- /See:/ 'newSecondary' smart constructor.+data Secondary = Secondary'+ { -- | Defines the secondary Region.+ route :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Secondary' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'route', 'secondary_route' - Defines the secondary Region.+newSecondary ::+ -- | 'route'+ Prelude.Text ->+ Secondary+newSecondary pRoute_ = Secondary' {route = pRoute_}++-- | Defines the secondary Region.+secondary_route :: Lens.Lens' Secondary Prelude.Text+secondary_route = Lens.lens (\Secondary' {route} -> route) (\s@Secondary' {} a -> s {route = a} :: Secondary)++instance Data.FromJSON Secondary where+ parseJSON =+ Data.withObject+ "Secondary"+ (\x -> Secondary' Prelude.<$> (x Data..: "Route"))++instance Prelude.Hashable Secondary where+ hashWithSalt _salt Secondary' {..} =+ _salt `Prelude.hashWithSalt` route++instance Prelude.NFData Secondary where+ rnf Secondary' {..} = Prelude.rnf route++instance Data.ToJSON Secondary where+ toJSON Secondary' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("Route" Data..= route)]+ )
+ gen/Amazonka/CloudWatchEvents/Types/SqsParameters.hs view
@@ -0,0 +1,78 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.SqsParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.SqsParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | This structure includes the custom parameter to be used when the target+-- is an SQS FIFO queue.+--+-- /See:/ 'newSqsParameters' smart constructor.+data SqsParameters = SqsParameters'+ { -- | The FIFO message group ID to use as the target.+ messageGroupId :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SqsParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'messageGroupId', 'sqsParameters_messageGroupId' - The FIFO message group ID to use as the target.+newSqsParameters ::+ SqsParameters+newSqsParameters =+ SqsParameters' {messageGroupId = Prelude.Nothing}++-- | The FIFO message group ID to use as the target.+sqsParameters_messageGroupId :: Lens.Lens' SqsParameters (Prelude.Maybe Prelude.Text)+sqsParameters_messageGroupId = Lens.lens (\SqsParameters' {messageGroupId} -> messageGroupId) (\s@SqsParameters' {} a -> s {messageGroupId = a} :: SqsParameters)++instance Data.FromJSON SqsParameters where+ parseJSON =+ Data.withObject+ "SqsParameters"+ ( \x ->+ SqsParameters'+ Prelude.<$> (x Data..:? "MessageGroupId")+ )++instance Prelude.Hashable SqsParameters where+ hashWithSalt _salt SqsParameters' {..} =+ _salt `Prelude.hashWithSalt` messageGroupId++instance Prelude.NFData SqsParameters where+ rnf SqsParameters' {..} = Prelude.rnf messageGroupId++instance Data.ToJSON SqsParameters where+ toJSON SqsParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MessageGroupId" Data..=)+ Prelude.<$> messageGroupId+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Tag.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A key-value pair associated with an Amazon Web Services resource. In+-- EventBridge, rules and event buses support tagging.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | A string you can use to assign a value. The combination of tag keys and+ -- values can help you organize and categorize your resources.+ key :: Prelude.Text,+ -- | The value for the specified tag key.+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - A string you can use to assign a value. The combination of tag keys and+-- values can help you organize and categorize your resources.+--+-- 'value', 'tag_value' - The value for the specified tag key.+newTag ::+ -- | 'key'+ Prelude.Text ->+ -- | 'value'+ Prelude.Text ->+ Tag+newTag pKey_ pValue_ =+ Tag' {key = pKey_, value = pValue_}++-- | A string you can use to assign a value. The combination of tag keys and+-- values can help you organize and categorize your resources.+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The value for the specified tag key.+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..: "Key")+ Prelude.<*> (x Data..: "Value")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+ toJSON Tag' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Key" Data..= key),+ Prelude.Just ("Value" Data..= value)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/Target.hs view
@@ -0,0 +1,440 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.Target+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.Target where++import Amazonka.CloudWatchEvents.Types.BatchParameters+import Amazonka.CloudWatchEvents.Types.DeadLetterConfig+import Amazonka.CloudWatchEvents.Types.EcsParameters+import Amazonka.CloudWatchEvents.Types.HttpParameters+import Amazonka.CloudWatchEvents.Types.InputTransformer+import Amazonka.CloudWatchEvents.Types.KinesisParameters+import Amazonka.CloudWatchEvents.Types.RedshiftDataParameters+import Amazonka.CloudWatchEvents.Types.RetryPolicy+import Amazonka.CloudWatchEvents.Types.RunCommandParameters+import Amazonka.CloudWatchEvents.Types.SageMakerPipelineParameters+import Amazonka.CloudWatchEvents.Types.SqsParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Targets are the resources to be invoked when a rule is triggered. For a+-- complete list of services and resources that can be set as a target, see+-- <https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutTargets.html PutTargets>.+--+-- If you are setting the event bus of another account as the target, and+-- that account granted permission to your account through an organization+-- instead of directly by the account ID, then you must specify a @RoleArn@+-- with proper permissions in the @Target@ structure. For more information,+-- see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html Sending and Receiving Events Between Amazon Web Services Accounts>+-- in the /Amazon EventBridge User Guide/.+--+-- /See:/ 'newTarget' smart constructor.+data Target = Target'+ { -- | If the event target is an Batch job, this contains the job definition,+ -- job name, and other parameters. For more information, see+ -- <https://docs.aws.amazon.com/batch/latest/userguide/jobs.html Jobs> in+ -- the /Batch User Guide/.+ batchParameters :: Prelude.Maybe BatchParameters,+ -- | The @DeadLetterConfig@ that defines the target queue to send dead-letter+ -- queue events to.+ deadLetterConfig :: Prelude.Maybe DeadLetterConfig,+ -- | Contains the Amazon ECS task definition and task count to be used, if+ -- the event target is an Amazon ECS task. For more information about+ -- Amazon ECS tasks, see+ -- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Task Definitions>+ -- in the /Amazon EC2 Container Service Developer Guide/.+ ecsParameters :: Prelude.Maybe EcsParameters,+ -- | Contains the HTTP parameters to use when the target is a API Gateway+ -- REST endpoint or EventBridge ApiDestination.+ --+ -- If you specify an API Gateway REST API or EventBridge ApiDestination as+ -- a target, you can use this parameter to specify headers, path+ -- parameters, and query string keys\/values as part of your target+ -- invoking request. If you\'re using ApiDestinations, the corresponding+ -- Connection can also have these values configured. In case of any+ -- conflicting keys, values from the Connection take precedence.+ httpParameters :: Prelude.Maybe HttpParameters,+ -- | Valid JSON text passed to the target. In this case, nothing from the+ -- event itself is passed to the target. For more information, see+ -- <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object Notation (JSON) Data Interchange Format>.+ input :: Prelude.Maybe Prelude.Text,+ -- | The value of the JSONPath that is used for extracting part of the+ -- matched event when passing it to the target. You must use JSON dot+ -- notation, not bracket notation. For more information about JSON paths,+ -- see <http://goessner.net/articles/JsonPath/ JSONPath>.+ inputPath :: Prelude.Maybe Prelude.Text,+ -- | Settings to enable you to provide custom input to a target based on+ -- certain event data. You can extract one or more key-value pairs from the+ -- event and then use that data to send customized input to the target.+ inputTransformer :: Prelude.Maybe InputTransformer,+ -- | The custom parameter you can use to control the shard assignment, when+ -- the target is a Kinesis data stream. If you do not include this+ -- parameter, the default is to use the @eventId@ as the partition key.+ kinesisParameters :: Prelude.Maybe KinesisParameters,+ -- | Contains the Amazon Redshift Data API parameters to use when the target+ -- is a Amazon Redshift cluster.+ --+ -- If you specify a Amazon Redshift Cluster as a Target, you can use this+ -- to specify parameters to invoke the Amazon Redshift Data API+ -- ExecuteStatement based on EventBridge events.+ redshiftDataParameters :: Prelude.Maybe RedshiftDataParameters,+ -- | The @RetryPolicy@ object that contains the retry policy configuration to+ -- use for the dead-letter queue.+ retryPolicy :: Prelude.Maybe RetryPolicy,+ -- | The Amazon Resource Name (ARN) of the IAM role to be used for this+ -- target when the rule is triggered. If one rule triggers multiple+ -- targets, you can use a different IAM role for each target.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | Parameters used when you are using the rule to invoke Amazon EC2 Run+ -- Command.+ runCommandParameters :: Prelude.Maybe RunCommandParameters,+ -- | Contains the SageMaker Model Building Pipeline parameters to start+ -- execution of a SageMaker Model Building Pipeline.+ --+ -- If you specify a SageMaker Model Building Pipeline as a target, you can+ -- use this to specify parameters to start a pipeline execution based on+ -- EventBridge events.+ sageMakerPipelineParameters :: Prelude.Maybe SageMakerPipelineParameters,+ -- | Contains the message group ID to use when the target is a FIFO queue.+ --+ -- If you specify an SQS FIFO queue as a target, the queue must have+ -- content-based deduplication enabled.+ sqsParameters :: Prelude.Maybe SqsParameters,+ -- | The ID of the target within the specified rule. Use this ID to reference+ -- the target when updating the rule. We recommend using a memorable and+ -- unique string.+ id :: Prelude.Text,+ -- | The Amazon Resource Name (ARN) of the target.+ arn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Target' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchParameters', 'target_batchParameters' - If the event target is an Batch job, this contains the job definition,+-- job name, and other parameters. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/jobs.html Jobs> in+-- the /Batch User Guide/.+--+-- 'deadLetterConfig', 'target_deadLetterConfig' - The @DeadLetterConfig@ that defines the target queue to send dead-letter+-- queue events to.+--+-- 'ecsParameters', 'target_ecsParameters' - Contains the Amazon ECS task definition and task count to be used, if+-- the event target is an Amazon ECS task. For more information about+-- Amazon ECS tasks, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Task Definitions>+-- in the /Amazon EC2 Container Service Developer Guide/.+--+-- 'httpParameters', 'target_httpParameters' - Contains the HTTP parameters to use when the target is a API Gateway+-- REST endpoint or EventBridge ApiDestination.+--+-- If you specify an API Gateway REST API or EventBridge ApiDestination as+-- a target, you can use this parameter to specify headers, path+-- parameters, and query string keys\/values as part of your target+-- invoking request. If you\'re using ApiDestinations, the corresponding+-- Connection can also have these values configured. In case of any+-- conflicting keys, values from the Connection take precedence.+--+-- 'input', 'target_input' - Valid JSON text passed to the target. In this case, nothing from the+-- event itself is passed to the target. For more information, see+-- <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object Notation (JSON) Data Interchange Format>.+--+-- 'inputPath', 'target_inputPath' - The value of the JSONPath that is used for extracting part of the+-- matched event when passing it to the target. You must use JSON dot+-- notation, not bracket notation. For more information about JSON paths,+-- see <http://goessner.net/articles/JsonPath/ JSONPath>.+--+-- 'inputTransformer', 'target_inputTransformer' - Settings to enable you to provide custom input to a target based on+-- certain event data. You can extract one or more key-value pairs from the+-- event and then use that data to send customized input to the target.+--+-- 'kinesisParameters', 'target_kinesisParameters' - The custom parameter you can use to control the shard assignment, when+-- the target is a Kinesis data stream. If you do not include this+-- parameter, the default is to use the @eventId@ as the partition key.+--+-- 'redshiftDataParameters', 'target_redshiftDataParameters' - Contains the Amazon Redshift Data API parameters to use when the target+-- is a Amazon Redshift cluster.+--+-- If you specify a Amazon Redshift Cluster as a Target, you can use this+-- to specify parameters to invoke the Amazon Redshift Data API+-- ExecuteStatement based on EventBridge events.+--+-- 'retryPolicy', 'target_retryPolicy' - The @RetryPolicy@ object that contains the retry policy configuration to+-- use for the dead-letter queue.+--+-- 'roleArn', 'target_roleArn' - The Amazon Resource Name (ARN) of the IAM role to be used for this+-- target when the rule is triggered. If one rule triggers multiple+-- targets, you can use a different IAM role for each target.+--+-- 'runCommandParameters', 'target_runCommandParameters' - Parameters used when you are using the rule to invoke Amazon EC2 Run+-- Command.+--+-- 'sageMakerPipelineParameters', 'target_sageMakerPipelineParameters' - Contains the SageMaker Model Building Pipeline parameters to start+-- execution of a SageMaker Model Building Pipeline.+--+-- If you specify a SageMaker Model Building Pipeline as a target, you can+-- use this to specify parameters to start a pipeline execution based on+-- EventBridge events.+--+-- 'sqsParameters', 'target_sqsParameters' - Contains the message group ID to use when the target is a FIFO queue.+--+-- If you specify an SQS FIFO queue as a target, the queue must have+-- content-based deduplication enabled.+--+-- 'id', 'target_id' - The ID of the target within the specified rule. Use this ID to reference+-- the target when updating the rule. We recommend using a memorable and+-- unique string.+--+-- 'arn', 'target_arn' - The Amazon Resource Name (ARN) of the target.+newTarget ::+ -- | 'id'+ Prelude.Text ->+ -- | 'arn'+ Prelude.Text ->+ Target+newTarget pId_ pArn_ =+ Target'+ { batchParameters = Prelude.Nothing,+ deadLetterConfig = Prelude.Nothing,+ ecsParameters = Prelude.Nothing,+ httpParameters = Prelude.Nothing,+ input = Prelude.Nothing,+ inputPath = Prelude.Nothing,+ inputTransformer = Prelude.Nothing,+ kinesisParameters = Prelude.Nothing,+ redshiftDataParameters = Prelude.Nothing,+ retryPolicy = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ runCommandParameters = Prelude.Nothing,+ sageMakerPipelineParameters = Prelude.Nothing,+ sqsParameters = Prelude.Nothing,+ id = pId_,+ arn = pArn_+ }++-- | If the event target is an Batch job, this contains the job definition,+-- job name, and other parameters. For more information, see+-- <https://docs.aws.amazon.com/batch/latest/userguide/jobs.html Jobs> in+-- the /Batch User Guide/.+target_batchParameters :: Lens.Lens' Target (Prelude.Maybe BatchParameters)+target_batchParameters = Lens.lens (\Target' {batchParameters} -> batchParameters) (\s@Target' {} a -> s {batchParameters = a} :: Target)++-- | The @DeadLetterConfig@ that defines the target queue to send dead-letter+-- queue events to.+target_deadLetterConfig :: Lens.Lens' Target (Prelude.Maybe DeadLetterConfig)+target_deadLetterConfig = Lens.lens (\Target' {deadLetterConfig} -> deadLetterConfig) (\s@Target' {} a -> s {deadLetterConfig = a} :: Target)++-- | Contains the Amazon ECS task definition and task count to be used, if+-- the event target is an Amazon ECS task. For more information about+-- Amazon ECS tasks, see+-- <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Task Definitions>+-- in the /Amazon EC2 Container Service Developer Guide/.+target_ecsParameters :: Lens.Lens' Target (Prelude.Maybe EcsParameters)+target_ecsParameters = Lens.lens (\Target' {ecsParameters} -> ecsParameters) (\s@Target' {} a -> s {ecsParameters = a} :: Target)++-- | Contains the HTTP parameters to use when the target is a API Gateway+-- REST endpoint or EventBridge ApiDestination.+--+-- If you specify an API Gateway REST API or EventBridge ApiDestination as+-- a target, you can use this parameter to specify headers, path+-- parameters, and query string keys\/values as part of your target+-- invoking request. If you\'re using ApiDestinations, the corresponding+-- Connection can also have these values configured. In case of any+-- conflicting keys, values from the Connection take precedence.+target_httpParameters :: Lens.Lens' Target (Prelude.Maybe HttpParameters)+target_httpParameters = Lens.lens (\Target' {httpParameters} -> httpParameters) (\s@Target' {} a -> s {httpParameters = a} :: Target)++-- | Valid JSON text passed to the target. In this case, nothing from the+-- event itself is passed to the target. For more information, see+-- <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object Notation (JSON) Data Interchange Format>.+target_input :: Lens.Lens' Target (Prelude.Maybe Prelude.Text)+target_input = Lens.lens (\Target' {input} -> input) (\s@Target' {} a -> s {input = a} :: Target)++-- | The value of the JSONPath that is used for extracting part of the+-- matched event when passing it to the target. You must use JSON dot+-- notation, not bracket notation. For more information about JSON paths,+-- see <http://goessner.net/articles/JsonPath/ JSONPath>.+target_inputPath :: Lens.Lens' Target (Prelude.Maybe Prelude.Text)+target_inputPath = Lens.lens (\Target' {inputPath} -> inputPath) (\s@Target' {} a -> s {inputPath = a} :: Target)++-- | Settings to enable you to provide custom input to a target based on+-- certain event data. You can extract one or more key-value pairs from the+-- event and then use that data to send customized input to the target.+target_inputTransformer :: Lens.Lens' Target (Prelude.Maybe InputTransformer)+target_inputTransformer = Lens.lens (\Target' {inputTransformer} -> inputTransformer) (\s@Target' {} a -> s {inputTransformer = a} :: Target)++-- | The custom parameter you can use to control the shard assignment, when+-- the target is a Kinesis data stream. If you do not include this+-- parameter, the default is to use the @eventId@ as the partition key.+target_kinesisParameters :: Lens.Lens' Target (Prelude.Maybe KinesisParameters)+target_kinesisParameters = Lens.lens (\Target' {kinesisParameters} -> kinesisParameters) (\s@Target' {} a -> s {kinesisParameters = a} :: Target)++-- | Contains the Amazon Redshift Data API parameters to use when the target+-- is a Amazon Redshift cluster.+--+-- If you specify a Amazon Redshift Cluster as a Target, you can use this+-- to specify parameters to invoke the Amazon Redshift Data API+-- ExecuteStatement based on EventBridge events.+target_redshiftDataParameters :: Lens.Lens' Target (Prelude.Maybe RedshiftDataParameters)+target_redshiftDataParameters = Lens.lens (\Target' {redshiftDataParameters} -> redshiftDataParameters) (\s@Target' {} a -> s {redshiftDataParameters = a} :: Target)++-- | The @RetryPolicy@ object that contains the retry policy configuration to+-- use for the dead-letter queue.+target_retryPolicy :: Lens.Lens' Target (Prelude.Maybe RetryPolicy)+target_retryPolicy = Lens.lens (\Target' {retryPolicy} -> retryPolicy) (\s@Target' {} a -> s {retryPolicy = a} :: Target)++-- | The Amazon Resource Name (ARN) of the IAM role to be used for this+-- target when the rule is triggered. If one rule triggers multiple+-- targets, you can use a different IAM role for each target.+target_roleArn :: Lens.Lens' Target (Prelude.Maybe Prelude.Text)+target_roleArn = Lens.lens (\Target' {roleArn} -> roleArn) (\s@Target' {} a -> s {roleArn = a} :: Target)++-- | Parameters used when you are using the rule to invoke Amazon EC2 Run+-- Command.+target_runCommandParameters :: Lens.Lens' Target (Prelude.Maybe RunCommandParameters)+target_runCommandParameters = Lens.lens (\Target' {runCommandParameters} -> runCommandParameters) (\s@Target' {} a -> s {runCommandParameters = a} :: Target)++-- | Contains the SageMaker Model Building Pipeline parameters to start+-- execution of a SageMaker Model Building Pipeline.+--+-- If you specify a SageMaker Model Building Pipeline as a target, you can+-- use this to specify parameters to start a pipeline execution based on+-- EventBridge events.+target_sageMakerPipelineParameters :: Lens.Lens' Target (Prelude.Maybe SageMakerPipelineParameters)+target_sageMakerPipelineParameters = Lens.lens (\Target' {sageMakerPipelineParameters} -> sageMakerPipelineParameters) (\s@Target' {} a -> s {sageMakerPipelineParameters = a} :: Target)++-- | Contains the message group ID to use when the target is a FIFO queue.+--+-- If you specify an SQS FIFO queue as a target, the queue must have+-- content-based deduplication enabled.+target_sqsParameters :: Lens.Lens' Target (Prelude.Maybe SqsParameters)+target_sqsParameters = Lens.lens (\Target' {sqsParameters} -> sqsParameters) (\s@Target' {} a -> s {sqsParameters = a} :: Target)++-- | The ID of the target within the specified rule. Use this ID to reference+-- the target when updating the rule. We recommend using a memorable and+-- unique string.+target_id :: Lens.Lens' Target Prelude.Text+target_id = Lens.lens (\Target' {id} -> id) (\s@Target' {} a -> s {id = a} :: Target)++-- | The Amazon Resource Name (ARN) of the target.+target_arn :: Lens.Lens' Target Prelude.Text+target_arn = Lens.lens (\Target' {arn} -> arn) (\s@Target' {} a -> s {arn = a} :: Target)++instance Data.FromJSON Target where+ parseJSON =+ Data.withObject+ "Target"+ ( \x ->+ Target'+ Prelude.<$> (x Data..:? "BatchParameters")+ Prelude.<*> (x Data..:? "DeadLetterConfig")+ Prelude.<*> (x Data..:? "EcsParameters")+ Prelude.<*> (x Data..:? "HttpParameters")+ Prelude.<*> (x Data..:? "Input")+ Prelude.<*> (x Data..:? "InputPath")+ Prelude.<*> (x Data..:? "InputTransformer")+ Prelude.<*> (x Data..:? "KinesisParameters")+ Prelude.<*> (x Data..:? "RedshiftDataParameters")+ Prelude.<*> (x Data..:? "RetryPolicy")+ Prelude.<*> (x Data..:? "RoleArn")+ Prelude.<*> (x Data..:? "RunCommandParameters")+ Prelude.<*> (x Data..:? "SageMakerPipelineParameters")+ Prelude.<*> (x Data..:? "SqsParameters")+ Prelude.<*> (x Data..: "Id")+ Prelude.<*> (x Data..: "Arn")+ )++instance Prelude.Hashable Target where+ hashWithSalt _salt Target' {..} =+ _salt+ `Prelude.hashWithSalt` batchParameters+ `Prelude.hashWithSalt` deadLetterConfig+ `Prelude.hashWithSalt` ecsParameters+ `Prelude.hashWithSalt` httpParameters+ `Prelude.hashWithSalt` input+ `Prelude.hashWithSalt` inputPath+ `Prelude.hashWithSalt` inputTransformer+ `Prelude.hashWithSalt` kinesisParameters+ `Prelude.hashWithSalt` redshiftDataParameters+ `Prelude.hashWithSalt` retryPolicy+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` runCommandParameters+ `Prelude.hashWithSalt` sageMakerPipelineParameters+ `Prelude.hashWithSalt` sqsParameters+ `Prelude.hashWithSalt` id+ `Prelude.hashWithSalt` arn++instance Prelude.NFData Target where+ rnf Target' {..} =+ Prelude.rnf batchParameters+ `Prelude.seq` Prelude.rnf deadLetterConfig+ `Prelude.seq` Prelude.rnf ecsParameters+ `Prelude.seq` Prelude.rnf httpParameters+ `Prelude.seq` Prelude.rnf input+ `Prelude.seq` Prelude.rnf inputPath+ `Prelude.seq` Prelude.rnf inputTransformer+ `Prelude.seq` Prelude.rnf kinesisParameters+ `Prelude.seq` Prelude.rnf redshiftDataParameters+ `Prelude.seq` Prelude.rnf retryPolicy+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf runCommandParameters+ `Prelude.seq` Prelude.rnf sageMakerPipelineParameters+ `Prelude.seq` Prelude.rnf sqsParameters+ `Prelude.seq` Prelude.rnf id+ `Prelude.seq` Prelude.rnf arn++instance Data.ToJSON Target where+ toJSON Target' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BatchParameters" Data..=)+ Prelude.<$> batchParameters,+ ("DeadLetterConfig" Data..=)+ Prelude.<$> deadLetterConfig,+ ("EcsParameters" Data..=) Prelude.<$> ecsParameters,+ ("HttpParameters" Data..=)+ Prelude.<$> httpParameters,+ ("Input" Data..=) Prelude.<$> input,+ ("InputPath" Data..=) Prelude.<$> inputPath,+ ("InputTransformer" Data..=)+ Prelude.<$> inputTransformer,+ ("KinesisParameters" Data..=)+ Prelude.<$> kinesisParameters,+ ("RedshiftDataParameters" Data..=)+ Prelude.<$> redshiftDataParameters,+ ("RetryPolicy" Data..=) Prelude.<$> retryPolicy,+ ("RoleArn" Data..=) Prelude.<$> roleArn,+ ("RunCommandParameters" Data..=)+ Prelude.<$> runCommandParameters,+ ("SageMakerPipelineParameters" Data..=)+ Prelude.<$> sageMakerPipelineParameters,+ ("SqsParameters" Data..=) Prelude.<$> sqsParameters,+ Prelude.Just ("Id" Data..= id),+ Prelude.Just ("Arn" Data..= arn)+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionApiKeyAuthRequestParameters.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the API key authorization parameters to use to update the+-- connection.+--+-- /See:/ 'newUpdateConnectionApiKeyAuthRequestParameters' smart constructor.+data UpdateConnectionApiKeyAuthRequestParameters = UpdateConnectionApiKeyAuthRequestParameters'+ { -- | The name of the API key to use for authorization.+ apiKeyName :: Prelude.Maybe Prelude.Text,+ -- | The value associated with teh API key to use for authorization.+ apiKeyValue :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionApiKeyAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyName', 'updateConnectionApiKeyAuthRequestParameters_apiKeyName' - The name of the API key to use for authorization.+--+-- 'apiKeyValue', 'updateConnectionApiKeyAuthRequestParameters_apiKeyValue' - The value associated with teh API key to use for authorization.+newUpdateConnectionApiKeyAuthRequestParameters ::+ UpdateConnectionApiKeyAuthRequestParameters+newUpdateConnectionApiKeyAuthRequestParameters =+ UpdateConnectionApiKeyAuthRequestParameters'+ { apiKeyName =+ Prelude.Nothing,+ apiKeyValue = Prelude.Nothing+ }++-- | The name of the API key to use for authorization.+updateConnectionApiKeyAuthRequestParameters_apiKeyName :: Lens.Lens' UpdateConnectionApiKeyAuthRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionApiKeyAuthRequestParameters_apiKeyName = Lens.lens (\UpdateConnectionApiKeyAuthRequestParameters' {apiKeyName} -> apiKeyName) (\s@UpdateConnectionApiKeyAuthRequestParameters' {} a -> s {apiKeyName = a} :: UpdateConnectionApiKeyAuthRequestParameters)++-- | The value associated with teh API key to use for authorization.+updateConnectionApiKeyAuthRequestParameters_apiKeyValue :: Lens.Lens' UpdateConnectionApiKeyAuthRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionApiKeyAuthRequestParameters_apiKeyValue = Lens.lens (\UpdateConnectionApiKeyAuthRequestParameters' {apiKeyValue} -> apiKeyValue) (\s@UpdateConnectionApiKeyAuthRequestParameters' {} a -> s {apiKeyValue = a} :: UpdateConnectionApiKeyAuthRequestParameters)++instance+ Prelude.Hashable+ UpdateConnectionApiKeyAuthRequestParameters+ where+ hashWithSalt+ _salt+ UpdateConnectionApiKeyAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` apiKeyName+ `Prelude.hashWithSalt` apiKeyValue++instance+ Prelude.NFData+ UpdateConnectionApiKeyAuthRequestParameters+ where+ rnf UpdateConnectionApiKeyAuthRequestParameters' {..} =+ Prelude.rnf apiKeyName+ `Prelude.seq` Prelude.rnf apiKeyValue++instance+ Data.ToJSON+ UpdateConnectionApiKeyAuthRequestParameters+ where+ toJSON+ UpdateConnectionApiKeyAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ApiKeyName" Data..=) Prelude.<$> apiKeyName,+ ("ApiKeyValue" Data..=) Prelude.<$> apiKeyValue+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionAuthRequestParameters.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.UpdateConnectionAuthRequestParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionApiKeyAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the additional parameters to use for the connection.+--+-- /See:/ 'newUpdateConnectionAuthRequestParameters' smart constructor.+data UpdateConnectionAuthRequestParameters = UpdateConnectionAuthRequestParameters'+ { -- | A @UpdateConnectionApiKeyAuthRequestParameters@ object that contains the+ -- authorization parameters for API key authorization.+ apiKeyAuthParameters :: Prelude.Maybe UpdateConnectionApiKeyAuthRequestParameters,+ -- | A @UpdateConnectionBasicAuthRequestParameters@ object that contains the+ -- authorization parameters for Basic authorization.+ basicAuthParameters :: Prelude.Maybe UpdateConnectionBasicAuthRequestParameters,+ -- | A @ConnectionHttpParameters@ object that contains the additional+ -- parameters to use for the connection.+ invocationHttpParameters :: Prelude.Maybe ConnectionHttpParameters,+ -- | A @UpdateConnectionOAuthRequestParameters@ object that contains the+ -- authorization parameters for OAuth authorization.+ oAuthParameters :: Prelude.Maybe UpdateConnectionOAuthRequestParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiKeyAuthParameters', 'updateConnectionAuthRequestParameters_apiKeyAuthParameters' - A @UpdateConnectionApiKeyAuthRequestParameters@ object that contains the+-- authorization parameters for API key authorization.+--+-- 'basicAuthParameters', 'updateConnectionAuthRequestParameters_basicAuthParameters' - A @UpdateConnectionBasicAuthRequestParameters@ object that contains the+-- authorization parameters for Basic authorization.+--+-- 'invocationHttpParameters', 'updateConnectionAuthRequestParameters_invocationHttpParameters' - A @ConnectionHttpParameters@ object that contains the additional+-- parameters to use for the connection.+--+-- 'oAuthParameters', 'updateConnectionAuthRequestParameters_oAuthParameters' - A @UpdateConnectionOAuthRequestParameters@ object that contains the+-- authorization parameters for OAuth authorization.+newUpdateConnectionAuthRequestParameters ::+ UpdateConnectionAuthRequestParameters+newUpdateConnectionAuthRequestParameters =+ UpdateConnectionAuthRequestParameters'+ { apiKeyAuthParameters =+ Prelude.Nothing,+ basicAuthParameters =+ Prelude.Nothing,+ invocationHttpParameters =+ Prelude.Nothing,+ oAuthParameters = Prelude.Nothing+ }++-- | A @UpdateConnectionApiKeyAuthRequestParameters@ object that contains the+-- authorization parameters for API key authorization.+updateConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens.Lens' UpdateConnectionAuthRequestParameters (Prelude.Maybe UpdateConnectionApiKeyAuthRequestParameters)+updateConnectionAuthRequestParameters_apiKeyAuthParameters = Lens.lens (\UpdateConnectionAuthRequestParameters' {apiKeyAuthParameters} -> apiKeyAuthParameters) (\s@UpdateConnectionAuthRequestParameters' {} a -> s {apiKeyAuthParameters = a} :: UpdateConnectionAuthRequestParameters)++-- | A @UpdateConnectionBasicAuthRequestParameters@ object that contains the+-- authorization parameters for Basic authorization.+updateConnectionAuthRequestParameters_basicAuthParameters :: Lens.Lens' UpdateConnectionAuthRequestParameters (Prelude.Maybe UpdateConnectionBasicAuthRequestParameters)+updateConnectionAuthRequestParameters_basicAuthParameters = Lens.lens (\UpdateConnectionAuthRequestParameters' {basicAuthParameters} -> basicAuthParameters) (\s@UpdateConnectionAuthRequestParameters' {} a -> s {basicAuthParameters = a} :: UpdateConnectionAuthRequestParameters)++-- | A @ConnectionHttpParameters@ object that contains the additional+-- parameters to use for the connection.+updateConnectionAuthRequestParameters_invocationHttpParameters :: Lens.Lens' UpdateConnectionAuthRequestParameters (Prelude.Maybe ConnectionHttpParameters)+updateConnectionAuthRequestParameters_invocationHttpParameters = Lens.lens (\UpdateConnectionAuthRequestParameters' {invocationHttpParameters} -> invocationHttpParameters) (\s@UpdateConnectionAuthRequestParameters' {} a -> s {invocationHttpParameters = a} :: UpdateConnectionAuthRequestParameters)++-- | A @UpdateConnectionOAuthRequestParameters@ object that contains the+-- authorization parameters for OAuth authorization.+updateConnectionAuthRequestParameters_oAuthParameters :: Lens.Lens' UpdateConnectionAuthRequestParameters (Prelude.Maybe UpdateConnectionOAuthRequestParameters)+updateConnectionAuthRequestParameters_oAuthParameters = Lens.lens (\UpdateConnectionAuthRequestParameters' {oAuthParameters} -> oAuthParameters) (\s@UpdateConnectionAuthRequestParameters' {} a -> s {oAuthParameters = a} :: UpdateConnectionAuthRequestParameters)++instance+ Prelude.Hashable+ UpdateConnectionAuthRequestParameters+ where+ hashWithSalt+ _salt+ UpdateConnectionAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` apiKeyAuthParameters+ `Prelude.hashWithSalt` basicAuthParameters+ `Prelude.hashWithSalt` invocationHttpParameters+ `Prelude.hashWithSalt` oAuthParameters++instance+ Prelude.NFData+ UpdateConnectionAuthRequestParameters+ where+ rnf UpdateConnectionAuthRequestParameters' {..} =+ Prelude.rnf apiKeyAuthParameters+ `Prelude.seq` Prelude.rnf basicAuthParameters+ `Prelude.seq` Prelude.rnf invocationHttpParameters+ `Prelude.seq` Prelude.rnf oAuthParameters++instance+ Data.ToJSON+ UpdateConnectionAuthRequestParameters+ where+ toJSON UpdateConnectionAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ApiKeyAuthParameters" Data..=)+ Prelude.<$> apiKeyAuthParameters,+ ("BasicAuthParameters" Data..=)+ Prelude.<$> basicAuthParameters,+ ("InvocationHttpParameters" Data..=)+ Prelude.<$> invocationHttpParameters,+ ("OAuthParameters" Data..=)+ Prelude.<$> oAuthParameters+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionBasicAuthRequestParameters.hs view
@@ -0,0 +1,99 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.UpdateConnectionBasicAuthRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the Basic authorization parameters for the connection.+--+-- /See:/ 'newUpdateConnectionBasicAuthRequestParameters' smart constructor.+data UpdateConnectionBasicAuthRequestParameters = UpdateConnectionBasicAuthRequestParameters'+ { -- | The password associated with the user name to use for Basic+ -- authorization.+ password :: Prelude.Maybe Prelude.Text,+ -- | The user name to use for Basic authorization.+ username :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionBasicAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'password', 'updateConnectionBasicAuthRequestParameters_password' - The password associated with the user name to use for Basic+-- authorization.+--+-- 'username', 'updateConnectionBasicAuthRequestParameters_username' - The user name to use for Basic authorization.+newUpdateConnectionBasicAuthRequestParameters ::+ UpdateConnectionBasicAuthRequestParameters+newUpdateConnectionBasicAuthRequestParameters =+ UpdateConnectionBasicAuthRequestParameters'+ { password =+ Prelude.Nothing,+ username = Prelude.Nothing+ }++-- | The password associated with the user name to use for Basic+-- authorization.+updateConnectionBasicAuthRequestParameters_password :: Lens.Lens' UpdateConnectionBasicAuthRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionBasicAuthRequestParameters_password = Lens.lens (\UpdateConnectionBasicAuthRequestParameters' {password} -> password) (\s@UpdateConnectionBasicAuthRequestParameters' {} a -> s {password = a} :: UpdateConnectionBasicAuthRequestParameters)++-- | The user name to use for Basic authorization.+updateConnectionBasicAuthRequestParameters_username :: Lens.Lens' UpdateConnectionBasicAuthRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionBasicAuthRequestParameters_username = Lens.lens (\UpdateConnectionBasicAuthRequestParameters' {username} -> username) (\s@UpdateConnectionBasicAuthRequestParameters' {} a -> s {username = a} :: UpdateConnectionBasicAuthRequestParameters)++instance+ Prelude.Hashable+ UpdateConnectionBasicAuthRequestParameters+ where+ hashWithSalt+ _salt+ UpdateConnectionBasicAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` password+ `Prelude.hashWithSalt` username++instance+ Prelude.NFData+ UpdateConnectionBasicAuthRequestParameters+ where+ rnf UpdateConnectionBasicAuthRequestParameters' {..} =+ Prelude.rnf password+ `Prelude.seq` Prelude.rnf username++instance+ Data.ToJSON+ UpdateConnectionBasicAuthRequestParameters+ where+ toJSON+ UpdateConnectionBasicAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Password" Data..=) Prelude.<$> password,+ ("Username" Data..=) Prelude.<$> username+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionOAuthClientRequestParameters.hs view
@@ -0,0 +1,100 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the OAuth authorization parameters to use for the connection.+--+-- /See:/ 'newUpdateConnectionOAuthClientRequestParameters' smart constructor.+data UpdateConnectionOAuthClientRequestParameters = UpdateConnectionOAuthClientRequestParameters'+ { -- | The client ID to use for OAuth authorization.+ clientID :: Prelude.Maybe Prelude.Text,+ -- | The client secret assciated with the client ID to use for OAuth+ -- authorization.+ clientSecret :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionOAuthClientRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clientID', 'updateConnectionOAuthClientRequestParameters_clientID' - The client ID to use for OAuth authorization.+--+-- 'clientSecret', 'updateConnectionOAuthClientRequestParameters_clientSecret' - The client secret assciated with the client ID to use for OAuth+-- authorization.+newUpdateConnectionOAuthClientRequestParameters ::+ UpdateConnectionOAuthClientRequestParameters+newUpdateConnectionOAuthClientRequestParameters =+ UpdateConnectionOAuthClientRequestParameters'+ { clientID =+ Prelude.Nothing,+ clientSecret =+ Prelude.Nothing+ }++-- | The client ID to use for OAuth authorization.+updateConnectionOAuthClientRequestParameters_clientID :: Lens.Lens' UpdateConnectionOAuthClientRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionOAuthClientRequestParameters_clientID = Lens.lens (\UpdateConnectionOAuthClientRequestParameters' {clientID} -> clientID) (\s@UpdateConnectionOAuthClientRequestParameters' {} a -> s {clientID = a} :: UpdateConnectionOAuthClientRequestParameters)++-- | The client secret assciated with the client ID to use for OAuth+-- authorization.+updateConnectionOAuthClientRequestParameters_clientSecret :: Lens.Lens' UpdateConnectionOAuthClientRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionOAuthClientRequestParameters_clientSecret = Lens.lens (\UpdateConnectionOAuthClientRequestParameters' {clientSecret} -> clientSecret) (\s@UpdateConnectionOAuthClientRequestParameters' {} a -> s {clientSecret = a} :: UpdateConnectionOAuthClientRequestParameters)++instance+ Prelude.Hashable+ UpdateConnectionOAuthClientRequestParameters+ where+ hashWithSalt+ _salt+ UpdateConnectionOAuthClientRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` clientID+ `Prelude.hashWithSalt` clientSecret++instance+ Prelude.NFData+ UpdateConnectionOAuthClientRequestParameters+ where+ rnf UpdateConnectionOAuthClientRequestParameters' {..} =+ Prelude.rnf clientID+ `Prelude.seq` Prelude.rnf clientSecret++instance+ Data.ToJSON+ UpdateConnectionOAuthClientRequestParameters+ where+ toJSON+ UpdateConnectionOAuthClientRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ClientID" Data..=) Prelude.<$> clientID,+ ("ClientSecret" Data..=) Prelude.<$> clientSecret+ ]+ )
+ gen/Amazonka/CloudWatchEvents/Types/UpdateConnectionOAuthRequestParameters.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthRequestParameters where++import Amazonka.CloudWatchEvents.Types.ConnectionHttpParameters+import Amazonka.CloudWatchEvents.Types.ConnectionOAuthHttpMethod+import Amazonka.CloudWatchEvents.Types.UpdateConnectionOAuthClientRequestParameters+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the OAuth request parameters to use for the connection.+--+-- /See:/ 'newUpdateConnectionOAuthRequestParameters' smart constructor.+data UpdateConnectionOAuthRequestParameters = UpdateConnectionOAuthRequestParameters'+ { -- | The URL to the authorization endpoint when OAuth is specified as the+ -- authorization type.+ authorizationEndpoint :: Prelude.Maybe Prelude.Text,+ -- | A @UpdateConnectionOAuthClientRequestParameters@ object that contains+ -- the client parameters to use for the connection when OAuth is specified+ -- as the authorization type.+ clientParameters :: Prelude.Maybe UpdateConnectionOAuthClientRequestParameters,+ -- | The method used to connect to the HTTP endpoint.+ httpMethod :: Prelude.Maybe ConnectionOAuthHttpMethod,+ -- | The additional HTTP parameters used for the OAuth authorization request.+ oAuthHttpParameters :: Prelude.Maybe ConnectionHttpParameters+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionOAuthRequestParameters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authorizationEndpoint', 'updateConnectionOAuthRequestParameters_authorizationEndpoint' - The URL to the authorization endpoint when OAuth is specified as the+-- authorization type.+--+-- 'clientParameters', 'updateConnectionOAuthRequestParameters_clientParameters' - A @UpdateConnectionOAuthClientRequestParameters@ object that contains+-- the client parameters to use for the connection when OAuth is specified+-- as the authorization type.+--+-- 'httpMethod', 'updateConnectionOAuthRequestParameters_httpMethod' - The method used to connect to the HTTP endpoint.+--+-- 'oAuthHttpParameters', 'updateConnectionOAuthRequestParameters_oAuthHttpParameters' - The additional HTTP parameters used for the OAuth authorization request.+newUpdateConnectionOAuthRequestParameters ::+ UpdateConnectionOAuthRequestParameters+newUpdateConnectionOAuthRequestParameters =+ UpdateConnectionOAuthRequestParameters'+ { authorizationEndpoint =+ Prelude.Nothing,+ clientParameters = Prelude.Nothing,+ httpMethod = Prelude.Nothing,+ oAuthHttpParameters =+ Prelude.Nothing+ }++-- | The URL to the authorization endpoint when OAuth is specified as the+-- authorization type.+updateConnectionOAuthRequestParameters_authorizationEndpoint :: Lens.Lens' UpdateConnectionOAuthRequestParameters (Prelude.Maybe Prelude.Text)+updateConnectionOAuthRequestParameters_authorizationEndpoint = Lens.lens (\UpdateConnectionOAuthRequestParameters' {authorizationEndpoint} -> authorizationEndpoint) (\s@UpdateConnectionOAuthRequestParameters' {} a -> s {authorizationEndpoint = a} :: UpdateConnectionOAuthRequestParameters)++-- | A @UpdateConnectionOAuthClientRequestParameters@ object that contains+-- the client parameters to use for the connection when OAuth is specified+-- as the authorization type.+updateConnectionOAuthRequestParameters_clientParameters :: Lens.Lens' UpdateConnectionOAuthRequestParameters (Prelude.Maybe UpdateConnectionOAuthClientRequestParameters)+updateConnectionOAuthRequestParameters_clientParameters = Lens.lens (\UpdateConnectionOAuthRequestParameters' {clientParameters} -> clientParameters) (\s@UpdateConnectionOAuthRequestParameters' {} a -> s {clientParameters = a} :: UpdateConnectionOAuthRequestParameters)++-- | The method used to connect to the HTTP endpoint.+updateConnectionOAuthRequestParameters_httpMethod :: Lens.Lens' UpdateConnectionOAuthRequestParameters (Prelude.Maybe ConnectionOAuthHttpMethod)+updateConnectionOAuthRequestParameters_httpMethod = Lens.lens (\UpdateConnectionOAuthRequestParameters' {httpMethod} -> httpMethod) (\s@UpdateConnectionOAuthRequestParameters' {} a -> s {httpMethod = a} :: UpdateConnectionOAuthRequestParameters)++-- | The additional HTTP parameters used for the OAuth authorization request.+updateConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens.Lens' UpdateConnectionOAuthRequestParameters (Prelude.Maybe ConnectionHttpParameters)+updateConnectionOAuthRequestParameters_oAuthHttpParameters = Lens.lens (\UpdateConnectionOAuthRequestParameters' {oAuthHttpParameters} -> oAuthHttpParameters) (\s@UpdateConnectionOAuthRequestParameters' {} a -> s {oAuthHttpParameters = a} :: UpdateConnectionOAuthRequestParameters)++instance+ Prelude.Hashable+ UpdateConnectionOAuthRequestParameters+ where+ hashWithSalt+ _salt+ UpdateConnectionOAuthRequestParameters' {..} =+ _salt+ `Prelude.hashWithSalt` authorizationEndpoint+ `Prelude.hashWithSalt` clientParameters+ `Prelude.hashWithSalt` httpMethod+ `Prelude.hashWithSalt` oAuthHttpParameters++instance+ Prelude.NFData+ UpdateConnectionOAuthRequestParameters+ where+ rnf UpdateConnectionOAuthRequestParameters' {..} =+ Prelude.rnf authorizationEndpoint+ `Prelude.seq` Prelude.rnf clientParameters+ `Prelude.seq` Prelude.rnf httpMethod+ `Prelude.seq` Prelude.rnf oAuthHttpParameters++instance+ Data.ToJSON+ UpdateConnectionOAuthRequestParameters+ where+ toJSON UpdateConnectionOAuthRequestParameters' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AuthorizationEndpoint" Data..=)+ Prelude.<$> authorizationEndpoint,+ ("ClientParameters" Data..=)+ Prelude.<$> clientParameters,+ ("HttpMethod" Data..=) Prelude.<$> httpMethod,+ ("OAuthHttpParameters" Data..=)+ Prelude.<$> oAuthHttpParameters+ ]+ )
+ gen/Amazonka/CloudWatchEvents/UntagResource.hs view
@@ -0,0 +1,171 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes one or more tags from the specified EventBridge resource. In+-- Amazon EventBridge (CloudWatch Events), rules and event buses can be+-- tagged.+module Amazonka.CloudWatchEvents.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceARN,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | The ARN of the EventBridge resource from which you are removing tags.+ resourceARN :: Prelude.Text,+ -- | The list of tag keys to remove from the resource.+ tagKeys :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceARN', 'untagResource_resourceARN' - The ARN of the EventBridge resource from which you are removing tags.+--+-- 'tagKeys', 'untagResource_tagKeys' - The list of tag keys to remove from the resource.+newUntagResource ::+ -- | 'resourceARN'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceARN_ =+ UntagResource'+ { resourceARN = pResourceARN_,+ tagKeys = Prelude.mempty+ }++-- | The ARN of the EventBridge resource from which you are removing tags.+untagResource_resourceARN :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceARN = Lens.lens (\UntagResource' {resourceARN} -> resourceARN) (\s@UntagResource' {} a -> s {resourceARN = a} :: UntagResource)++-- | The list of tag keys to remove from the resource.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceARN+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceARN+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.UntagResource" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UntagResource where+ toJSON UntagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceARN" Data..= resourceARN),+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath UntagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/UpdateApiDestination.hs view
@@ -0,0 +1,280 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.UpdateApiDestination+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an API destination.+module Amazonka.CloudWatchEvents.UpdateApiDestination+ ( -- * Creating a Request+ UpdateApiDestination (..),+ newUpdateApiDestination,++ -- * Request Lenses+ updateApiDestination_connectionArn,+ updateApiDestination_description,+ updateApiDestination_httpMethod,+ updateApiDestination_invocationEndpoint,+ updateApiDestination_invocationRateLimitPerSecond,+ updateApiDestination_name,++ -- * Destructuring the Response+ UpdateApiDestinationResponse (..),+ newUpdateApiDestinationResponse,++ -- * Response Lenses+ updateApiDestinationResponse_apiDestinationArn,+ updateApiDestinationResponse_apiDestinationState,+ updateApiDestinationResponse_creationTime,+ updateApiDestinationResponse_lastModifiedTime,+ updateApiDestinationResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateApiDestination' smart constructor.+data UpdateApiDestination = UpdateApiDestination'+ { -- | The ARN of the connection to use for the API destination.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the API destination to update.+ description :: Prelude.Maybe Prelude.Text,+ -- | The method to use for the API destination.+ httpMethod :: Prelude.Maybe ApiDestinationHttpMethod,+ -- | The URL to the endpoint to use for the API destination.+ invocationEndpoint :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of invocations per second to send to the API+ -- destination.+ invocationRateLimitPerSecond :: Prelude.Maybe Prelude.Natural,+ -- | The name of the API destination to update.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateApiDestination' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'updateApiDestination_connectionArn' - The ARN of the connection to use for the API destination.+--+-- 'description', 'updateApiDestination_description' - The name of the API destination to update.+--+-- 'httpMethod', 'updateApiDestination_httpMethod' - The method to use for the API destination.+--+-- 'invocationEndpoint', 'updateApiDestination_invocationEndpoint' - The URL to the endpoint to use for the API destination.+--+-- 'invocationRateLimitPerSecond', 'updateApiDestination_invocationRateLimitPerSecond' - The maximum number of invocations per second to send to the API+-- destination.+--+-- 'name', 'updateApiDestination_name' - The name of the API destination to update.+newUpdateApiDestination ::+ -- | 'name'+ Prelude.Text ->+ UpdateApiDestination+newUpdateApiDestination pName_ =+ UpdateApiDestination'+ { connectionArn =+ Prelude.Nothing,+ description = Prelude.Nothing,+ httpMethod = Prelude.Nothing,+ invocationEndpoint = Prelude.Nothing,+ invocationRateLimitPerSecond = Prelude.Nothing,+ name = pName_+ }++-- | The ARN of the connection to use for the API destination.+updateApiDestination_connectionArn :: Lens.Lens' UpdateApiDestination (Prelude.Maybe Prelude.Text)+updateApiDestination_connectionArn = Lens.lens (\UpdateApiDestination' {connectionArn} -> connectionArn) (\s@UpdateApiDestination' {} a -> s {connectionArn = a} :: UpdateApiDestination)++-- | The name of the API destination to update.+updateApiDestination_description :: Lens.Lens' UpdateApiDestination (Prelude.Maybe Prelude.Text)+updateApiDestination_description = Lens.lens (\UpdateApiDestination' {description} -> description) (\s@UpdateApiDestination' {} a -> s {description = a} :: UpdateApiDestination)++-- | The method to use for the API destination.+updateApiDestination_httpMethod :: Lens.Lens' UpdateApiDestination (Prelude.Maybe ApiDestinationHttpMethod)+updateApiDestination_httpMethod = Lens.lens (\UpdateApiDestination' {httpMethod} -> httpMethod) (\s@UpdateApiDestination' {} a -> s {httpMethod = a} :: UpdateApiDestination)++-- | The URL to the endpoint to use for the API destination.+updateApiDestination_invocationEndpoint :: Lens.Lens' UpdateApiDestination (Prelude.Maybe Prelude.Text)+updateApiDestination_invocationEndpoint = Lens.lens (\UpdateApiDestination' {invocationEndpoint} -> invocationEndpoint) (\s@UpdateApiDestination' {} a -> s {invocationEndpoint = a} :: UpdateApiDestination)++-- | The maximum number of invocations per second to send to the API+-- destination.+updateApiDestination_invocationRateLimitPerSecond :: Lens.Lens' UpdateApiDestination (Prelude.Maybe Prelude.Natural)+updateApiDestination_invocationRateLimitPerSecond = Lens.lens (\UpdateApiDestination' {invocationRateLimitPerSecond} -> invocationRateLimitPerSecond) (\s@UpdateApiDestination' {} a -> s {invocationRateLimitPerSecond = a} :: UpdateApiDestination)++-- | The name of the API destination to update.+updateApiDestination_name :: Lens.Lens' UpdateApiDestination Prelude.Text+updateApiDestination_name = Lens.lens (\UpdateApiDestination' {name} -> name) (\s@UpdateApiDestination' {} a -> s {name = a} :: UpdateApiDestination)++instance Core.AWSRequest UpdateApiDestination where+ type+ AWSResponse UpdateApiDestination =+ UpdateApiDestinationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateApiDestinationResponse'+ Prelude.<$> (x Data..?> "ApiDestinationArn")+ Prelude.<*> (x Data..?> "ApiDestinationState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateApiDestination where+ hashWithSalt _salt UpdateApiDestination' {..} =+ _salt+ `Prelude.hashWithSalt` connectionArn+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` httpMethod+ `Prelude.hashWithSalt` invocationEndpoint+ `Prelude.hashWithSalt` invocationRateLimitPerSecond+ `Prelude.hashWithSalt` name++instance Prelude.NFData UpdateApiDestination where+ rnf UpdateApiDestination' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf httpMethod+ `Prelude.seq` Prelude.rnf invocationEndpoint+ `Prelude.seq` Prelude.rnf invocationRateLimitPerSecond+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders UpdateApiDestination where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AWSEvents.UpdateApiDestination" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateApiDestination where+ toJSON UpdateApiDestination' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ConnectionArn" Data..=) Prelude.<$> connectionArn,+ ("Description" Data..=) Prelude.<$> description,+ ("HttpMethod" Data..=) Prelude.<$> httpMethod,+ ("InvocationEndpoint" Data..=)+ Prelude.<$> invocationEndpoint,+ ("InvocationRateLimitPerSecond" Data..=)+ Prelude.<$> invocationRateLimitPerSecond,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath UpdateApiDestination where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateApiDestination where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateApiDestinationResponse' smart constructor.+data UpdateApiDestinationResponse = UpdateApiDestinationResponse'+ { -- | The ARN of the API destination that was updated.+ apiDestinationArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the API destination that was updated.+ apiDestinationState :: Prelude.Maybe ApiDestinationState,+ -- | A time stamp for the time that the API destination was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the API destination was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateApiDestinationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'apiDestinationArn', 'updateApiDestinationResponse_apiDestinationArn' - The ARN of the API destination that was updated.+--+-- 'apiDestinationState', 'updateApiDestinationResponse_apiDestinationState' - The state of the API destination that was updated.+--+-- 'creationTime', 'updateApiDestinationResponse_creationTime' - A time stamp for the time that the API destination was created.+--+-- 'lastModifiedTime', 'updateApiDestinationResponse_lastModifiedTime' - A time stamp for the time that the API destination was last modified.+--+-- 'httpStatus', 'updateApiDestinationResponse_httpStatus' - The response's http status code.+newUpdateApiDestinationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateApiDestinationResponse+newUpdateApiDestinationResponse pHttpStatus_ =+ UpdateApiDestinationResponse'+ { apiDestinationArn =+ Prelude.Nothing,+ apiDestinationState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the API destination that was updated.+updateApiDestinationResponse_apiDestinationArn :: Lens.Lens' UpdateApiDestinationResponse (Prelude.Maybe Prelude.Text)+updateApiDestinationResponse_apiDestinationArn = Lens.lens (\UpdateApiDestinationResponse' {apiDestinationArn} -> apiDestinationArn) (\s@UpdateApiDestinationResponse' {} a -> s {apiDestinationArn = a} :: UpdateApiDestinationResponse)++-- | The state of the API destination that was updated.+updateApiDestinationResponse_apiDestinationState :: Lens.Lens' UpdateApiDestinationResponse (Prelude.Maybe ApiDestinationState)+updateApiDestinationResponse_apiDestinationState = Lens.lens (\UpdateApiDestinationResponse' {apiDestinationState} -> apiDestinationState) (\s@UpdateApiDestinationResponse' {} a -> s {apiDestinationState = a} :: UpdateApiDestinationResponse)++-- | A time stamp for the time that the API destination was created.+updateApiDestinationResponse_creationTime :: Lens.Lens' UpdateApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+updateApiDestinationResponse_creationTime = Lens.lens (\UpdateApiDestinationResponse' {creationTime} -> creationTime) (\s@UpdateApiDestinationResponse' {} a -> s {creationTime = a} :: UpdateApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the API destination was last modified.+updateApiDestinationResponse_lastModifiedTime :: Lens.Lens' UpdateApiDestinationResponse (Prelude.Maybe Prelude.UTCTime)+updateApiDestinationResponse_lastModifiedTime = Lens.lens (\UpdateApiDestinationResponse' {lastModifiedTime} -> lastModifiedTime) (\s@UpdateApiDestinationResponse' {} a -> s {lastModifiedTime = a} :: UpdateApiDestinationResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+updateApiDestinationResponse_httpStatus :: Lens.Lens' UpdateApiDestinationResponse Prelude.Int+updateApiDestinationResponse_httpStatus = Lens.lens (\UpdateApiDestinationResponse' {httpStatus} -> httpStatus) (\s@UpdateApiDestinationResponse' {} a -> s {httpStatus = a} :: UpdateApiDestinationResponse)++instance Prelude.NFData UpdateApiDestinationResponse where+ rnf UpdateApiDestinationResponse' {..} =+ Prelude.rnf apiDestinationArn+ `Prelude.seq` Prelude.rnf apiDestinationState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/UpdateArchive.hs view
@@ -0,0 +1,246 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.UpdateArchive+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the specified archive.+module Amazonka.CloudWatchEvents.UpdateArchive+ ( -- * Creating a Request+ UpdateArchive (..),+ newUpdateArchive,++ -- * Request Lenses+ updateArchive_description,+ updateArchive_eventPattern,+ updateArchive_retentionDays,+ updateArchive_archiveName,++ -- * Destructuring the Response+ UpdateArchiveResponse (..),+ newUpdateArchiveResponse,++ -- * Response Lenses+ updateArchiveResponse_archiveArn,+ updateArchiveResponse_creationTime,+ updateArchiveResponse_state,+ updateArchiveResponse_stateReason,+ updateArchiveResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateArchive' smart constructor.+data UpdateArchive = UpdateArchive'+ { -- | The description for the archive.+ description :: Prelude.Maybe Prelude.Text,+ -- | The event pattern to use to filter events sent to the archive.+ eventPattern :: Prelude.Maybe Prelude.Text,+ -- | The number of days to retain events in the archive.+ retentionDays :: Prelude.Maybe Prelude.Natural,+ -- | The name of the archive to update.+ archiveName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateArchive' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateArchive_description' - The description for the archive.+--+-- 'eventPattern', 'updateArchive_eventPattern' - The event pattern to use to filter events sent to the archive.+--+-- 'retentionDays', 'updateArchive_retentionDays' - The number of days to retain events in the archive.+--+-- 'archiveName', 'updateArchive_archiveName' - The name of the archive to update.+newUpdateArchive ::+ -- | 'archiveName'+ Prelude.Text ->+ UpdateArchive+newUpdateArchive pArchiveName_ =+ UpdateArchive'+ { description = Prelude.Nothing,+ eventPattern = Prelude.Nothing,+ retentionDays = Prelude.Nothing,+ archiveName = pArchiveName_+ }++-- | The description for the archive.+updateArchive_description :: Lens.Lens' UpdateArchive (Prelude.Maybe Prelude.Text)+updateArchive_description = Lens.lens (\UpdateArchive' {description} -> description) (\s@UpdateArchive' {} a -> s {description = a} :: UpdateArchive)++-- | The event pattern to use to filter events sent to the archive.+updateArchive_eventPattern :: Lens.Lens' UpdateArchive (Prelude.Maybe Prelude.Text)+updateArchive_eventPattern = Lens.lens (\UpdateArchive' {eventPattern} -> eventPattern) (\s@UpdateArchive' {} a -> s {eventPattern = a} :: UpdateArchive)++-- | The number of days to retain events in the archive.+updateArchive_retentionDays :: Lens.Lens' UpdateArchive (Prelude.Maybe Prelude.Natural)+updateArchive_retentionDays = Lens.lens (\UpdateArchive' {retentionDays} -> retentionDays) (\s@UpdateArchive' {} a -> s {retentionDays = a} :: UpdateArchive)++-- | The name of the archive to update.+updateArchive_archiveName :: Lens.Lens' UpdateArchive Prelude.Text+updateArchive_archiveName = Lens.lens (\UpdateArchive' {archiveName} -> archiveName) (\s@UpdateArchive' {} a -> s {archiveName = a} :: UpdateArchive)++instance Core.AWSRequest UpdateArchive where+ type+ AWSResponse UpdateArchive =+ UpdateArchiveResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateArchiveResponse'+ Prelude.<$> (x Data..?> "ArchiveArn")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (x Data..?> "StateReason")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateArchive where+ hashWithSalt _salt UpdateArchive' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` eventPattern+ `Prelude.hashWithSalt` retentionDays+ `Prelude.hashWithSalt` archiveName++instance Prelude.NFData UpdateArchive where+ rnf UpdateArchive' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventPattern+ `Prelude.seq` Prelude.rnf retentionDays+ `Prelude.seq` Prelude.rnf archiveName++instance Data.ToHeaders UpdateArchive where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.UpdateArchive" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateArchive where+ toJSON UpdateArchive' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("EventPattern" Data..=) Prelude.<$> eventPattern,+ ("RetentionDays" Data..=) Prelude.<$> retentionDays,+ Prelude.Just ("ArchiveName" Data..= archiveName)+ ]+ )++instance Data.ToPath UpdateArchive where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateArchive where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateArchiveResponse' smart constructor.+data UpdateArchiveResponse = UpdateArchiveResponse'+ { -- | The ARN of the archive.+ archiveArn :: Prelude.Maybe Prelude.Text,+ -- | The time at which the archive was updated.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | The state of the archive.+ state :: Prelude.Maybe ArchiveState,+ -- | The reason that the archive is in the current state.+ stateReason :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateArchiveResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'archiveArn', 'updateArchiveResponse_archiveArn' - The ARN of the archive.+--+-- 'creationTime', 'updateArchiveResponse_creationTime' - The time at which the archive was updated.+--+-- 'state', 'updateArchiveResponse_state' - The state of the archive.+--+-- 'stateReason', 'updateArchiveResponse_stateReason' - The reason that the archive is in the current state.+--+-- 'httpStatus', 'updateArchiveResponse_httpStatus' - The response's http status code.+newUpdateArchiveResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateArchiveResponse+newUpdateArchiveResponse pHttpStatus_ =+ UpdateArchiveResponse'+ { archiveArn =+ Prelude.Nothing,+ creationTime = Prelude.Nothing,+ state = Prelude.Nothing,+ stateReason = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the archive.+updateArchiveResponse_archiveArn :: Lens.Lens' UpdateArchiveResponse (Prelude.Maybe Prelude.Text)+updateArchiveResponse_archiveArn = Lens.lens (\UpdateArchiveResponse' {archiveArn} -> archiveArn) (\s@UpdateArchiveResponse' {} a -> s {archiveArn = a} :: UpdateArchiveResponse)++-- | The time at which the archive was updated.+updateArchiveResponse_creationTime :: Lens.Lens' UpdateArchiveResponse (Prelude.Maybe Prelude.UTCTime)+updateArchiveResponse_creationTime = Lens.lens (\UpdateArchiveResponse' {creationTime} -> creationTime) (\s@UpdateArchiveResponse' {} a -> s {creationTime = a} :: UpdateArchiveResponse) Prelude.. Lens.mapping Data._Time++-- | The state of the archive.+updateArchiveResponse_state :: Lens.Lens' UpdateArchiveResponse (Prelude.Maybe ArchiveState)+updateArchiveResponse_state = Lens.lens (\UpdateArchiveResponse' {state} -> state) (\s@UpdateArchiveResponse' {} a -> s {state = a} :: UpdateArchiveResponse)++-- | The reason that the archive is in the current state.+updateArchiveResponse_stateReason :: Lens.Lens' UpdateArchiveResponse (Prelude.Maybe Prelude.Text)+updateArchiveResponse_stateReason = Lens.lens (\UpdateArchiveResponse' {stateReason} -> stateReason) (\s@UpdateArchiveResponse' {} a -> s {stateReason = a} :: UpdateArchiveResponse)++-- | The response's http status code.+updateArchiveResponse_httpStatus :: Lens.Lens' UpdateArchiveResponse Prelude.Int+updateArchiveResponse_httpStatus = Lens.lens (\UpdateArchiveResponse' {httpStatus} -> httpStatus) (\s@UpdateArchiveResponse' {} a -> s {httpStatus = a} :: UpdateArchiveResponse)++instance Prelude.NFData UpdateArchiveResponse where+ rnf UpdateArchiveResponse' {..} =+ Prelude.rnf archiveArn+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf stateReason+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/UpdateConnection.hs view
@@ -0,0 +1,260 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.UpdateConnection+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates settings for a connection.+module Amazonka.CloudWatchEvents.UpdateConnection+ ( -- * Creating a Request+ UpdateConnection (..),+ newUpdateConnection,++ -- * Request Lenses+ updateConnection_authParameters,+ updateConnection_authorizationType,+ updateConnection_description,+ updateConnection_name,++ -- * Destructuring the Response+ UpdateConnectionResponse (..),+ newUpdateConnectionResponse,++ -- * Response Lenses+ updateConnectionResponse_connectionArn,+ updateConnectionResponse_connectionState,+ updateConnectionResponse_creationTime,+ updateConnectionResponse_lastAuthorizedTime,+ updateConnectionResponse_lastModifiedTime,+ updateConnectionResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateConnection' smart constructor.+data UpdateConnection = UpdateConnection'+ { -- | The authorization parameters to use for the connection.+ authParameters :: Prelude.Maybe UpdateConnectionAuthRequestParameters,+ -- | The type of authorization to use for the connection.+ authorizationType :: Prelude.Maybe ConnectionAuthorizationType,+ -- | A description for the connection.+ description :: Prelude.Maybe Prelude.Text,+ -- | The name of the connection to update.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnection' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'authParameters', 'updateConnection_authParameters' - The authorization parameters to use for the connection.+--+-- 'authorizationType', 'updateConnection_authorizationType' - The type of authorization to use for the connection.+--+-- 'description', 'updateConnection_description' - A description for the connection.+--+-- 'name', 'updateConnection_name' - The name of the connection to update.+newUpdateConnection ::+ -- | 'name'+ Prelude.Text ->+ UpdateConnection+newUpdateConnection pName_ =+ UpdateConnection'+ { authParameters = Prelude.Nothing,+ authorizationType = Prelude.Nothing,+ description = Prelude.Nothing,+ name = pName_+ }++-- | The authorization parameters to use for the connection.+updateConnection_authParameters :: Lens.Lens' UpdateConnection (Prelude.Maybe UpdateConnectionAuthRequestParameters)+updateConnection_authParameters = Lens.lens (\UpdateConnection' {authParameters} -> authParameters) (\s@UpdateConnection' {} a -> s {authParameters = a} :: UpdateConnection)++-- | The type of authorization to use for the connection.+updateConnection_authorizationType :: Lens.Lens' UpdateConnection (Prelude.Maybe ConnectionAuthorizationType)+updateConnection_authorizationType = Lens.lens (\UpdateConnection' {authorizationType} -> authorizationType) (\s@UpdateConnection' {} a -> s {authorizationType = a} :: UpdateConnection)++-- | A description for the connection.+updateConnection_description :: Lens.Lens' UpdateConnection (Prelude.Maybe Prelude.Text)+updateConnection_description = Lens.lens (\UpdateConnection' {description} -> description) (\s@UpdateConnection' {} a -> s {description = a} :: UpdateConnection)++-- | The name of the connection to update.+updateConnection_name :: Lens.Lens' UpdateConnection Prelude.Text+updateConnection_name = Lens.lens (\UpdateConnection' {name} -> name) (\s@UpdateConnection' {} a -> s {name = a} :: UpdateConnection)++instance Core.AWSRequest UpdateConnection where+ type+ AWSResponse UpdateConnection =+ UpdateConnectionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateConnectionResponse'+ Prelude.<$> (x Data..?> "ConnectionArn")+ Prelude.<*> (x Data..?> "ConnectionState")+ Prelude.<*> (x Data..?> "CreationTime")+ Prelude.<*> (x Data..?> "LastAuthorizedTime")+ Prelude.<*> (x Data..?> "LastModifiedTime")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateConnection where+ hashWithSalt _salt UpdateConnection' {..} =+ _salt+ `Prelude.hashWithSalt` authParameters+ `Prelude.hashWithSalt` authorizationType+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` name++instance Prelude.NFData UpdateConnection where+ rnf UpdateConnection' {..} =+ Prelude.rnf authParameters+ `Prelude.seq` Prelude.rnf authorizationType+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders UpdateConnection where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.UpdateConnection" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateConnection where+ toJSON UpdateConnection' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AuthParameters" Data..=)+ Prelude.<$> authParameters,+ ("AuthorizationType" Data..=)+ Prelude.<$> authorizationType,+ ("Description" Data..=) Prelude.<$> description,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath UpdateConnection where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateConnection where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateConnectionResponse' smart constructor.+data UpdateConnectionResponse = UpdateConnectionResponse'+ { -- | The ARN of the connection that was updated.+ connectionArn :: Prelude.Maybe Prelude.Text,+ -- | The state of the connection that was updated.+ connectionState :: Prelude.Maybe ConnectionState,+ -- | A time stamp for the time that the connection was created.+ creationTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last authorized.+ lastAuthorizedTime :: Prelude.Maybe Data.POSIX,+ -- | A time stamp for the time that the connection was last modified.+ lastModifiedTime :: Prelude.Maybe Data.POSIX,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateConnectionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'connectionArn', 'updateConnectionResponse_connectionArn' - The ARN of the connection that was updated.+--+-- 'connectionState', 'updateConnectionResponse_connectionState' - The state of the connection that was updated.+--+-- 'creationTime', 'updateConnectionResponse_creationTime' - A time stamp for the time that the connection was created.+--+-- 'lastAuthorizedTime', 'updateConnectionResponse_lastAuthorizedTime' - A time stamp for the time that the connection was last authorized.+--+-- 'lastModifiedTime', 'updateConnectionResponse_lastModifiedTime' - A time stamp for the time that the connection was last modified.+--+-- 'httpStatus', 'updateConnectionResponse_httpStatus' - The response's http status code.+newUpdateConnectionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateConnectionResponse+newUpdateConnectionResponse pHttpStatus_ =+ UpdateConnectionResponse'+ { connectionArn =+ Prelude.Nothing,+ connectionState = Prelude.Nothing,+ creationTime = Prelude.Nothing,+ lastAuthorizedTime = Prelude.Nothing,+ lastModifiedTime = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the connection that was updated.+updateConnectionResponse_connectionArn :: Lens.Lens' UpdateConnectionResponse (Prelude.Maybe Prelude.Text)+updateConnectionResponse_connectionArn = Lens.lens (\UpdateConnectionResponse' {connectionArn} -> connectionArn) (\s@UpdateConnectionResponse' {} a -> s {connectionArn = a} :: UpdateConnectionResponse)++-- | The state of the connection that was updated.+updateConnectionResponse_connectionState :: Lens.Lens' UpdateConnectionResponse (Prelude.Maybe ConnectionState)+updateConnectionResponse_connectionState = Lens.lens (\UpdateConnectionResponse' {connectionState} -> connectionState) (\s@UpdateConnectionResponse' {} a -> s {connectionState = a} :: UpdateConnectionResponse)++-- | A time stamp for the time that the connection was created.+updateConnectionResponse_creationTime :: Lens.Lens' UpdateConnectionResponse (Prelude.Maybe Prelude.UTCTime)+updateConnectionResponse_creationTime = Lens.lens (\UpdateConnectionResponse' {creationTime} -> creationTime) (\s@UpdateConnectionResponse' {} a -> s {creationTime = a} :: UpdateConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last authorized.+updateConnectionResponse_lastAuthorizedTime :: Lens.Lens' UpdateConnectionResponse (Prelude.Maybe Prelude.UTCTime)+updateConnectionResponse_lastAuthorizedTime = Lens.lens (\UpdateConnectionResponse' {lastAuthorizedTime} -> lastAuthorizedTime) (\s@UpdateConnectionResponse' {} a -> s {lastAuthorizedTime = a} :: UpdateConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | A time stamp for the time that the connection was last modified.+updateConnectionResponse_lastModifiedTime :: Lens.Lens' UpdateConnectionResponse (Prelude.Maybe Prelude.UTCTime)+updateConnectionResponse_lastModifiedTime = Lens.lens (\UpdateConnectionResponse' {lastModifiedTime} -> lastModifiedTime) (\s@UpdateConnectionResponse' {} a -> s {lastModifiedTime = a} :: UpdateConnectionResponse) Prelude.. Lens.mapping Data._Time++-- | The response's http status code.+updateConnectionResponse_httpStatus :: Lens.Lens' UpdateConnectionResponse Prelude.Int+updateConnectionResponse_httpStatus = Lens.lens (\UpdateConnectionResponse' {httpStatus} -> httpStatus) (\s@UpdateConnectionResponse' {} a -> s {httpStatus = a} :: UpdateConnectionResponse)++instance Prelude.NFData UpdateConnectionResponse where+ rnf UpdateConnectionResponse' {..} =+ Prelude.rnf connectionArn+ `Prelude.seq` Prelude.rnf connectionState+ `Prelude.seq` Prelude.rnf creationTime+ `Prelude.seq` Prelude.rnf lastAuthorizedTime+ `Prelude.seq` Prelude.rnf lastModifiedTime+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/UpdateEndpoint.hs view
@@ -0,0 +1,347 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.UpdateEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update an existing endpoint. For more information about global+-- endpoints, see+-- <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-global-endpoints.html Making applications Regional-fault tolerant with global endpoints and event replication>+-- in the Amazon EventBridge User Guide..+module Amazonka.CloudWatchEvents.UpdateEndpoint+ ( -- * Creating a Request+ UpdateEndpoint (..),+ newUpdateEndpoint,++ -- * Request Lenses+ updateEndpoint_description,+ updateEndpoint_eventBuses,+ updateEndpoint_replicationConfig,+ updateEndpoint_roleArn,+ updateEndpoint_routingConfig,+ updateEndpoint_name,++ -- * Destructuring the Response+ UpdateEndpointResponse (..),+ newUpdateEndpointResponse,++ -- * Response Lenses+ updateEndpointResponse_arn,+ updateEndpointResponse_endpointId,+ updateEndpointResponse_endpointUrl,+ updateEndpointResponse_eventBuses,+ updateEndpointResponse_name,+ updateEndpointResponse_replicationConfig,+ updateEndpointResponse_roleArn,+ updateEndpointResponse_routingConfig,+ updateEndpointResponse_state,+ updateEndpointResponse_httpStatus,+ )+where++import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateEndpoint' smart constructor.+data UpdateEndpoint = UpdateEndpoint'+ { -- | A description for the endpoint.+ description :: Prelude.Maybe Prelude.Text,+ -- | Define event buses used for replication.+ eventBuses :: Prelude.Maybe (Prelude.NonEmpty EndpointEventBus),+ -- | Whether event replication was enabled or disabled by this request.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used by event replication for this request.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | Configure the routing policy, including the health check and secondary+ -- Region..+ routingConfig :: Prelude.Maybe RoutingConfig,+ -- | The name of the endpoint you want to update.+ name :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateEndpoint_description' - A description for the endpoint.+--+-- 'eventBuses', 'updateEndpoint_eventBuses' - Define event buses used for replication.+--+-- 'replicationConfig', 'updateEndpoint_replicationConfig' - Whether event replication was enabled or disabled by this request.+--+-- 'roleArn', 'updateEndpoint_roleArn' - The ARN of the role used by event replication for this request.+--+-- 'routingConfig', 'updateEndpoint_routingConfig' - Configure the routing policy, including the health check and secondary+-- Region..+--+-- 'name', 'updateEndpoint_name' - The name of the endpoint you want to update.+newUpdateEndpoint ::+ -- | 'name'+ Prelude.Text ->+ UpdateEndpoint+newUpdateEndpoint pName_ =+ UpdateEndpoint'+ { description = Prelude.Nothing,+ eventBuses = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ routingConfig = Prelude.Nothing,+ name = pName_+ }++-- | A description for the endpoint.+updateEndpoint_description :: Lens.Lens' UpdateEndpoint (Prelude.Maybe Prelude.Text)+updateEndpoint_description = Lens.lens (\UpdateEndpoint' {description} -> description) (\s@UpdateEndpoint' {} a -> s {description = a} :: UpdateEndpoint)++-- | Define event buses used for replication.+updateEndpoint_eventBuses :: Lens.Lens' UpdateEndpoint (Prelude.Maybe (Prelude.NonEmpty EndpointEventBus))+updateEndpoint_eventBuses = Lens.lens (\UpdateEndpoint' {eventBuses} -> eventBuses) (\s@UpdateEndpoint' {} a -> s {eventBuses = a} :: UpdateEndpoint) Prelude.. Lens.mapping Lens.coerced++-- | Whether event replication was enabled or disabled by this request.+updateEndpoint_replicationConfig :: Lens.Lens' UpdateEndpoint (Prelude.Maybe ReplicationConfig)+updateEndpoint_replicationConfig = Lens.lens (\UpdateEndpoint' {replicationConfig} -> replicationConfig) (\s@UpdateEndpoint' {} a -> s {replicationConfig = a} :: UpdateEndpoint)++-- | The ARN of the role used by event replication for this request.+updateEndpoint_roleArn :: Lens.Lens' UpdateEndpoint (Prelude.Maybe Prelude.Text)+updateEndpoint_roleArn = Lens.lens (\UpdateEndpoint' {roleArn} -> roleArn) (\s@UpdateEndpoint' {} a -> s {roleArn = a} :: UpdateEndpoint)++-- | Configure the routing policy, including the health check and secondary+-- Region..+updateEndpoint_routingConfig :: Lens.Lens' UpdateEndpoint (Prelude.Maybe RoutingConfig)+updateEndpoint_routingConfig = Lens.lens (\UpdateEndpoint' {routingConfig} -> routingConfig) (\s@UpdateEndpoint' {} a -> s {routingConfig = a} :: UpdateEndpoint)++-- | The name of the endpoint you want to update.+updateEndpoint_name :: Lens.Lens' UpdateEndpoint Prelude.Text+updateEndpoint_name = Lens.lens (\UpdateEndpoint' {name} -> name) (\s@UpdateEndpoint' {} a -> s {name = a} :: UpdateEndpoint)++instance Core.AWSRequest UpdateEndpoint where+ type+ AWSResponse UpdateEndpoint =+ UpdateEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateEndpointResponse'+ Prelude.<$> (x Data..?> "Arn")+ Prelude.<*> (x Data..?> "EndpointId")+ Prelude.<*> (x Data..?> "EndpointUrl")+ Prelude.<*> (x Data..?> "EventBuses")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "ReplicationConfig")+ Prelude.<*> (x Data..?> "RoleArn")+ Prelude.<*> (x Data..?> "RoutingConfig")+ Prelude.<*> (x Data..?> "State")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateEndpoint where+ hashWithSalt _salt UpdateEndpoint' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` eventBuses+ `Prelude.hashWithSalt` replicationConfig+ `Prelude.hashWithSalt` roleArn+ `Prelude.hashWithSalt` routingConfig+ `Prelude.hashWithSalt` name++instance Prelude.NFData UpdateEndpoint where+ rnf UpdateEndpoint' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders UpdateEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AWSEvents.UpdateEndpoint" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateEndpoint where+ toJSON UpdateEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("EventBuses" Data..=) Prelude.<$> eventBuses,+ ("ReplicationConfig" Data..=)+ Prelude.<$> replicationConfig,+ ("RoleArn" Data..=) Prelude.<$> roleArn,+ ("RoutingConfig" Data..=) Prelude.<$> routingConfig,+ Prelude.Just ("Name" Data..= name)+ ]+ )++instance Data.ToPath UpdateEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateEndpointResponse' smart constructor.+data UpdateEndpointResponse = UpdateEndpointResponse'+ { -- | The ARN of the endpoint you updated in this request.+ arn :: Prelude.Maybe Prelude.Text,+ -- | The ID of the endpoint you updated in this request.+ endpointId :: Prelude.Maybe Prelude.Text,+ -- | The URL of the endpoint you updated in this request.+ endpointUrl :: Prelude.Maybe Prelude.Text,+ -- | The event buses used for replication for the endpoint you updated in+ -- this request.+ eventBuses :: Prelude.Maybe (Prelude.NonEmpty EndpointEventBus),+ -- | The name of the endpoint you updated in this request.+ name :: Prelude.Maybe Prelude.Text,+ -- | Whether event replication was enabled or disabled for the endpoint you+ -- updated in this request.+ replicationConfig :: Prelude.Maybe ReplicationConfig,+ -- | The ARN of the role used by event replication for the endpoint you+ -- updated in this request.+ roleArn :: Prelude.Maybe Prelude.Text,+ -- | The routing configuration you updated in this request.+ routingConfig :: Prelude.Maybe RoutingConfig,+ -- | The state of the endpoint you updated in this request.+ state :: Prelude.Maybe EndpointState,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'updateEndpointResponse_arn' - The ARN of the endpoint you updated in this request.+--+-- 'endpointId', 'updateEndpointResponse_endpointId' - The ID of the endpoint you updated in this request.+--+-- 'endpointUrl', 'updateEndpointResponse_endpointUrl' - The URL of the endpoint you updated in this request.+--+-- 'eventBuses', 'updateEndpointResponse_eventBuses' - The event buses used for replication for the endpoint you updated in+-- this request.+--+-- 'name', 'updateEndpointResponse_name' - The name of the endpoint you updated in this request.+--+-- 'replicationConfig', 'updateEndpointResponse_replicationConfig' - Whether event replication was enabled or disabled for the endpoint you+-- updated in this request.+--+-- 'roleArn', 'updateEndpointResponse_roleArn' - The ARN of the role used by event replication for the endpoint you+-- updated in this request.+--+-- 'routingConfig', 'updateEndpointResponse_routingConfig' - The routing configuration you updated in this request.+--+-- 'state', 'updateEndpointResponse_state' - The state of the endpoint you updated in this request.+--+-- 'httpStatus', 'updateEndpointResponse_httpStatus' - The response's http status code.+newUpdateEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateEndpointResponse+newUpdateEndpointResponse pHttpStatus_ =+ UpdateEndpointResponse'+ { arn = Prelude.Nothing,+ endpointId = Prelude.Nothing,+ endpointUrl = Prelude.Nothing,+ eventBuses = Prelude.Nothing,+ name = Prelude.Nothing,+ replicationConfig = Prelude.Nothing,+ roleArn = Prelude.Nothing,+ routingConfig = Prelude.Nothing,+ state = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ARN of the endpoint you updated in this request.+updateEndpointResponse_arn :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe Prelude.Text)+updateEndpointResponse_arn = Lens.lens (\UpdateEndpointResponse' {arn} -> arn) (\s@UpdateEndpointResponse' {} a -> s {arn = a} :: UpdateEndpointResponse)++-- | The ID of the endpoint you updated in this request.+updateEndpointResponse_endpointId :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe Prelude.Text)+updateEndpointResponse_endpointId = Lens.lens (\UpdateEndpointResponse' {endpointId} -> endpointId) (\s@UpdateEndpointResponse' {} a -> s {endpointId = a} :: UpdateEndpointResponse)++-- | The URL of the endpoint you updated in this request.+updateEndpointResponse_endpointUrl :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe Prelude.Text)+updateEndpointResponse_endpointUrl = Lens.lens (\UpdateEndpointResponse' {endpointUrl} -> endpointUrl) (\s@UpdateEndpointResponse' {} a -> s {endpointUrl = a} :: UpdateEndpointResponse)++-- | The event buses used for replication for the endpoint you updated in+-- this request.+updateEndpointResponse_eventBuses :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe (Prelude.NonEmpty EndpointEventBus))+updateEndpointResponse_eventBuses = Lens.lens (\UpdateEndpointResponse' {eventBuses} -> eventBuses) (\s@UpdateEndpointResponse' {} a -> s {eventBuses = a} :: UpdateEndpointResponse) Prelude.. Lens.mapping Lens.coerced++-- | The name of the endpoint you updated in this request.+updateEndpointResponse_name :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe Prelude.Text)+updateEndpointResponse_name = Lens.lens (\UpdateEndpointResponse' {name} -> name) (\s@UpdateEndpointResponse' {} a -> s {name = a} :: UpdateEndpointResponse)++-- | Whether event replication was enabled or disabled for the endpoint you+-- updated in this request.+updateEndpointResponse_replicationConfig :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe ReplicationConfig)+updateEndpointResponse_replicationConfig = Lens.lens (\UpdateEndpointResponse' {replicationConfig} -> replicationConfig) (\s@UpdateEndpointResponse' {} a -> s {replicationConfig = a} :: UpdateEndpointResponse)++-- | The ARN of the role used by event replication for the endpoint you+-- updated in this request.+updateEndpointResponse_roleArn :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe Prelude.Text)+updateEndpointResponse_roleArn = Lens.lens (\UpdateEndpointResponse' {roleArn} -> roleArn) (\s@UpdateEndpointResponse' {} a -> s {roleArn = a} :: UpdateEndpointResponse)++-- | The routing configuration you updated in this request.+updateEndpointResponse_routingConfig :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe RoutingConfig)+updateEndpointResponse_routingConfig = Lens.lens (\UpdateEndpointResponse' {routingConfig} -> routingConfig) (\s@UpdateEndpointResponse' {} a -> s {routingConfig = a} :: UpdateEndpointResponse)++-- | The state of the endpoint you updated in this request.+updateEndpointResponse_state :: Lens.Lens' UpdateEndpointResponse (Prelude.Maybe EndpointState)+updateEndpointResponse_state = Lens.lens (\UpdateEndpointResponse' {state} -> state) (\s@UpdateEndpointResponse' {} a -> s {state = a} :: UpdateEndpointResponse)++-- | The response's http status code.+updateEndpointResponse_httpStatus :: Lens.Lens' UpdateEndpointResponse Prelude.Int+updateEndpointResponse_httpStatus = Lens.lens (\UpdateEndpointResponse' {httpStatus} -> httpStatus) (\s@UpdateEndpointResponse' {} a -> s {httpStatus = a} :: UpdateEndpointResponse)++instance Prelude.NFData UpdateEndpointResponse where+ rnf UpdateEndpointResponse' {..} =+ Prelude.rnf arn+ `Prelude.seq` Prelude.rnf endpointId+ `Prelude.seq` Prelude.rnf endpointUrl+ `Prelude.seq` Prelude.rnf eventBuses+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf replicationConfig+ `Prelude.seq` Prelude.rnf roleArn+ `Prelude.seq` Prelude.rnf routingConfig+ `Prelude.seq` Prelude.rnf state+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudWatchEvents/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.CloudWatchEvents.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudWatchEvents.Waiters where++import Amazonka.CloudWatchEvents.Lens+import Amazonka.CloudWatchEvents.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/CloudWatchEvents.hs
@@ -1,263 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents--- Copyright : (c) 2013-2018 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)------ Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state, they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a pre-determined schedule. For example, you can configure rules to:--------- * Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.------ * Direct specific API records from CloudTrail to an Amazon Kinesis stream for detailed analysis of potential security or availability risks.------ * Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.------------ For more information about the features of Amazon CloudWatch Events, see the <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events Amazon CloudWatch Events User Guide> .----module Network.AWS.CloudWatchEvents- (- -- * Service Configuration- cloudWatchEvents-- -- * Errors- -- $errors-- -- ** PolicyLengthExceededException- , _PolicyLengthExceededException-- -- ** ConcurrentModificationException- , _ConcurrentModificationException-- -- ** InvalidEventPatternException- , _InvalidEventPatternException-- -- ** InternalException- , _InternalException-- -- ** ResourceNotFoundException- , _ResourceNotFoundException-- -- ** LimitExceededException- , _LimitExceededException-- -- * Waiters- -- $waiters-- -- * Operations- -- $operations-- -- ** RemoveTargets- , module Network.AWS.CloudWatchEvents.RemoveTargets-- -- ** DeleteRule- , module Network.AWS.CloudWatchEvents.DeleteRule-- -- ** ListRules- , module Network.AWS.CloudWatchEvents.ListRules-- -- ** PutRule- , module Network.AWS.CloudWatchEvents.PutRule-- -- ** DisableRule- , module Network.AWS.CloudWatchEvents.DisableRule-- -- ** PutPermission- , module Network.AWS.CloudWatchEvents.PutPermission-- -- ** ListTargetsByRule- , module Network.AWS.CloudWatchEvents.ListTargetsByRule-- -- ** RemovePermission- , module Network.AWS.CloudWatchEvents.RemovePermission-- -- ** DescribeRule- , module Network.AWS.CloudWatchEvents.DescribeRule-- -- ** EnableRule- , module Network.AWS.CloudWatchEvents.EnableRule-- -- ** ListRuleNamesByTarget- , module Network.AWS.CloudWatchEvents.ListRuleNamesByTarget-- -- ** TestEventPattern- , module Network.AWS.CloudWatchEvents.TestEventPattern-- -- ** DescribeEventBus- , module Network.AWS.CloudWatchEvents.DescribeEventBus-- -- ** PutTargets- , module Network.AWS.CloudWatchEvents.PutTargets-- -- ** PutEvents- , module Network.AWS.CloudWatchEvents.PutEvents-- -- * Types-- -- ** RuleState- , RuleState (..)-- -- ** BatchArrayProperties- , BatchArrayProperties- , batchArrayProperties- , bapSize-- -- ** BatchParameters- , BatchParameters- , batchParameters- , bpRetryStrategy- , bpArrayProperties- , bpJobDefinition- , bpJobName-- -- ** BatchRetryStrategy- , BatchRetryStrategy- , batchRetryStrategy- , brsAttempts-- -- ** EcsParameters- , EcsParameters- , ecsParameters- , epTaskCount- , epTaskDefinitionARN-- -- ** InputTransformer- , InputTransformer- , inputTransformer- , itInputPathsMap- , itInputTemplate-- -- ** KinesisParameters- , KinesisParameters- , kinesisParameters- , kpPartitionKeyPath-- -- ** PutEventsRequestEntry- , PutEventsRequestEntry- , putEventsRequestEntry- , pereTime- , pereDetailType- , pereResources- , pereSource- , pereDetail-- -- ** PutEventsResultEntry- , PutEventsResultEntry- , putEventsResultEntry- , pereErrorCode- , pereErrorMessage- , pereEventId-- -- ** PutTargetsResultEntry- , PutTargetsResultEntry- , putTargetsResultEntry- , ptreTargetId- , ptreErrorCode- , ptreErrorMessage-- -- ** RemoveTargetsResultEntry- , RemoveTargetsResultEntry- , removeTargetsResultEntry- , rtreTargetId- , rtreErrorCode- , rtreErrorMessage-- -- ** Rule- , Rule- , rule- , rEventPattern- , rState- , rARN- , rScheduleExpression- , rName- , rDescription- , rRoleARN-- -- ** RunCommandParameters- , RunCommandParameters- , runCommandParameters- , rcpRunCommandTargets-- -- ** RunCommandTarget- , RunCommandTarget- , runCommandTarget- , rctKey- , rctValues-- -- ** SqsParameters- , SqsParameters- , sqsParameters- , spMessageGroupId-- -- ** Target- , Target- , target- , tRunCommandParameters- , tKinesisParameters- , tInputTransformer- , tSqsParameters- , tInput- , tBatchParameters- , tEcsParameters- , tInputPath- , tRoleARN- , tId- , tARN- ) where--import Network.AWS.CloudWatchEvents.DeleteRule-import Network.AWS.CloudWatchEvents.DescribeEventBus-import Network.AWS.CloudWatchEvents.DescribeRule-import Network.AWS.CloudWatchEvents.DisableRule-import Network.AWS.CloudWatchEvents.EnableRule-import Network.AWS.CloudWatchEvents.ListRuleNamesByTarget-import Network.AWS.CloudWatchEvents.ListRules-import Network.AWS.CloudWatchEvents.ListTargetsByRule-import Network.AWS.CloudWatchEvents.PutEvents-import Network.AWS.CloudWatchEvents.PutPermission-import Network.AWS.CloudWatchEvents.PutRule-import Network.AWS.CloudWatchEvents.PutTargets-import Network.AWS.CloudWatchEvents.RemovePermission-import Network.AWS.CloudWatchEvents.RemoveTargets-import Network.AWS.CloudWatchEvents.TestEventPattern-import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'CloudWatchEvents'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/CloudWatchEvents/DeleteRule.hs
@@ -1,110 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.DeleteRule--- Copyright : (c) 2013-2018 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)------ Deletes the specified rule.--------- You must remove all targets from a rule using 'RemoveTargets' before you can delete the rule.------ When you delete a rule, incoming events might continue to match to the deleted rule. Please allow a short period of time for changes to take effect.----module Network.AWS.CloudWatchEvents.DeleteRule- (- -- * Creating a Request- deleteRule- , DeleteRule- -- * Request Lenses- , drName-- -- * Destructuring the Response- , deleteRuleResponse- , DeleteRuleResponse- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteRule' smart constructor.-newtype DeleteRule = DeleteRule'- { _drName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drName' - The name of the rule.-deleteRule- :: Text -- ^ 'drName'- -> DeleteRule-deleteRule pName_ = DeleteRule' {_drName = pName_}----- | The name of the rule.-drName :: Lens' DeleteRule Text-drName = lens _drName (\ s a -> s{_drName = a})--instance AWSRequest DeleteRule where- type Rs DeleteRule = DeleteRuleResponse- request = postJSON cloudWatchEvents- response = receiveNull DeleteRuleResponse'--instance Hashable DeleteRule where--instance NFData DeleteRule where--instance ToHeaders DeleteRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.DeleteRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteRule where- toJSON DeleteRule'{..}- = object (catMaybes [Just ("Name" .= _drName)])--instance ToPath DeleteRule where- toPath = const "/"--instance ToQuery DeleteRule where- toQuery = const mempty---- | /See:/ 'deleteRuleResponse' smart constructor.-data DeleteRuleResponse =- DeleteRuleResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteRuleResponse' with the minimum fields required to make a request.----deleteRuleResponse- :: DeleteRuleResponse-deleteRuleResponse = DeleteRuleResponse'---instance NFData DeleteRuleResponse where
− gen/Network/AWS/CloudWatchEvents/DescribeEventBus.hs
@@ -1,140 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.DescribeEventBus--- Copyright : (c) 2013-2018 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)------ Displays the external AWS accounts that are permitted to write events to your account using your account's event bus, and the associated policy. To enable your account to receive events from other accounts, use 'PutPermission' .-------module Network.AWS.CloudWatchEvents.DescribeEventBus- (- -- * Creating a Request- describeEventBus- , DescribeEventBus-- -- * Destructuring the Response- , describeEventBusResponse- , DescribeEventBusResponse- -- * Response Lenses- , debrsARN- , debrsName- , debrsPolicy- , debrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEventBus' smart constructor.-data DescribeEventBus =- DescribeEventBus'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventBus' with the minimum fields required to make a request.----describeEventBus- :: DescribeEventBus-describeEventBus = DescribeEventBus'---instance AWSRequest DescribeEventBus where- type Rs DescribeEventBus = DescribeEventBusResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- DescribeEventBusResponse' <$>- (x .?> "Arn") <*> (x .?> "Name") <*> (x .?> "Policy")- <*> (pure (fromEnum s)))--instance Hashable DescribeEventBus where--instance NFData DescribeEventBus where--instance ToHeaders DescribeEventBus where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.DescribeEventBus" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEventBus where- toJSON = const (Object mempty)--instance ToPath DescribeEventBus where- toPath = const "/"--instance ToQuery DescribeEventBus where- toQuery = const mempty---- | /See:/ 'describeEventBusResponse' smart constructor.-data DescribeEventBusResponse = DescribeEventBusResponse'- { _debrsARN :: !(Maybe Text)- , _debrsName :: !(Maybe Text)- , _debrsPolicy :: !(Maybe Text)- , _debrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventBusResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'debrsARN' - The Amazon Resource Name (ARN) of the account permitted to write events to the current account.------ * 'debrsName' - The name of the event bus. Currently, this is always @default@ .------ * 'debrsPolicy' - The policy that enables the external account to send events to your account.------ * 'debrsResponseStatus' - -- | The response status code.-describeEventBusResponse- :: Int -- ^ 'debrsResponseStatus'- -> DescribeEventBusResponse-describeEventBusResponse pResponseStatus_ =- DescribeEventBusResponse'- { _debrsARN = Nothing- , _debrsName = Nothing- , _debrsPolicy = Nothing- , _debrsResponseStatus = pResponseStatus_- }----- | The Amazon Resource Name (ARN) of the account permitted to write events to the current account.-debrsARN :: Lens' DescribeEventBusResponse (Maybe Text)-debrsARN = lens _debrsARN (\ s a -> s{_debrsARN = a})---- | The name of the event bus. Currently, this is always @default@ .-debrsName :: Lens' DescribeEventBusResponse (Maybe Text)-debrsName = lens _debrsName (\ s a -> s{_debrsName = a})---- | The policy that enables the external account to send events to your account.-debrsPolicy :: Lens' DescribeEventBusResponse (Maybe Text)-debrsPolicy = lens _debrsPolicy (\ s a -> s{_debrsPolicy = a})---- | -- | The response status code.-debrsResponseStatus :: Lens' DescribeEventBusResponse Int-debrsResponseStatus = lens _debrsResponseStatus (\ s a -> s{_debrsResponseStatus = a})--instance NFData DescribeEventBusResponse where
− gen/Network/AWS/CloudWatchEvents/DescribeRule.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.DescribeRule--- Copyright : (c) 2013-2018 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)------ Describes the specified rule.-------module Network.AWS.CloudWatchEvents.DescribeRule- (- -- * Creating a Request- describeRule- , DescribeRule- -- * Request Lenses- , desName-- -- * Destructuring the Response- , describeRuleResponse- , DescribeRuleResponse- -- * Response Lenses- , drrsEventPattern- , drrsState- , drrsARN- , drrsScheduleExpression- , drrsName- , drrsDescription- , drrsRoleARN- , drrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeRule' smart constructor.-newtype DescribeRule = DescribeRule'- { _desName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'desName' - The name of the rule.-describeRule- :: Text -- ^ 'desName'- -> DescribeRule-describeRule pName_ = DescribeRule' {_desName = pName_}----- | The name of the rule.-desName :: Lens' DescribeRule Text-desName = lens _desName (\ s a -> s{_desName = a})--instance AWSRequest DescribeRule where- type Rs DescribeRule = DescribeRuleResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- DescribeRuleResponse' <$>- (x .?> "EventPattern") <*> (x .?> "State") <*>- (x .?> "Arn")- <*> (x .?> "ScheduleExpression")- <*> (x .?> "Name")- <*> (x .?> "Description")- <*> (x .?> "RoleArn")- <*> (pure (fromEnum s)))--instance Hashable DescribeRule where--instance NFData DescribeRule where--instance ToHeaders DescribeRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.DescribeRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeRule where- toJSON DescribeRule'{..}- = object (catMaybes [Just ("Name" .= _desName)])--instance ToPath DescribeRule where- toPath = const "/"--instance ToQuery DescribeRule where- toQuery = const mempty---- | /See:/ 'describeRuleResponse' smart constructor.-data DescribeRuleResponse = DescribeRuleResponse'- { _drrsEventPattern :: !(Maybe Text)- , _drrsState :: !(Maybe RuleState)- , _drrsARN :: !(Maybe Text)- , _drrsScheduleExpression :: !(Maybe Text)- , _drrsName :: !(Maybe Text)- , _drrsDescription :: !(Maybe Text)- , _drrsRoleARN :: !(Maybe Text)- , _drrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeRuleResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drrsEventPattern' - The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .------ * 'drrsState' - Specifies whether the rule is enabled or disabled.------ * 'drrsARN' - The Amazon Resource Name (ARN) of the rule.------ * 'drrsScheduleExpression' - The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".------ * 'drrsName' - The name of the rule.------ * 'drrsDescription' - The description of the rule.------ * 'drrsRoleARN' - The Amazon Resource Name (ARN) of the IAM role associated with the rule.------ * 'drrsResponseStatus' - -- | The response status code.-describeRuleResponse- :: Int -- ^ 'drrsResponseStatus'- -> DescribeRuleResponse-describeRuleResponse pResponseStatus_ =- DescribeRuleResponse'- { _drrsEventPattern = Nothing- , _drrsState = Nothing- , _drrsARN = Nothing- , _drrsScheduleExpression = Nothing- , _drrsName = Nothing- , _drrsDescription = Nothing- , _drrsRoleARN = Nothing- , _drrsResponseStatus = pResponseStatus_- }----- | The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .-drrsEventPattern :: Lens' DescribeRuleResponse (Maybe Text)-drrsEventPattern = lens _drrsEventPattern (\ s a -> s{_drrsEventPattern = a})---- | Specifies whether the rule is enabled or disabled.-drrsState :: Lens' DescribeRuleResponse (Maybe RuleState)-drrsState = lens _drrsState (\ s a -> s{_drrsState = a})---- | The Amazon Resource Name (ARN) of the rule.-drrsARN :: Lens' DescribeRuleResponse (Maybe Text)-drrsARN = lens _drrsARN (\ s a -> s{_drrsARN = a})---- | The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".-drrsScheduleExpression :: Lens' DescribeRuleResponse (Maybe Text)-drrsScheduleExpression = lens _drrsScheduleExpression (\ s a -> s{_drrsScheduleExpression = a})---- | The name of the rule.-drrsName :: Lens' DescribeRuleResponse (Maybe Text)-drrsName = lens _drrsName (\ s a -> s{_drrsName = a})---- | The description of the rule.-drrsDescription :: Lens' DescribeRuleResponse (Maybe Text)-drrsDescription = lens _drrsDescription (\ s a -> s{_drrsDescription = a})---- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.-drrsRoleARN :: Lens' DescribeRuleResponse (Maybe Text)-drrsRoleARN = lens _drrsRoleARN (\ s a -> s{_drrsRoleARN = a})---- | -- | The response status code.-drrsResponseStatus :: Lens' DescribeRuleResponse Int-drrsResponseStatus = lens _drrsResponseStatus (\ s a -> s{_drrsResponseStatus = a})--instance NFData DescribeRuleResponse where
− gen/Network/AWS/CloudWatchEvents/DisableRule.hs
@@ -1,108 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.DisableRule--- Copyright : (c) 2013-2018 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)------ Disables the specified rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.--------- When you disable a rule, incoming events might continue to match to the disabled rule. Please allow a short period of time for changes to take effect.----module Network.AWS.CloudWatchEvents.DisableRule- (- -- * Creating a Request- disableRule- , DisableRule- -- * Request Lenses- , dName-- -- * Destructuring the Response- , disableRuleResponse- , DisableRuleResponse- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'disableRule' smart constructor.-newtype DisableRule = DisableRule'- { _dName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisableRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dName' - The name of the rule.-disableRule- :: Text -- ^ 'dName'- -> DisableRule-disableRule pName_ = DisableRule' {_dName = pName_}----- | The name of the rule.-dName :: Lens' DisableRule Text-dName = lens _dName (\ s a -> s{_dName = a})--instance AWSRequest DisableRule where- type Rs DisableRule = DisableRuleResponse- request = postJSON cloudWatchEvents- response = receiveNull DisableRuleResponse'--instance Hashable DisableRule where--instance NFData DisableRule where--instance ToHeaders DisableRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.DisableRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisableRule where- toJSON DisableRule'{..}- = object (catMaybes [Just ("Name" .= _dName)])--instance ToPath DisableRule where- toPath = const "/"--instance ToQuery DisableRule where- toQuery = const mempty---- | /See:/ 'disableRuleResponse' smart constructor.-data DisableRuleResponse =- DisableRuleResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisableRuleResponse' with the minimum fields required to make a request.----disableRuleResponse- :: DisableRuleResponse-disableRuleResponse = DisableRuleResponse'---instance NFData DisableRuleResponse where
− gen/Network/AWS/CloudWatchEvents/EnableRule.hs
@@ -1,108 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.EnableRule--- Copyright : (c) 2013-2018 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)------ Enables the specified rule. If the rule does not exist, the operation fails.--------- When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect.----module Network.AWS.CloudWatchEvents.EnableRule- (- -- * Creating a Request- enableRule- , EnableRule- -- * Request Lenses- , erName-- -- * Destructuring the Response- , enableRuleResponse- , EnableRuleResponse- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'enableRule' smart constructor.-newtype EnableRule = EnableRule'- { _erName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'erName' - The name of the rule.-enableRule- :: Text -- ^ 'erName'- -> EnableRule-enableRule pName_ = EnableRule' {_erName = pName_}----- | The name of the rule.-erName :: Lens' EnableRule Text-erName = lens _erName (\ s a -> s{_erName = a})--instance AWSRequest EnableRule where- type Rs EnableRule = EnableRuleResponse- request = postJSON cloudWatchEvents- response = receiveNull EnableRuleResponse'--instance Hashable EnableRule where--instance NFData EnableRule where--instance ToHeaders EnableRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.EnableRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON EnableRule where- toJSON EnableRule'{..}- = object (catMaybes [Just ("Name" .= _erName)])--instance ToPath EnableRule where- toPath = const "/"--instance ToQuery EnableRule where- toQuery = const mempty---- | /See:/ 'enableRuleResponse' smart constructor.-data EnableRuleResponse =- EnableRuleResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EnableRuleResponse' with the minimum fields required to make a request.----enableRuleResponse- :: EnableRuleResponse-enableRuleResponse = EnableRuleResponse'---instance NFData EnableRuleResponse where
− gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.ListRuleNamesByTarget--- Copyright : (c) 2013-2018 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)------ Lists the rules for the specified target. You can see which of the rules in Amazon CloudWatch Events can invoke a specific target in your account.-------module Network.AWS.CloudWatchEvents.ListRuleNamesByTarget- (- -- * Creating a Request- listRuleNamesByTarget- , ListRuleNamesByTarget- -- * Request Lenses- , lrnbtNextToken- , lrnbtLimit- , lrnbtTargetARN-- -- * Destructuring the Response- , listRuleNamesByTargetResponse- , ListRuleNamesByTargetResponse- -- * Response Lenses- , lrnbtrsRuleNames- , lrnbtrsNextToken- , lrnbtrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listRuleNamesByTarget' smart constructor.-data ListRuleNamesByTarget = ListRuleNamesByTarget'- { _lrnbtNextToken :: !(Maybe Text)- , _lrnbtLimit :: !(Maybe Nat)- , _lrnbtTargetARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRuleNamesByTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrnbtNextToken' - The token returned by a previous call to retrieve the next set of results.------ * 'lrnbtLimit' - The maximum number of results to return.------ * 'lrnbtTargetARN' - The Amazon Resource Name (ARN) of the target resource.-listRuleNamesByTarget- :: Text -- ^ 'lrnbtTargetARN'- -> ListRuleNamesByTarget-listRuleNamesByTarget pTargetARN_ =- ListRuleNamesByTarget'- { _lrnbtNextToken = Nothing- , _lrnbtLimit = Nothing- , _lrnbtTargetARN = pTargetARN_- }----- | The token returned by a previous call to retrieve the next set of results.-lrnbtNextToken :: Lens' ListRuleNamesByTarget (Maybe Text)-lrnbtNextToken = lens _lrnbtNextToken (\ s a -> s{_lrnbtNextToken = a})---- | The maximum number of results to return.-lrnbtLimit :: Lens' ListRuleNamesByTarget (Maybe Natural)-lrnbtLimit = lens _lrnbtLimit (\ s a -> s{_lrnbtLimit = a}) . mapping _Nat---- | The Amazon Resource Name (ARN) of the target resource.-lrnbtTargetARN :: Lens' ListRuleNamesByTarget Text-lrnbtTargetARN = lens _lrnbtTargetARN (\ s a -> s{_lrnbtTargetARN = a})--instance AWSRequest ListRuleNamesByTarget where- type Rs ListRuleNamesByTarget =- ListRuleNamesByTargetResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- ListRuleNamesByTargetResponse' <$>- (x .?> "RuleNames" .!@ mempty) <*>- (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListRuleNamesByTarget where--instance NFData ListRuleNamesByTarget where--instance ToHeaders ListRuleNamesByTarget where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.ListRuleNamesByTarget" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListRuleNamesByTarget where- toJSON ListRuleNamesByTarget'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lrnbtNextToken,- ("Limit" .=) <$> _lrnbtLimit,- Just ("TargetArn" .= _lrnbtTargetARN)])--instance ToPath ListRuleNamesByTarget where- toPath = const "/"--instance ToQuery ListRuleNamesByTarget where- toQuery = const mempty---- | /See:/ 'listRuleNamesByTargetResponse' smart constructor.-data ListRuleNamesByTargetResponse = ListRuleNamesByTargetResponse'- { _lrnbtrsRuleNames :: !(Maybe [Text])- , _lrnbtrsNextToken :: !(Maybe Text)- , _lrnbtrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRuleNamesByTargetResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrnbtrsRuleNames' - The names of the rules that can invoke the given target.------ * 'lrnbtrsNextToken' - Indicates whether there are additional results to retrieve. If there are no more results, the value is null.------ * 'lrnbtrsResponseStatus' - -- | The response status code.-listRuleNamesByTargetResponse- :: Int -- ^ 'lrnbtrsResponseStatus'- -> ListRuleNamesByTargetResponse-listRuleNamesByTargetResponse pResponseStatus_ =- ListRuleNamesByTargetResponse'- { _lrnbtrsRuleNames = Nothing- , _lrnbtrsNextToken = Nothing- , _lrnbtrsResponseStatus = pResponseStatus_- }----- | The names of the rules that can invoke the given target.-lrnbtrsRuleNames :: Lens' ListRuleNamesByTargetResponse [Text]-lrnbtrsRuleNames = lens _lrnbtrsRuleNames (\ s a -> s{_lrnbtrsRuleNames = a}) . _Default . _Coerce---- | Indicates whether there are additional results to retrieve. If there are no more results, the value is null.-lrnbtrsNextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)-lrnbtrsNextToken = lens _lrnbtrsNextToken (\ s a -> s{_lrnbtrsNextToken = a})---- | -- | The response status code.-lrnbtrsResponseStatus :: Lens' ListRuleNamesByTargetResponse Int-lrnbtrsResponseStatus = lens _lrnbtrsResponseStatus (\ s a -> s{_lrnbtrsResponseStatus = a})--instance NFData ListRuleNamesByTargetResponse where
− gen/Network/AWS/CloudWatchEvents/ListRules.hs
@@ -1,163 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.ListRules--- Copyright : (c) 2013-2018 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)------ Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match to the rule names.-------module Network.AWS.CloudWatchEvents.ListRules- (- -- * Creating a Request- listRules- , ListRules- -- * Request Lenses- , lrNextToken- , lrNamePrefix- , lrLimit-- -- * Destructuring the Response- , listRulesResponse- , ListRulesResponse- -- * Response Lenses- , lrrsRules- , lrrsNextToken- , lrrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listRules' smart constructor.-data ListRules = ListRules'- { _lrNextToken :: !(Maybe Text)- , _lrNamePrefix :: !(Maybe Text)- , _lrLimit :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRules' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrNextToken' - The token returned by a previous call to retrieve the next set of results.------ * 'lrNamePrefix' - The prefix matching the rule name.------ * 'lrLimit' - The maximum number of results to return.-listRules- :: ListRules-listRules =- ListRules'- {_lrNextToken = Nothing, _lrNamePrefix = Nothing, _lrLimit = Nothing}----- | The token returned by a previous call to retrieve the next set of results.-lrNextToken :: Lens' ListRules (Maybe Text)-lrNextToken = lens _lrNextToken (\ s a -> s{_lrNextToken = a})---- | The prefix matching the rule name.-lrNamePrefix :: Lens' ListRules (Maybe Text)-lrNamePrefix = lens _lrNamePrefix (\ s a -> s{_lrNamePrefix = a})---- | The maximum number of results to return.-lrLimit :: Lens' ListRules (Maybe Natural)-lrLimit = lens _lrLimit (\ s a -> s{_lrLimit = a}) . mapping _Nat--instance AWSRequest ListRules where- type Rs ListRules = ListRulesResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- ListRulesResponse' <$>- (x .?> "Rules" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable ListRules where--instance NFData ListRules where--instance ToHeaders ListRules where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.ListRules" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListRules where- toJSON ListRules'{..}- = object- (catMaybes- [("NextToken" .=) <$> _lrNextToken,- ("NamePrefix" .=) <$> _lrNamePrefix,- ("Limit" .=) <$> _lrLimit])--instance ToPath ListRules where- toPath = const "/"--instance ToQuery ListRules where- toQuery = const mempty---- | /See:/ 'listRulesResponse' smart constructor.-data ListRulesResponse = ListRulesResponse'- { _lrrsRules :: !(Maybe [Rule])- , _lrrsNextToken :: !(Maybe Text)- , _lrrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListRulesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrrsRules' - The rules that match the specified criteria.------ * 'lrrsNextToken' - Indicates whether there are additional results to retrieve. If there are no more results, the value is null.------ * 'lrrsResponseStatus' - -- | The response status code.-listRulesResponse- :: Int -- ^ 'lrrsResponseStatus'- -> ListRulesResponse-listRulesResponse pResponseStatus_ =- ListRulesResponse'- { _lrrsRules = Nothing- , _lrrsNextToken = Nothing- , _lrrsResponseStatus = pResponseStatus_- }----- | The rules that match the specified criteria.-lrrsRules :: Lens' ListRulesResponse [Rule]-lrrsRules = lens _lrrsRules (\ s a -> s{_lrrsRules = a}) . _Default . _Coerce---- | Indicates whether there are additional results to retrieve. If there are no more results, the value is null.-lrrsNextToken :: Lens' ListRulesResponse (Maybe Text)-lrrsNextToken = lens _lrrsNextToken (\ s a -> s{_lrrsNextToken = a})---- | -- | The response status code.-lrrsResponseStatus :: Lens' ListRulesResponse Int-lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus = a})--instance NFData ListRulesResponse where
− gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.ListTargetsByRule--- Copyright : (c) 2013-2018 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)------ Lists the targets assigned to the specified rule.-------module Network.AWS.CloudWatchEvents.ListTargetsByRule- (- -- * Creating a Request- listTargetsByRule- , ListTargetsByRule- -- * Request Lenses- , ltbrNextToken- , ltbrLimit- , ltbrRule-- -- * Destructuring the Response- , listTargetsByRuleResponse- , ListTargetsByRuleResponse- -- * Response Lenses- , ltbrrsNextToken- , ltbrrsTargets- , ltbrrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTargetsByRule' smart constructor.-data ListTargetsByRule = ListTargetsByRule'- { _ltbrNextToken :: !(Maybe Text)- , _ltbrLimit :: !(Maybe Nat)- , _ltbrRule :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTargetsByRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltbrNextToken' - The token returned by a previous call to retrieve the next set of results.------ * 'ltbrLimit' - The maximum number of results to return.------ * 'ltbrRule' - The name of the rule.-listTargetsByRule- :: Text -- ^ 'ltbrRule'- -> ListTargetsByRule-listTargetsByRule pRule_ =- ListTargetsByRule'- {_ltbrNextToken = Nothing, _ltbrLimit = Nothing, _ltbrRule = pRule_}----- | The token returned by a previous call to retrieve the next set of results.-ltbrNextToken :: Lens' ListTargetsByRule (Maybe Text)-ltbrNextToken = lens _ltbrNextToken (\ s a -> s{_ltbrNextToken = a})---- | The maximum number of results to return.-ltbrLimit :: Lens' ListTargetsByRule (Maybe Natural)-ltbrLimit = lens _ltbrLimit (\ s a -> s{_ltbrLimit = a}) . mapping _Nat---- | The name of the rule.-ltbrRule :: Lens' ListTargetsByRule Text-ltbrRule = lens _ltbrRule (\ s a -> s{_ltbrRule = a})--instance AWSRequest ListTargetsByRule where- type Rs ListTargetsByRule = ListTargetsByRuleResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- ListTargetsByRuleResponse' <$>- (x .?> "NextToken") <*> (x .?> "Targets") <*>- (pure (fromEnum s)))--instance Hashable ListTargetsByRule where--instance NFData ListTargetsByRule where--instance ToHeaders ListTargetsByRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.ListTargetsByRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTargetsByRule where- toJSON ListTargetsByRule'{..}- = object- (catMaybes- [("NextToken" .=) <$> _ltbrNextToken,- ("Limit" .=) <$> _ltbrLimit,- Just ("Rule" .= _ltbrRule)])--instance ToPath ListTargetsByRule where- toPath = const "/"--instance ToQuery ListTargetsByRule where- toQuery = const mempty---- | /See:/ 'listTargetsByRuleResponse' smart constructor.-data ListTargetsByRuleResponse = ListTargetsByRuleResponse'- { _ltbrrsNextToken :: !(Maybe Text)- , _ltbrrsTargets :: !(Maybe (List1 Target))- , _ltbrrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTargetsByRuleResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltbrrsNextToken' - Indicates whether there are additional results to retrieve. If there are no more results, the value is null.------ * 'ltbrrsTargets' - The targets assigned to the rule.------ * 'ltbrrsResponseStatus' - -- | The response status code.-listTargetsByRuleResponse- :: Int -- ^ 'ltbrrsResponseStatus'- -> ListTargetsByRuleResponse-listTargetsByRuleResponse pResponseStatus_ =- ListTargetsByRuleResponse'- { _ltbrrsNextToken = Nothing- , _ltbrrsTargets = Nothing- , _ltbrrsResponseStatus = pResponseStatus_- }----- | Indicates whether there are additional results to retrieve. If there are no more results, the value is null.-ltbrrsNextToken :: Lens' ListTargetsByRuleResponse (Maybe Text)-ltbrrsNextToken = lens _ltbrrsNextToken (\ s a -> s{_ltbrrsNextToken = a})---- | The targets assigned to the rule.-ltbrrsTargets :: Lens' ListTargetsByRuleResponse (Maybe (NonEmpty Target))-ltbrrsTargets = lens _ltbrrsTargets (\ s a -> s{_ltbrrsTargets = a}) . mapping _List1---- | -- | The response status code.-ltbrrsResponseStatus :: Lens' ListTargetsByRuleResponse Int-ltbrrsResponseStatus = lens _ltbrrsResponseStatus (\ s a -> s{_ltbrrsResponseStatus = a})--instance NFData ListTargetsByRuleResponse where
− gen/Network/AWS/CloudWatchEvents/PutEvents.hs
@@ -1,143 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.PutEvents--- Copyright : (c) 2013-2018 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)------ Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.-------module Network.AWS.CloudWatchEvents.PutEvents- (- -- * Creating a Request- putEvents- , PutEvents- -- * Request Lenses- , peEntries-- -- * Destructuring the Response- , putEventsResponse- , PutEventsResponse- -- * Response Lenses- , persFailedEntryCount- , persEntries- , persResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putEvents' smart constructor.-newtype PutEvents = PutEvents'- { _peEntries :: List1 PutEventsRequestEntry- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutEvents' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'peEntries' - The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.-putEvents- :: NonEmpty PutEventsRequestEntry -- ^ 'peEntries'- -> PutEvents-putEvents pEntries_ = PutEvents' {_peEntries = _List1 # pEntries_}----- | The entry that defines an event in your system. You can specify several parameters for the entry such as the source and type of the event, resources associated with the event, and so on.-peEntries :: Lens' PutEvents (NonEmpty PutEventsRequestEntry)-peEntries = lens _peEntries (\ s a -> s{_peEntries = a}) . _List1--instance AWSRequest PutEvents where- type Rs PutEvents = PutEventsResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- PutEventsResponse' <$>- (x .?> "FailedEntryCount") <*>- (x .?> "Entries" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable PutEvents where--instance NFData PutEvents where--instance ToHeaders PutEvents where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.PutEvents" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutEvents where- toJSON PutEvents'{..}- = object (catMaybes [Just ("Entries" .= _peEntries)])--instance ToPath PutEvents where- toPath = const "/"--instance ToQuery PutEvents where- toQuery = const mempty---- | /See:/ 'putEventsResponse' smart constructor.-data PutEventsResponse = PutEventsResponse'- { _persFailedEntryCount :: !(Maybe Int)- , _persEntries :: !(Maybe [PutEventsResultEntry])- , _persResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutEventsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'persFailedEntryCount' - The number of failed entries.------ * 'persEntries' - The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.------ * 'persResponseStatus' - -- | The response status code.-putEventsResponse- :: Int -- ^ 'persResponseStatus'- -> PutEventsResponse-putEventsResponse pResponseStatus_ =- PutEventsResponse'- { _persFailedEntryCount = Nothing- , _persEntries = Nothing- , _persResponseStatus = pResponseStatus_- }----- | The number of failed entries.-persFailedEntryCount :: Lens' PutEventsResponse (Maybe Int)-persFailedEntryCount = lens _persFailedEntryCount (\ s a -> s{_persFailedEntryCount = a})---- | The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.-persEntries :: Lens' PutEventsResponse [PutEventsResultEntry]-persEntries = lens _persEntries (\ s a -> s{_persEntries = a}) . _Default . _Coerce---- | -- | The response status code.-persResponseStatus :: Lens' PutEventsResponse Int-persResponseStatus = lens _persResponseStatus (\ s a -> s{_persResponseStatus = a})--instance NFData PutEventsResponse where
− gen/Network/AWS/CloudWatchEvents/PutPermission.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.PutPermission--- Copyright : (c) 2013-2018 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)------ Running @PutPermission@ permits the specified AWS account to put events to your account's default /event bus/ . CloudWatch Events rules in your account are triggered by these events arriving to your default event bus.--------- For another account to send events to your account, that external account must have a CloudWatch Events rule with your account's default event bus as a target.------ To enable multiple AWS accounts to put events to your default event bus, run @PutPermission@ once for each of these accounts.------ The permission policy on the default event bus cannot exceed 10KB in size.----module Network.AWS.CloudWatchEvents.PutPermission- (- -- * Creating a Request- putPermission- , PutPermission- -- * Request Lenses- , ppAction- , ppPrincipal- , ppStatementId-- -- * Destructuring the Response- , putPermissionResponse- , PutPermissionResponse- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putPermission' smart constructor.-data PutPermission = PutPermission'- { _ppAction :: !Text- , _ppPrincipal :: !Text- , _ppStatementId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutPermission' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ppAction' - The action that you are enabling the other account to perform. Currently, this must be @events:PutEvents@ .------ * 'ppPrincipal' - The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus. If you specify "*", avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an @account@ field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.------ * 'ppStatementId' - An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this @StatementId@ when you run 'RemovePermission' .-putPermission- :: Text -- ^ 'ppAction'- -> Text -- ^ 'ppPrincipal'- -> Text -- ^ 'ppStatementId'- -> PutPermission-putPermission pAction_ pPrincipal_ pStatementId_ =- PutPermission'- { _ppAction = pAction_- , _ppPrincipal = pPrincipal_- , _ppStatementId = pStatementId_- }----- | The action that you are enabling the other account to perform. Currently, this must be @events:PutEvents@ .-ppAction :: Lens' PutPermission Text-ppAction = lens _ppAction (\ s a -> s{_ppAction = a})---- | The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus. If you specify "*", avoid creating rules that may match undesirable events. To create more secure rules, make sure that the event pattern for each rule contains an @account@ field with a specific account ID from which to receive events. Rules with an account field do not match any events sent from other accounts.-ppPrincipal :: Lens' PutPermission Text-ppPrincipal = lens _ppPrincipal (\ s a -> s{_ppPrincipal = a})---- | An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this @StatementId@ when you run 'RemovePermission' .-ppStatementId :: Lens' PutPermission Text-ppStatementId = lens _ppStatementId (\ s a -> s{_ppStatementId = a})--instance AWSRequest PutPermission where- type Rs PutPermission = PutPermissionResponse- request = postJSON cloudWatchEvents- response = receiveNull PutPermissionResponse'--instance Hashable PutPermission where--instance NFData PutPermission where--instance ToHeaders PutPermission where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.PutPermission" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutPermission where- toJSON PutPermission'{..}- = object- (catMaybes- [Just ("Action" .= _ppAction),- Just ("Principal" .= _ppPrincipal),- Just ("StatementId" .= _ppStatementId)])--instance ToPath PutPermission where- toPath = const "/"--instance ToQuery PutPermission where- toQuery = const mempty---- | /See:/ 'putPermissionResponse' smart constructor.-data PutPermissionResponse =- PutPermissionResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutPermissionResponse' with the minimum fields required to make a request.----putPermissionResponse- :: PutPermissionResponse-putPermissionResponse = PutPermissionResponse'---instance NFData PutPermissionResponse where
− gen/Network/AWS/CloudWatchEvents/PutRule.hs
@@ -1,193 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.PutRule--- Copyright : (c) 2013-2018 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)------ Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using 'DisableRule' .--------- If you are updating an existing rule, the rule is completely replaced with what you specify in this @PutRule@ command. If you omit arguments in @PutRule@ , the old values for those arguments are not kept. Instead, they are replaced with null values.------ When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect.------ A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule.------ Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.----module Network.AWS.CloudWatchEvents.PutRule- (- -- * Creating a Request- putRule- , PutRule- -- * Request Lenses- , prEventPattern- , prState- , prScheduleExpression- , prDescription- , prRoleARN- , prName-- -- * Destructuring the Response- , putRuleResponse- , PutRuleResponse- -- * Response Lenses- , prrsRuleARN- , prrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putRule' smart constructor.-data PutRule = PutRule'- { _prEventPattern :: !(Maybe Text)- , _prState :: !(Maybe RuleState)- , _prScheduleExpression :: !(Maybe Text)- , _prDescription :: !(Maybe Text)- , _prRoleARN :: !(Maybe Text)- , _prName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prEventPattern' - The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .------ * 'prState' - Indicates whether the rule is enabled or disabled.------ * 'prScheduleExpression' - The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".------ * 'prDescription' - A description of the rule.------ * 'prRoleARN' - The Amazon Resource Name (ARN) of the IAM role associated with the rule.------ * 'prName' - The name of the rule that you are creating or updating.-putRule- :: Text -- ^ 'prName'- -> PutRule-putRule pName_ =- PutRule'- { _prEventPattern = Nothing- , _prState = Nothing- , _prScheduleExpression = Nothing- , _prDescription = Nothing- , _prRoleARN = Nothing- , _prName = pName_- }----- | The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .-prEventPattern :: Lens' PutRule (Maybe Text)-prEventPattern = lens _prEventPattern (\ s a -> s{_prEventPattern = a})---- | Indicates whether the rule is enabled or disabled.-prState :: Lens' PutRule (Maybe RuleState)-prState = lens _prState (\ s a -> s{_prState = a})---- | The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".-prScheduleExpression :: Lens' PutRule (Maybe Text)-prScheduleExpression = lens _prScheduleExpression (\ s a -> s{_prScheduleExpression = a})---- | A description of the rule.-prDescription :: Lens' PutRule (Maybe Text)-prDescription = lens _prDescription (\ s a -> s{_prDescription = a})---- | The Amazon Resource Name (ARN) of the IAM role associated with the rule.-prRoleARN :: Lens' PutRule (Maybe Text)-prRoleARN = lens _prRoleARN (\ s a -> s{_prRoleARN = a})---- | The name of the rule that you are creating or updating.-prName :: Lens' PutRule Text-prName = lens _prName (\ s a -> s{_prName = a})--instance AWSRequest PutRule where- type Rs PutRule = PutRuleResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- PutRuleResponse' <$>- (x .?> "RuleArn") <*> (pure (fromEnum s)))--instance Hashable PutRule where--instance NFData PutRule where--instance ToHeaders PutRule where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.PutRule" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutRule where- toJSON PutRule'{..}- = object- (catMaybes- [("EventPattern" .=) <$> _prEventPattern,- ("State" .=) <$> _prState,- ("ScheduleExpression" .=) <$> _prScheduleExpression,- ("Description" .=) <$> _prDescription,- ("RoleArn" .=) <$> _prRoleARN,- Just ("Name" .= _prName)])--instance ToPath PutRule where- toPath = const "/"--instance ToQuery PutRule where- toQuery = const mempty---- | /See:/ 'putRuleResponse' smart constructor.-data PutRuleResponse = PutRuleResponse'- { _prrsRuleARN :: !(Maybe Text)- , _prrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutRuleResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prrsRuleARN' - The Amazon Resource Name (ARN) of the rule.------ * 'prrsResponseStatus' - -- | The response status code.-putRuleResponse- :: Int -- ^ 'prrsResponseStatus'- -> PutRuleResponse-putRuleResponse pResponseStatus_ =- PutRuleResponse'- {_prrsRuleARN = Nothing, _prrsResponseStatus = pResponseStatus_}----- | The Amazon Resource Name (ARN) of the rule.-prrsRuleARN :: Lens' PutRuleResponse (Maybe Text)-prrsRuleARN = lens _prrsRuleARN (\ s a -> s{_prrsRuleARN = a})---- | -- | The response status code.-prrsResponseStatus :: Lens' PutRuleResponse Int-prrsResponseStatus = lens _prrsResponseStatus (\ s a -> s{_prrsResponseStatus = a})--instance NFData PutRuleResponse where
− gen/Network/AWS/CloudWatchEvents/PutTargets.hs
@@ -1,214 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.PutTargets--- Copyright : (c) 2013-2018 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)------ Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.--------- Targets are the resources that are invoked when a rule is triggered.------ You can configure the following as targets for CloudWatch Events:------ * EC2 instances------ * AWS Lambda functions------ * Streams in Amazon Kinesis Streams------ * Delivery streams in Amazon Kinesis Firehose------ * Amazon ECS tasks------ * AWS Step Functions state machines------ * AWS Batch jobs------ * Pipelines in Amazon Code Pipeline------ * Amazon Inspector assessment templates------ * Amazon SNS topics------ * Amazon SQS queues, including FIFO queues------ * The default event bus of another AWS account------------ Note that creating rules with built-in targets is supported only in the AWS Management Console.------ For some target types, @PutTargets@ provides target-specific parameters. If the target is an Amazon Kinesis stream, you can optionally specify which shard the event goes to by using the @KinesisParameters@ argument. To invoke a command on multiple EC2 instances with one rule, you can use the @RunCommandParameters@ field.------ To be able to make API calls against the resources that you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For EC2 instances, Amazon Kinesis streams, and AWS Step Functions state machines, CloudWatch Events relies on IAM roles that you specify in the @RoleARN@ argument in @PutTargets@ . For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/auth-and-access-control-cwe.html Authentication and Access Control> in the /Amazon CloudWatch Events User Guide/ .------ If another AWS account is in the same region and has granted you permission (using @PutPermission@ ), you can send events to that account by setting that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the @Arn@ when you run @PutTargets@ . If your account sends events to another account, your account is charged for each sent event. Each event sent to antoher account is charged as a custom event. The account receiving the event is not charged. For more information on pricing, see <https://aws.amazon.com/cloudwatch/pricing/ Amazon CloudWatch Pricing> .------ For more information about enabling cross-account events, see 'PutPermission' .------ __Input__ , __InputPath__ and __InputTransformer__ are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:------ * If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON form (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).------ * If __Input__ is specified in the form of valid JSON, then the matched event is overridden with this constant.------ * If __InputPath__ is specified in the form of JSONPath (for example, @> .detail@ ), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).------ * If __InputTransformer__ is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.------------ When you specify @InputPath@ or @InputTransformer@ , you must use JSON dot notation, not bracket notation.------ When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect.------ This action can partially fail if too many requests are made at the same time. If that happens, @FailedEntryCount@ is non-zero in the response and each entry in @FailedEntries@ provides the ID of the failed target and the error code.----module Network.AWS.CloudWatchEvents.PutTargets- (- -- * Creating a Request- putTargets- , PutTargets- -- * Request Lenses- , ptRule- , ptTargets-- -- * Destructuring the Response- , putTargetsResponse- , PutTargetsResponse- -- * Response Lenses- , ptrsFailedEntryCount- , ptrsFailedEntries- , ptrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'putTargets' smart constructor.-data PutTargets = PutTargets'- { _ptRule :: !Text- , _ptTargets :: !(List1 Target)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutTargets' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptRule' - The name of the rule.------ * 'ptTargets' - The targets to update or add to the rule.-putTargets- :: Text -- ^ 'ptRule'- -> NonEmpty Target -- ^ 'ptTargets'- -> PutTargets-putTargets pRule_ pTargets_ =- PutTargets' {_ptRule = pRule_, _ptTargets = _List1 # pTargets_}----- | The name of the rule.-ptRule :: Lens' PutTargets Text-ptRule = lens _ptRule (\ s a -> s{_ptRule = a})---- | The targets to update or add to the rule.-ptTargets :: Lens' PutTargets (NonEmpty Target)-ptTargets = lens _ptTargets (\ s a -> s{_ptTargets = a}) . _List1--instance AWSRequest PutTargets where- type Rs PutTargets = PutTargetsResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- PutTargetsResponse' <$>- (x .?> "FailedEntryCount") <*>- (x .?> "FailedEntries" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable PutTargets where--instance NFData PutTargets where--instance ToHeaders PutTargets where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.PutTargets" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON PutTargets where- toJSON PutTargets'{..}- = object- (catMaybes- [Just ("Rule" .= _ptRule),- Just ("Targets" .= _ptTargets)])--instance ToPath PutTargets where- toPath = const "/"--instance ToQuery PutTargets where- toQuery = const mempty---- | /See:/ 'putTargetsResponse' smart constructor.-data PutTargetsResponse = PutTargetsResponse'- { _ptrsFailedEntryCount :: !(Maybe Int)- , _ptrsFailedEntries :: !(Maybe [PutTargetsResultEntry])- , _ptrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutTargetsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptrsFailedEntryCount' - The number of failed entries.------ * 'ptrsFailedEntries' - The failed target entries.------ * 'ptrsResponseStatus' - -- | The response status code.-putTargetsResponse- :: Int -- ^ 'ptrsResponseStatus'- -> PutTargetsResponse-putTargetsResponse pResponseStatus_ =- PutTargetsResponse'- { _ptrsFailedEntryCount = Nothing- , _ptrsFailedEntries = Nothing- , _ptrsResponseStatus = pResponseStatus_- }----- | The number of failed entries.-ptrsFailedEntryCount :: Lens' PutTargetsResponse (Maybe Int)-ptrsFailedEntryCount = lens _ptrsFailedEntryCount (\ s a -> s{_ptrsFailedEntryCount = a})---- | The failed target entries.-ptrsFailedEntries :: Lens' PutTargetsResponse [PutTargetsResultEntry]-ptrsFailedEntries = lens _ptrsFailedEntries (\ s a -> s{_ptrsFailedEntries = a}) . _Default . _Coerce---- | -- | The response status code.-ptrsResponseStatus :: Lens' PutTargetsResponse Int-ptrsResponseStatus = lens _ptrsResponseStatus (\ s a -> s{_ptrsResponseStatus = a})--instance NFData PutTargetsResponse where
− gen/Network/AWS/CloudWatchEvents/RemovePermission.hs
@@ -1,108 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.RemovePermission--- Copyright : (c) 2013-2018 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)------ Revokes the permission of another AWS account to be able to put events to your default event bus. Specify the account to revoke by the @StatementId@ value that you associated with the account when you granted it permission with @PutPermission@ . You can find the @StatementId@ by using 'DescribeEventBus' .-------module Network.AWS.CloudWatchEvents.RemovePermission- (- -- * Creating a Request- removePermission- , RemovePermission- -- * Request Lenses- , rpStatementId-- -- * Destructuring the Response- , removePermissionResponse- , RemovePermissionResponse- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'removePermission' smart constructor.-newtype RemovePermission = RemovePermission'- { _rpStatementId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemovePermission' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rpStatementId' - The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.-removePermission- :: Text -- ^ 'rpStatementId'- -> RemovePermission-removePermission pStatementId_ =- RemovePermission' {_rpStatementId = pStatementId_}----- | The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.-rpStatementId :: Lens' RemovePermission Text-rpStatementId = lens _rpStatementId (\ s a -> s{_rpStatementId = a})--instance AWSRequest RemovePermission where- type Rs RemovePermission = RemovePermissionResponse- request = postJSON cloudWatchEvents- response = receiveNull RemovePermissionResponse'--instance Hashable RemovePermission where--instance NFData RemovePermission where--instance ToHeaders RemovePermission where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.RemovePermission" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RemovePermission where- toJSON RemovePermission'{..}- = object- (catMaybes [Just ("StatementId" .= _rpStatementId)])--instance ToPath RemovePermission where- toPath = const "/"--instance ToQuery RemovePermission where- toQuery = const mempty---- | /See:/ 'removePermissionResponse' smart constructor.-data RemovePermissionResponse =- RemovePermissionResponse'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemovePermissionResponse' with the minimum fields required to make a request.----removePermissionResponse- :: RemovePermissionResponse-removePermissionResponse = RemovePermissionResponse'---instance NFData RemovePermissionResponse where
− gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs
@@ -1,159 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.RemoveTargets--- Copyright : (c) 2013-2018 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)------ Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked.--------- When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Please allow a short period of time for changes to take effect.------ This action can partially fail if too many requests are made at the same time. If that happens, @FailedEntryCount@ is non-zero in the response and each entry in @FailedEntries@ provides the ID of the failed target and the error code.----module Network.AWS.CloudWatchEvents.RemoveTargets- (- -- * Creating a Request- removeTargets- , RemoveTargets- -- * Request Lenses- , rtRule- , rtIds-- -- * Destructuring the Response- , removeTargetsResponse- , RemoveTargetsResponse- -- * Response Lenses- , rtrsFailedEntryCount- , rtrsFailedEntries- , rtrsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'removeTargets' smart constructor.-data RemoveTargets = RemoveTargets'- { _rtRule :: !Text- , _rtIds :: !(List1 Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveTargets' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtRule' - The name of the rule.------ * 'rtIds' - The IDs of the targets to remove from the rule.-removeTargets- :: Text -- ^ 'rtRule'- -> NonEmpty Text -- ^ 'rtIds'- -> RemoveTargets-removeTargets pRule_ pIds_ =- RemoveTargets' {_rtRule = pRule_, _rtIds = _List1 # pIds_}----- | The name of the rule.-rtRule :: Lens' RemoveTargets Text-rtRule = lens _rtRule (\ s a -> s{_rtRule = a})---- | The IDs of the targets to remove from the rule.-rtIds :: Lens' RemoveTargets (NonEmpty Text)-rtIds = lens _rtIds (\ s a -> s{_rtIds = a}) . _List1--instance AWSRequest RemoveTargets where- type Rs RemoveTargets = RemoveTargetsResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- RemoveTargetsResponse' <$>- (x .?> "FailedEntryCount") <*>- (x .?> "FailedEntries" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable RemoveTargets where--instance NFData RemoveTargets where--instance ToHeaders RemoveTargets where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.RemoveTargets" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RemoveTargets where- toJSON RemoveTargets'{..}- = object- (catMaybes- [Just ("Rule" .= _rtRule), Just ("Ids" .= _rtIds)])--instance ToPath RemoveTargets where- toPath = const "/"--instance ToQuery RemoveTargets where- toQuery = const mempty---- | /See:/ 'removeTargetsResponse' smart constructor.-data RemoveTargetsResponse = RemoveTargetsResponse'- { _rtrsFailedEntryCount :: !(Maybe Int)- , _rtrsFailedEntries :: !(Maybe [RemoveTargetsResultEntry])- , _rtrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveTargetsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtrsFailedEntryCount' - The number of failed entries.------ * 'rtrsFailedEntries' - The failed target entries.------ * 'rtrsResponseStatus' - -- | The response status code.-removeTargetsResponse- :: Int -- ^ 'rtrsResponseStatus'- -> RemoveTargetsResponse-removeTargetsResponse pResponseStatus_ =- RemoveTargetsResponse'- { _rtrsFailedEntryCount = Nothing- , _rtrsFailedEntries = Nothing- , _rtrsResponseStatus = pResponseStatus_- }----- | The number of failed entries.-rtrsFailedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int)-rtrsFailedEntryCount = lens _rtrsFailedEntryCount (\ s a -> s{_rtrsFailedEntryCount = a})---- | The failed target entries.-rtrsFailedEntries :: Lens' RemoveTargetsResponse [RemoveTargetsResultEntry]-rtrsFailedEntries = lens _rtrsFailedEntries (\ s a -> s{_rtrsFailedEntries = a}) . _Default . _Coerce---- | -- | The response status code.-rtrsResponseStatus :: Lens' RemoveTargetsResponse Int-rtrsResponseStatus = lens _rtrsResponseStatus (\ s a -> s{_rtrsResponseStatus = a})--instance NFData RemoveTargetsResponse where
− gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.TestEventPattern--- Copyright : (c) 2013-2018 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)------ Tests whether the specified event pattern matches the provided event.--------- Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.----module Network.AWS.CloudWatchEvents.TestEventPattern- (- -- * Creating a Request- testEventPattern- , TestEventPattern- -- * Request Lenses- , tepEventPattern- , tepEvent-- -- * Destructuring the Response- , testEventPatternResponse- , TestEventPatternResponse- -- * Response Lenses- , teprsResult- , teprsResponseStatus- ) where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'testEventPattern' smart constructor.-data TestEventPattern = TestEventPattern'- { _tepEventPattern :: !Text- , _tepEvent :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TestEventPattern' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tepEventPattern' - The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .------ * 'tepEvent' - The event, in JSON format, to test against the event pattern.-testEventPattern- :: Text -- ^ 'tepEventPattern'- -> Text -- ^ 'tepEvent'- -> TestEventPattern-testEventPattern pEventPattern_ pEvent_ =- TestEventPattern' {_tepEventPattern = pEventPattern_, _tepEvent = pEvent_}----- | The event pattern. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .-tepEventPattern :: Lens' TestEventPattern Text-tepEventPattern = lens _tepEventPattern (\ s a -> s{_tepEventPattern = a})---- | The event, in JSON format, to test against the event pattern.-tepEvent :: Lens' TestEventPattern Text-tepEvent = lens _tepEvent (\ s a -> s{_tepEvent = a})--instance AWSRequest TestEventPattern where- type Rs TestEventPattern = TestEventPatternResponse- request = postJSON cloudWatchEvents- response- = receiveJSON- (\ s h x ->- TestEventPatternResponse' <$>- (x .?> "Result") <*> (pure (fromEnum s)))--instance Hashable TestEventPattern where--instance NFData TestEventPattern where--instance ToHeaders TestEventPattern where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AWSEvents.TestEventPattern" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON TestEventPattern where- toJSON TestEventPattern'{..}- = object- (catMaybes- [Just ("EventPattern" .= _tepEventPattern),- Just ("Event" .= _tepEvent)])--instance ToPath TestEventPattern where- toPath = const "/"--instance ToQuery TestEventPattern where- toQuery = const mempty---- | /See:/ 'testEventPatternResponse' smart constructor.-data TestEventPatternResponse = TestEventPatternResponse'- { _teprsResult :: !(Maybe Bool)- , _teprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TestEventPatternResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'teprsResult' - Indicates whether the event matches the event pattern.------ * 'teprsResponseStatus' - -- | The response status code.-testEventPatternResponse- :: Int -- ^ 'teprsResponseStatus'- -> TestEventPatternResponse-testEventPatternResponse pResponseStatus_ =- TestEventPatternResponse'- {_teprsResult = Nothing, _teprsResponseStatus = pResponseStatus_}----- | Indicates whether the event matches the event pattern.-teprsResult :: Lens' TestEventPatternResponse (Maybe Bool)-teprsResult = lens _teprsResult (\ s a -> s{_teprsResult = a})---- | -- | The response status code.-teprsResponseStatus :: Lens' TestEventPatternResponse Int-teprsResponseStatus = lens _teprsResponseStatus (\ s a -> s{_teprsResponseStatus = a})--instance NFData TestEventPatternResponse where
− gen/Network/AWS/CloudWatchEvents/Types.hs
@@ -1,227 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.Types--- Copyright : (c) 2013-2018 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)----module Network.AWS.CloudWatchEvents.Types- (- -- * Service Configuration- cloudWatchEvents-- -- * Errors- , _PolicyLengthExceededException- , _ConcurrentModificationException- , _InvalidEventPatternException- , _InternalException- , _ResourceNotFoundException- , _LimitExceededException-- -- * RuleState- , RuleState (..)-- -- * BatchArrayProperties- , BatchArrayProperties- , batchArrayProperties- , bapSize-- -- * BatchParameters- , BatchParameters- , batchParameters- , bpRetryStrategy- , bpArrayProperties- , bpJobDefinition- , bpJobName-- -- * BatchRetryStrategy- , BatchRetryStrategy- , batchRetryStrategy- , brsAttempts-- -- * EcsParameters- , EcsParameters- , ecsParameters- , epTaskCount- , epTaskDefinitionARN-- -- * InputTransformer- , InputTransformer- , inputTransformer- , itInputPathsMap- , itInputTemplate-- -- * KinesisParameters- , KinesisParameters- , kinesisParameters- , kpPartitionKeyPath-- -- * PutEventsRequestEntry- , PutEventsRequestEntry- , putEventsRequestEntry- , pereTime- , pereDetailType- , pereResources- , pereSource- , pereDetail-- -- * PutEventsResultEntry- , PutEventsResultEntry- , putEventsResultEntry- , pereErrorCode- , pereErrorMessage- , pereEventId-- -- * PutTargetsResultEntry- , PutTargetsResultEntry- , putTargetsResultEntry- , ptreTargetId- , ptreErrorCode- , ptreErrorMessage-- -- * RemoveTargetsResultEntry- , RemoveTargetsResultEntry- , removeTargetsResultEntry- , rtreTargetId- , rtreErrorCode- , rtreErrorMessage-- -- * Rule- , Rule- , rule- , rEventPattern- , rState- , rARN- , rScheduleExpression- , rName- , rDescription- , rRoleARN-- -- * RunCommandParameters- , RunCommandParameters- , runCommandParameters- , rcpRunCommandTargets-- -- * RunCommandTarget- , RunCommandTarget- , runCommandTarget- , rctKey- , rctValues-- -- * SqsParameters- , SqsParameters- , sqsParameters- , spMessageGroupId-- -- * Target- , Target- , target- , tRunCommandParameters- , tKinesisParameters- , tInputTransformer- , tSqsParameters- , tInput- , tBatchParameters- , tEcsParameters- , tInputPath- , tRoleARN- , tId- , tARN- ) where--import Network.AWS.CloudWatchEvents.Types.Product-import Network.AWS.CloudWatchEvents.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2015-10-07@ of the Amazon CloudWatch Events SDK configuration.-cloudWatchEvents :: Service-cloudWatchEvents =- Service- { _svcAbbrev = "CloudWatchEvents"- , _svcSigner = v4- , _svcPrefix = "events"- , _svcVersion = "2015-10-07"- , _svcEndpoint = defaultEndpoint cloudWatchEvents- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "CloudWatchEvents"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | The event bus policy is too long. For more information, see the limits.-------_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_PolicyLengthExceededException =- _MatchServiceError cloudWatchEvents "PolicyLengthExceededException"----- | There is concurrent modification on a rule or target.-------_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError-_ConcurrentModificationException =- _MatchServiceError cloudWatchEvents "ConcurrentModificationException"----- | The event pattern is not valid.-------_InvalidEventPatternException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidEventPatternException =- _MatchServiceError cloudWatchEvents "InvalidEventPatternException"----- | This exception occurs due to unexpected causes.-------_InternalException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalException = _MatchServiceError cloudWatchEvents "InternalException"----- | An entity that you specified does not exist.-------_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceNotFoundException =- _MatchServiceError cloudWatchEvents "ResourceNotFoundException"----- | You tried to create more rules or add more targets to a rule than is allowed.-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =- _MatchServiceError cloudWatchEvents "LimitExceededException"-
− gen/Network/AWS/CloudWatchEvents/Types/Product.hs
@@ -1,928 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.Types.Product--- Copyright : (c) 2013-2018 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)----module Network.AWS.CloudWatchEvents.Types.Product where--import Network.AWS.CloudWatchEvents.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.------------ /See:/ 'batchArrayProperties' smart constructor.-newtype BatchArrayProperties = BatchArrayProperties'- { _bapSize :: Maybe Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchArrayProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bapSize' - The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.-batchArrayProperties- :: BatchArrayProperties-batchArrayProperties = BatchArrayProperties' {_bapSize = Nothing}----- | The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.-bapSize :: Lens' BatchArrayProperties (Maybe Int)-bapSize = lens _bapSize (\ s a -> s{_bapSize = a})--instance FromJSON BatchArrayProperties where- parseJSON- = withObject "BatchArrayProperties"- (\ x -> BatchArrayProperties' <$> (x .:? "Size"))--instance Hashable BatchArrayProperties where--instance NFData BatchArrayProperties where--instance ToJSON BatchArrayProperties where- toJSON BatchArrayProperties'{..}- = object (catMaybes [("Size" .=) <$> _bapSize])---- | The custom parameters to be used when the target is an AWS Batch job.------------ /See:/ 'batchParameters' smart constructor.-data BatchParameters = BatchParameters'- { _bpRetryStrategy :: !(Maybe BatchRetryStrategy)- , _bpArrayProperties :: !(Maybe BatchArrayProperties)- , _bpJobDefinition :: !Text- , _bpJobName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bpRetryStrategy' - The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1 to 10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.------ * 'bpArrayProperties' - The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.------ * 'bpJobDefinition' - The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.------ * 'bpJobName' - The name to use for this execution of the job, if the target is an AWS Batch job.-batchParameters- :: Text -- ^ 'bpJobDefinition'- -> Text -- ^ 'bpJobName'- -> BatchParameters-batchParameters pJobDefinition_ pJobName_ =- BatchParameters'- { _bpRetryStrategy = Nothing- , _bpArrayProperties = Nothing- , _bpJobDefinition = pJobDefinition_- , _bpJobName = pJobName_- }----- | The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1 to 10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.-bpRetryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)-bpRetryStrategy = lens _bpRetryStrategy (\ s a -> s{_bpRetryStrategy = a})---- | The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.-bpArrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)-bpArrayProperties = lens _bpArrayProperties (\ s a -> s{_bpArrayProperties = a})---- | The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.-bpJobDefinition :: Lens' BatchParameters Text-bpJobDefinition = lens _bpJobDefinition (\ s a -> s{_bpJobDefinition = a})---- | The name to use for this execution of the job, if the target is an AWS Batch job.-bpJobName :: Lens' BatchParameters Text-bpJobName = lens _bpJobName (\ s a -> s{_bpJobName = a})--instance FromJSON BatchParameters where- parseJSON- = withObject "BatchParameters"- (\ x ->- BatchParameters' <$>- (x .:? "RetryStrategy") <*> (x .:? "ArrayProperties")- <*> (x .: "JobDefinition")- <*> (x .: "JobName"))--instance Hashable BatchParameters where--instance NFData BatchParameters where--instance ToJSON BatchParameters where- toJSON BatchParameters'{..}- = object- (catMaybes- [("RetryStrategy" .=) <$> _bpRetryStrategy,- ("ArrayProperties" .=) <$> _bpArrayProperties,- Just ("JobDefinition" .= _bpJobDefinition),- Just ("JobName" .= _bpJobName)])---- | The retry strategy to use for failed jobs, if the target is an AWS Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.------------ /See:/ 'batchRetryStrategy' smart constructor.-newtype BatchRetryStrategy = BatchRetryStrategy'- { _brsAttempts :: Maybe Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchRetryStrategy' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'brsAttempts' - The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.-batchRetryStrategy- :: BatchRetryStrategy-batchRetryStrategy = BatchRetryStrategy' {_brsAttempts = Nothing}----- | The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.-brsAttempts :: Lens' BatchRetryStrategy (Maybe Int)-brsAttempts = lens _brsAttempts (\ s a -> s{_brsAttempts = a})--instance FromJSON BatchRetryStrategy where- parseJSON- = withObject "BatchRetryStrategy"- (\ x -> BatchRetryStrategy' <$> (x .:? "Attempts"))--instance Hashable BatchRetryStrategy where--instance NFData BatchRetryStrategy where--instance ToJSON BatchRetryStrategy where- toJSON BatchRetryStrategy'{..}- = object- (catMaybes [("Attempts" .=) <$> _brsAttempts])---- | The custom parameters to be used when the target is an Amazon ECS cluster.------------ /See:/ 'ecsParameters' smart constructor.-data EcsParameters = EcsParameters'- { _epTaskCount :: !(Maybe Nat)- , _epTaskDefinitionARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'EcsParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'epTaskCount' - The number of tasks to create based on the @TaskDefinition@ . The default is one.------ * 'epTaskDefinitionARN' - The ARN of the task definition to use if the event target is an Amazon ECS cluster.-ecsParameters- :: Text -- ^ 'epTaskDefinitionARN'- -> EcsParameters-ecsParameters pTaskDefinitionARN_ =- EcsParameters'- {_epTaskCount = Nothing, _epTaskDefinitionARN = pTaskDefinitionARN_}----- | The number of tasks to create based on the @TaskDefinition@ . The default is one.-epTaskCount :: Lens' EcsParameters (Maybe Natural)-epTaskCount = lens _epTaskCount (\ s a -> s{_epTaskCount = a}) . mapping _Nat---- | The ARN of the task definition to use if the event target is an Amazon ECS cluster.-epTaskDefinitionARN :: Lens' EcsParameters Text-epTaskDefinitionARN = lens _epTaskDefinitionARN (\ s a -> s{_epTaskDefinitionARN = a})--instance FromJSON EcsParameters where- parseJSON- = withObject "EcsParameters"- (\ x ->- EcsParameters' <$>- (x .:? "TaskCount") <*> (x .: "TaskDefinitionArn"))--instance Hashable EcsParameters where--instance NFData EcsParameters where--instance ToJSON EcsParameters where- toJSON EcsParameters'{..}- = object- (catMaybes- [("TaskCount" .=) <$> _epTaskCount,- Just ("TaskDefinitionArn" .= _epTaskDefinitionARN)])---- | Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.------------ /See:/ 'inputTransformer' smart constructor.-data InputTransformer = InputTransformer'- { _itInputPathsMap :: !(Maybe (Map Text Text))- , _itInputTemplate :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'InputTransformer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'itInputPathsMap' - Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.------ * 'itInputTemplate' - Input template where you can use the values of the keys from @InputPathsMap@ to customize the data sent to the target.-inputTransformer- :: Text -- ^ 'itInputTemplate'- -> InputTransformer-inputTransformer pInputTemplate_ =- InputTransformer'- {_itInputPathsMap = Nothing, _itInputTemplate = pInputTemplate_}----- | Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a JSON path. You must use JSON dot notation, not bracket notation.-itInputPathsMap :: Lens' InputTransformer (HashMap Text Text)-itInputPathsMap = lens _itInputPathsMap (\ s a -> s{_itInputPathsMap = a}) . _Default . _Map---- | Input template where you can use the values of the keys from @InputPathsMap@ to customize the data sent to the target.-itInputTemplate :: Lens' InputTransformer Text-itInputTemplate = lens _itInputTemplate (\ s a -> s{_itInputTemplate = a})--instance FromJSON InputTransformer where- parseJSON- = withObject "InputTransformer"- (\ x ->- InputTransformer' <$>- (x .:? "InputPathsMap" .!= mempty) <*>- (x .: "InputTemplate"))--instance Hashable InputTransformer where--instance NFData InputTransformer where--instance ToJSON InputTransformer where- toJSON InputTransformer'{..}- = object- (catMaybes- [("InputPathsMap" .=) <$> _itInputPathsMap,- Just ("InputTemplate" .= _itInputTemplate)])---- | This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the @eventId@ as the partition key.------------ /See:/ 'kinesisParameters' smart constructor.-newtype KinesisParameters = KinesisParameters'- { _kpPartitionKeyPath :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'KinesisParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'kpPartitionKeyPath' - The JSON path to be extracted from the event and used as the partition key. For more information, see <http://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key Amazon Kinesis Streams Key Concepts> in the /Amazon Kinesis Streams Developer Guide/ .-kinesisParameters- :: Text -- ^ 'kpPartitionKeyPath'- -> KinesisParameters-kinesisParameters pPartitionKeyPath_ =- KinesisParameters' {_kpPartitionKeyPath = pPartitionKeyPath_}----- | The JSON path to be extracted from the event and used as the partition key. For more information, see <http://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key Amazon Kinesis Streams Key Concepts> in the /Amazon Kinesis Streams Developer Guide/ .-kpPartitionKeyPath :: Lens' KinesisParameters Text-kpPartitionKeyPath = lens _kpPartitionKeyPath (\ s a -> s{_kpPartitionKeyPath = a})--instance FromJSON KinesisParameters where- parseJSON- = withObject "KinesisParameters"- (\ x ->- KinesisParameters' <$> (x .: "PartitionKeyPath"))--instance Hashable KinesisParameters where--instance NFData KinesisParameters where--instance ToJSON KinesisParameters where- toJSON KinesisParameters'{..}- = object- (catMaybes- [Just ("PartitionKeyPath" .= _kpPartitionKeyPath)])---- | Represents an event to be submitted.------------ /See:/ 'putEventsRequestEntry' smart constructor.-data PutEventsRequestEntry = PutEventsRequestEntry'- { _pereTime :: !(Maybe POSIX)- , _pereDetailType :: !(Maybe Text)- , _pereResources :: !(Maybe [Text])- , _pereSource :: !(Maybe Text)- , _pereDetail :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutEventsRequestEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pereTime' - The timestamp of the event, per <https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339> . If no timestamp is provided, the timestamp of the 'PutEvents' call is used.------ * 'pereDetailType' - Free-form string used to decide what fields to expect in the event detail.------ * 'pereResources' - AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.------ * 'pereSource' - The source of the event.------ * 'pereDetail' - A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.-putEventsRequestEntry- :: PutEventsRequestEntry-putEventsRequestEntry =- PutEventsRequestEntry'- { _pereTime = Nothing- , _pereDetailType = Nothing- , _pereResources = Nothing- , _pereSource = Nothing- , _pereDetail = Nothing- }----- | The timestamp of the event, per <https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339> . If no timestamp is provided, the timestamp of the 'PutEvents' call is used.-pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime)-pereTime = lens _pereTime (\ s a -> s{_pereTime = a}) . mapping _Time---- | Free-form string used to decide what fields to expect in the event detail.-pereDetailType :: Lens' PutEventsRequestEntry (Maybe Text)-pereDetailType = lens _pereDetailType (\ s a -> s{_pereDetailType = a})---- | AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.-pereResources :: Lens' PutEventsRequestEntry [Text]-pereResources = lens _pereResources (\ s a -> s{_pereResources = a}) . _Default . _Coerce---- | The source of the event.-pereSource :: Lens' PutEventsRequestEntry (Maybe Text)-pereSource = lens _pereSource (\ s a -> s{_pereSource = a})---- | A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.-pereDetail :: Lens' PutEventsRequestEntry (Maybe Text)-pereDetail = lens _pereDetail (\ s a -> s{_pereDetail = a})--instance Hashable PutEventsRequestEntry where--instance NFData PutEventsRequestEntry where--instance ToJSON PutEventsRequestEntry where- toJSON PutEventsRequestEntry'{..}- = object- (catMaybes- [("Time" .=) <$> _pereTime,- ("DetailType" .=) <$> _pereDetailType,- ("Resources" .=) <$> _pereResources,- ("Source" .=) <$> _pereSource,- ("Detail" .=) <$> _pereDetail])---- | Represents an event that failed to be submitted.------------ /See:/ 'putEventsResultEntry' smart constructor.-data PutEventsResultEntry = PutEventsResultEntry'- { _pereErrorCode :: !(Maybe Text)- , _pereErrorMessage :: !(Maybe Text)- , _pereEventId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutEventsResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pereErrorCode' - The error code that indicates why the event submission failed.------ * 'pereErrorMessage' - The error message that explains why the event submission failed.------ * 'pereEventId' - The ID of the event.-putEventsResultEntry- :: PutEventsResultEntry-putEventsResultEntry =- PutEventsResultEntry'- { _pereErrorCode = Nothing- , _pereErrorMessage = Nothing- , _pereEventId = Nothing- }----- | The error code that indicates why the event submission failed.-pereErrorCode :: Lens' PutEventsResultEntry (Maybe Text)-pereErrorCode = lens _pereErrorCode (\ s a -> s{_pereErrorCode = a})---- | The error message that explains why the event submission failed.-pereErrorMessage :: Lens' PutEventsResultEntry (Maybe Text)-pereErrorMessage = lens _pereErrorMessage (\ s a -> s{_pereErrorMessage = a})---- | The ID of the event.-pereEventId :: Lens' PutEventsResultEntry (Maybe Text)-pereEventId = lens _pereEventId (\ s a -> s{_pereEventId = a})--instance FromJSON PutEventsResultEntry where- parseJSON- = withObject "PutEventsResultEntry"- (\ x ->- PutEventsResultEntry' <$>- (x .:? "ErrorCode") <*> (x .:? "ErrorMessage") <*>- (x .:? "EventId"))--instance Hashable PutEventsResultEntry where--instance NFData PutEventsResultEntry where---- | Represents a target that failed to be added to a rule.------------ /See:/ 'putTargetsResultEntry' smart constructor.-data PutTargetsResultEntry = PutTargetsResultEntry'- { _ptreTargetId :: !(Maybe Text)- , _ptreErrorCode :: !(Maybe Text)- , _ptreErrorMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PutTargetsResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ptreTargetId' - The ID of the target.------ * 'ptreErrorCode' - The error code that indicates why the target addition failed. If the value is @ConcurrentModificationException@ , too many requests were made at the same time.------ * 'ptreErrorMessage' - The error message that explains why the target addition failed.-putTargetsResultEntry- :: PutTargetsResultEntry-putTargetsResultEntry =- PutTargetsResultEntry'- { _ptreTargetId = Nothing- , _ptreErrorCode = Nothing- , _ptreErrorMessage = Nothing- }----- | The ID of the target.-ptreTargetId :: Lens' PutTargetsResultEntry (Maybe Text)-ptreTargetId = lens _ptreTargetId (\ s a -> s{_ptreTargetId = a})---- | The error code that indicates why the target addition failed. If the value is @ConcurrentModificationException@ , too many requests were made at the same time.-ptreErrorCode :: Lens' PutTargetsResultEntry (Maybe Text)-ptreErrorCode = lens _ptreErrorCode (\ s a -> s{_ptreErrorCode = a})---- | The error message that explains why the target addition failed.-ptreErrorMessage :: Lens' PutTargetsResultEntry (Maybe Text)-ptreErrorMessage = lens _ptreErrorMessage (\ s a -> s{_ptreErrorMessage = a})--instance FromJSON PutTargetsResultEntry where- parseJSON- = withObject "PutTargetsResultEntry"- (\ x ->- PutTargetsResultEntry' <$>- (x .:? "TargetId") <*> (x .:? "ErrorCode") <*>- (x .:? "ErrorMessage"))--instance Hashable PutTargetsResultEntry where--instance NFData PutTargetsResultEntry where---- | Represents a target that failed to be removed from a rule.------------ /See:/ 'removeTargetsResultEntry' smart constructor.-data RemoveTargetsResultEntry = RemoveTargetsResultEntry'- { _rtreTargetId :: !(Maybe Text)- , _rtreErrorCode :: !(Maybe Text)- , _rtreErrorMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RemoveTargetsResultEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtreTargetId' - The ID of the target.------ * 'rtreErrorCode' - The error code that indicates why the target removal failed. If the value is @ConcurrentModificationException@ , too many requests were made at the same time.------ * 'rtreErrorMessage' - The error message that explains why the target removal failed.-removeTargetsResultEntry- :: RemoveTargetsResultEntry-removeTargetsResultEntry =- RemoveTargetsResultEntry'- { _rtreTargetId = Nothing- , _rtreErrorCode = Nothing- , _rtreErrorMessage = Nothing- }----- | The ID of the target.-rtreTargetId :: Lens' RemoveTargetsResultEntry (Maybe Text)-rtreTargetId = lens _rtreTargetId (\ s a -> s{_rtreTargetId = a})---- | The error code that indicates why the target removal failed. If the value is @ConcurrentModificationException@ , too many requests were made at the same time.-rtreErrorCode :: Lens' RemoveTargetsResultEntry (Maybe Text)-rtreErrorCode = lens _rtreErrorCode (\ s a -> s{_rtreErrorCode = a})---- | The error message that explains why the target removal failed.-rtreErrorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text)-rtreErrorMessage = lens _rtreErrorMessage (\ s a -> s{_rtreErrorMessage = a})--instance FromJSON RemoveTargetsResultEntry where- parseJSON- = withObject "RemoveTargetsResultEntry"- (\ x ->- RemoveTargetsResultEntry' <$>- (x .:? "TargetId") <*> (x .:? "ErrorCode") <*>- (x .:? "ErrorMessage"))--instance Hashable RemoveTargetsResultEntry where--instance NFData RemoveTargetsResultEntry where---- | Contains information about a rule in Amazon CloudWatch Events.------------ /See:/ 'rule' smart constructor.-data Rule = Rule'- { _rEventPattern :: !(Maybe Text)- , _rState :: !(Maybe RuleState)- , _rARN :: !(Maybe Text)- , _rScheduleExpression :: !(Maybe Text)- , _rName :: !(Maybe Text)- , _rDescription :: !(Maybe Text)- , _rRoleARN :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Rule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rEventPattern' - The event pattern of the rule. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .------ * 'rState' - The state of the rule.------ * 'rARN' - The Amazon Resource Name (ARN) of the rule.------ * 'rScheduleExpression' - The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".------ * 'rName' - The name of the rule.------ * 'rDescription' - The description of the rule.------ * 'rRoleARN' - The Amazon Resource Name (ARN) of the role that is used for target invocation.-rule- :: Rule-rule =- Rule'- { _rEventPattern = Nothing- , _rState = Nothing- , _rARN = Nothing- , _rScheduleExpression = Nothing- , _rName = Nothing- , _rDescription = Nothing- , _rRoleARN = Nothing- }----- | The event pattern of the rule. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html Events and Event Patterns> in the /Amazon CloudWatch Events User Guide/ .-rEventPattern :: Lens' Rule (Maybe Text)-rEventPattern = lens _rEventPattern (\ s a -> s{_rEventPattern = a})---- | The state of the rule.-rState :: Lens' Rule (Maybe RuleState)-rState = lens _rState (\ s a -> s{_rState = a})---- | The Amazon Resource Name (ARN) of the rule.-rARN :: Lens' Rule (Maybe Text)-rARN = lens _rARN (\ s a -> s{_rARN = a})---- | The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".-rScheduleExpression :: Lens' Rule (Maybe Text)-rScheduleExpression = lens _rScheduleExpression (\ s a -> s{_rScheduleExpression = a})---- | The name of the rule.-rName :: Lens' Rule (Maybe Text)-rName = lens _rName (\ s a -> s{_rName = a})---- | The description of the rule.-rDescription :: Lens' Rule (Maybe Text)-rDescription = lens _rDescription (\ s a -> s{_rDescription = a})---- | The Amazon Resource Name (ARN) of the role that is used for target invocation.-rRoleARN :: Lens' Rule (Maybe Text)-rRoleARN = lens _rRoleARN (\ s a -> s{_rRoleARN = a})--instance FromJSON Rule where- parseJSON- = withObject "Rule"- (\ x ->- Rule' <$>- (x .:? "EventPattern") <*> (x .:? "State") <*>- (x .:? "Arn")- <*> (x .:? "ScheduleExpression")- <*> (x .:? "Name")- <*> (x .:? "Description")- <*> (x .:? "RoleArn"))--instance Hashable Rule where--instance NFData Rule where---- | This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.------------ /See:/ 'runCommandParameters' smart constructor.-newtype RunCommandParameters = RunCommandParameters'- { _rcpRunCommandTargets :: List1 RunCommandTarget- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RunCommandParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rcpRunCommandTargets' - Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.-runCommandParameters- :: NonEmpty RunCommandTarget -- ^ 'rcpRunCommandTargets'- -> RunCommandParameters-runCommandParameters pRunCommandTargets_ =- RunCommandParameters' {_rcpRunCommandTargets = _List1 # pRunCommandTargets_}----- | Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.-rcpRunCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget)-rcpRunCommandTargets = lens _rcpRunCommandTargets (\ s a -> s{_rcpRunCommandTargets = a}) . _List1--instance FromJSON RunCommandParameters where- parseJSON- = withObject "RunCommandParameters"- (\ x ->- RunCommandParameters' <$> (x .: "RunCommandTargets"))--instance Hashable RunCommandParameters where--instance NFData RunCommandParameters where--instance ToJSON RunCommandParameters where- toJSON RunCommandParameters'{..}- = object- (catMaybes- [Just- ("RunCommandTargets" .= _rcpRunCommandTargets)])---- | Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each @RunCommandTarget@ block can include only one key, but this key may specify multiple values.------------ /See:/ 'runCommandTarget' smart constructor.-data RunCommandTarget = RunCommandTarget'- { _rctKey :: !Text- , _rctValues :: !(List1 Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RunCommandTarget' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rctKey' - Can be either @tag:@ /tag-key/ or @InstanceIds@ .------ * 'rctValues' - If @Key@ is @tag:@ /tag-key/ , @Values@ is a list of tag values. If @Key@ is @InstanceIds@ , @Values@ is a list of Amazon EC2 instance IDs.-runCommandTarget- :: Text -- ^ 'rctKey'- -> NonEmpty Text -- ^ 'rctValues'- -> RunCommandTarget-runCommandTarget pKey_ pValues_ =- RunCommandTarget' {_rctKey = pKey_, _rctValues = _List1 # pValues_}----- | Can be either @tag:@ /tag-key/ or @InstanceIds@ .-rctKey :: Lens' RunCommandTarget Text-rctKey = lens _rctKey (\ s a -> s{_rctKey = a})---- | If @Key@ is @tag:@ /tag-key/ , @Values@ is a list of tag values. If @Key@ is @InstanceIds@ , @Values@ is a list of Amazon EC2 instance IDs.-rctValues :: Lens' RunCommandTarget (NonEmpty Text)-rctValues = lens _rctValues (\ s a -> s{_rctValues = a}) . _List1--instance FromJSON RunCommandTarget where- parseJSON- = withObject "RunCommandTarget"- (\ x ->- RunCommandTarget' <$>- (x .: "Key") <*> (x .: "Values"))--instance Hashable RunCommandTarget where--instance NFData RunCommandTarget where--instance ToJSON RunCommandTarget where- toJSON RunCommandTarget'{..}- = object- (catMaybes- [Just ("Key" .= _rctKey),- Just ("Values" .= _rctValues)])---- | This structure includes the custom parameter to be used when the target is an SQS FIFO queue.------------ /See:/ 'sqsParameters' smart constructor.-newtype SqsParameters = SqsParameters'- { _spMessageGroupId :: Maybe Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SqsParameters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'spMessageGroupId' - The FIFO message group ID to use as the target.-sqsParameters- :: SqsParameters-sqsParameters = SqsParameters' {_spMessageGroupId = Nothing}----- | The FIFO message group ID to use as the target.-spMessageGroupId :: Lens' SqsParameters (Maybe Text)-spMessageGroupId = lens _spMessageGroupId (\ s a -> s{_spMessageGroupId = a})--instance FromJSON SqsParameters where- parseJSON- = withObject "SqsParameters"- (\ x -> SqsParameters' <$> (x .:? "MessageGroupId"))--instance Hashable SqsParameters where--instance NFData SqsParameters where--instance ToJSON SqsParameters where- toJSON SqsParameters'{..}- = object- (catMaybes- [("MessageGroupId" .=) <$> _spMessageGroupId])---- | Targets are the resources to be invoked when a rule is triggered. Target types include EC2 instances, AWS Lambda functions, Amazon Kinesis streams, Amazon ECS tasks, AWS Step Functions state machines, Run Command, and built-in targets.------------ /See:/ 'target' smart constructor.-data Target = Target'- { _tRunCommandParameters :: !(Maybe RunCommandParameters)- , _tKinesisParameters :: !(Maybe KinesisParameters)- , _tInputTransformer :: !(Maybe InputTransformer)- , _tSqsParameters :: !(Maybe SqsParameters)- , _tInput :: !(Maybe Text)- , _tBatchParameters :: !(Maybe BatchParameters)- , _tEcsParameters :: !(Maybe EcsParameters)- , _tInputPath :: !(Maybe Text)- , _tRoleARN :: !(Maybe Text)- , _tId :: !Text- , _tARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Target' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tRunCommandParameters' - Parameters used when you are using the rule to invoke Amazon EC2 Run Command.------ * 'tKinesisParameters' - The custom parameter you can use to control shard assignment, when the target is an Amazon Kinesis stream. If you do not include this parameter, the default is to use the @eventId@ as the partition key.------ * 'tInputTransformer' - Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.------ * 'tSqsParameters' - Contains the message group ID to use when the target is a FIFO queue.------ * 'tInput' - Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object Notation (JSON) Data Interchange Format> .------ * 'tBatchParameters' - Contains the job definition, job name, and other parameters if the event target is an AWS Batch job. For more information about AWS Batch, see <http://docs.aws.amazon.com/batch/latest/userguide/jobs.html Jobs> in the /AWS Batch User Guide/ .------ * 'tEcsParameters' - Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Task Definitions > in the /Amazon EC2 Container Service Developer Guide/ .------ * 'tInputPath' - The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see <http://goessner.net/articles/JsonPath/ JSONPath> .------ * 'tRoleARN' - The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.------ * 'tId' - The ID of the target.------ * 'tARN' - The Amazon Resource Name (ARN) of the target.-target- :: Text -- ^ 'tId'- -> Text -- ^ 'tARN'- -> Target-target pId_ pARN_ =- Target'- { _tRunCommandParameters = Nothing- , _tKinesisParameters = Nothing- , _tInputTransformer = Nothing- , _tSqsParameters = Nothing- , _tInput = Nothing- , _tBatchParameters = Nothing- , _tEcsParameters = Nothing- , _tInputPath = Nothing- , _tRoleARN = Nothing- , _tId = pId_- , _tARN = pARN_- }----- | Parameters used when you are using the rule to invoke Amazon EC2 Run Command.-tRunCommandParameters :: Lens' Target (Maybe RunCommandParameters)-tRunCommandParameters = lens _tRunCommandParameters (\ s a -> s{_tRunCommandParameters = a})---- | The custom parameter you can use to control shard assignment, when the target is an Amazon Kinesis stream. If you do not include this parameter, the default is to use the @eventId@ as the partition key.-tKinesisParameters :: Lens' Target (Maybe KinesisParameters)-tKinesisParameters = lens _tKinesisParameters (\ s a -> s{_tKinesisParameters = a})---- | Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.-tInputTransformer :: Lens' Target (Maybe InputTransformer)-tInputTransformer = lens _tInputTransformer (\ s a -> s{_tInputTransformer = a})---- | Contains the message group ID to use when the target is a FIFO queue.-tSqsParameters :: Lens' Target (Maybe SqsParameters)-tSqsParameters = lens _tSqsParameters (\ s a -> s{_tSqsParameters = a})---- | Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object Notation (JSON) Data Interchange Format> .-tInput :: Lens' Target (Maybe Text)-tInput = lens _tInput (\ s a -> s{_tInput = a})---- | Contains the job definition, job name, and other parameters if the event target is an AWS Batch job. For more information about AWS Batch, see <http://docs.aws.amazon.com/batch/latest/userguide/jobs.html Jobs> in the /AWS Batch User Guide/ .-tBatchParameters :: Lens' Target (Maybe BatchParameters)-tBatchParameters = lens _tBatchParameters (\ s a -> s{_tBatchParameters = a})---- | Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see <http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html Task Definitions > in the /Amazon EC2 Container Service Developer Guide/ .-tEcsParameters :: Lens' Target (Maybe EcsParameters)-tEcsParameters = lens _tEcsParameters (\ s a -> s{_tEcsParameters = a})---- | The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You must use JSON dot notation, not bracket notation. For more information about JSON paths, see <http://goessner.net/articles/JsonPath/ JSONPath> .-tInputPath :: Lens' Target (Maybe Text)-tInputPath = lens _tInputPath (\ s a -> s{_tInputPath = a})---- | The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.-tRoleARN :: Lens' Target (Maybe Text)-tRoleARN = lens _tRoleARN (\ s a -> s{_tRoleARN = a})---- | The ID of the target.-tId :: Lens' Target Text-tId = lens _tId (\ s a -> s{_tId = a})---- | The Amazon Resource Name (ARN) of the target.-tARN :: Lens' Target Text-tARN = lens _tARN (\ s a -> s{_tARN = a})--instance FromJSON Target where- parseJSON- = withObject "Target"- (\ x ->- Target' <$>- (x .:? "RunCommandParameters") <*>- (x .:? "KinesisParameters")- <*> (x .:? "InputTransformer")- <*> (x .:? "SqsParameters")- <*> (x .:? "Input")- <*> (x .:? "BatchParameters")- <*> (x .:? "EcsParameters")- <*> (x .:? "InputPath")- <*> (x .:? "RoleArn")- <*> (x .: "Id")- <*> (x .: "Arn"))--instance Hashable Target where--instance NFData Target where--instance ToJSON Target where- toJSON Target'{..}- = object- (catMaybes- [("RunCommandParameters" .=) <$>- _tRunCommandParameters,- ("KinesisParameters" .=) <$> _tKinesisParameters,- ("InputTransformer" .=) <$> _tInputTransformer,- ("SqsParameters" .=) <$> _tSqsParameters,- ("Input" .=) <$> _tInput,- ("BatchParameters" .=) <$> _tBatchParameters,- ("EcsParameters" .=) <$> _tEcsParameters,- ("InputPath" .=) <$> _tInputPath,- ("RoleArn" .=) <$> _tRoleARN, Just ("Id" .= _tId),- Just ("Arn" .= _tARN)])
− gen/Network/AWS/CloudWatchEvents/Types/Sum.hs
@@ -1,50 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.Types.Sum--- Copyright : (c) 2013-2018 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)----module Network.AWS.CloudWatchEvents.Types.Sum where--import Network.AWS.Prelude--data RuleState- = Disabled- | Enabled- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText RuleState where- parser = takeLowerText >>= \case- "disabled" -> pure Disabled- "enabled" -> pure Enabled- e -> fromTextError $ "Failure parsing RuleState from value: '" <> e- <> "'. Accepted values: disabled, enabled"--instance ToText RuleState where- toText = \case- Disabled -> "DISABLED"- Enabled -> "ENABLED"--instance Hashable RuleState-instance NFData RuleState-instance ToByteString RuleState-instance ToQuery RuleState-instance ToHeader RuleState--instance ToJSON RuleState where- toJSON = toJSONText--instance FromJSON RuleState where- parseJSON = parseJSONText "RuleState"
− gen/Network/AWS/CloudWatchEvents/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.CloudWatchEvents.Waiters--- Copyright : (c) 2013-2018 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)----module Network.AWS.CloudWatchEvents.Waiters where--import Network.AWS.CloudWatchEvents.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.CloudWatchEvents+import Test.Amazonka.CloudWatchEvents.Internal import Test.Tasty-import Test.AWS.CloudWatchEvents-import Test.AWS.CloudWatchEvents.Internal main :: IO ()-main = defaultMain $ testGroup "CloudWatchEvents"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "CloudWatchEvents"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/CloudWatchEvents.hs
@@ -1,23 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TemplateHaskell #-}---- |--- Module : Test.AWS.CloudWatchEvents--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)----module Test.AWS.CloudWatchEvents- ( tests- , fixtures- ) where--import Test.AWS.Prelude--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/CloudWatchEvents/Internal.hs
@@ -1,15 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Test.AWS.CloudWatchEvents.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)-----module Test.AWS.CloudWatchEvents.Internal where--import Test.AWS.Prelude
− test/Test/AWS/Gen/CloudWatchEvents.hs
@@ -1,309 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.CloudWatchEvents--- Copyright : (c) 2013-2018 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)----module Test.AWS.Gen.CloudWatchEvents where--import Data.Proxy-import Network.AWS.CloudWatchEvents-import Test.AWS.CloudWatchEvents.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestRemoveTargets $--- removeTargets------ , requestDeleteRule $--- deleteRule------ , requestListRules $--- listRules------ , requestPutRule $--- putRule------ , requestDisableRule $--- disableRule------ , requestPutPermission $--- putPermission------ , requestListTargetsByRule $--- listTargetsByRule------ , requestRemovePermission $--- removePermission------ , requestDescribeRule $--- describeRule------ , requestEnableRule $--- enableRule------ , requestListRuleNamesByTarget $--- listRuleNamesByTarget------ , requestTestEventPattern $--- testEventPattern------ , requestDescribeEventBus $--- describeEventBus------ , requestPutTargets $--- putTargets------ , requestPutEvents $--- putEvents------ ]---- , testGroup "response"--- [ responseRemoveTargets $--- removeTargetsResponse------ , responseDeleteRule $--- deleteRuleResponse------ , responseListRules $--- listRulesResponse------ , responsePutRule $--- putRuleResponse------ , responseDisableRule $--- disableRuleResponse------ , responsePutPermission $--- putPermissionResponse------ , responseListTargetsByRule $--- listTargetsByRuleResponse------ , responseRemovePermission $--- removePermissionResponse------ , responseDescribeRule $--- describeRuleResponse------ , responseEnableRule $--- enableRuleResponse------ , responseListRuleNamesByTarget $--- listRuleNamesByTargetResponse------ , responseTestEventPattern $--- testEventPatternResponse------ , responseDescribeEventBus $--- describeEventBusResponse------ , responsePutTargets $--- putTargetsResponse------ , responsePutEvents $--- putEventsResponse------ ]--- ]---- Requests--requestRemoveTargets :: RemoveTargets -> TestTree-requestRemoveTargets = req- "RemoveTargets"- "fixture/RemoveTargets.yaml"--requestDeleteRule :: DeleteRule -> TestTree-requestDeleteRule = req- "DeleteRule"- "fixture/DeleteRule.yaml"--requestListRules :: ListRules -> TestTree-requestListRules = req- "ListRules"- "fixture/ListRules.yaml"--requestPutRule :: PutRule -> TestTree-requestPutRule = req- "PutRule"- "fixture/PutRule.yaml"--requestDisableRule :: DisableRule -> TestTree-requestDisableRule = req- "DisableRule"- "fixture/DisableRule.yaml"--requestPutPermission :: PutPermission -> TestTree-requestPutPermission = req- "PutPermission"- "fixture/PutPermission.yaml"--requestListTargetsByRule :: ListTargetsByRule -> TestTree-requestListTargetsByRule = req- "ListTargetsByRule"- "fixture/ListTargetsByRule.yaml"--requestRemovePermission :: RemovePermission -> TestTree-requestRemovePermission = req- "RemovePermission"- "fixture/RemovePermission.yaml"--requestDescribeRule :: DescribeRule -> TestTree-requestDescribeRule = req- "DescribeRule"- "fixture/DescribeRule.yaml"--requestEnableRule :: EnableRule -> TestTree-requestEnableRule = req- "EnableRule"- "fixture/EnableRule.yaml"--requestListRuleNamesByTarget :: ListRuleNamesByTarget -> TestTree-requestListRuleNamesByTarget = req- "ListRuleNamesByTarget"- "fixture/ListRuleNamesByTarget.yaml"--requestTestEventPattern :: TestEventPattern -> TestTree-requestTestEventPattern = req- "TestEventPattern"- "fixture/TestEventPattern.yaml"--requestDescribeEventBus :: DescribeEventBus -> TestTree-requestDescribeEventBus = req- "DescribeEventBus"- "fixture/DescribeEventBus.yaml"--requestPutTargets :: PutTargets -> TestTree-requestPutTargets = req- "PutTargets"- "fixture/PutTargets.yaml"--requestPutEvents :: PutEvents -> TestTree-requestPutEvents = req- "PutEvents"- "fixture/PutEvents.yaml"---- Responses--responseRemoveTargets :: RemoveTargetsResponse -> TestTree-responseRemoveTargets = res- "RemoveTargetsResponse"- "fixture/RemoveTargetsResponse.proto"- cloudWatchEvents- (Proxy :: Proxy RemoveTargets)--responseDeleteRule :: DeleteRuleResponse -> TestTree-responseDeleteRule = res- "DeleteRuleResponse"- "fixture/DeleteRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy DeleteRule)--responseListRules :: ListRulesResponse -> TestTree-responseListRules = res- "ListRulesResponse"- "fixture/ListRulesResponse.proto"- cloudWatchEvents- (Proxy :: Proxy ListRules)--responsePutRule :: PutRuleResponse -> TestTree-responsePutRule = res- "PutRuleResponse"- "fixture/PutRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy PutRule)--responseDisableRule :: DisableRuleResponse -> TestTree-responseDisableRule = res- "DisableRuleResponse"- "fixture/DisableRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy DisableRule)--responsePutPermission :: PutPermissionResponse -> TestTree-responsePutPermission = res- "PutPermissionResponse"- "fixture/PutPermissionResponse.proto"- cloudWatchEvents- (Proxy :: Proxy PutPermission)--responseListTargetsByRule :: ListTargetsByRuleResponse -> TestTree-responseListTargetsByRule = res- "ListTargetsByRuleResponse"- "fixture/ListTargetsByRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy ListTargetsByRule)--responseRemovePermission :: RemovePermissionResponse -> TestTree-responseRemovePermission = res- "RemovePermissionResponse"- "fixture/RemovePermissionResponse.proto"- cloudWatchEvents- (Proxy :: Proxy RemovePermission)--responseDescribeRule :: DescribeRuleResponse -> TestTree-responseDescribeRule = res- "DescribeRuleResponse"- "fixture/DescribeRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy DescribeRule)--responseEnableRule :: EnableRuleResponse -> TestTree-responseEnableRule = res- "EnableRuleResponse"- "fixture/EnableRuleResponse.proto"- cloudWatchEvents- (Proxy :: Proxy EnableRule)--responseListRuleNamesByTarget :: ListRuleNamesByTargetResponse -> TestTree-responseListRuleNamesByTarget = res- "ListRuleNamesByTargetResponse"- "fixture/ListRuleNamesByTargetResponse.proto"- cloudWatchEvents- (Proxy :: Proxy ListRuleNamesByTarget)--responseTestEventPattern :: TestEventPatternResponse -> TestTree-responseTestEventPattern = res- "TestEventPatternResponse"- "fixture/TestEventPatternResponse.proto"- cloudWatchEvents- (Proxy :: Proxy TestEventPattern)--responseDescribeEventBus :: DescribeEventBusResponse -> TestTree-responseDescribeEventBus = res- "DescribeEventBusResponse"- "fixture/DescribeEventBusResponse.proto"- cloudWatchEvents- (Proxy :: Proxy DescribeEventBus)--responsePutTargets :: PutTargetsResponse -> TestTree-responsePutTargets = res- "PutTargetsResponse"- "fixture/PutTargetsResponse.proto"- cloudWatchEvents- (Proxy :: Proxy PutTargets)--responsePutEvents :: PutEventsResponse -> TestTree-responsePutEvents = res- "PutEventsResponse"- "fixture/PutEventsResponse.proto"- cloudWatchEvents- (Proxy :: Proxy PutEvents)
+ test/Test/Amazonka/CloudWatchEvents.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.CloudWatchEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CloudWatchEvents+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/CloudWatchEvents/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.CloudWatchEvents.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CloudWatchEvents.Internal where
+ test/Test/Amazonka/Gen/CloudWatchEvents.hs view
@@ -0,0 +1,1158 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.CloudWatchEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.CloudWatchEvents where++import Amazonka.CloudWatchEvents+import qualified Data.Proxy as Proxy+import Test.Amazonka.CloudWatchEvents.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestActivateEventSource $+-- newActivateEventSource+--+-- , requestCancelReplay $+-- newCancelReplay+--+-- , requestCreateApiDestination $+-- newCreateApiDestination+--+-- , requestCreateArchive $+-- newCreateArchive+--+-- , requestCreateConnection $+-- newCreateConnection+--+-- , requestCreateEndpoint $+-- newCreateEndpoint+--+-- , requestCreateEventBus $+-- newCreateEventBus+--+-- , requestCreatePartnerEventSource $+-- newCreatePartnerEventSource+--+-- , requestDeactivateEventSource $+-- newDeactivateEventSource+--+-- , requestDeauthorizeConnection $+-- newDeauthorizeConnection+--+-- , requestDeleteApiDestination $+-- newDeleteApiDestination+--+-- , requestDeleteArchive $+-- newDeleteArchive+--+-- , requestDeleteConnection $+-- newDeleteConnection+--+-- , requestDeleteEndpoint $+-- newDeleteEndpoint+--+-- , requestDeleteEventBus $+-- newDeleteEventBus+--+-- , requestDeletePartnerEventSource $+-- newDeletePartnerEventSource+--+-- , requestDeleteRule $+-- newDeleteRule+--+-- , requestDescribeApiDestination $+-- newDescribeApiDestination+--+-- , requestDescribeArchive $+-- newDescribeArchive+--+-- , requestDescribeConnection $+-- newDescribeConnection+--+-- , requestDescribeEndpoint $+-- newDescribeEndpoint+--+-- , requestDescribeEventBus $+-- newDescribeEventBus+--+-- , requestDescribeEventSource $+-- newDescribeEventSource+--+-- , requestDescribePartnerEventSource $+-- newDescribePartnerEventSource+--+-- , requestDescribeReplay $+-- newDescribeReplay+--+-- , requestDescribeRule $+-- newDescribeRule+--+-- , requestDisableRule $+-- newDisableRule+--+-- , requestEnableRule $+-- newEnableRule+--+-- , requestListApiDestinations $+-- newListApiDestinations+--+-- , requestListArchives $+-- newListArchives+--+-- , requestListConnections $+-- newListConnections+--+-- , requestListEndpoints $+-- newListEndpoints+--+-- , requestListEventBuses $+-- newListEventBuses+--+-- , requestListEventSources $+-- newListEventSources+--+-- , requestListPartnerEventSourceAccounts $+-- newListPartnerEventSourceAccounts+--+-- , requestListPartnerEventSources $+-- newListPartnerEventSources+--+-- , requestListReplays $+-- newListReplays+--+-- , requestListRuleNamesByTarget $+-- newListRuleNamesByTarget+--+-- , requestListRules $+-- newListRules+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestListTargetsByRule $+-- newListTargetsByRule+--+-- , requestPutEvents $+-- newPutEvents+--+-- , requestPutPartnerEvents $+-- newPutPartnerEvents+--+-- , requestPutPermission $+-- newPutPermission+--+-- , requestPutRule $+-- newPutRule+--+-- , requestPutTargets $+-- newPutTargets+--+-- , requestRemovePermission $+-- newRemovePermission+--+-- , requestRemoveTargets $+-- newRemoveTargets+--+-- , requestStartReplay $+-- newStartReplay+--+-- , requestTagResource $+-- newTagResource+--+-- , requestTestEventPattern $+-- newTestEventPattern+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateApiDestination $+-- newUpdateApiDestination+--+-- , requestUpdateArchive $+-- newUpdateArchive+--+-- , requestUpdateConnection $+-- newUpdateConnection+--+-- , requestUpdateEndpoint $+-- newUpdateEndpoint+--+-- ]++-- , testGroup "response"+-- [ responseActivateEventSource $+-- newActivateEventSourceResponse+--+-- , responseCancelReplay $+-- newCancelReplayResponse+--+-- , responseCreateApiDestination $+-- newCreateApiDestinationResponse+--+-- , responseCreateArchive $+-- newCreateArchiveResponse+--+-- , responseCreateConnection $+-- newCreateConnectionResponse+--+-- , responseCreateEndpoint $+-- newCreateEndpointResponse+--+-- , responseCreateEventBus $+-- newCreateEventBusResponse+--+-- , responseCreatePartnerEventSource $+-- newCreatePartnerEventSourceResponse+--+-- , responseDeactivateEventSource $+-- newDeactivateEventSourceResponse+--+-- , responseDeauthorizeConnection $+-- newDeauthorizeConnectionResponse+--+-- , responseDeleteApiDestination $+-- newDeleteApiDestinationResponse+--+-- , responseDeleteArchive $+-- newDeleteArchiveResponse+--+-- , responseDeleteConnection $+-- newDeleteConnectionResponse+--+-- , responseDeleteEndpoint $+-- newDeleteEndpointResponse+--+-- , responseDeleteEventBus $+-- newDeleteEventBusResponse+--+-- , responseDeletePartnerEventSource $+-- newDeletePartnerEventSourceResponse+--+-- , responseDeleteRule $+-- newDeleteRuleResponse+--+-- , responseDescribeApiDestination $+-- newDescribeApiDestinationResponse+--+-- , responseDescribeArchive $+-- newDescribeArchiveResponse+--+-- , responseDescribeConnection $+-- newDescribeConnectionResponse+--+-- , responseDescribeEndpoint $+-- newDescribeEndpointResponse+--+-- , responseDescribeEventBus $+-- newDescribeEventBusResponse+--+-- , responseDescribeEventSource $+-- newDescribeEventSourceResponse+--+-- , responseDescribePartnerEventSource $+-- newDescribePartnerEventSourceResponse+--+-- , responseDescribeReplay $+-- newDescribeReplayResponse+--+-- , responseDescribeRule $+-- newDescribeRuleResponse+--+-- , responseDisableRule $+-- newDisableRuleResponse+--+-- , responseEnableRule $+-- newEnableRuleResponse+--+-- , responseListApiDestinations $+-- newListApiDestinationsResponse+--+-- , responseListArchives $+-- newListArchivesResponse+--+-- , responseListConnections $+-- newListConnectionsResponse+--+-- , responseListEndpoints $+-- newListEndpointsResponse+--+-- , responseListEventBuses $+-- newListEventBusesResponse+--+-- , responseListEventSources $+-- newListEventSourcesResponse+--+-- , responseListPartnerEventSourceAccounts $+-- newListPartnerEventSourceAccountsResponse+--+-- , responseListPartnerEventSources $+-- newListPartnerEventSourcesResponse+--+-- , responseListReplays $+-- newListReplaysResponse+--+-- , responseListRuleNamesByTarget $+-- newListRuleNamesByTargetResponse+--+-- , responseListRules $+-- newListRulesResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseListTargetsByRule $+-- newListTargetsByRuleResponse+--+-- , responsePutEvents $+-- newPutEventsResponse+--+-- , responsePutPartnerEvents $+-- newPutPartnerEventsResponse+--+-- , responsePutPermission $+-- newPutPermissionResponse+--+-- , responsePutRule $+-- newPutRuleResponse+--+-- , responsePutTargets $+-- newPutTargetsResponse+--+-- , responseRemovePermission $+-- newRemovePermissionResponse+--+-- , responseRemoveTargets $+-- newRemoveTargetsResponse+--+-- , responseStartReplay $+-- newStartReplayResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseTestEventPattern $+-- newTestEventPatternResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateApiDestination $+-- newUpdateApiDestinationResponse+--+-- , responseUpdateArchive $+-- newUpdateArchiveResponse+--+-- , responseUpdateConnection $+-- newUpdateConnectionResponse+--+-- , responseUpdateEndpoint $+-- newUpdateEndpointResponse+--+-- ]+-- ]++-- Requests++requestActivateEventSource :: ActivateEventSource -> TestTree+requestActivateEventSource =+ req+ "ActivateEventSource"+ "fixture/ActivateEventSource.yaml"++requestCancelReplay :: CancelReplay -> TestTree+requestCancelReplay =+ req+ "CancelReplay"+ "fixture/CancelReplay.yaml"++requestCreateApiDestination :: CreateApiDestination -> TestTree+requestCreateApiDestination =+ req+ "CreateApiDestination"+ "fixture/CreateApiDestination.yaml"++requestCreateArchive :: CreateArchive -> TestTree+requestCreateArchive =+ req+ "CreateArchive"+ "fixture/CreateArchive.yaml"++requestCreateConnection :: CreateConnection -> TestTree+requestCreateConnection =+ req+ "CreateConnection"+ "fixture/CreateConnection.yaml"++requestCreateEndpoint :: CreateEndpoint -> TestTree+requestCreateEndpoint =+ req+ "CreateEndpoint"+ "fixture/CreateEndpoint.yaml"++requestCreateEventBus :: CreateEventBus -> TestTree+requestCreateEventBus =+ req+ "CreateEventBus"+ "fixture/CreateEventBus.yaml"++requestCreatePartnerEventSource :: CreatePartnerEventSource -> TestTree+requestCreatePartnerEventSource =+ req+ "CreatePartnerEventSource"+ "fixture/CreatePartnerEventSource.yaml"++requestDeactivateEventSource :: DeactivateEventSource -> TestTree+requestDeactivateEventSource =+ req+ "DeactivateEventSource"+ "fixture/DeactivateEventSource.yaml"++requestDeauthorizeConnection :: DeauthorizeConnection -> TestTree+requestDeauthorizeConnection =+ req+ "DeauthorizeConnection"+ "fixture/DeauthorizeConnection.yaml"++requestDeleteApiDestination :: DeleteApiDestination -> TestTree+requestDeleteApiDestination =+ req+ "DeleteApiDestination"+ "fixture/DeleteApiDestination.yaml"++requestDeleteArchive :: DeleteArchive -> TestTree+requestDeleteArchive =+ req+ "DeleteArchive"+ "fixture/DeleteArchive.yaml"++requestDeleteConnection :: DeleteConnection -> TestTree+requestDeleteConnection =+ req+ "DeleteConnection"+ "fixture/DeleteConnection.yaml"++requestDeleteEndpoint :: DeleteEndpoint -> TestTree+requestDeleteEndpoint =+ req+ "DeleteEndpoint"+ "fixture/DeleteEndpoint.yaml"++requestDeleteEventBus :: DeleteEventBus -> TestTree+requestDeleteEventBus =+ req+ "DeleteEventBus"+ "fixture/DeleteEventBus.yaml"++requestDeletePartnerEventSource :: DeletePartnerEventSource -> TestTree+requestDeletePartnerEventSource =+ req+ "DeletePartnerEventSource"+ "fixture/DeletePartnerEventSource.yaml"++requestDeleteRule :: DeleteRule -> TestTree+requestDeleteRule =+ req+ "DeleteRule"+ "fixture/DeleteRule.yaml"++requestDescribeApiDestination :: DescribeApiDestination -> TestTree+requestDescribeApiDestination =+ req+ "DescribeApiDestination"+ "fixture/DescribeApiDestination.yaml"++requestDescribeArchive :: DescribeArchive -> TestTree+requestDescribeArchive =+ req+ "DescribeArchive"+ "fixture/DescribeArchive.yaml"++requestDescribeConnection :: DescribeConnection -> TestTree+requestDescribeConnection =+ req+ "DescribeConnection"+ "fixture/DescribeConnection.yaml"++requestDescribeEndpoint :: DescribeEndpoint -> TestTree+requestDescribeEndpoint =+ req+ "DescribeEndpoint"+ "fixture/DescribeEndpoint.yaml"++requestDescribeEventBus :: DescribeEventBus -> TestTree+requestDescribeEventBus =+ req+ "DescribeEventBus"+ "fixture/DescribeEventBus.yaml"++requestDescribeEventSource :: DescribeEventSource -> TestTree+requestDescribeEventSource =+ req+ "DescribeEventSource"+ "fixture/DescribeEventSource.yaml"++requestDescribePartnerEventSource :: DescribePartnerEventSource -> TestTree+requestDescribePartnerEventSource =+ req+ "DescribePartnerEventSource"+ "fixture/DescribePartnerEventSource.yaml"++requestDescribeReplay :: DescribeReplay -> TestTree+requestDescribeReplay =+ req+ "DescribeReplay"+ "fixture/DescribeReplay.yaml"++requestDescribeRule :: DescribeRule -> TestTree+requestDescribeRule =+ req+ "DescribeRule"+ "fixture/DescribeRule.yaml"++requestDisableRule :: DisableRule -> TestTree+requestDisableRule =+ req+ "DisableRule"+ "fixture/DisableRule.yaml"++requestEnableRule :: EnableRule -> TestTree+requestEnableRule =+ req+ "EnableRule"+ "fixture/EnableRule.yaml"++requestListApiDestinations :: ListApiDestinations -> TestTree+requestListApiDestinations =+ req+ "ListApiDestinations"+ "fixture/ListApiDestinations.yaml"++requestListArchives :: ListArchives -> TestTree+requestListArchives =+ req+ "ListArchives"+ "fixture/ListArchives.yaml"++requestListConnections :: ListConnections -> TestTree+requestListConnections =+ req+ "ListConnections"+ "fixture/ListConnections.yaml"++requestListEndpoints :: ListEndpoints -> TestTree+requestListEndpoints =+ req+ "ListEndpoints"+ "fixture/ListEndpoints.yaml"++requestListEventBuses :: ListEventBuses -> TestTree+requestListEventBuses =+ req+ "ListEventBuses"+ "fixture/ListEventBuses.yaml"++requestListEventSources :: ListEventSources -> TestTree+requestListEventSources =+ req+ "ListEventSources"+ "fixture/ListEventSources.yaml"++requestListPartnerEventSourceAccounts :: ListPartnerEventSourceAccounts -> TestTree+requestListPartnerEventSourceAccounts =+ req+ "ListPartnerEventSourceAccounts"+ "fixture/ListPartnerEventSourceAccounts.yaml"++requestListPartnerEventSources :: ListPartnerEventSources -> TestTree+requestListPartnerEventSources =+ req+ "ListPartnerEventSources"+ "fixture/ListPartnerEventSources.yaml"++requestListReplays :: ListReplays -> TestTree+requestListReplays =+ req+ "ListReplays"+ "fixture/ListReplays.yaml"++requestListRuleNamesByTarget :: ListRuleNamesByTarget -> TestTree+requestListRuleNamesByTarget =+ req+ "ListRuleNamesByTarget"+ "fixture/ListRuleNamesByTarget.yaml"++requestListRules :: ListRules -> TestTree+requestListRules =+ req+ "ListRules"+ "fixture/ListRules.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestListTargetsByRule :: ListTargetsByRule -> TestTree+requestListTargetsByRule =+ req+ "ListTargetsByRule"+ "fixture/ListTargetsByRule.yaml"++requestPutEvents :: PutEvents -> TestTree+requestPutEvents =+ req+ "PutEvents"+ "fixture/PutEvents.yaml"++requestPutPartnerEvents :: PutPartnerEvents -> TestTree+requestPutPartnerEvents =+ req+ "PutPartnerEvents"+ "fixture/PutPartnerEvents.yaml"++requestPutPermission :: PutPermission -> TestTree+requestPutPermission =+ req+ "PutPermission"+ "fixture/PutPermission.yaml"++requestPutRule :: PutRule -> TestTree+requestPutRule =+ req+ "PutRule"+ "fixture/PutRule.yaml"++requestPutTargets :: PutTargets -> TestTree+requestPutTargets =+ req+ "PutTargets"+ "fixture/PutTargets.yaml"++requestRemovePermission :: RemovePermission -> TestTree+requestRemovePermission =+ req+ "RemovePermission"+ "fixture/RemovePermission.yaml"++requestRemoveTargets :: RemoveTargets -> TestTree+requestRemoveTargets =+ req+ "RemoveTargets"+ "fixture/RemoveTargets.yaml"++requestStartReplay :: StartReplay -> TestTree+requestStartReplay =+ req+ "StartReplay"+ "fixture/StartReplay.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestTestEventPattern :: TestEventPattern -> TestTree+requestTestEventPattern =+ req+ "TestEventPattern"+ "fixture/TestEventPattern.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateApiDestination :: UpdateApiDestination -> TestTree+requestUpdateApiDestination =+ req+ "UpdateApiDestination"+ "fixture/UpdateApiDestination.yaml"++requestUpdateArchive :: UpdateArchive -> TestTree+requestUpdateArchive =+ req+ "UpdateArchive"+ "fixture/UpdateArchive.yaml"++requestUpdateConnection :: UpdateConnection -> TestTree+requestUpdateConnection =+ req+ "UpdateConnection"+ "fixture/UpdateConnection.yaml"++requestUpdateEndpoint :: UpdateEndpoint -> TestTree+requestUpdateEndpoint =+ req+ "UpdateEndpoint"+ "fixture/UpdateEndpoint.yaml"++-- Responses++responseActivateEventSource :: ActivateEventSourceResponse -> TestTree+responseActivateEventSource =+ res+ "ActivateEventSourceResponse"+ "fixture/ActivateEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ActivateEventSource)++responseCancelReplay :: CancelReplayResponse -> TestTree+responseCancelReplay =+ res+ "CancelReplayResponse"+ "fixture/CancelReplayResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CancelReplay)++responseCreateApiDestination :: CreateApiDestinationResponse -> TestTree+responseCreateApiDestination =+ res+ "CreateApiDestinationResponse"+ "fixture/CreateApiDestinationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateApiDestination)++responseCreateArchive :: CreateArchiveResponse -> TestTree+responseCreateArchive =+ res+ "CreateArchiveResponse"+ "fixture/CreateArchiveResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateArchive)++responseCreateConnection :: CreateConnectionResponse -> TestTree+responseCreateConnection =+ res+ "CreateConnectionResponse"+ "fixture/CreateConnectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateConnection)++responseCreateEndpoint :: CreateEndpointResponse -> TestTree+responseCreateEndpoint =+ res+ "CreateEndpointResponse"+ "fixture/CreateEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateEndpoint)++responseCreateEventBus :: CreateEventBusResponse -> TestTree+responseCreateEventBus =+ res+ "CreateEventBusResponse"+ "fixture/CreateEventBusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateEventBus)++responseCreatePartnerEventSource :: CreatePartnerEventSourceResponse -> TestTree+responseCreatePartnerEventSource =+ res+ "CreatePartnerEventSourceResponse"+ "fixture/CreatePartnerEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreatePartnerEventSource)++responseDeactivateEventSource :: DeactivateEventSourceResponse -> TestTree+responseDeactivateEventSource =+ res+ "DeactivateEventSourceResponse"+ "fixture/DeactivateEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeactivateEventSource)++responseDeauthorizeConnection :: DeauthorizeConnectionResponse -> TestTree+responseDeauthorizeConnection =+ res+ "DeauthorizeConnectionResponse"+ "fixture/DeauthorizeConnectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeauthorizeConnection)++responseDeleteApiDestination :: DeleteApiDestinationResponse -> TestTree+responseDeleteApiDestination =+ res+ "DeleteApiDestinationResponse"+ "fixture/DeleteApiDestinationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteApiDestination)++responseDeleteArchive :: DeleteArchiveResponse -> TestTree+responseDeleteArchive =+ res+ "DeleteArchiveResponse"+ "fixture/DeleteArchiveResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteArchive)++responseDeleteConnection :: DeleteConnectionResponse -> TestTree+responseDeleteConnection =+ res+ "DeleteConnectionResponse"+ "fixture/DeleteConnectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteConnection)++responseDeleteEndpoint :: DeleteEndpointResponse -> TestTree+responseDeleteEndpoint =+ res+ "DeleteEndpointResponse"+ "fixture/DeleteEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteEndpoint)++responseDeleteEventBus :: DeleteEventBusResponse -> TestTree+responseDeleteEventBus =+ res+ "DeleteEventBusResponse"+ "fixture/DeleteEventBusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteEventBus)++responseDeletePartnerEventSource :: DeletePartnerEventSourceResponse -> TestTree+responseDeletePartnerEventSource =+ res+ "DeletePartnerEventSourceResponse"+ "fixture/DeletePartnerEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeletePartnerEventSource)++responseDeleteRule :: DeleteRuleResponse -> TestTree+responseDeleteRule =+ res+ "DeleteRuleResponse"+ "fixture/DeleteRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteRule)++responseDescribeApiDestination :: DescribeApiDestinationResponse -> TestTree+responseDescribeApiDestination =+ res+ "DescribeApiDestinationResponse"+ "fixture/DescribeApiDestinationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeApiDestination)++responseDescribeArchive :: DescribeArchiveResponse -> TestTree+responseDescribeArchive =+ res+ "DescribeArchiveResponse"+ "fixture/DescribeArchiveResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeArchive)++responseDescribeConnection :: DescribeConnectionResponse -> TestTree+responseDescribeConnection =+ res+ "DescribeConnectionResponse"+ "fixture/DescribeConnectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeConnection)++responseDescribeEndpoint :: DescribeEndpointResponse -> TestTree+responseDescribeEndpoint =+ res+ "DescribeEndpointResponse"+ "fixture/DescribeEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEndpoint)++responseDescribeEventBus :: DescribeEventBusResponse -> TestTree+responseDescribeEventBus =+ res+ "DescribeEventBusResponse"+ "fixture/DescribeEventBusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEventBus)++responseDescribeEventSource :: DescribeEventSourceResponse -> TestTree+responseDescribeEventSource =+ res+ "DescribeEventSourceResponse"+ "fixture/DescribeEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEventSource)++responseDescribePartnerEventSource :: DescribePartnerEventSourceResponse -> TestTree+responseDescribePartnerEventSource =+ res+ "DescribePartnerEventSourceResponse"+ "fixture/DescribePartnerEventSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribePartnerEventSource)++responseDescribeReplay :: DescribeReplayResponse -> TestTree+responseDescribeReplay =+ res+ "DescribeReplayResponse"+ "fixture/DescribeReplayResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeReplay)++responseDescribeRule :: DescribeRuleResponse -> TestTree+responseDescribeRule =+ res+ "DescribeRuleResponse"+ "fixture/DescribeRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeRule)++responseDisableRule :: DisableRuleResponse -> TestTree+responseDisableRule =+ res+ "DisableRuleResponse"+ "fixture/DisableRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DisableRule)++responseEnableRule :: EnableRuleResponse -> TestTree+responseEnableRule =+ res+ "EnableRuleResponse"+ "fixture/EnableRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy EnableRule)++responseListApiDestinations :: ListApiDestinationsResponse -> TestTree+responseListApiDestinations =+ res+ "ListApiDestinationsResponse"+ "fixture/ListApiDestinationsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListApiDestinations)++responseListArchives :: ListArchivesResponse -> TestTree+responseListArchives =+ res+ "ListArchivesResponse"+ "fixture/ListArchivesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListArchives)++responseListConnections :: ListConnectionsResponse -> TestTree+responseListConnections =+ res+ "ListConnectionsResponse"+ "fixture/ListConnectionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListConnections)++responseListEndpoints :: ListEndpointsResponse -> TestTree+responseListEndpoints =+ res+ "ListEndpointsResponse"+ "fixture/ListEndpointsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListEndpoints)++responseListEventBuses :: ListEventBusesResponse -> TestTree+responseListEventBuses =+ res+ "ListEventBusesResponse"+ "fixture/ListEventBusesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListEventBuses)++responseListEventSources :: ListEventSourcesResponse -> TestTree+responseListEventSources =+ res+ "ListEventSourcesResponse"+ "fixture/ListEventSourcesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListEventSources)++responseListPartnerEventSourceAccounts :: ListPartnerEventSourceAccountsResponse -> TestTree+responseListPartnerEventSourceAccounts =+ res+ "ListPartnerEventSourceAccountsResponse"+ "fixture/ListPartnerEventSourceAccountsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListPartnerEventSourceAccounts)++responseListPartnerEventSources :: ListPartnerEventSourcesResponse -> TestTree+responseListPartnerEventSources =+ res+ "ListPartnerEventSourcesResponse"+ "fixture/ListPartnerEventSourcesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListPartnerEventSources)++responseListReplays :: ListReplaysResponse -> TestTree+responseListReplays =+ res+ "ListReplaysResponse"+ "fixture/ListReplaysResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListReplays)++responseListRuleNamesByTarget :: ListRuleNamesByTargetResponse -> TestTree+responseListRuleNamesByTarget =+ res+ "ListRuleNamesByTargetResponse"+ "fixture/ListRuleNamesByTargetResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListRuleNamesByTarget)++responseListRules :: ListRulesResponse -> TestTree+responseListRules =+ res+ "ListRulesResponse"+ "fixture/ListRulesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListRules)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListTargetsByRule :: ListTargetsByRuleResponse -> TestTree+responseListTargetsByRule =+ res+ "ListTargetsByRuleResponse"+ "fixture/ListTargetsByRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTargetsByRule)++responsePutEvents :: PutEventsResponse -> TestTree+responsePutEvents =+ res+ "PutEventsResponse"+ "fixture/PutEventsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutEvents)++responsePutPartnerEvents :: PutPartnerEventsResponse -> TestTree+responsePutPartnerEvents =+ res+ "PutPartnerEventsResponse"+ "fixture/PutPartnerEventsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutPartnerEvents)++responsePutPermission :: PutPermissionResponse -> TestTree+responsePutPermission =+ res+ "PutPermissionResponse"+ "fixture/PutPermissionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutPermission)++responsePutRule :: PutRuleResponse -> TestTree+responsePutRule =+ res+ "PutRuleResponse"+ "fixture/PutRuleResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutRule)++responsePutTargets :: PutTargetsResponse -> TestTree+responsePutTargets =+ res+ "PutTargetsResponse"+ "fixture/PutTargetsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy PutTargets)++responseRemovePermission :: RemovePermissionResponse -> TestTree+responseRemovePermission =+ res+ "RemovePermissionResponse"+ "fixture/RemovePermissionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RemovePermission)++responseRemoveTargets :: RemoveTargetsResponse -> TestTree+responseRemoveTargets =+ res+ "RemoveTargetsResponse"+ "fixture/RemoveTargetsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RemoveTargets)++responseStartReplay :: StartReplayResponse -> TestTree+responseStartReplay =+ res+ "StartReplayResponse"+ "fixture/StartReplayResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartReplay)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseTestEventPattern :: TestEventPatternResponse -> TestTree+responseTestEventPattern =+ res+ "TestEventPatternResponse"+ "fixture/TestEventPatternResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TestEventPattern)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateApiDestination :: UpdateApiDestinationResponse -> TestTree+responseUpdateApiDestination =+ res+ "UpdateApiDestinationResponse"+ "fixture/UpdateApiDestinationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateApiDestination)++responseUpdateArchive :: UpdateArchiveResponse -> TestTree+responseUpdateArchive =+ res+ "UpdateArchiveResponse"+ "fixture/UpdateArchiveResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateArchive)++responseUpdateConnection :: UpdateConnectionResponse -> TestTree+responseUpdateConnection =+ res+ "UpdateConnectionResponse"+ "fixture/UpdateConnectionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateConnection)++responseUpdateEndpoint :: UpdateEndpointResponse -> TestTree+responseUpdateEndpoint =+ res+ "UpdateEndpointResponse"+ "fixture/UpdateEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateEndpoint)