@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,94 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeApiDestinationRequest, DescribeApiDestinationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeApiDestinationCommand,
|
|
5
|
-
serializeAws_json1_1DescribeApiDestinationCommand,
|
|
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 DescribeApiDestinationCommandInput extends DescribeApiDestinationRequest {}
|
|
21
|
-
export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves details about an API destination.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudWatchEventsClient, DescribeApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
29
|
-
* // const { CloudWatchEventsClient, DescribeApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
30
|
-
* const client = new CloudWatchEventsClient(config);
|
|
31
|
-
* const command = new DescribeApiDestinationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeApiDestinationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeApiDestinationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeApiDestinationCommand extends $Command<
|
|
41
|
-
DescribeApiDestinationCommandInput,
|
|
42
|
-
DescribeApiDestinationCommandOutput,
|
|
43
|
-
CloudWatchEventsClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeApiDestinationCommandInput) {
|
|
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<DescribeApiDestinationCommandInput, DescribeApiDestinationCommandOutput> {
|
|
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 = "DescribeApiDestinationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeApiDestinationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeApiDestinationResponse.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: DescribeApiDestinationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DescribeApiDestinationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeApiDestinationCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DescribeApiDestinationCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeArchiveRequest, DescribeArchiveResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeArchiveCommand,
|
|
5
|
-
serializeAws_json1_1DescribeArchiveCommand,
|
|
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 DescribeArchiveCommandInput extends DescribeArchiveRequest {}
|
|
21
|
-
export interface DescribeArchiveCommandOutput extends DescribeArchiveResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves details about an archive.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudWatchEventsClient, DescribeArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
29
|
-
* // const { CloudWatchEventsClient, DescribeArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
30
|
-
* const client = new CloudWatchEventsClient(config);
|
|
31
|
-
* const command = new DescribeArchiveCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeArchiveCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeArchiveCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeArchiveCommand extends $Command<
|
|
41
|
-
DescribeArchiveCommandInput,
|
|
42
|
-
DescribeArchiveCommandOutput,
|
|
43
|
-
CloudWatchEventsClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeArchiveCommandInput) {
|
|
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<DescribeArchiveCommandInput, DescribeArchiveCommandOutput> {
|
|
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 = "DescribeArchiveCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeArchiveRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeArchiveResponse.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: DescribeArchiveCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DescribeArchiveCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeArchiveCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DescribeArchiveCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeConnectionRequest, DescribeConnectionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeConnectionCommand,
|
|
5
|
-
serializeAws_json1_1DescribeConnectionCommand,
|
|
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 DescribeConnectionCommandInput extends DescribeConnectionRequest {}
|
|
21
|
-
export interface DescribeConnectionCommandOutput extends DescribeConnectionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves details about a connection.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CloudWatchEventsClient, DescribeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
29
|
-
* // const { CloudWatchEventsClient, DescribeConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
30
|
-
* const client = new CloudWatchEventsClient(config);
|
|
31
|
-
* const command = new DescribeConnectionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DescribeConnectionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DescribeConnectionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DescribeConnectionCommand extends $Command<
|
|
41
|
-
DescribeConnectionCommandInput,
|
|
42
|
-
DescribeConnectionCommandOutput,
|
|
43
|
-
CloudWatchEventsClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DescribeConnectionCommandInput) {
|
|
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<DescribeConnectionCommandInput, DescribeConnectionCommandOutput> {
|
|
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 = "DescribeConnectionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DescribeConnectionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DescribeConnectionResponse.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: DescribeConnectionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DescribeConnectionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeConnectionCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DescribeConnectionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeEventBusRequest, DescribeEventBusResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeEventBusCommand,
|
|
5
|
-
serializeAws_json1_1DescribeEventBusCommand,
|
|
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 DescribeEventBusCommandInput extends DescribeEventBusRequest {}
|
|
21
|
-
export interface DescribeEventBusCommandOutput extends DescribeEventBusResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Displays details about an event bus in your account. This can include the external Amazon Web Services
|
|
25
|
-
* accounts that are permitted to write events to your default event bus, and the associated
|
|
26
|
-
* policy. For custom event buses and partner event buses, it displays the name, ARN, policy,
|
|
27
|
-
* state, and creation time.</p>
|
|
28
|
-
* <p> To enable your account to receive events from other accounts on its default event bus,
|
|
29
|
-
* use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html">PutPermission</a>.</p>
|
|
30
|
-
* <p>For more information about partner event buses, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html">CreateEventBus</a>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CloudWatchEventsClient, DescribeEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
35
|
-
* // const { CloudWatchEventsClient, DescribeEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
36
|
-
* const client = new CloudWatchEventsClient(config);
|
|
37
|
-
* const command = new DescribeEventBusCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DescribeEventBusCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DescribeEventBusCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DescribeEventBusCommand extends $Command<
|
|
47
|
-
DescribeEventBusCommandInput,
|
|
48
|
-
DescribeEventBusCommandOutput,
|
|
49
|
-
CloudWatchEventsClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DescribeEventBusCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: CloudWatchEventsClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DescribeEventBusCommandInput, DescribeEventBusCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "CloudWatchEventsClient";
|
|
74
|
-
const commandName = "DescribeEventBusCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DescribeEventBusRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DescribeEventBusResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: DescribeEventBusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1DescribeEventBusCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEventBusCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DescribeEventBusCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeEventSourceRequest, DescribeEventSourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeEventSourceCommand,
|
|
5
|
-
serializeAws_json1_1DescribeEventSourceCommand,
|
|
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 DescribeEventSourceCommandInput extends DescribeEventSourceRequest {}
|
|
21
|
-
export interface DescribeEventSourceCommandOutput extends DescribeEventSourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation lists details about a partner event source that is shared with your
|
|
25
|
-
* account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudWatchEventsClient, DescribeEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
30
|
-
* // const { CloudWatchEventsClient, DescribeEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
31
|
-
* const client = new CloudWatchEventsClient(config);
|
|
32
|
-
* const command = new DescribeEventSourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeEventSourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeEventSourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeEventSourceCommand extends $Command<
|
|
42
|
-
DescribeEventSourceCommandInput,
|
|
43
|
-
DescribeEventSourceCommandOutput,
|
|
44
|
-
CloudWatchEventsClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeEventSourceCommandInput) {
|
|
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<DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput> {
|
|
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 = "DescribeEventSourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeEventSourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeEventSourceResponse.filterSensitiveLog,
|
|
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: DescribeEventSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeEventSourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEventSourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeEventSourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribePartnerEventSourceRequest, DescribePartnerEventSourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribePartnerEventSourceCommand,
|
|
5
|
-
serializeAws_json1_1DescribePartnerEventSourceCommand,
|
|
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 DescribePartnerEventSourceCommandInput extends DescribePartnerEventSourceRequest {}
|
|
21
|
-
export interface DescribePartnerEventSourceCommandOutput extends DescribePartnerEventSourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>An SaaS partner can use this operation to list details about a partner event source that
|
|
25
|
-
* they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventSource.html">DescribeEventSource</a>
|
|
26
|
-
* to see details about a partner event source that is
|
|
27
|
-
* shared with them.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CloudWatchEventsClient, DescribePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
32
|
-
* // const { CloudWatchEventsClient, DescribePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
33
|
-
* const client = new CloudWatchEventsClient(config);
|
|
34
|
-
* const command = new DescribePartnerEventSourceCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribePartnerEventSourceCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribePartnerEventSourceCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribePartnerEventSourceCommand extends $Command<
|
|
44
|
-
DescribePartnerEventSourceCommandInput,
|
|
45
|
-
DescribePartnerEventSourceCommandOutput,
|
|
46
|
-
CloudWatchEventsClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribePartnerEventSourceCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CloudWatchEventsClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribePartnerEventSourceCommandInput, DescribePartnerEventSourceCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CloudWatchEventsClient";
|
|
71
|
-
const commandName = "DescribePartnerEventSourceCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribePartnerEventSourceRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribePartnerEventSourceResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DescribePartnerEventSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DescribePartnerEventSourceCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<DescribePartnerEventSourceCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DescribePartnerEventSourceCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
|
|
2
|
-
import { DescribeReplayRequest, DescribeReplayResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DescribeReplayCommand,
|
|
5
|
-
serializeAws_json1_1DescribeReplayCommand,
|
|
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 DescribeReplayCommandInput extends DescribeReplayRequest {}
|
|
21
|
-
export interface DescribeReplayCommandOutput extends DescribeReplayResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves details about a replay. Use <code>DescribeReplay</code> to determine the
|
|
25
|
-
* progress of a running replay. A replay processes events to replay based on the time in the
|
|
26
|
-
* event, and replays them using 1 minute intervals. If you use <code>StartReplay</code> and
|
|
27
|
-
* specify an <code>EventStartTime</code> and an <code>EventEndTime</code> that covers a 20
|
|
28
|
-
* minute time range, the events are replayed from the first minute of that 20 minute range
|
|
29
|
-
* first. Then the events from the second minute are replayed. You can use
|
|
30
|
-
* <code>DescribeReplay</code> to determine the progress of a replay. The value returned for
|
|
31
|
-
* <code>EventLastReplayedTime</code> indicates the time within the specified time range
|
|
32
|
-
* associated with the last event replayed.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { CloudWatchEventsClient, DescribeReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
|
|
37
|
-
* // const { CloudWatchEventsClient, DescribeReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
|
|
38
|
-
* const client = new CloudWatchEventsClient(config);
|
|
39
|
-
* const command = new DescribeReplayCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DescribeReplayCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DescribeReplayCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link CloudWatchEventsClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class DescribeReplayCommand extends $Command<
|
|
49
|
-
DescribeReplayCommandInput,
|
|
50
|
-
DescribeReplayCommandOutput,
|
|
51
|
-
CloudWatchEventsClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: DescribeReplayCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: CloudWatchEventsClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<DescribeReplayCommandInput, DescribeReplayCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CloudWatchEventsClient";
|
|
76
|
-
const commandName = "DescribeReplayCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: DescribeReplayRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: DescribeReplayResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: DescribeReplayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1DescribeReplayCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeReplayCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1DescribeReplayCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|