Command option Sample:aws codecommit put-file

Search command sample in the internet.It is the result.

Adds or updates a file in an AWS CodeCommit repository.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/codecommit/put-file.html

aws codecommit put-file --repository-name cloudonaut --branch-name master --file-content file://infrastructure.yaml --file-path infrastructure.yaml --query commitId --output text)
    Configure your CloudFormation managed infrastructure with Parameter Store and CodePipeline | cloudonaut : http://cloudonaut.io/configure-your-cloudformation-managed-infrastructure-with-parameter-store-and-codepipeline/
aws codecommit put-file --repository-name MyDemoRepo --branch-name feature-randomizationfeature --file-content file://MyDirectory/ExampleSolution.py --file-path /solutions/ExampleSolution.py --parent-commit-id 4c925148EXAMPLE --name "Maria Garcia" --email "maria_garcia
    put-file — AWS CLI 1.16.4 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/codecommit/put-file.html

aws のオプション一覧