Install-Module -Name AWSPowerShell.NetCore -Force
Install-Module -Name Amazon.EventBridge.Tools -Force
Import-Module AWSPowerShell.NetCore
Import-Module Amazon.EventBridge.Tools
using Amazon;
using Amazon.CloudWatch;
using Amazon.CloudWatchLogs;
using Amazon.EventBridge;
using Amazon.Runtime;
using Amazon.SecurityToken;
using Amazon.SimpleNotificationService;
using Amazon.SQS;
确保代码中有以上正确的命名空间。