aws / aws/aws-cli

Mturk create-qualification-type [--test <value>] format

Open
#5,259 1 comment 0 reactions 0 assignees View on GitHub
documentation feature-request mturk p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 7h
Merged PRs (30d)
21

Description

Confirm by changing [ ] to [x] below:
- [x] I've gone though the [User Guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) and the [API reference](https://docs.aws.amazon.com/cli/latest/reference/)
- [x] I've searched for [previous similar issues](https://github.com/aws/aws-cli/issues) and didn't find any solution

Issue is about usage on:
- [ ] Service API : I want to do X using Y service, what should I do?
- [x] CLI : passing arguments or cli configurations.
- [ ] Other/Not sure.

**Platform/OS/Hardware/Device**
What are you running the cli on?
- macOS Catalina 10.15.5
- aws-cli/2.0.16 Python/3.7.3 Linux/4.19.76-linuxkit botocore/2.0.0dev20

**Describe the question**

Using the requester sandbox `--endpoint-url https://mturk-requester-sandbox.us-east-1.amazonaws.com` I would like to create a qualification type with a test and answer key.

According to the documentation I can use 2 optional options `[--test ] and [--answer-key ]` (while not forgetting `--test-duration-in-seconds `).

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mturk/create-qualification-type.html

Using Qualification test and answer key require particular structures defined here:

https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_QuestionFormDataStructureArticle.html

https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_AnswerKeyDataStructureArticle.html

Is it possible to have an example how do you pass the content to the `aws mturk create-qualification-type ...` options:
- `--test `
- `--answer-key `

Thxs

Contributor guide

Open the contributing guide

Research direction

Start with the AWS CLI create-qualification-type reference and the linked QuestionFormData and AnswerKeyData structure documentation. Verify how the --test and --answer-key values are passed, then document complete command examples that work with the requester sandbox endpoint and include the required test duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, cli
Domain
cli, cloud
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.