libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Lens

Contents

Description

 
Synopsis

Operations

DeauthorizeConnection

deauthorizeConnection_name :: Lens' DeauthorizeConnection Text Source #

The name of the connection to remove authorization from.

deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last updated.

deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized.

deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text) Source #

The ARN of the connection that authorization was removed from.

RemoveTargets

removeTargets_force :: Lens' RemoveTargets (Maybe Bool) Source #

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_eventBusName :: Lens' RemoveTargets (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

removeTargets_ids :: Lens' RemoveTargets (NonEmpty Text) Source #

The IDs of the targets to remove from the rule.

DeleteRule

deleteRule_force :: Lens' DeleteRule (Maybe Bool) Source #

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_eventBusName :: Lens' DeleteRule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

deleteRule_name :: Lens' DeleteRule Text Source #

The name of the rule.

ListPartnerEventSourceAccounts

listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text) Source #

The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural) Source #

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_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text Source #

The name of the partner event source to display account information about.

listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text) Source #

A token you can use in a subsequent operation to retrieve the next set of results.

ListConnections

listConnections_nextToken :: Lens' ListConnections (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listConnections_namePrefix :: Lens' ListConnections (Maybe Text) Source #

A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.

listConnections_limit :: Lens' ListConnections (Maybe Natural) Source #

The maximum number of connections to return.

listConnectionsResponse_connections :: Lens' ListConnectionsResponse (Maybe [Connection]) Source #

An array of connections objects that include details about the connections.

listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text) Source #

A token you can use in a subsequent request to retrieve the next set of results.

DeleteConnection

deleteConnection_name :: Lens' DeleteConnection Text Source #

The name of the connection to delete.

deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last modified before it was deleted.

deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized before it wa deleted.

UpdateConnection

updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType) Source #

The type of authorization to use for the connection.

updateConnection_description :: Lens' UpdateConnection (Maybe Text) Source #

A description for the connection.

updateConnection_name :: Lens' UpdateConnection Text Source #

The name of the connection to update.

updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last modified.

updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized.

ListRules

listRules_nextToken :: Lens' ListRules (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listRules_eventBusName :: Lens' ListRules (Maybe Text) Source #

The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.

listRules_namePrefix :: Lens' ListRules (Maybe Text) Source #

The prefix matching the rule name.

listRules_limit :: Lens' ListRules (Maybe Natural) Source #

The maximum number of results to return.

listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [Rule]) Source #

The rules that match the specified criteria.

listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If there are no more results, the value is null.

listRulesResponse_httpStatus :: Lens' ListRulesResponse Int Source #

The response's http status code.

PutRule

putRule_eventPattern :: Lens' PutRule (Maybe Text) Source #

The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

putRule_state :: Lens' PutRule (Maybe RuleState) Source #

Indicates whether the rule is enabled or disabled.

putRule_eventBusName :: Lens' PutRule (Maybe Text) Source #

The name or ARN of the event bus to associate with this rule. If you omit this, the default event bus is used.

putRule_scheduleExpression :: Lens' PutRule (Maybe Text) Source #

The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".

putRule_description :: Lens' PutRule (Maybe Text) Source #

A description of the rule.

putRule_tags :: Lens' PutRule (Maybe [Tag]) Source #

The list of key-value pairs to associate with the rule.

putRule_roleArn :: Lens' PutRule (Maybe Text) Source #

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_name :: Lens' PutRule Text Source #

The name of the rule that you are creating or updating.

putRuleResponse_ruleArn :: Lens' PutRuleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule.

putRuleResponse_httpStatus :: Lens' PutRuleResponse Int Source #

The response's http status code.

DisableRule

disableRule_eventBusName :: Lens' DisableRule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

disableRule_name :: Lens' DisableRule Text Source #

The name of the rule.

PutPermission

putPermission_action :: Lens' PutPermission (Maybe Text) Source #

The action that you are enabling the other account to perform.

putPermission_eventBusName :: Lens' PutPermission (Maybe Text) Source #

The name of the event bus associated with the rule. If you omit this, the default event bus is used.

putPermission_principal :: Lens' PutPermission (Maybe Text) Source #

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_policy :: Lens' PutPermission (Maybe Text) Source #

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_statementId :: Lens' PutPermission (Maybe Text) Source #

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_condition :: Lens' PutPermission (Maybe Condition) Source #

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 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.

ListTagsForResource

listTagsForResource_resourceARN :: Lens' ListTagsForResource Text Source #

The ARN of the EventBridge resource for which you want to view tags.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag]) Source #

The list of tag keys and values associated with the resource you specified

ListReplays

listReplays_eventSourceArn :: Lens' ListReplays (Maybe Text) Source #

The ARN of the archive from which the events are replayed.

listReplays_nextToken :: Lens' ListReplays (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listReplays_namePrefix :: Lens' ListReplays (Maybe Text) Source #

A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

listReplays_limit :: Lens' ListReplays (Maybe Natural) Source #

The maximum number of replays to retrieve.

listReplaysResponse_replays :: Lens' ListReplaysResponse (Maybe [Replay]) Source #

An array of Replay objects that contain information about the replay.

listReplaysResponse_nextToken :: Lens' ListReplaysResponse (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

CreateConnection

createConnection_description :: Lens' CreateConnection (Maybe Text) Source #

A description for the connection to create.

createConnection_name :: Lens' CreateConnection Text Source #

The name for the connection to create.

createConnection_authorizationType :: Lens' CreateConnection ConnectionAuthorizationType Source #

The type of authorization to use for the connection.

createConnection_authParameters :: Lens' CreateConnection CreateConnectionAuthRequestParameters Source #

A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to authorize with the endpoint.

createConnectionResponse_creationTime :: Lens' CreateConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

createConnectionResponse_lastModifiedTime :: Lens' CreateConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last updated.

createConnectionResponse_connectionArn :: Lens' CreateConnectionResponse (Maybe Text) Source #

The ARN of the connection that was created by the request.

createConnectionResponse_connectionState :: Lens' CreateConnectionResponse (Maybe ConnectionState) Source #

The state of the connection that was created by the request.

CancelReplay

cancelReplay_replayName :: Lens' CancelReplay Text Source #

The name of the replay to cancel.

cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text) Source #

The reason that the replay is in the current state.

ListTargetsByRule

listTargetsByRule_nextToken :: Lens' ListTargetsByRule (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listTargetsByRule_eventBusName :: Lens' ListTargetsByRule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

listTargetsByRule_limit :: Lens' ListTargetsByRule (Maybe Natural) Source #

The maximum number of results to return.

listTargetsByRuleResponse_nextToken :: Lens' ListTargetsByRuleResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If there are no more results, the value is null.

RemovePermission

removePermission_eventBusName :: Lens' RemovePermission (Maybe Text) Source #

The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.

removePermission_removeAllPermissions :: Lens' RemovePermission (Maybe Bool) Source #

Specifies whether to remove all permissions.

removePermission_statementId :: Lens' RemovePermission (Maybe Text) Source #

The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

ListApiDestinations

listApiDestinations_nextToken :: Lens' ListApiDestinations (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listApiDestinations_namePrefix :: Lens' ListApiDestinations (Maybe Text) Source #

A name prefix to filter results returned. Only API destinations with a name that starts with the prefix are returned.

listApiDestinations_limit :: Lens' ListApiDestinations (Maybe Natural) Source #

The maximum number of API destinations to include in the response.

listApiDestinations_connectionArn :: Lens' ListApiDestinations (Maybe Text) Source #

The ARN of the connection specified for the API destination.

listApiDestinationsResponse_apiDestinations :: Lens' ListApiDestinationsResponse (Maybe [ApiDestination]) Source #

An array of ApiDestination objects that include information about an API destination.

listApiDestinationsResponse_nextToken :: Lens' ListApiDestinationsResponse (Maybe Text) Source #

A token you can use in a subsequent request to retrieve the next set of results.

UpdateApiDestination

updateApiDestination_invocationEndpoint :: Lens' UpdateApiDestination (Maybe Text) Source #

The URL to the endpoint to use for the API destination.

updateApiDestination_invocationRateLimitPerSecond :: Lens' UpdateApiDestination (Maybe Natural) Source #

The maximum number of invocations per second to send to the API destination.

updateApiDestination_connectionArn :: Lens' UpdateApiDestination (Maybe Text) Source #

The ARN of the connection to use for the API destination.

updateApiDestination_description :: Lens' UpdateApiDestination (Maybe Text) Source #

The name of the API destination to update.

updateApiDestination_name :: Lens' UpdateApiDestination Text Source #

The name of the API destination to update.

updateApiDestinationResponse_creationTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime) Source #

A time stamp for the time that the API destination was created.

updateApiDestinationResponse_lastModifiedTime :: Lens' UpdateApiDestinationResponse (Maybe UTCTime) Source #

A time stamp for the time that the API destination was last modified.

DeleteApiDestination

deleteApiDestination_name :: Lens' DeleteApiDestination Text Source #

The name of the destination to delete.

ActivateEventSource

activateEventSource_name :: Lens' ActivateEventSource Text Source #

The name of the partner event source to activate.

CreateApiDestination

createApiDestination_invocationRateLimitPerSecond :: Lens' CreateApiDestination (Maybe Natural) Source #

The maximum number of requests per second to send to the HTTP invocation endpoint.

createApiDestination_description :: Lens' CreateApiDestination (Maybe Text) Source #

A description for the API destination to create.

createApiDestination_name :: Lens' CreateApiDestination Text Source #

The name for the API destination to create.

createApiDestination_connectionArn :: Lens' CreateApiDestination Text Source #

The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.

createApiDestination_invocationEndpoint :: Lens' CreateApiDestination Text Source #

The URL to the HTTP invocation endpoint for the API destination.

createApiDestination_httpMethod :: Lens' CreateApiDestination ApiDestinationHttpMethod Source #

The method to use for the request to the HTTP invocation endpoint.

createApiDestinationResponse_creationTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime) Source #

A time stamp indicating the time that the API destination was created.

createApiDestinationResponse_lastModifiedTime :: Lens' CreateApiDestinationResponse (Maybe UTCTime) Source #

A time stamp indicating the time that the API destination was last modified.

createApiDestinationResponse_apiDestinationState :: Lens' CreateApiDestinationResponse (Maybe ApiDestinationState) Source #

The state of the API destination that was created by the request.

createApiDestinationResponse_apiDestinationArn :: Lens' CreateApiDestinationResponse (Maybe Text) Source #

The ARN of the API destination that was created by the request.

PutPartnerEvents

putPartnerEventsResponse_failedEntryCount :: Lens' PutPartnerEventsResponse (Maybe Int) Source #

The number of events from this operation that could not be written to the partner event bus.

putPartnerEventsResponse_entries :: Lens' PutPartnerEventsResponse (Maybe [PutPartnerEventsResultEntry]) Source #

The list of events from this operation that were successfully written to the partner event bus.

DescribeConnection

describeConnection_name :: Lens' DescribeConnection Text Source #

The name of the connection to retrieve.

describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last modified.

describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized.

describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text) Source #

The reason that the connection is in the current connection state.

describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text) Source #

The ARN of the secret created from the authorization parameters specified for the connection.

DescribeRule

describeRule_eventBusName :: Lens' DescribeRule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

describeRuleResponse_eventPattern :: Lens' DescribeRuleResponse (Maybe Text) Source #

The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

describeRuleResponse_state :: Lens' DescribeRuleResponse (Maybe RuleState) Source #

Specifies whether the rule is enabled or disabled.

describeRuleResponse_arn :: Lens' DescribeRuleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule.

describeRuleResponse_createdBy :: Lens' DescribeRuleResponse (Maybe Text) Source #

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_eventBusName :: Lens' DescribeRuleResponse (Maybe Text) Source #

The name of the event bus associated with the rule.

describeRuleResponse_scheduleExpression :: Lens' DescribeRuleResponse (Maybe Text) Source #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".

describeRuleResponse_managedBy :: Lens' DescribeRuleResponse (Maybe Text) Source #

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_roleArn :: Lens' DescribeRuleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role associated with the rule.

ListArchives

listArchives_eventSourceArn :: Lens' ListArchives (Maybe Text) Source #

The ARN of the event source associated with the archive.

listArchives_nextToken :: Lens' ListArchives (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listArchives_namePrefix :: Lens' ListArchives (Maybe Text) Source #

A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

listArchives_limit :: Lens' ListArchives (Maybe Natural) Source #

The maximum number of results to return.

listArchivesResponse_archives :: Lens' ListArchivesResponse (Maybe [Archive]) Source #

An array of Archive objects that include details about an archive.

listArchivesResponse_nextToken :: Lens' ListArchivesResponse (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

StartReplay

startReplay_description :: Lens' StartReplay (Maybe Text) Source #

A description for the replay to start.

startReplay_replayName :: Lens' StartReplay Text Source #

The name of the replay to start.

startReplay_eventSourceArn :: Lens' StartReplay Text Source #

The ARN of the archive to replay events from.

startReplay_eventStartTime :: Lens' StartReplay UTCTime Source #

A time stamp for the time to start replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed.

startReplay_eventEndTime :: Lens' StartReplay UTCTime Source #

A time stamp for the time to stop replaying events. Only events that occurred between the EventStartTime and EventEndTime are replayed.

startReplay_destination :: Lens' StartReplay ReplayDestination Source #

A ReplayDestination object that includes details about the destination for the replay.

startReplayResponse_stateReason :: Lens' StartReplayResponse (Maybe Text) Source #

The reason that the replay is in the state.

DeletePartnerEventSource

deletePartnerEventSource_name :: Lens' DeletePartnerEventSource Text Source #

The name of the event source to delete.

deletePartnerEventSource_account :: Lens' DeletePartnerEventSource Text Source #

The Amazon Web Services account ID of the Amazon Web Services customer that the event source was created for.

DescribeReplay

describeReplay_replayName :: Lens' DescribeReplay Text Source #

The name of the replay to retrieve.

describeReplayResponse_eventSourceArn :: Lens' DescribeReplayResponse (Maybe Text) Source #

The ARN of the archive events were replayed from.

describeReplayResponse_destination :: Lens' DescribeReplayResponse (Maybe ReplayDestination) Source #

A ReplayDestination object that contains details about the replay.

describeReplayResponse_eventEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #

The time stamp for the last event that was replayed from the archive.

describeReplayResponse_replayStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #

A time stamp for the time that the replay started.

describeReplayResponse_replayEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #

A time stamp for the time that the replay stopped.

describeReplayResponse_eventStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #

The time stamp of the first event that was last replayed from the archive.

describeReplayResponse_stateReason :: Lens' DescribeReplayResponse (Maybe Text) Source #

The reason that the replay is in the current state.

DescribeApiDestination

describeApiDestination_name :: Lens' DescribeApiDestination Text Source #

The name of the API destination to retrieve.

describeApiDestinationResponse_creationTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime) Source #

A time stamp for the time that the API destination was created.

describeApiDestinationResponse_lastModifiedTime :: Lens' DescribeApiDestinationResponse (Maybe UTCTime) Source #

A time stamp for the time that the API destination was last modified.

describeApiDestinationResponse_invocationRateLimitPerSecond :: Lens' DescribeApiDestinationResponse (Maybe Natural) Source #

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_connectionArn :: Lens' DescribeApiDestinationResponse (Maybe Text) Source #

The ARN of the connection specified for the API destination retrieved.

ListEventBuses

listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text) Source #

Specifying this limits the results to only those event buses with names that start with the specified prefix.

listEventBuses_limit :: Lens' ListEventBuses (Maybe Natural) Source #

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.

listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text) Source #

A token you can use in a subsequent operation to retrieve the next set of results.

CreateEventBus

createEventBus_eventSourceName :: Lens' CreateEventBus (Maybe Text) Source #

If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.

createEventBus_tags :: Lens' CreateEventBus (Maybe [Tag]) Source #

Tags to associate with the event bus.

createEventBus_name :: Lens' CreateEventBus Text Source #

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.

DescribeEventSource

describeEventSource_name :: Lens' DescribeEventSource Text Source #

The name of the partner event source to display the details of.

describeEventSourceResponse_creationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime) Source #

The date and time that the event source was created.

describeEventSourceResponse_state :: Lens' DescribeEventSourceResponse (Maybe EventSourceState) Source #

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_createdBy :: Lens' DescribeEventSourceResponse (Maybe Text) Source #

The name of the SaaS partner that created the event source.

describeEventSourceResponse_expirationTime :: Lens' DescribeEventSourceResponse (Maybe UTCTime) Source #

The date and time that the event source will expire if you do not create a matching event bus.

DescribeArchive

describeArchive_archiveName :: Lens' DescribeArchive Text Source #

The name of the archive to retrieve.

describeArchiveResponse_eventSourceArn :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The ARN of the event source associated with the archive.

describeArchiveResponse_eventPattern :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The event pattern used to filter events sent to the archive.

describeArchiveResponse_retentionDays :: Lens' DescribeArchiveResponse (Maybe Natural) Source #

The number of days to retain events for in the archive.

describeArchiveResponse_stateReason :: Lens' DescribeArchiveResponse (Maybe Text) Source #

The reason that the archive is in the state.

EnableRule

enableRule_eventBusName :: Lens' EnableRule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

enableRule_name :: Lens' EnableRule Text Source #

The name of the rule.

ListRuleNamesByTarget

listRuleNamesByTarget_nextToken :: Lens' ListRuleNamesByTarget (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listRuleNamesByTarget_eventBusName :: Lens' ListRuleNamesByTarget (Maybe Text) Source #

The name or ARN of the event bus to list rules for. If you omit this, the default event bus is used.

listRuleNamesByTarget_limit :: Lens' ListRuleNamesByTarget (Maybe Natural) Source #

The maximum number of results to return.

listRuleNamesByTarget_targetArn :: Lens' ListRuleNamesByTarget Text Source #

The Amazon Resource Name (ARN) of the target resource.

listRuleNamesByTargetResponse_ruleNames :: Lens' ListRuleNamesByTargetResponse (Maybe [Text]) Source #

The names of the rules that can invoke the given target.

listRuleNamesByTargetResponse_nextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text) Source #

Indicates whether there are additional results to retrieve. If there are no more results, the value is null.

TestEventPattern

testEventPattern_eventPattern :: Lens' TestEventPattern Text Source #

The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

testEventPattern_event :: Lens' TestEventPattern Text Source #

The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:

  • id
  • account
  • source
  • time
  • region
  • resources
  • detail-type

testEventPatternResponse_result :: Lens' TestEventPatternResponse (Maybe Bool) Source #

Indicates whether the event matches the event pattern.

DescribePartnerEventSource

DescribeEventBus

describeEventBus_name :: Lens' DescribeEventBus (Maybe Text) Source #

The name or ARN of the event bus to show details for. If you omit this, the default event bus is displayed.

describeEventBusResponse_arn :: Lens' DescribeEventBusResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the account permitted to write events to the current account.

describeEventBusResponse_name :: Lens' DescribeEventBusResponse (Maybe Text) Source #

The name of the event bus. Currently, this is always default.

describeEventBusResponse_policy :: Lens' DescribeEventBusResponse (Maybe Text) Source #

The policy that enables the external account to send events to your account.

ListEventSources

listEventSources_nextToken :: Lens' ListEventSources (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text) Source #

Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

listEventSources_limit :: Lens' ListEventSources (Maybe Natural) Source #

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.

listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text) Source #

A token you can use in a subsequent operation to retrieve the next set of results.

TagResource

tagResource_resourceARN :: Lens' TagResource Text Source #

The ARN of the EventBridge resource that you're adding tags to.

tagResource_tags :: Lens' TagResource [Tag] Source #

The list of key-value pairs to associate with the resource.

CreatePartnerEventSource

createPartnerEventSource_name :: Lens' CreatePartnerEventSource Text Source #

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_account :: Lens' CreatePartnerEventSource Text Source #

The Amazon Web Services account ID that is permitted to create a matching partner event bus for this partner event source.

PutTargets

putTargets_eventBusName :: Lens' PutTargets (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

putTargets_rule :: Lens' PutTargets Text Source #

The name of the rule.

putTargets_targets :: Lens' PutTargets (NonEmpty Target) Source #

The targets to update or add to the rule.

UpdateArchive

updateArchive_eventPattern :: Lens' UpdateArchive (Maybe Text) Source #

The event pattern to use to filter events sent to the archive.

updateArchive_retentionDays :: Lens' UpdateArchive (Maybe Natural) Source #

The number of days to retain events in the archive.

updateArchive_description :: Lens' UpdateArchive (Maybe Text) Source #

The description for the archive.

updateArchive_archiveName :: Lens' UpdateArchive Text Source #

The name of the archive to update.

updateArchiveResponse_creationTime :: Lens' UpdateArchiveResponse (Maybe UTCTime) Source #

The time at which the archive was updated.

updateArchiveResponse_stateReason :: Lens' UpdateArchiveResponse (Maybe Text) Source #

The reason that the archive is in the current state.

DeleteArchive

deleteArchive_archiveName :: Lens' DeleteArchive Text Source #

The name of the archive to delete.

UntagResource

untagResource_resourceARN :: Lens' UntagResource Text Source #

The ARN of the EventBridge resource from which you are removing tags.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The list of tag keys to remove from the resource.

PutEvents

putEvents_entries :: Lens' PutEvents (NonEmpty PutEventsRequestEntry) Source #

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.

putEventsResponse_entries :: Lens' PutEventsResponse (Maybe [PutEventsResultEntry]) Source #

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_httpStatus :: Lens' PutEventsResponse Int Source #

The response's http status code.

ListPartnerEventSources

listPartnerEventSources_nextToken :: Lens' ListPartnerEventSources (Maybe Text) Source #

The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

listPartnerEventSources_limit :: Lens' ListPartnerEventSources (Maybe Natural) Source #

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_namePrefix :: Lens' ListPartnerEventSources Text Source #

If you specify this, the results are limited to only those partner event sources that start with the string you specify.

listPartnerEventSourcesResponse_nextToken :: Lens' ListPartnerEventSourcesResponse (Maybe Text) Source #

A token you can use in a subsequent operation to retrieve the next set of results.

CreateArchive

createArchive_eventPattern :: Lens' CreateArchive (Maybe Text) Source #

An event pattern to use to filter events sent to the archive.

createArchive_retentionDays :: Lens' CreateArchive (Maybe Natural) Source #

The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely

createArchive_description :: Lens' CreateArchive (Maybe Text) Source #

A description for the archive.

createArchive_archiveName :: Lens' CreateArchive Text Source #

The name for the archive to create.

createArchive_eventSourceArn :: Lens' CreateArchive Text Source #

The ARN of the event bus that sends events to the archive.

createArchiveResponse_creationTime :: Lens' CreateArchiveResponse (Maybe UTCTime) Source #

The time at which the archive was created.

createArchiveResponse_state :: Lens' CreateArchiveResponse (Maybe ArchiveState) Source #

The state of the archive that was created.

createArchiveResponse_archiveArn :: Lens' CreateArchiveResponse (Maybe Text) Source #

The ARN of the archive that was created.

createArchiveResponse_stateReason :: Lens' CreateArchiveResponse (Maybe Text) Source #

The reason that the archive is in the state.

DeactivateEventSource

deactivateEventSource_name :: Lens' DeactivateEventSource Text Source #

The name of the partner event source to deactivate.

DeleteEventBus

deleteEventBus_name :: Lens' DeleteEventBus Text Source #

The name of the event bus to delete.

Types

ApiDestination

apiDestination_creationTime :: Lens' ApiDestination (Maybe UTCTime) Source #

A time stamp for the time that the API destination was created.

apiDestination_httpMethod :: Lens' ApiDestination (Maybe ApiDestinationHttpMethod) Source #

The method to use to connect to the HTTP endpoint.

apiDestination_invocationEndpoint :: Lens' ApiDestination (Maybe Text) Source #

The URL to the endpoint for the API destination.

apiDestination_lastModifiedTime :: Lens' ApiDestination (Maybe UTCTime) Source #

A time stamp for the time that the API destination was last modified.

apiDestination_name :: Lens' ApiDestination (Maybe Text) Source #

The name of the API destination.

apiDestination_invocationRateLimitPerSecond :: Lens' ApiDestination (Maybe Natural) Source #

The maximum number of invocations per second to send to the HTTP endpoint.

apiDestination_connectionArn :: Lens' ApiDestination (Maybe Text) Source #

The ARN of the connection specified for the API destination.

Archive

archive_creationTime :: Lens' Archive (Maybe UTCTime) Source #

The time stamp for the time that the archive was created.

archive_sizeBytes :: Lens' Archive (Maybe Integer) Source #

The size of the archive, in bytes.

archive_eventSourceArn :: Lens' Archive (Maybe Text) Source #

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.

archive_state :: Lens' Archive (Maybe ArchiveState) Source #

The current state of the archive.

archive_eventCount :: Lens' Archive (Maybe Integer) Source #

The number of events in the archive.

archive_archiveName :: Lens' Archive (Maybe Text) Source #

The name of the archive.

archive_retentionDays :: Lens' Archive (Maybe Natural) Source #

The number of days to retain events in the archive before they are deleted.

archive_stateReason :: Lens' Archive (Maybe Text) Source #

A description for the reason that the archive is in the current state.

AwsVpcConfiguration

awsVpcConfiguration_securityGroups :: Lens' AwsVpcConfiguration (Maybe [Text]) Source #

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_assignPublicIp :: Lens' AwsVpcConfiguration (Maybe AssignPublicIp) Source #

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_subnets :: Lens' AwsVpcConfiguration [Text] Source #

Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.

BatchArrayProperties

batchArrayProperties_size :: Lens' BatchArrayProperties (Maybe Int) Source #

The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.

BatchParameters

batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy) Source #

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_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties) Source #

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_jobDefinition :: Lens' BatchParameters Text Source #

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_jobName :: Lens' BatchParameters Text Source #

The name to use for this execution of the job, if the target is an Batch job.

BatchRetryStrategy

batchRetryStrategy_attempts :: Lens' BatchRetryStrategy (Maybe Int) Source #

The number of times to attempt to retry, if the job fails. Valid values are 1–10.

CapacityProviderStrategyItem

capacityProviderStrategyItem_base :: Lens' CapacityProviderStrategyItem (Maybe Natural) Source #

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_weight :: Lens' CapacityProviderStrategyItem (Maybe Natural) Source #

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.

Condition

condition_type :: Lens' Condition Text Source #

Specifies the type of condition. Currently the only supported value is StringEquals.

condition_key :: Lens' Condition Text Source #

Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.

condition_value :: Lens' Condition Text Source #

Specifies the value for the key. Currently, this must be the ID of the organization.

Connection

connection_creationTime :: Lens' Connection (Maybe UTCTime) Source #

A time stamp for the time that the connection was created.

connection_lastModifiedTime :: Lens' Connection (Maybe UTCTime) Source #

A time stamp for the time that the connection was last modified.

connection_name :: Lens' Connection (Maybe Text) Source #

The name of the connection.

connection_lastAuthorizedTime :: Lens' Connection (Maybe UTCTime) Source #

A time stamp for the time that the connection was last authorized.

connection_authorizationType :: Lens' Connection (Maybe ConnectionAuthorizationType) Source #

The authorization type specified for the connection.

connection_connectionArn :: Lens' Connection (Maybe Text) Source #

The ARN of the connection.

connection_stateReason :: Lens' Connection (Maybe Text) Source #

The reason that the connection is in the connection state.

ConnectionApiKeyAuthResponseParameters

connectionApiKeyAuthResponseParameters_apiKeyName :: Lens' ConnectionApiKeyAuthResponseParameters (Maybe Text) Source #

The name of the header to use for the APIKeyValue used for authorization.

ConnectionAuthResponseParameters

connectionAuthResponseParameters_invocationHttpParameters :: Lens' ConnectionAuthResponseParameters (Maybe ConnectionHttpParameters) Source #

Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.

ConnectionBasicAuthResponseParameters

ConnectionBodyParameter

ConnectionHeaderParameter

ConnectionHttpParameters

connectionHttpParameters_bodyParameters :: Lens' ConnectionHttpParameters (Maybe [ConnectionBodyParameter]) Source #

Contains additional body string parameters for the connection.

ConnectionOAuthClientResponseParameters

connectionOAuthClientResponseParameters_clientID :: Lens' ConnectionOAuthClientResponseParameters (Maybe Text) Source #

The client ID associated with the response to the connection request.

ConnectionOAuthResponseParameters

connectionOAuthResponseParameters_clientParameters :: Lens' ConnectionOAuthResponseParameters (Maybe ConnectionOAuthClientResponseParameters) Source #

A ConnectionOAuthClientResponseParameters object that contains details about the client parameters returned when OAuth is specified as the authorization type.

ConnectionQueryStringParameter

connectionQueryStringParameter_value :: Lens' ConnectionQueryStringParameter (Maybe Text) Source #

The value associated with the key for the query string parameter.

CreateConnectionApiKeyAuthRequestParameters

CreateConnectionAuthRequestParameters

createConnectionAuthRequestParameters_oAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionOAuthRequestParameters) Source #

A CreateConnectionOAuthRequestParameters object that contains the OAuth authorization parameters to use for the connection.

createConnectionAuthRequestParameters_invocationHttpParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters) Source #

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_apiKeyAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionApiKeyAuthRequestParameters) Source #

A CreateConnectionApiKeyAuthRequestParameters object that contains the API key authorization parameters to use for the connection.

createConnectionAuthRequestParameters_basicAuthParameters :: Lens' CreateConnectionAuthRequestParameters (Maybe CreateConnectionBasicAuthRequestParameters) Source #

A CreateConnectionBasicAuthRequestParameters object that contains the Basic authorization parameters to use for the connection.

CreateConnectionBasicAuthRequestParameters

createConnectionBasicAuthRequestParameters_password :: Lens' CreateConnectionBasicAuthRequestParameters Text Source #

The password associated with the user name to use for Basic authorization.

CreateConnectionOAuthClientRequestParameters

createConnectionOAuthClientRequestParameters_clientSecret :: Lens' CreateConnectionOAuthClientRequestParameters Text Source #

The client secret associated with the client ID to use for OAuth authorization for the connection.

CreateConnectionOAuthRequestParameters

createConnectionOAuthRequestParameters_oAuthHttpParameters :: Lens' CreateConnectionOAuthRequestParameters (Maybe ConnectionHttpParameters) Source #

A ConnectionHttpParameters object that contains details about the additional parameters to use for the connection.

createConnectionOAuthRequestParameters_clientParameters :: Lens' CreateConnectionOAuthRequestParameters CreateConnectionOAuthClientRequestParameters Source #

A CreateConnectionOAuthClientRequestParameters object that contains the client parameters for OAuth authorization.

createConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' CreateConnectionOAuthRequestParameters Text Source #

The URL to the authorization endpoint when OAuth is specified as the authorization type.

DeadLetterConfig

deadLetterConfig_arn :: Lens' DeadLetterConfig (Maybe Text) Source #

The ARN of the SQS queue specified as the target for the dead-letter queue.

EcsParameters

ecsParameters_group :: Lens' EcsParameters (Maybe Text) Source #

Specifies an ECS task group for the task. The maximum length is 255 characters.

ecsParameters_propagateTags :: Lens' EcsParameters (Maybe PropagateTags) Source #

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_platformVersion :: Lens' EcsParameters (Maybe Text) Source #

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 Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

ecsParameters_enableECSManagedTags :: Lens' EcsParameters (Maybe Bool) Source #

Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide.

ecsParameters_referenceId :: Lens' EcsParameters (Maybe Text) Source #

The reference ID to use for the task.

ecsParameters_placementConstraints :: Lens' EcsParameters (Maybe [PlacementConstraint]) Source #

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_placementStrategy :: Lens' EcsParameters (Maybe [PlacementStrategy]) Source #

The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.

ecsParameters_launchType :: Lens' EcsParameters (Maybe LaunchType) Source #

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 witt Amazon ECS is supported. For more information, see Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

ecsParameters_capacityProviderStrategy :: Lens' EcsParameters (Maybe [CapacityProviderStrategyItem]) Source #

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_taskCount :: Lens' EcsParameters (Maybe Natural) Source #

The number of tasks to create based on TaskDefinition. The default is 1.

ecsParameters_networkConfiguration :: Lens' EcsParameters (Maybe NetworkConfiguration) Source #

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_tags :: Lens' EcsParameters (Maybe [Tag]) Source #

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 RunTask in the Amazon ECS API Reference.

ecsParameters_enableExecuteCommand :: Lens' EcsParameters (Maybe Bool) Source #

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_taskDefinitionArn :: Lens' EcsParameters Text Source #

The ARN of the task definition to use if the event target is an Amazon ECS task.

EventBus

eventBus_arn :: Lens' EventBus (Maybe Text) Source #

The ARN of the event bus.

eventBus_name :: Lens' EventBus (Maybe Text) Source #

The name of the event bus.

eventBus_policy :: Lens' EventBus (Maybe Text) Source #

The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.

EventSource

eventSource_creationTime :: Lens' EventSource (Maybe UTCTime) Source #

The date and time the event source was created.

eventSource_state :: Lens' EventSource (Maybe EventSourceState) Source #

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_arn :: Lens' EventSource (Maybe Text) Source #

The ARN of the event source.

eventSource_createdBy :: Lens' EventSource (Maybe Text) Source #

The name of the partner that created the event source.

eventSource_name :: Lens' EventSource (Maybe Text) Source #

The name of the event source.

eventSource_expirationTime :: Lens' EventSource (Maybe UTCTime) Source #

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.

HttpParameters

httpParameters_pathParameterValues :: Lens' HttpParameters (Maybe [Text]) Source #

The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").

httpParameters_queryStringParameters :: Lens' HttpParameters (Maybe (HashMap Text Text)) Source #

The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.

httpParameters_headerParameters :: Lens' HttpParameters (Maybe (HashMap Text Text)) Source #

The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination.

InputTransformer

inputTransformer_inputPathsMap :: Lens' InputTransformer (Maybe (HashMap Text Text)) Source #

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_inputTemplate :: Lens' InputTransformer Text Source #

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>\""}'
}

KinesisParameters

kinesisParameters_partitionKeyPath :: Lens' KinesisParameters Text Source #

The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.

NetworkConfiguration

networkConfiguration_awsvpcConfiguration :: Lens' NetworkConfiguration (Maybe AwsVpcConfiguration) Source #

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.

PartnerEventSource

partnerEventSource_arn :: Lens' PartnerEventSource (Maybe Text) Source #

The ARN of the partner event source.

partnerEventSource_name :: Lens' PartnerEventSource (Maybe Text) Source #

The name of the partner event source.

PartnerEventSourceAccount

partnerEventSourceAccount_creationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime) Source #

The date and time the event source was created.

partnerEventSourceAccount_state :: Lens' PartnerEventSourceAccount (Maybe EventSourceState) Source #

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_account :: Lens' PartnerEventSourceAccount (Maybe Text) Source #

The Amazon Web Services account ID that the partner event source was offered to.

partnerEventSourceAccount_expirationTime :: Lens' PartnerEventSourceAccount (Maybe UTCTime) Source #

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.

PlacementConstraint

placementConstraint_expression :: Lens' PlacementConstraint (Maybe Text) Source #

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 Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

placementConstraint_type :: Lens' PlacementConstraint (Maybe PlacementConstraintType) Source #

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.

PlacementStrategy

placementStrategy_field :: Lens' PlacementStrategy (Maybe Text) Source #

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_type :: Lens' PlacementStrategy (Maybe PlacementStrategyType) Source #

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).

PutEventsRequestEntry

putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime) Source #

The time stamp of the event, per RFC3339. If no time stamp is provided, the time stamp of the PutEvents call is used.

putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text) Source #

Free-form string used to decide what fields to expect in the event detail.

putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text]) Source #

Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text) Source #

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.

putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text) Source #

An X-Ray trade 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 Tracing header in the X-Ray Developer Guide.

putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text) Source #

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

PutEventsResultEntry

putEventsResultEntry_errorCode :: Lens' PutEventsResultEntry (Maybe Text) Source #

The error code that indicates why the event submission failed.

putEventsResultEntry_errorMessage :: Lens' PutEventsResultEntry (Maybe Text) Source #

The error message that explains why the event submission failed.

PutPartnerEventsRequestEntry

putPartnerEventsRequestEntry_detailType :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

A free-form string used to decide what fields to expect in the event detail.

putPartnerEventsRequestEntry_resources :: Lens' PutPartnerEventsRequestEntry (Maybe [Text]) Source #

Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

putPartnerEventsRequestEntry_source :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

The event source that is generating the entry.

putPartnerEventsRequestEntry_detail :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

PutPartnerEventsResultEntry

putPartnerEventsResultEntry_errorCode :: Lens' PutPartnerEventsResultEntry (Maybe Text) Source #

The error code that indicates why the event submission failed.

putPartnerEventsResultEntry_errorMessage :: Lens' PutPartnerEventsResultEntry (Maybe Text) Source #

The error message that explains why the event submission failed.

PutTargetsResultEntry

putTargetsResultEntry_errorCode :: Lens' PutTargetsResultEntry (Maybe Text) Source #

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_errorMessage :: Lens' PutTargetsResultEntry (Maybe Text) Source #

The error message that explains why the target addition failed.

RedshiftDataParameters

redshiftDataParameters_dbUser :: Lens' RedshiftDataParameters (Maybe Text) Source #

The database user name. Required when authenticating using temporary credentials.

redshiftDataParameters_secretManagerArn :: Lens' RedshiftDataParameters (Maybe Text) Source #

The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.

redshiftDataParameters_statementName :: Lens' RedshiftDataParameters (Maybe Text) Source #

The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

redshiftDataParameters_withEvent :: Lens' RedshiftDataParameters (Maybe Bool) Source #

Indicates whether to send an event back to EventBridge after the SQL statement runs.

redshiftDataParameters_database :: Lens' RedshiftDataParameters Text Source #

The name of the database. Required when authenticating using temporary credentials.

RemoveTargetsResultEntry

removeTargetsResultEntry_errorCode :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

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_errorMessage :: Lens' RemoveTargetsResultEntry (Maybe Text) Source #

The error message that explains why the target removal failed.

Replay

replay_eventSourceArn :: Lens' Replay (Maybe Text) Source #

The ARN of the archive to replay event from.

replay_state :: Lens' Replay (Maybe ReplayState) Source #

The current state of the replay.

replay_eventEndTime :: Lens' Replay (Maybe UTCTime) Source #

A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime specified is replayed.

replay_replayStartTime :: Lens' Replay (Maybe UTCTime) Source #

A time stamp for the time that the replay started.

replay_replayEndTime :: Lens' Replay (Maybe UTCTime) Source #

A time stamp for the time that the replay completed.

replay_eventLastReplayedTime :: Lens' Replay (Maybe UTCTime) Source #

A time stamp for the time that the last event was replayed.

replay_eventStartTime :: Lens' Replay (Maybe UTCTime) Source #

A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.

replay_replayName :: Lens' Replay (Maybe Text) Source #

The name of the replay.

replay_stateReason :: Lens' Replay (Maybe Text) Source #

A description of why the replay is in the current state.

ReplayDestination

replayDestination_filterArns :: Lens' ReplayDestination (Maybe [Text]) Source #

A list of ARNs for rules to replay events to.

replayDestination_arn :: Lens' ReplayDestination Text Source #

The ARN of the event bus to replay event to. You can replay events only to the event bus specified to create the archive.

RetryPolicy

retryPolicy_maximumEventAgeInSeconds :: Lens' RetryPolicy (Maybe Natural) Source #

The maximum amount of time, in seconds, to continue to make retry attempts.

retryPolicy_maximumRetryAttempts :: Lens' RetryPolicy (Maybe Natural) Source #

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.

Rule

rule_eventPattern :: Lens' Rule (Maybe Text) Source #

The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

rule_state :: Lens' Rule (Maybe RuleState) Source #

The state of the rule.

rule_arn :: Lens' Rule (Maybe Text) Source #

The Amazon Resource Name (ARN) of the rule.

rule_eventBusName :: Lens' Rule (Maybe Text) Source #

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

rule_scheduleExpression :: Lens' Rule (Maybe Text) Source #

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.

rule_name :: Lens' Rule (Maybe Text) Source #

The name of the rule.

rule_description :: Lens' Rule (Maybe Text) Source #

The description of the rule.

rule_managedBy :: Lens' Rule (Maybe Text) Source #

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_roleArn :: Lens' Rule (Maybe Text) Source #

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.

RunCommandParameters

runCommandParameters_runCommandTargets :: Lens' RunCommandParameters (NonEmpty RunCommandTarget) Source #

Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

RunCommandTarget

runCommandTarget_key :: Lens' RunCommandTarget Text Source #

Can be either tag: tag-key or InstanceIds.

runCommandTarget_values :: Lens' RunCommandTarget (NonEmpty Text) Source #

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.

SageMakerPipelineParameter

sageMakerPipelineParameter_name :: Lens' SageMakerPipelineParameter Text Source #

Name of parameter to start execution of a SageMaker Model Building Pipeline.

sageMakerPipelineParameter_value :: Lens' SageMakerPipelineParameter Text Source #

Value of parameter to start execution of a SageMaker Model Building Pipeline.

SageMakerPipelineParameters

sageMakerPipelineParameters_pipelineParameterList :: Lens' SageMakerPipelineParameters (Maybe [SageMakerPipelineParameter]) Source #

List of Parameter names and values for SageMaker Model Building Pipeline execution.

SqsParameters

sqsParameters_messageGroupId :: Lens' SqsParameters (Maybe Text) Source #

The FIFO message group ID to use as the target.

Tag

tag_key :: Lens' Tag Text Source #

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_value :: Lens' Tag Text Source #

The value for the specified tag key.

Target

target_runCommandParameters :: Lens' Target (Maybe RunCommandParameters) Source #

Parameters used when you are using the rule to invoke Amazon EC2 Run Command.

target_httpParameters :: Lens' Target (Maybe HttpParameters) Source #

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_kinesisParameters :: Lens' Target (Maybe KinesisParameters) Source #

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_inputTransformer :: Lens' Target (Maybe InputTransformer) Source #

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_deadLetterConfig :: Lens' Target (Maybe DeadLetterConfig) Source #

The DeadLetterConfig that defines the target queue to send dead-letter queue events to.

target_sageMakerPipelineParameters :: Lens' Target (Maybe SageMakerPipelineParameters) Source #

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_sqsParameters :: Lens' Target (Maybe SqsParameters) Source #

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_input :: Lens' Target (Maybe Text) Source #

Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see The JavaScript Object Notation (JSON) Data Interchange Format.

target_batchParameters :: Lens' Target (Maybe BatchParameters) Source #

If the event target is an Batch job, this contains the job definition, job name, and other parameters. For more information, see Jobs in the Batch User Guide.

target_redshiftDataParameters :: Lens' Target (Maybe RedshiftDataParameters) Source #

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_ecsParameters :: Lens' Target (Maybe EcsParameters) Source #

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 Task Definitions in the Amazon EC2 Container Service Developer Guide.

target_retryPolicy :: Lens' Target (Maybe RetryPolicy) Source #

The RetryPolicy object that contains the retry policy configuration to use for the dead-letter queue.

target_inputPath :: Lens' Target (Maybe Text) Source #

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 JSONPath.

target_roleArn :: Lens' Target (Maybe Text) Source #

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_id :: Lens' Target Text Source #

The ID of the target. We recommend using a memorable and unique string.

target_arn :: Lens' Target Text Source #

The Amazon Resource Name (ARN) of the target.

UpdateConnectionApiKeyAuthRequestParameters

UpdateConnectionAuthRequestParameters

updateConnectionAuthRequestParameters_oAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionOAuthRequestParameters) Source #

A UpdateConnectionOAuthRequestParameters object that contains the authorization parameters for OAuth authorization.

updateConnectionAuthRequestParameters_invocationHttpParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe ConnectionHttpParameters) Source #

A ConnectionHttpParameters object that contains the additional parameters to use for the connection.

updateConnectionAuthRequestParameters_apiKeyAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionApiKeyAuthRequestParameters) Source #

A UpdateConnectionApiKeyAuthRequestParameters object that contains the authorization parameters for API key authorization.

updateConnectionAuthRequestParameters_basicAuthParameters :: Lens' UpdateConnectionAuthRequestParameters (Maybe UpdateConnectionBasicAuthRequestParameters) Source #

A UpdateConnectionBasicAuthRequestParameters object that contains the authorization parameters for Basic authorization.

UpdateConnectionBasicAuthRequestParameters

updateConnectionBasicAuthRequestParameters_password :: Lens' UpdateConnectionBasicAuthRequestParameters (Maybe Text) Source #

The password associated with the user name to use for Basic authorization.

UpdateConnectionOAuthClientRequestParameters

updateConnectionOAuthClientRequestParameters_clientSecret :: Lens' UpdateConnectionOAuthClientRequestParameters (Maybe Text) Source #

The client secret assciated with the client ID to use for OAuth authorization.

UpdateConnectionOAuthRequestParameters

updateConnectionOAuthRequestParameters_clientParameters :: Lens' UpdateConnectionOAuthRequestParameters (Maybe UpdateConnectionOAuthClientRequestParameters) Source #

A UpdateConnectionOAuthClientRequestParameters object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.

updateConnectionOAuthRequestParameters_authorizationEndpoint :: Lens' UpdateConnectionOAuthRequestParameters (Maybe Text) Source #

The URL to the authorization endpoint when OAuth is specified as the authorization type.