(queueURL string)
| 62 | } |
| 63 | |
| 64 | func deleteQueueByURL(queueURL string) error { |
| 65 | _, err := config.AWS.SQS().DeleteQueue(&sqs.DeleteQueueInput{ |
| 66 | QueueUrl: aws.String(queueURL), |
| 67 | }) |
| 68 | if err != nil { |
| 69 | return errors.Wrap(err, "failed to delete queue", queueURL) |
| 70 | } |
| 71 | |
| 72 | return err |
| 73 | } |
| 74 | |
| 75 | func getQueueURL(apiName string, initialDeploymentTime int64) (string, error) { |
| 76 | operatorAccountID, _, err := config.AWS.GetCachedAccountID() |