- Newest
- Most votes
- Most comments
Your syntax isn't quite right - you need to have literally --instance-id
followed by the value:
aws connect list-routing-profiles --instance-id 0****-5**-4**-b**-6**
It feels like you're close, but let's take a step back. First, make sure you can login via the CLI. If you can't do this then nothing else will matter. To validate you logged in run the following command:
aws connect list-instances
Confirm you see the instance you want to get get routing profiles from. Then run:
aws connect list-routing-profiles --instance-id your-instance-id-from-above-here
Additionally you want to wrap the line above you can do this.
aws connect list-routing-profiles \ --instance-id your-instance-id-from-above-here
david
Hello David,
Thank you for your reply. I was able to confirm the instance is connected. But the commands do not complete when inputting my instance id as shown below.
[cloudshell-user@ip]$ aws connect list-instances { "InstanceSummaryList": [ { "Id": "0*******-5***-4***-b***-6***********", "Arn": "arn:aws:connect:us-west-2:3***********:instance/0*******-5***-4***-b***-6***********", "IdentityManagementType": "SAML", "InstanceAlias": "itdcontact", "CreatedTime": "2024-02-02T16:46:49+00:00", "ServiceRole": "arn:aws:iam::3***********:role/aws-service-role/connect.amazonaws.com/AWSServiceRoleForAmazonConnect_FEKW7Fpf6aKaBuOOmY7C", "InstanceStatus": "ACTIVE", "InboundCallsEnabled": true, "OutboundCallsEnabled": true, "InstanceAccessUrl": "https://.my.connect.aws" } ] } [cloudshell-user@ip]$ aws connect list-routing-profiles --0******-5***-4***-b***-6***********
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] To see help text, you can run:
aws help aws <command> help aws <command> <subcommand> help
aws: error: the following arguments are required: --instance-id
Yep, you are missing --instance-id and you will be set.
Relevant content
- asked a year ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 21 days ago
I tried every combination except that. HA! I appreciate the example! Up and running!