(apiName string, initialDeploymentTime int64)
| 73 | } |
| 74 | |
| 75 | func getQueueURL(apiName string, initialDeploymentTime int64) (string, error) { |
| 76 | operatorAccountID, _, err := config.AWS.GetCachedAccountID() |
| 77 | if err != nil { |
| 78 | return "", errors.Wrap(err, "failed to construct queue url", "unable to get account id") |
| 79 | } |
| 80 | |
| 81 | return fmt.Sprintf( |
| 82 | "https://sqs.%s.amazonaws.com/%s/%s", |
| 83 | config.AWS.Region, operatorAccountID, apiQueueName(apiName, initialDeploymentTime), |
| 84 | ), nil |
| 85 | } |
no test coverage detected