@aws-sdk/client-cloudwatch-events 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CloudWatchEvents.js +0 -24
- package/dist-cjs/CloudWatchEventsClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/ActivateEventSourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CancelReplayCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateApiDestinationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateArchiveCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/CreateConnectionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateEventBusCommand.js +2 -29
- package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeactivateEventSourceCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DeauthorizeConnectionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteApiDestinationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteArchiveCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteEventBusCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeletePartnerEventSourceCommand.js +2 -31
- package/dist-cjs/commands/DeleteRuleCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeApiDestinationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeArchiveCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectionCommand.js +2 -27
- package/dist-cjs/commands/DescribeEventBusCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeEventSourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribePartnerEventSourceCommand.js +2 -30
- package/dist-cjs/commands/DescribeReplayCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeRuleCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DisableRuleCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/EnableRuleCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ListApiDestinationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListArchivesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListConnectionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListEventBusesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListEventSourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPartnerEventSourceAccountsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ListPartnerEventSourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListReplaysCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListRuleNamesByTargetCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListRulesCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListTargetsByRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutEventsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutPartnerEventsCommand.js +2 -28
- package/dist-cjs/commands/PutPermissionCommand.js +36 -0
- package/dist-cjs/commands/PutRuleCommand.js +36 -0
- package/dist-cjs/commands/PutTargetsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemovePermissionCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/RemoveTargetsCommand.js +2 -35
- package/dist-cjs/commands/StartReplayCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/TestEventPatternCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateApiDestinationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateArchiveCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateConnectionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -487
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CloudWatchEvents.js +0 -1
- package/{dist/es → dist-es}/CloudWatchEventsClient.js +1 -2
- package/{dist/es → dist-es}/commands/ActivateEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CancelReplayCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateApiDestinationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateArchiveCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateEventBusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreatePartnerEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeactivateEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeauthorizeConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteApiDestinationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteArchiveCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteEventBusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeletePartnerEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeApiDestinationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeArchiveCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEventBusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePartnerEventSourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeReplayCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisableRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EnableRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListApiDestinationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListArchivesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListConnectionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEventBusesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEventSourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPartnerEventSourceAccountsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPartnerEventSourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListReplaysCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRuleNamesByTargetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTargetsByRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutEventsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutPartnerEventsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutPermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemovePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartReplayCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TestEventPatternCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateApiDestinationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateArchiveCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateConnectionCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CloudWatchEvents.d.ts +1 -1
- package/{dist/types → dist-types}/CloudWatchEventsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ActivateEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CancelReplayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateApiDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateEventBusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePartnerEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeactivateEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeauthorizeConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteApiDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEventBusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePartnerEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeApiDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEventBusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribePartnerEventSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeReplayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisableRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/EnableRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListApiDestinationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListArchivesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConnectionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventBusesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPartnerEventSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListReplaysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRuleNamesByTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTargetsByRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutEventsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPartnerEventsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemovePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartReplayCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TestEventPatternCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateApiDestinationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateArchiveCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConnectionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/CloudWatchEvents.d.ts +260 -0
- package/{dist/types → dist-types}/ts3.4/CloudWatchEventsClient.d.ts +32 -117
- package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteApiDestinationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeApiDestinationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeArchiveCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTargetsByRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateApiDestinationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2143 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CloudWatchEvents.ts +0 -2165
- package/CloudWatchEventsClient.ts +0 -456
- package/commands/ActivateEventSourceCommand.ts +0 -95
- package/commands/CancelReplayCommand.ts +0 -94
- package/commands/CreateApiDestinationCommand.ts +0 -95
- package/commands/CreateArchiveCommand.ts +0 -98
- package/commands/CreateConnectionCommand.ts +0 -95
- package/commands/CreateEventBusCommand.ts +0 -96
- package/commands/CreatePartnerEventSourceCommand.ts +0 -117
- package/commands/DeactivateEventSourceCommand.ts +0 -98
- package/commands/DeauthorizeConnectionCommand.ts +0 -95
- package/commands/DeleteApiDestinationCommand.ts +0 -94
- package/commands/DeleteArchiveCommand.ts +0 -94
- package/commands/DeleteConnectionCommand.ts +0 -94
- package/commands/DeleteEventBusCommand.ts +0 -95
- package/commands/DeletePartnerEventSourceCommand.ts +0 -98
- package/commands/DeleteRuleCommand.ts +0 -107
- package/commands/DescribeApiDestinationCommand.ts +0 -94
- package/commands/DescribeArchiveCommand.ts +0 -94
- package/commands/DescribeConnectionCommand.ts +0 -94
- package/commands/DescribeEventBusCommand.ts +0 -100
- package/commands/DescribeEventSourceCommand.ts +0 -95
- package/commands/DescribePartnerEventSourceCommand.ts +0 -100
- package/commands/DescribeReplayCommand.ts +0 -102
- package/commands/DescribeRuleCommand.ts +0 -96
- package/commands/DisableRuleCommand.ts +0 -98
- package/commands/EnableRuleCommand.ts +0 -97
- package/commands/ListApiDestinationsCommand.ts +0 -94
- package/commands/ListArchivesCommand.ts +0 -95
- package/commands/ListConnectionsCommand.ts +0 -94
- package/commands/ListEventBusesCommand.ts +0 -95
- package/commands/ListEventSourcesCommand.ts +0 -95
- package/commands/ListPartnerEventSourceAccountsCommand.ts +0 -104
- package/commands/ListPartnerEventSourcesCommand.ts +0 -95
- package/commands/ListReplaysCommand.ts +0 -95
- package/commands/ListRuleNamesByTargetCommand.ts +0 -95
- package/commands/ListRulesCommand.ts +0 -95
- package/commands/ListTagsForResourceCommand.ts +0 -95
- package/commands/ListTargetsByRuleCommand.ts +0 -94
- package/commands/PutEventsCommand.ts +0 -91
- package/commands/PutPartnerEventsCommand.ts +0 -95
- package/commands/PutPermissionCommand.ts +0 -113
- package/commands/PutRuleCommand.ts +0 -137
- package/commands/PutTargetsCommand.ts +0 -259
- package/commands/RemovePermissionCommand.ts +0 -97
- package/commands/RemoveTargetsCommand.ts +0 -102
- package/commands/StartReplayCommand.ts +0 -102
- package/commands/TagResourceCommand.ts +0 -104
- package/commands/TestEventPatternCommand.ts +0 -98
- package/commands/UntagResourceCommand.ts +0 -95
- package/commands/UpdateApiDestinationCommand.ts +0 -94
- package/commands/UpdateArchiveCommand.ts +0 -94
- package/commands/UpdateConnectionCommand.ts +0 -94
- package/dist/cjs/CloudWatchEvents.js.map +0 -1
- package/dist/cjs/CloudWatchEventsClient.js +0 -64
- package/dist/cjs/CloudWatchEventsClient.js.map +0 -1
- package/dist/cjs/commands/ActivateEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/CancelReplayCommand.js.map +0 -1
- package/dist/cjs/commands/CreateApiDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/CreateConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateEventBusCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePartnerEventSourceCommand.js +0 -84
- package/dist/cjs/commands/CreatePartnerEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeactivateEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeauthorizeConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApiDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEventBusCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePartnerEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRuleCommand.js +0 -74
- package/dist/cjs/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeApiDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEventBusCommand.js +0 -67
- package/dist/cjs/commands/DescribeEventBusCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePartnerEventSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeReplayCommand.js +0 -69
- package/dist/cjs/commands/DescribeReplayCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DisableRuleCommand.js.map +0 -1
- package/dist/cjs/commands/EnableRuleCommand.js.map +0 -1
- package/dist/cjs/commands/ListApiDestinationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListArchivesCommand.js.map +0 -1
- package/dist/cjs/commands/ListConnectionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventBusesCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventSourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPartnerEventSourceAccountsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPartnerEventSourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListReplaysCommand.js.map +0 -1
- package/dist/cjs/commands/ListRuleNamesByTargetCommand.js.map +0 -1
- package/dist/cjs/commands/ListRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTargetsByRuleCommand.js.map +0 -1
- package/dist/cjs/commands/PutEventsCommand.js.map +0 -1
- package/dist/cjs/commands/PutPartnerEventsCommand.js.map +0 -1
- package/dist/cjs/commands/PutPermissionCommand.js +0 -80
- package/dist/cjs/commands/PutPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/PutRuleCommand.js +0 -107
- package/dist/cjs/commands/PutRuleCommand.js.map +0 -1
- package/dist/cjs/commands/PutTargetsCommand.js +0 -226
- package/dist/cjs/commands/PutTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/StartReplayCommand.js +0 -69
- package/dist/cjs/commands/StartReplayCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -71
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/TestEventPatternCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApiDestinationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateArchiveCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConnectionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CloudWatchEvents.js.map +0 -1
- package/dist/es/CloudWatchEventsClient.js.map +0 -1
- package/dist/es/commands/ActivateEventSourceCommand.js.map +0 -1
- package/dist/es/commands/CancelReplayCommand.js.map +0 -1
- package/dist/es/commands/CreateApiDestinationCommand.js.map +0 -1
- package/dist/es/commands/CreateArchiveCommand.js.map +0 -1
- package/dist/es/commands/CreateConnectionCommand.js.map +0 -1
- package/dist/es/commands/CreateEventBusCommand.js.map +0 -1
- package/dist/es/commands/CreatePartnerEventSourceCommand.js.map +0 -1
- package/dist/es/commands/DeactivateEventSourceCommand.js.map +0 -1
- package/dist/es/commands/DeauthorizeConnectionCommand.js.map +0 -1
- package/dist/es/commands/DeleteApiDestinationCommand.js.map +0 -1
- package/dist/es/commands/DeleteArchiveCommand.js.map +0 -1
- package/dist/es/commands/DeleteConnectionCommand.js.map +0 -1
- package/dist/es/commands/DeleteEventBusCommand.js.map +0 -1
- package/dist/es/commands/DeletePartnerEventSourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteRuleCommand.js.map +0 -1
- package/dist/es/commands/DescribeApiDestinationCommand.js.map +0 -1
- package/dist/es/commands/DescribeArchiveCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectionCommand.js.map +0 -1
- package/dist/es/commands/DescribeEventBusCommand.js.map +0 -1
- package/dist/es/commands/DescribeEventSourceCommand.js.map +0 -1
- package/dist/es/commands/DescribePartnerEventSourceCommand.js.map +0 -1
- package/dist/es/commands/DescribeReplayCommand.js.map +0 -1
- package/dist/es/commands/DescribeRuleCommand.js.map +0 -1
- package/dist/es/commands/DisableRuleCommand.js.map +0 -1
- package/dist/es/commands/EnableRuleCommand.js.map +0 -1
- package/dist/es/commands/ListApiDestinationsCommand.js.map +0 -1
- package/dist/es/commands/ListArchivesCommand.js.map +0 -1
- package/dist/es/commands/ListConnectionsCommand.js.map +0 -1
- package/dist/es/commands/ListEventBusesCommand.js.map +0 -1
- package/dist/es/commands/ListEventSourcesCommand.js.map +0 -1
- package/dist/es/commands/ListPartnerEventSourceAccountsCommand.js.map +0 -1
- package/dist/es/commands/ListPartnerEventSourcesCommand.js.map +0 -1
- package/dist/es/commands/ListReplaysCommand.js.map +0 -1
- package/dist/es/commands/ListRuleNamesByTargetCommand.js.map +0 -1
- package/dist/es/commands/ListRulesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTargetsByRuleCommand.js.map +0 -1
- package/dist/es/commands/PutEventsCommand.js.map +0 -1
- package/dist/es/commands/PutPartnerEventsCommand.js.map +0 -1
- package/dist/es/commands/PutPermissionCommand.js.map +0 -1
- package/dist/es/commands/PutRuleCommand.js.map +0 -1
- package/dist/es/commands/PutTargetsCommand.js.map +0 -1
- package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/es/commands/RemoveTargetsCommand.js.map +0 -1
- package/dist/es/commands/StartReplayCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/TestEventPatternCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateApiDestinationCommand.js.map +0 -1
- package/dist/es/commands/UpdateArchiveCommand.js.map +0 -1
- package/dist/es/commands/UpdateConnectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -55
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CloudWatchEvents.d.ts +0 -744
- package/dist/types/ts3.4/commands/ActivateEventSourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CancelReplayCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateApiDestinationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateArchiveCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateConnectionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateEventBusCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteArchiveCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteEventBusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeleteRuleCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/DescribeEventBusCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeEventSourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeReplayCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/DescribeRuleCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DisableRuleCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/EnableRuleCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListApiDestinationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListArchivesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListConnectionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListEventBusesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListEventSourcesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListReplaysCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListRulesCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutEventsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutPartnerEventsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutPermissionCommand.d.ts +0 -54
- package/dist/types/ts3.4/commands/PutRuleCommand.d.ts +0 -81
- package/dist/types/ts3.4/commands/PutTargetsCommand.d.ts +0 -200
- package/dist/types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/RemoveTargetsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/StartReplayCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/TestEventPatternCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateArchiveCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4039
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5036
- package/protocols/Aws_json1_1.ts +0 -7735
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { PutEventsRequest, PutEventsResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutEventsCommandInput extends PutEventsRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutEventsCommandOutput extends PutEventsResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Sends custom events to Amazon EventBridge so that they can be matched to rules.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CloudWatchEventsClient, PutEventsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
15
|
-
* // const { CloudWatchEventsClient, PutEventsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
16
|
-
* const client = new CloudWatchEventsClient(config);
|
|
17
|
-
* const command = new PutEventsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link PutEventsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link PutEventsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export declare class PutEventsCommand extends $Command<PutEventsCommandInput, PutEventsCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
27
|
-
readonly input: PutEventsCommandInput;
|
|
28
|
-
constructor(input: PutEventsCommandInput);
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEventsCommandInput, PutEventsCommandOutput>;
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { PutPartnerEventsRequest, PutPartnerEventsResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutPartnerEventsCommandInput extends PutPartnerEventsRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutPartnerEventsCommandOutput extends PutPartnerEventsResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services
|
|
11
|
-
* customers do not use this operation.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CloudWatchEventsClient, PutPartnerEventsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
16
|
-
* // const { CloudWatchEventsClient, PutPartnerEventsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
17
|
-
* const client = new CloudWatchEventsClient(config);
|
|
18
|
-
* const command = new PutPartnerEventsCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link PutPartnerEventsCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link PutPartnerEventsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
export declare class PutPartnerEventsCommand extends $Command<PutPartnerEventsCommandInput, PutPartnerEventsCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
28
|
-
readonly input: PutPartnerEventsCommandInput;
|
|
29
|
-
constructor(input: PutPartnerEventsCommandInput);
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutPartnerEventsCommandInput, PutPartnerEventsCommandOutput>;
|
|
34
|
-
private serialize;
|
|
35
|
-
private deserialize;
|
|
36
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { PutPermissionRequest } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutPermissionCommandInput extends PutPermissionRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutPermissionCommandOutput extends __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Running <code>PutPermission</code> permits the specified Amazon Web Services account or Amazon Web Services organization
|
|
11
|
-
* to put events to the specified <i>event bus</i>. Amazon EventBridge (CloudWatch
|
|
12
|
-
* Events) rules in your account are triggered by these events arriving to an event bus in your
|
|
13
|
-
* account. </p>
|
|
14
|
-
* <p>For another account to send events to your account, that external account must have an
|
|
15
|
-
* EventBridge rule with your account's event bus as a target.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>To enable multiple Amazon Web Services accounts to put events to your event bus, run
|
|
18
|
-
* <code>PutPermission</code> once for each of these accounts. Or, if all the accounts are
|
|
19
|
-
* members of the same Amazon Web Services organization, you can run <code>PutPermission</code> once specifying
|
|
20
|
-
* <code>Principal</code> as "*" and specifying the Amazon Web Services organization ID in
|
|
21
|
-
* <code>Condition</code>, to grant permissions to all accounts in that organization.</p>
|
|
22
|
-
*
|
|
23
|
-
* <p>If you grant permissions using an organization, then accounts in that organization must
|
|
24
|
-
* specify a <code>RoleArn</code> with proper permissions when they use <code>PutTarget</code> to
|
|
25
|
-
* add your account's event bus as a target. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
|
|
26
|
-
* Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
|
|
27
|
-
* Guide</i>.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>The permission policy on the event bus cannot exceed 10 KB in size.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { CloudWatchEventsClient, PutPermissionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
34
|
-
* // const { CloudWatchEventsClient, PutPermissionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
35
|
-
* const client = new CloudWatchEventsClient(config);
|
|
36
|
-
* const command = new PutPermissionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link PutPermissionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link PutPermissionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export declare class PutPermissionCommand extends $Command<PutPermissionCommandInput, PutPermissionCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
46
|
-
readonly input: PutPermissionCommandInput;
|
|
47
|
-
constructor(input: PutPermissionCommandInput);
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutPermissionCommandInput, PutPermissionCommandOutput>;
|
|
52
|
-
private serialize;
|
|
53
|
-
private deserialize;
|
|
54
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { PutRuleRequest, PutRuleResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutRuleCommandInput extends PutRuleRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Creates or updates the specified rule. Rules are enabled by default, or based on value of
|
|
11
|
-
* the state. You can disable a rule using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DisableRule.html">DisableRule</a>.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>A single rule watches for events from a single event bus. Events generated by Amazon Web Services services
|
|
14
|
-
* go to your account's default event bus. Events generated by SaaS partner services or
|
|
15
|
-
* applications go to the matching partner event bus. If you have custom applications or
|
|
16
|
-
* services, you can specify whether their events go to your default event bus or a custom event
|
|
17
|
-
* bus that you have created. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html">CreateEventBus</a>.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>If you are updating an existing rule, the rule is replaced with what you specify in this
|
|
20
|
-
* <code>PutRule</code> command. If you omit arguments in <code>PutRule</code>, the old values
|
|
21
|
-
* for those arguments are not kept. Instead, they are replaced with null values.</p>
|
|
22
|
-
*
|
|
23
|
-
* <p>When you create or update a rule, incoming events might not immediately start matching to
|
|
24
|
-
* new or updated rules. Allow a short period of time for changes to take effect.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>A rule must contain at least an EventPattern or ScheduleExpression. Rules with
|
|
27
|
-
* EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions
|
|
28
|
-
* self-trigger based on the given schedule. A rule can have both an EventPattern and a
|
|
29
|
-
* ScheduleExpression, in which case the rule triggers on matching events as well as on a
|
|
30
|
-
* schedule.</p>
|
|
31
|
-
*
|
|
32
|
-
* <p>When you initially create a rule, you can optionally assign one or more tags to the rule.
|
|
33
|
-
* Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
34
|
-
* permissions, by granting a user permission to access or change only rules with certain tag
|
|
35
|
-
* values. To use the <code>PutRule</code> operation and assign tags, you must have both the
|
|
36
|
-
* <code>events:PutRule</code> and <code>events:TagResource</code> permissions.</p>
|
|
37
|
-
* <p>If you are updating an existing rule, any tags you specify in the <code>PutRule</code>
|
|
38
|
-
* operation are ignored. To update the tags of an existing rule, use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
|
|
39
|
-
*
|
|
40
|
-
* <p>Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs).
|
|
41
|
-
* However, EventBridge uses an exact match in event patterns and rules. Be sure to use the
|
|
42
|
-
* correct ARN characters when creating event patterns so that they match the ARN syntax in the
|
|
43
|
-
* event you want to match.</p>
|
|
44
|
-
*
|
|
45
|
-
* <p>In EventBridge, it is possible to create rules that lead to infinite loops, where a rule
|
|
46
|
-
* is fired repeatedly. For example, a rule might detect that ACLs have changed on an S3 bucket,
|
|
47
|
-
* and trigger software to change them to the desired state. If the rule is not written
|
|
48
|
-
* carefully, the subsequent change to the ACLs fires the rule again, creating an infinite
|
|
49
|
-
* loop.</p>
|
|
50
|
-
* <p>To prevent this, write the rules so that the triggered actions do not re-fire the same
|
|
51
|
-
* rule. For example, your rule could fire only if ACLs are found to be in a bad state, instead
|
|
52
|
-
* of after any change. </p>
|
|
53
|
-
* <p>An infinite loop can quickly cause higher than expected charges. We recommend that you use
|
|
54
|
-
* budgeting, which alerts you when charges exceed your specified limit. For more information,
|
|
55
|
-
* see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html">Managing Your Costs with
|
|
56
|
-
* Budgets</a>.</p>
|
|
57
|
-
* @example
|
|
58
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
-
* ```javascript
|
|
60
|
-
* import { CloudWatchEventsClient, PutRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
61
|
-
* // const { CloudWatchEventsClient, PutRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
62
|
-
* const client = new CloudWatchEventsClient(config);
|
|
63
|
-
* const command = new PutRuleCommand(input);
|
|
64
|
-
* const response = await client.send(command);
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @see {@link PutRuleCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link PutRuleCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
export declare class PutRuleCommand extends $Command<PutRuleCommandInput, PutRuleCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
73
|
-
readonly input: PutRuleCommandInput;
|
|
74
|
-
constructor(input: PutRuleCommandInput);
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRuleCommandInput, PutRuleCommandOutput>;
|
|
79
|
-
private serialize;
|
|
80
|
-
private deserialize;
|
|
81
|
-
}
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { PutTargetsRequest, PutTargetsResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface PutTargetsCommandInput extends PutTargetsRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Adds the specified targets to the specified rule, or updates the targets if they are
|
|
11
|
-
* already associated with the rule.</p>
|
|
12
|
-
* <p>Targets are the resources that are invoked when a rule is triggered.</p>
|
|
13
|
-
* <p>You can configure the following as targets for Events:</p>
|
|
14
|
-
*
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html">API
|
|
19
|
-
* destination</a>
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Amazon API Gateway REST API endpoints</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>API Gateway</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Batch job queue</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>CloudWatch Logs group</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>CodeBuild project</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>CodePipeline</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>Amazon EC2 <code>CreateSnapshot</code> API call</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Amazon EC2 <code>RebootInstances</code> API call</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>Amazon EC2 <code>StopInstances</code> API call</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>Amazon EC2 <code>TerminateInstances</code> API call</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>Amazon ECS tasks</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Event bus in a different Amazon Web Services account or Region.</p>
|
|
57
|
-
* <p>You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon)
|
|
58
|
-
* us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>Firehose delivery stream (Kinesis Data Firehose)</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>Inspector assessment template (Amazon Inspector)</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* <li>
|
|
67
|
-
* <p>Kinesis stream (Kinesis Data Stream)</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>Lambda function</p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>Redshift clusters (Data API statement execution)</p>
|
|
74
|
-
* </li>
|
|
75
|
-
* <li>
|
|
76
|
-
* <p>Amazon SNS topic</p>
|
|
77
|
-
* </li>
|
|
78
|
-
* <li>
|
|
79
|
-
* <p>Amazon SQS queues (includes FIFO queues</p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>SSM Automation</p>
|
|
83
|
-
* </li>
|
|
84
|
-
* <li>
|
|
85
|
-
* <p>SSM OpsItem</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>SSM Run Command</p>
|
|
89
|
-
* </li>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>Step Functions state machines</p>
|
|
92
|
-
* </li>
|
|
93
|
-
* </ul>
|
|
94
|
-
*
|
|
95
|
-
* <p>Creating rules with built-in targets is supported only in the Management Console. The
|
|
96
|
-
* built-in targets are <code>EC2 CreateSnapshot API call</code>, <code>EC2 RebootInstances API
|
|
97
|
-
* call</code>, <code>EC2 StopInstances API call</code>, and <code>EC2 TerminateInstances API
|
|
98
|
-
* call</code>. </p>
|
|
99
|
-
*
|
|
100
|
-
* <p>For some target types, <code>PutTargets</code> provides target-specific parameters. If the
|
|
101
|
-
* target is a Kinesis data stream, you can optionally specify which shard the event goes to by
|
|
102
|
-
* using the <code>KinesisParameters</code> argument. To invoke a command on multiple EC2
|
|
103
|
-
* instances with one rule, you can use the <code>RunCommandParameters</code> field.</p>
|
|
104
|
-
*
|
|
105
|
-
* <p>To be able to make API calls against the resources that you own, Amazon EventBridge
|
|
106
|
-
* needs the appropriate permissions. For Lambda and Amazon SNS
|
|
107
|
-
* resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams,
|
|
108
|
-
* Step Functions state machines and API Gateway REST APIs, EventBridge relies on
|
|
109
|
-
* IAM roles that you specify in the <code>RoleARN</code> argument in <code>PutTargets</code>.
|
|
110
|
-
* For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html">Authentication
|
|
111
|
-
* and Access Control</a> in the <i>Amazon EventBridge User Guide</i>.</p>
|
|
112
|
-
*
|
|
113
|
-
* <p>If another Amazon Web Services account is in the same region and has granted you permission (using
|
|
114
|
-
* <code>PutPermission</code>), you can send events to that account. Set that account's event
|
|
115
|
-
* bus as a target of the rules in your account. To send the matched events to the other account,
|
|
116
|
-
* specify that account's event bus as the <code>Arn</code> value when you run
|
|
117
|
-
* <code>PutTargets</code>. If your account sends events to another account, your account is
|
|
118
|
-
* charged for each sent event. Each event sent to another account is charged as a custom event.
|
|
119
|
-
* The account receiving the event is not charged. For more information, see <a href="http://aws.amazon.com/eventbridge/pricing/">Amazon EventBridge
|
|
120
|
-
* Pricing</a>.</p>
|
|
121
|
-
*
|
|
122
|
-
* <note>
|
|
123
|
-
* <p>
|
|
124
|
-
* <code>Input</code>, <code>InputPath</code>, and <code>InputTransformer</code> are not
|
|
125
|
-
* available with <code>PutTarget</code> if the target is an event bus of a different Amazon Web Services
|
|
126
|
-
* account.</p>
|
|
127
|
-
* </note>
|
|
128
|
-
*
|
|
129
|
-
* <p>If you are setting the event bus of another account as the target, and that account
|
|
130
|
-
* granted permission to your account through an organization instead of directly by the account
|
|
131
|
-
* ID, then you must specify a <code>RoleArn</code> with proper permissions in the
|
|
132
|
-
* <code>Target</code> structure. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
|
|
133
|
-
* Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
|
|
134
|
-
* Guide</i>.</p>
|
|
135
|
-
*
|
|
136
|
-
* <p>For more information about enabling cross-account events, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html">PutPermission</a>.</p>
|
|
137
|
-
*
|
|
138
|
-
* <p>
|
|
139
|
-
* <b>Input</b>, <b>InputPath</b>, and
|
|
140
|
-
* <b>InputTransformer</b> are mutually exclusive and optional
|
|
141
|
-
* parameters of a target. When a rule is triggered due to a matched event:</p>
|
|
142
|
-
*
|
|
143
|
-
* <ul>
|
|
144
|
-
* <li>
|
|
145
|
-
* <p>If none of the following arguments are specified for a target, then the entire event
|
|
146
|
-
* is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or
|
|
147
|
-
* Amazon ECS task, in which case nothing from the event is passed to the target).</p>
|
|
148
|
-
* </li>
|
|
149
|
-
* <li>
|
|
150
|
-
* <p>If <b>Input</b> is specified in the form of valid JSON, then
|
|
151
|
-
* the matched event is overridden with this constant.</p>
|
|
152
|
-
* </li>
|
|
153
|
-
* <li>
|
|
154
|
-
* <p>If <b>InputPath</b> is specified in the form of JSONPath
|
|
155
|
-
* (for example, <code>$.detail</code>), then only the part of the event specified in the
|
|
156
|
-
* path is passed to the target (for example, only the detail part of the event is
|
|
157
|
-
* passed).</p>
|
|
158
|
-
* </li>
|
|
159
|
-
* <li>
|
|
160
|
-
* <p>If <b>InputTransformer</b> is specified, then one or more
|
|
161
|
-
* specified JSONPaths are extracted from the event and used as values in a template that you
|
|
162
|
-
* specify as the input to the target.</p>
|
|
163
|
-
* </li>
|
|
164
|
-
* </ul>
|
|
165
|
-
*
|
|
166
|
-
* <p>When you specify <code>InputPath</code> or <code>InputTransformer</code>, you must use
|
|
167
|
-
* JSON dot notation, not bracket notation.</p>
|
|
168
|
-
*
|
|
169
|
-
* <p>When you add targets to a rule and the associated rule triggers soon after, new or updated
|
|
170
|
-
* targets might not be immediately invoked. Allow a short period of time for changes to take
|
|
171
|
-
* effect.</p>
|
|
172
|
-
*
|
|
173
|
-
* <p>This action can partially fail if too many requests are made at the same time. If that
|
|
174
|
-
* happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
|
|
175
|
-
* <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
|
|
176
|
-
* @example
|
|
177
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
178
|
-
* ```javascript
|
|
179
|
-
* import { CloudWatchEventsClient, PutTargetsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
180
|
-
* // const { CloudWatchEventsClient, PutTargetsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
181
|
-
* const client = new CloudWatchEventsClient(config);
|
|
182
|
-
* const command = new PutTargetsCommand(input);
|
|
183
|
-
* const response = await client.send(command);
|
|
184
|
-
* ```
|
|
185
|
-
*
|
|
186
|
-
* @see {@link PutTargetsCommandInput} for command's `input` shape.
|
|
187
|
-
* @see {@link PutTargetsCommandOutput} for command's `response` shape.
|
|
188
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
189
|
-
*
|
|
190
|
-
*/
|
|
191
|
-
export declare class PutTargetsCommand extends $Command<PutTargetsCommandInput, PutTargetsCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
192
|
-
readonly input: PutTargetsCommandInput;
|
|
193
|
-
constructor(input: PutTargetsCommandInput);
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutTargetsCommandInput, PutTargetsCommandOutput>;
|
|
198
|
-
private serialize;
|
|
199
|
-
private deserialize;
|
|
200
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { RemovePermissionRequest } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface RemovePermissionCommandInput extends RemovePermissionRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Revokes the permission of another Amazon Web Services account to be able to put events to the specified
|
|
11
|
-
* event bus. Specify the account to revoke by the <code>StatementId</code> value that you
|
|
12
|
-
* associated with the account when you granted it permission with <code>PutPermission</code>.
|
|
13
|
-
* You can find the <code>StatementId</code> by using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventBus.html">DescribeEventBus</a>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CloudWatchEventsClient, RemovePermissionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
18
|
-
* // const { CloudWatchEventsClient, RemovePermissionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
19
|
-
* const client = new CloudWatchEventsClient(config);
|
|
20
|
-
* const command = new RemovePermissionCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link RemovePermissionCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link RemovePermissionCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
30
|
-
readonly input: RemovePermissionCommandInput;
|
|
31
|
-
constructor(input: RemovePermissionCommandInput);
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemovePermissionCommandInput, RemovePermissionCommandOutput>;
|
|
36
|
-
private serialize;
|
|
37
|
-
private deserialize;
|
|
38
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { RemoveTargetsRequest, RemoveTargetsResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface RemoveTargetsCommandInput extends RemoveTargetsRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Removes the specified targets from the specified rule. When the rule is triggered, those
|
|
11
|
-
* targets are no longer be invoked.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>When you remove a target, when the associated rule triggers, removed targets might
|
|
14
|
-
* continue to be invoked. Allow a short period of time for changes to take effect.</p>
|
|
15
|
-
*
|
|
16
|
-
* <p>This action can partially fail if too many requests are made at the same time. If that
|
|
17
|
-
* happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
|
|
18
|
-
* <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudWatchEventsClient, RemoveTargetsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
23
|
-
* // const { CloudWatchEventsClient, RemoveTargetsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
24
|
-
* const client = new CloudWatchEventsClient(config);
|
|
25
|
-
* const command = new RemoveTargetsCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link RemoveTargetsCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link RemoveTargetsCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare class RemoveTargetsCommand extends $Command<RemoveTargetsCommandInput, RemoveTargetsCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
35
|
-
readonly input: RemoveTargetsCommandInput;
|
|
36
|
-
constructor(input: RemoveTargetsCommandInput);
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveTargetsCommandInput, RemoveTargetsCommandOutput>;
|
|
41
|
-
private serialize;
|
|
42
|
-
private deserialize;
|
|
43
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { StartReplayRequest, StartReplayResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface StartReplayCommandInput extends StartReplayRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface StartReplayCommandOutput extends StartReplayResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Starts the specified replay. Events are not necessarily replayed in the exact same order
|
|
11
|
-
* that they were added to the archive. A replay processes events to replay based on the time in
|
|
12
|
-
* the event, and replays them using 1 minute intervals. If you specify an
|
|
13
|
-
* <code>EventStartTime</code> and an <code>EventEndTime</code> that covers a 20 minute time
|
|
14
|
-
* range, the events are replayed from the first minute of that 20 minute range first. Then the
|
|
15
|
-
* events from the second minute are replayed. You can use <code>DescribeReplay</code> to
|
|
16
|
-
* determine the progress of a replay. The value returned for <code>EventLastReplayedTime</code>
|
|
17
|
-
* indicates the time within the specified time range associated with the last event
|
|
18
|
-
* replayed.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { CloudWatchEventsClient, StartReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
23
|
-
* // const { CloudWatchEventsClient, StartReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
24
|
-
* const client = new CloudWatchEventsClient(config);
|
|
25
|
-
* const command = new StartReplayCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link StartReplayCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link StartReplayCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare class StartReplayCommand extends $Command<StartReplayCommandInput, StartReplayCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
35
|
-
readonly input: StartReplayCommandInput;
|
|
36
|
-
constructor(input: StartReplayCommandInput);
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReplayCommandInput, StartReplayCommandOutput>;
|
|
41
|
-
private serialize;
|
|
42
|
-
private deserialize;
|
|
43
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Assigns one or more tags (key-value pairs) to the specified EventBridge resource. Tags can
|
|
11
|
-
* help you organize and categorize your resources. You can also use them to scope user
|
|
12
|
-
* permissions by granting a user permission to access or change only resources with certain tag
|
|
13
|
-
* values. In EventBridge, rules and event buses can be tagged.</p>
|
|
14
|
-
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
|
|
15
|
-
* characters.</p>
|
|
16
|
-
* <p>You can use the <code>TagResource</code> action with a resource that already has tags. If
|
|
17
|
-
* you specify a new tag key, this tag is appended to the list of tags associated with the
|
|
18
|
-
* resource. If you specify a tag key that is already associated with the resource, the new tag
|
|
19
|
-
* value that you specify replaces the previous value for that tag.</p>
|
|
20
|
-
* <p>You can associate as many as 50 tags with a resource.</p>
|
|
21
|
-
* @example
|
|
22
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
-
* ```javascript
|
|
24
|
-
* import { CloudWatchEventsClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
25
|
-
* // const { CloudWatchEventsClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
26
|
-
* const client = new CloudWatchEventsClient(config);
|
|
27
|
-
* const command = new TagResourceCommand(input);
|
|
28
|
-
* const response = await client.send(command);
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
32
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
37
|
-
readonly input: TagResourceCommandInput;
|
|
38
|
-
constructor(input: TagResourceCommandInput);
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
43
|
-
private serialize;
|
|
44
|
-
private deserialize;
|
|
45
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { TestEventPatternRequest, TestEventPatternResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface TestEventPatternCommandInput extends TestEventPatternRequest {
|
|
6
|
-
}
|
|
7
|
-
export interface TestEventPatternCommandOutput extends TestEventPatternResponse, __MetadataBearer {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* <p>Tests whether the specified event pattern matches the provided event.</p>
|
|
11
|
-
* <p>Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs).
|
|
12
|
-
* However, EventBridge uses an exact match in event patterns and rules. Be sure to use the
|
|
13
|
-
* correct ARN characters when creating event patterns so that they match the ARN syntax in the
|
|
14
|
-
* event you want to match.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CloudWatchEventsClient, TestEventPatternCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
19
|
-
* // const { CloudWatchEventsClient, TestEventPatternCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
20
|
-
* const client = new CloudWatchEventsClient(config);
|
|
21
|
-
* const command = new TestEventPatternCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link TestEventPatternCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link TestEventPatternCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
export declare class TestEventPatternCommand extends $Command<TestEventPatternCommandInput, TestEventPatternCommandOutput, CloudWatchEventsClientResolvedConfig> {
|
|
31
|
-
readonly input: TestEventPatternCommandInput;
|
|
32
|
-
constructor(input: TestEventPatternCommandInput);
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestEventPatternCommandInput, TestEventPatternCommandOutput>;
|
|
37
|
-
private serialize;
|
|
38
|
-
private deserialize;
|
|
39
|
-
}
|