Documentation ¶
Overview ¶
Package sqs implements the 'aws sqs' sub-command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AwsSqsEndpoint custom endpoint. AwsSqsEndpoint string // AwsCloudWatchEndpoint custom endpoint. AwsCloudWatchEndpoint string // AwsSQSQueuePrefix sqs queue prefix. AwsSQSQueuePrefix string // UnusedSince get list since xx. UnusedSince string // CheckTagNameUpdateDate is name for skip delete queue. CheckTagNameUpdateDate string )
View Source
var ( // Command performs the "list clusters" function. Command = &cobra.Command{ Use: "sqs", Aliases: []string{"sqs"}, Short: "AWS SQS", Long: `This command will identify the queues to be cleaned.`, PreRun: validation, Run: printResult, } )
Functions ¶
func GetSQSMetricDataInput ¶
func GetSQSMetricDataInput(start *time.Time, end *time.Time, queueURL *string) *cloudwatch.GetMetricDataInput
Types ¶
type AWSClients ¶ added in v1.6.0
type AWSClients struct { CloudWatch *cloudwatch.CloudWatch SQS *sqs.SQS }
func NewAWSClients ¶ added in v1.6.0
func NewAWSClients() *AWSClients
func (*AWSClients) AwsSQSDelete ¶ added in v1.6.0
func (c *AWSClients) AwsSQSDelete(queues map[string]string) map[string][]string
func (*AWSClients) GetCloudWatchMetrics ¶ added in v1.6.0
func (*AWSClients) IsDeadLetterQueue ¶ added in v1.6.0
func (c *AWSClients) IsDeadLetterQueue(queueURL *string) (bool, []string, error)
Click to show internal directories.
Click to hide internal directories.