-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.
Description
I'm studying this CLI, and has a part that simply doesn't work.
Looking into --generate-cli-skeleton I should be able to use nextToken.
aws codecommit list-branches --generate-cli-skeleton
{
"repositoryName": "",
"nextToken": ""
}
So I retrieve a next-token limiting the output.
aws codecommit list-branches --repository-name study-101.01 --max-items 2 --region us-east-1 master
{
"NextToken": "eyJuZXh0VG9rZW4iOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ==",
"branches": [
"master",
"cli-dev-json"
]
}
And try to use into the --cli-input-json and the output is not limited.
aws codecommit list-branches --cli-input-json '{"repositoryName":"study-101.01","nextToken":"eyJuZXh0VG9rZW4iOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="}' --region us-east-1 master
{
"branches": [
"master",
"cli-dev-json",
"dev",
"cli-dev"
]
}
Metadata
Metadata
Assignees
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.