@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,456 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ActivateEventSourceCommandInput,
|
|
3
|
-
ActivateEventSourceCommandOutput,
|
|
4
|
-
} from "./commands/ActivateEventSourceCommand";
|
|
5
|
-
import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
|
|
6
|
-
import {
|
|
7
|
-
CreateApiDestinationCommandInput,
|
|
8
|
-
CreateApiDestinationCommandOutput,
|
|
9
|
-
} from "./commands/CreateApiDestinationCommand";
|
|
10
|
-
import { CreateArchiveCommandInput, CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand";
|
|
11
|
-
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
12
|
-
import { CreateEventBusCommandInput, CreateEventBusCommandOutput } from "./commands/CreateEventBusCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreatePartnerEventSourceCommandInput,
|
|
15
|
-
CreatePartnerEventSourceCommandOutput,
|
|
16
|
-
} from "./commands/CreatePartnerEventSourceCommand";
|
|
17
|
-
import {
|
|
18
|
-
DeactivateEventSourceCommandInput,
|
|
19
|
-
DeactivateEventSourceCommandOutput,
|
|
20
|
-
} from "./commands/DeactivateEventSourceCommand";
|
|
21
|
-
import {
|
|
22
|
-
DeauthorizeConnectionCommandInput,
|
|
23
|
-
DeauthorizeConnectionCommandOutput,
|
|
24
|
-
} from "./commands/DeauthorizeConnectionCommand";
|
|
25
|
-
import {
|
|
26
|
-
DeleteApiDestinationCommandInput,
|
|
27
|
-
DeleteApiDestinationCommandOutput,
|
|
28
|
-
} from "./commands/DeleteApiDestinationCommand";
|
|
29
|
-
import { DeleteArchiveCommandInput, DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand";
|
|
30
|
-
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
31
|
-
import { DeleteEventBusCommandInput, DeleteEventBusCommandOutput } from "./commands/DeleteEventBusCommand";
|
|
32
|
-
import {
|
|
33
|
-
DeletePartnerEventSourceCommandInput,
|
|
34
|
-
DeletePartnerEventSourceCommandOutput,
|
|
35
|
-
} from "./commands/DeletePartnerEventSourceCommand";
|
|
36
|
-
import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
37
|
-
import {
|
|
38
|
-
DescribeApiDestinationCommandInput,
|
|
39
|
-
DescribeApiDestinationCommandOutput,
|
|
40
|
-
} from "./commands/DescribeApiDestinationCommand";
|
|
41
|
-
import { DescribeArchiveCommandInput, DescribeArchiveCommandOutput } from "./commands/DescribeArchiveCommand";
|
|
42
|
-
import { DescribeConnectionCommandInput, DescribeConnectionCommandOutput } from "./commands/DescribeConnectionCommand";
|
|
43
|
-
import { DescribeEventBusCommandInput, DescribeEventBusCommandOutput } from "./commands/DescribeEventBusCommand";
|
|
44
|
-
import {
|
|
45
|
-
DescribeEventSourceCommandInput,
|
|
46
|
-
DescribeEventSourceCommandOutput,
|
|
47
|
-
} from "./commands/DescribeEventSourceCommand";
|
|
48
|
-
import {
|
|
49
|
-
DescribePartnerEventSourceCommandInput,
|
|
50
|
-
DescribePartnerEventSourceCommandOutput,
|
|
51
|
-
} from "./commands/DescribePartnerEventSourceCommand";
|
|
52
|
-
import { DescribeReplayCommandInput, DescribeReplayCommandOutput } from "./commands/DescribeReplayCommand";
|
|
53
|
-
import { DescribeRuleCommandInput, DescribeRuleCommandOutput } from "./commands/DescribeRuleCommand";
|
|
54
|
-
import { DisableRuleCommandInput, DisableRuleCommandOutput } from "./commands/DisableRuleCommand";
|
|
55
|
-
import { EnableRuleCommandInput, EnableRuleCommandOutput } from "./commands/EnableRuleCommand";
|
|
56
|
-
import {
|
|
57
|
-
ListApiDestinationsCommandInput,
|
|
58
|
-
ListApiDestinationsCommandOutput,
|
|
59
|
-
} from "./commands/ListApiDestinationsCommand";
|
|
60
|
-
import { ListArchivesCommandInput, ListArchivesCommandOutput } from "./commands/ListArchivesCommand";
|
|
61
|
-
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
62
|
-
import { ListEventBusesCommandInput, ListEventBusesCommandOutput } from "./commands/ListEventBusesCommand";
|
|
63
|
-
import { ListEventSourcesCommandInput, ListEventSourcesCommandOutput } from "./commands/ListEventSourcesCommand";
|
|
64
|
-
import {
|
|
65
|
-
ListPartnerEventSourceAccountsCommandInput,
|
|
66
|
-
ListPartnerEventSourceAccountsCommandOutput,
|
|
67
|
-
} from "./commands/ListPartnerEventSourceAccountsCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListPartnerEventSourcesCommandInput,
|
|
70
|
-
ListPartnerEventSourcesCommandOutput,
|
|
71
|
-
} from "./commands/ListPartnerEventSourcesCommand";
|
|
72
|
-
import { ListReplaysCommandInput, ListReplaysCommandOutput } from "./commands/ListReplaysCommand";
|
|
73
|
-
import {
|
|
74
|
-
ListRuleNamesByTargetCommandInput,
|
|
75
|
-
ListRuleNamesByTargetCommandOutput,
|
|
76
|
-
} from "./commands/ListRuleNamesByTargetCommand";
|
|
77
|
-
import { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
|
|
78
|
-
import {
|
|
79
|
-
ListTagsForResourceCommandInput,
|
|
80
|
-
ListTagsForResourceCommandOutput,
|
|
81
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
82
|
-
import { ListTargetsByRuleCommandInput, ListTargetsByRuleCommandOutput } from "./commands/ListTargetsByRuleCommand";
|
|
83
|
-
import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEventsCommand";
|
|
84
|
-
import { PutPartnerEventsCommandInput, PutPartnerEventsCommandOutput } from "./commands/PutPartnerEventsCommand";
|
|
85
|
-
import { PutPermissionCommandInput, PutPermissionCommandOutput } from "./commands/PutPermissionCommand";
|
|
86
|
-
import { PutRuleCommandInput, PutRuleCommandOutput } from "./commands/PutRuleCommand";
|
|
87
|
-
import { PutTargetsCommandInput, PutTargetsCommandOutput } from "./commands/PutTargetsCommand";
|
|
88
|
-
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
89
|
-
import { RemoveTargetsCommandInput, RemoveTargetsCommandOutput } from "./commands/RemoveTargetsCommand";
|
|
90
|
-
import { StartReplayCommandInput, StartReplayCommandOutput } from "./commands/StartReplayCommand";
|
|
91
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
92
|
-
import { TestEventPatternCommandInput, TestEventPatternCommandOutput } from "./commands/TestEventPatternCommand";
|
|
93
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
94
|
-
import {
|
|
95
|
-
UpdateApiDestinationCommandInput,
|
|
96
|
-
UpdateApiDestinationCommandOutput,
|
|
97
|
-
} from "./commands/UpdateApiDestinationCommand";
|
|
98
|
-
import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
|
|
99
|
-
import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
|
|
100
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
101
|
-
import {
|
|
102
|
-
EndpointsInputConfig,
|
|
103
|
-
EndpointsResolvedConfig,
|
|
104
|
-
RegionInputConfig,
|
|
105
|
-
RegionResolvedConfig,
|
|
106
|
-
resolveEndpointsConfig,
|
|
107
|
-
resolveRegionConfig,
|
|
108
|
-
} from "@aws-sdk/config-resolver";
|
|
109
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
110
|
-
import {
|
|
111
|
-
HostHeaderInputConfig,
|
|
112
|
-
HostHeaderResolvedConfig,
|
|
113
|
-
getHostHeaderPlugin,
|
|
114
|
-
resolveHostHeaderConfig,
|
|
115
|
-
} from "@aws-sdk/middleware-host-header";
|
|
116
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
117
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
118
|
-
import {
|
|
119
|
-
AwsAuthInputConfig,
|
|
120
|
-
AwsAuthResolvedConfig,
|
|
121
|
-
getAwsAuthPlugin,
|
|
122
|
-
resolveAwsAuthConfig,
|
|
123
|
-
} from "@aws-sdk/middleware-signing";
|
|
124
|
-
import {
|
|
125
|
-
UserAgentInputConfig,
|
|
126
|
-
UserAgentResolvedConfig,
|
|
127
|
-
getUserAgentPlugin,
|
|
128
|
-
resolveUserAgentConfig,
|
|
129
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
130
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
131
|
-
import {
|
|
132
|
-
Client as __Client,
|
|
133
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
134
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
135
|
-
} from "@aws-sdk/smithy-client";
|
|
136
|
-
import {
|
|
137
|
-
Provider,
|
|
138
|
-
RegionInfoProvider,
|
|
139
|
-
Credentials as __Credentials,
|
|
140
|
-
Decoder as __Decoder,
|
|
141
|
-
Encoder as __Encoder,
|
|
142
|
-
Hash as __Hash,
|
|
143
|
-
HashConstructor as __HashConstructor,
|
|
144
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
145
|
-
Logger as __Logger,
|
|
146
|
-
Provider as __Provider,
|
|
147
|
-
StreamCollector as __StreamCollector,
|
|
148
|
-
UrlParser as __UrlParser,
|
|
149
|
-
UserAgent as __UserAgent,
|
|
150
|
-
} from "@aws-sdk/types";
|
|
151
|
-
|
|
152
|
-
export type ServiceInputTypes =
|
|
153
|
-
| ActivateEventSourceCommandInput
|
|
154
|
-
| CancelReplayCommandInput
|
|
155
|
-
| CreateApiDestinationCommandInput
|
|
156
|
-
| CreateArchiveCommandInput
|
|
157
|
-
| CreateConnectionCommandInput
|
|
158
|
-
| CreateEventBusCommandInput
|
|
159
|
-
| CreatePartnerEventSourceCommandInput
|
|
160
|
-
| DeactivateEventSourceCommandInput
|
|
161
|
-
| DeauthorizeConnectionCommandInput
|
|
162
|
-
| DeleteApiDestinationCommandInput
|
|
163
|
-
| DeleteArchiveCommandInput
|
|
164
|
-
| DeleteConnectionCommandInput
|
|
165
|
-
| DeleteEventBusCommandInput
|
|
166
|
-
| DeletePartnerEventSourceCommandInput
|
|
167
|
-
| DeleteRuleCommandInput
|
|
168
|
-
| DescribeApiDestinationCommandInput
|
|
169
|
-
| DescribeArchiveCommandInput
|
|
170
|
-
| DescribeConnectionCommandInput
|
|
171
|
-
| DescribeEventBusCommandInput
|
|
172
|
-
| DescribeEventSourceCommandInput
|
|
173
|
-
| DescribePartnerEventSourceCommandInput
|
|
174
|
-
| DescribeReplayCommandInput
|
|
175
|
-
| DescribeRuleCommandInput
|
|
176
|
-
| DisableRuleCommandInput
|
|
177
|
-
| EnableRuleCommandInput
|
|
178
|
-
| ListApiDestinationsCommandInput
|
|
179
|
-
| ListArchivesCommandInput
|
|
180
|
-
| ListConnectionsCommandInput
|
|
181
|
-
| ListEventBusesCommandInput
|
|
182
|
-
| ListEventSourcesCommandInput
|
|
183
|
-
| ListPartnerEventSourceAccountsCommandInput
|
|
184
|
-
| ListPartnerEventSourcesCommandInput
|
|
185
|
-
| ListReplaysCommandInput
|
|
186
|
-
| ListRuleNamesByTargetCommandInput
|
|
187
|
-
| ListRulesCommandInput
|
|
188
|
-
| ListTagsForResourceCommandInput
|
|
189
|
-
| ListTargetsByRuleCommandInput
|
|
190
|
-
| PutEventsCommandInput
|
|
191
|
-
| PutPartnerEventsCommandInput
|
|
192
|
-
| PutPermissionCommandInput
|
|
193
|
-
| PutRuleCommandInput
|
|
194
|
-
| PutTargetsCommandInput
|
|
195
|
-
| RemovePermissionCommandInput
|
|
196
|
-
| RemoveTargetsCommandInput
|
|
197
|
-
| StartReplayCommandInput
|
|
198
|
-
| TagResourceCommandInput
|
|
199
|
-
| TestEventPatternCommandInput
|
|
200
|
-
| UntagResourceCommandInput
|
|
201
|
-
| UpdateApiDestinationCommandInput
|
|
202
|
-
| UpdateArchiveCommandInput
|
|
203
|
-
| UpdateConnectionCommandInput;
|
|
204
|
-
|
|
205
|
-
export type ServiceOutputTypes =
|
|
206
|
-
| ActivateEventSourceCommandOutput
|
|
207
|
-
| CancelReplayCommandOutput
|
|
208
|
-
| CreateApiDestinationCommandOutput
|
|
209
|
-
| CreateArchiveCommandOutput
|
|
210
|
-
| CreateConnectionCommandOutput
|
|
211
|
-
| CreateEventBusCommandOutput
|
|
212
|
-
| CreatePartnerEventSourceCommandOutput
|
|
213
|
-
| DeactivateEventSourceCommandOutput
|
|
214
|
-
| DeauthorizeConnectionCommandOutput
|
|
215
|
-
| DeleteApiDestinationCommandOutput
|
|
216
|
-
| DeleteArchiveCommandOutput
|
|
217
|
-
| DeleteConnectionCommandOutput
|
|
218
|
-
| DeleteEventBusCommandOutput
|
|
219
|
-
| DeletePartnerEventSourceCommandOutput
|
|
220
|
-
| DeleteRuleCommandOutput
|
|
221
|
-
| DescribeApiDestinationCommandOutput
|
|
222
|
-
| DescribeArchiveCommandOutput
|
|
223
|
-
| DescribeConnectionCommandOutput
|
|
224
|
-
| DescribeEventBusCommandOutput
|
|
225
|
-
| DescribeEventSourceCommandOutput
|
|
226
|
-
| DescribePartnerEventSourceCommandOutput
|
|
227
|
-
| DescribeReplayCommandOutput
|
|
228
|
-
| DescribeRuleCommandOutput
|
|
229
|
-
| DisableRuleCommandOutput
|
|
230
|
-
| EnableRuleCommandOutput
|
|
231
|
-
| ListApiDestinationsCommandOutput
|
|
232
|
-
| ListArchivesCommandOutput
|
|
233
|
-
| ListConnectionsCommandOutput
|
|
234
|
-
| ListEventBusesCommandOutput
|
|
235
|
-
| ListEventSourcesCommandOutput
|
|
236
|
-
| ListPartnerEventSourceAccountsCommandOutput
|
|
237
|
-
| ListPartnerEventSourcesCommandOutput
|
|
238
|
-
| ListReplaysCommandOutput
|
|
239
|
-
| ListRuleNamesByTargetCommandOutput
|
|
240
|
-
| ListRulesCommandOutput
|
|
241
|
-
| ListTagsForResourceCommandOutput
|
|
242
|
-
| ListTargetsByRuleCommandOutput
|
|
243
|
-
| PutEventsCommandOutput
|
|
244
|
-
| PutPartnerEventsCommandOutput
|
|
245
|
-
| PutPermissionCommandOutput
|
|
246
|
-
| PutRuleCommandOutput
|
|
247
|
-
| PutTargetsCommandOutput
|
|
248
|
-
| RemovePermissionCommandOutput
|
|
249
|
-
| RemoveTargetsCommandOutput
|
|
250
|
-
| StartReplayCommandOutput
|
|
251
|
-
| TagResourceCommandOutput
|
|
252
|
-
| TestEventPatternCommandOutput
|
|
253
|
-
| UntagResourceCommandOutput
|
|
254
|
-
| UpdateApiDestinationCommandOutput
|
|
255
|
-
| UpdateArchiveCommandOutput
|
|
256
|
-
| UpdateConnectionCommandOutput;
|
|
257
|
-
|
|
258
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
259
|
-
/**
|
|
260
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
261
|
-
*/
|
|
262
|
-
requestHandler?: __HttpHandler;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
266
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
sha256?: __HashConstructor;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
273
|
-
* @internal
|
|
274
|
-
*/
|
|
275
|
-
urlParser?: __UrlParser;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* A function that can calculate the length of a request body.
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* A function that converts a stream into an array of bytes.
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
streamCollector?: __StreamCollector;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
291
|
-
* @internal
|
|
292
|
-
*/
|
|
293
|
-
base64Decoder?: __Decoder;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
base64Encoder?: __Encoder;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
utf8Decoder?: __Decoder;
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
utf8Encoder?: __Encoder;
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* The runtime environment.
|
|
315
|
-
* @internal
|
|
316
|
-
*/
|
|
317
|
-
runtime?: string;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
321
|
-
* trait of an operation.
|
|
322
|
-
*/
|
|
323
|
-
disableHostPrefix?: boolean;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
327
|
-
*/
|
|
328
|
-
maxAttempts?: number | __Provider<number>;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Specifies which retry algorithm to use.
|
|
332
|
-
*/
|
|
333
|
-
retryMode?: string | __Provider<string>;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Optional logger for logging debug/info/warn/error.
|
|
337
|
-
*/
|
|
338
|
-
logger?: __Logger;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Unique service identifier.
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
344
|
-
serviceId?: string;
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* The AWS region to which this client will send requests
|
|
348
|
-
*/
|
|
349
|
-
region?: string | __Provider<string>;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Default credentials provider; Not available in browser runtime.
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
359
|
-
* @internal
|
|
360
|
-
*/
|
|
361
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
365
|
-
* @internal
|
|
366
|
-
*/
|
|
367
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
type CloudWatchEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
371
|
-
ClientDefaults &
|
|
372
|
-
RegionInputConfig &
|
|
373
|
-
EndpointsInputConfig &
|
|
374
|
-
RetryInputConfig &
|
|
375
|
-
HostHeaderInputConfig &
|
|
376
|
-
AwsAuthInputConfig &
|
|
377
|
-
UserAgentInputConfig;
|
|
378
|
-
/**
|
|
379
|
-
* The configuration interface of CloudWatchEventsClient class constructor that set the region, credentials and other options.
|
|
380
|
-
*/
|
|
381
|
-
export interface CloudWatchEventsClientConfig extends CloudWatchEventsClientConfigType {}
|
|
382
|
-
|
|
383
|
-
type CloudWatchEventsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
384
|
-
Required<ClientDefaults> &
|
|
385
|
-
RegionResolvedConfig &
|
|
386
|
-
EndpointsResolvedConfig &
|
|
387
|
-
RetryResolvedConfig &
|
|
388
|
-
HostHeaderResolvedConfig &
|
|
389
|
-
AwsAuthResolvedConfig &
|
|
390
|
-
UserAgentResolvedConfig;
|
|
391
|
-
/**
|
|
392
|
-
* The resolved configuration interface of CloudWatchEventsClient class. This is resolved and normalized from the {@link CloudWatchEventsClientConfig | constructor configuration interface}.
|
|
393
|
-
*/
|
|
394
|
-
export interface CloudWatchEventsClientResolvedConfig extends CloudWatchEventsClientResolvedConfigType {}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* <p>Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your
|
|
398
|
-
* resources change state, they automatically send events to an event stream. You can create
|
|
399
|
-
* rules that match selected events in the stream and route them to targets to take action. You
|
|
400
|
-
* can also use rules to take action on a predetermined schedule. For example, you can configure
|
|
401
|
-
* rules to:</p>
|
|
402
|
-
* <ul>
|
|
403
|
-
* <li>
|
|
404
|
-
* <p>Automatically invoke an Lambda function to update DNS entries when an event
|
|
405
|
-
* notifies you that Amazon EC2 instance enters the running state.</p>
|
|
406
|
-
* </li>
|
|
407
|
-
* <li>
|
|
408
|
-
* <p>Direct specific API records from CloudTrail to an Amazon Kinesis data stream for
|
|
409
|
-
* detailed analysis of potential security or availability risks.</p>
|
|
410
|
-
* </li>
|
|
411
|
-
* <li>
|
|
412
|
-
* <p>Periodically invoke a built-in target to create a snapshot of an Amazon EBS
|
|
413
|
-
* volume.</p>
|
|
414
|
-
* </li>
|
|
415
|
-
* </ul>
|
|
416
|
-
* <p>For more information about the features of Amazon EventBridge, see the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide">Amazon EventBridge User
|
|
417
|
-
* Guide</a>.</p>
|
|
418
|
-
*/
|
|
419
|
-
export class CloudWatchEventsClient extends __Client<
|
|
420
|
-
__HttpHandlerOptions,
|
|
421
|
-
ServiceInputTypes,
|
|
422
|
-
ServiceOutputTypes,
|
|
423
|
-
CloudWatchEventsClientResolvedConfig
|
|
424
|
-
> {
|
|
425
|
-
/**
|
|
426
|
-
* The resolved configuration of CloudWatchEventsClient class. This is resolved and normalized from the {@link CloudWatchEventsClientConfig | constructor configuration interface}.
|
|
427
|
-
*/
|
|
428
|
-
readonly config: CloudWatchEventsClientResolvedConfig;
|
|
429
|
-
|
|
430
|
-
constructor(configuration: CloudWatchEventsClientConfig) {
|
|
431
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
432
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
433
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
434
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
435
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
436
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
437
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
438
|
-
super(_config_6);
|
|
439
|
-
this.config = _config_6;
|
|
440
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
441
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
442
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
443
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
444
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
445
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
450
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
451
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
452
|
-
*/
|
|
453
|
-
destroy(): void {
|
|
454
|
-
super.destroy();
|
|
455
|
-
}
|
|
456
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { ActivateEventSourceRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ActivateEventSourceCommand,
|
|
5
|
-
serializeAws_json1_1ActivateEventSourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ActivateEventSourceCommandInput extends ActivateEventSourceRequest {}
|
|
21
|
-
export interface ActivateEventSourceCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Activates a partner event source that has been deactivated. Once activated, your matching
|
|
25
|
-
* event bus will start receiving events from the event source.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudWatchEventsClient, ActivateEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
30
|
-
* // const { CloudWatchEventsClient, ActivateEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
31
|
-
* const client = new CloudWatchEventsClient(config);
|
|
32
|
-
* const command = new ActivateEventSourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ActivateEventSourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ActivateEventSourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ActivateEventSourceCommand extends $Command<
|
|
42
|
-
ActivateEventSourceCommandInput,
|
|
43
|
-
ActivateEventSourceCommandOutput,
|
|
44
|
-
CloudWatchEventsClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ActivateEventSourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CloudWatchEventsClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CloudWatchEventsClient";
|
|
69
|
-
const commandName = "ActivateEventSourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ActivateEventSourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ActivateEventSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ActivateEventSourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ActivateEventSourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ActivateEventSourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { CancelReplayRequest, CancelReplayResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CancelReplayCommand,
|
|
5
|
-
serializeAws_json1_1CancelReplayCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CancelReplayCommandInput extends CancelReplayRequest {}
|
|
21
|
-
export interface CancelReplayCommandOutput extends CancelReplayResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Cancels the specified replay.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudWatchEventsClient, CancelReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
29
|
-
* // const { CloudWatchEventsClient, CancelReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
30
|
-
* const client = new CloudWatchEventsClient(config);
|
|
31
|
-
* const command = new CancelReplayCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CancelReplayCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CancelReplayCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CancelReplayCommand extends $Command<
|
|
41
|
-
CancelReplayCommandInput,
|
|
42
|
-
CancelReplayCommandOutput,
|
|
43
|
-
CloudWatchEventsClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CancelReplayCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CloudWatchEventsClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CancelReplayCommandInput, CancelReplayCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CloudWatchEventsClient";
|
|
68
|
-
const commandName = "CancelReplayCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CancelReplayRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CancelReplayResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CancelReplayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CancelReplayCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelReplayCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1CancelReplayCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|