Update vendored deps, including AWS SDK, openpgp, ftp, ...

This commit is contained in:
Andrey Smirnov
2018-04-05 17:46:45 +03:00
parent cef4fefc40
commit 0e6ee35942
1497 changed files with 450721 additions and 68034 deletions
@@ -7,6 +7,7 @@
"protocol":"json",
"serviceAbbreviation":"Amazon MTurk",
"serviceFullName":"Amazon Mechanical Turk",
"serviceId":"MTurk",
"signatureVersion":"v4",
"targetPrefix":"MTurkRequesterServiceV20170117",
"uid":"mturk-requester-2017-01-17"
@@ -629,7 +630,7 @@
"type":"structure",
"members":{
"WorkerId":{"shape":"CustomerId"},
"BonusAmount":{"shape":"NumericValue"},
"BonusAmount":{"shape":"CurrencyAmount"},
"AssignmentId":{"shape":"EntityId"},
"Reason":{"shape":"String"},
"GrantTime":{"shape":"Timestamp"}
@@ -662,7 +663,10 @@
},
"CreateAdditionalAssignmentsForHITRequest":{
"type":"structure",
"required":["HITId"],
"required":[
"HITId",
"NumberOfAdditionalAssignments"
],
"members":{
"HITId":{"shape":"EntityId"},
"NumberOfAdditionalAssignments":{"shape":"Integer"},
@@ -688,7 +692,7 @@
"AutoApprovalDelayInSeconds":{"shape":"Long"},
"LifetimeInSeconds":{"shape":"Long"},
"AssignmentDurationInSeconds":{"shape":"Long"},
"Reward":{"shape":"NumericValue"},
"Reward":{"shape":"CurrencyAmount"},
"Title":{"shape":"String"},
"Keywords":{"shape":"String"},
"Description":{"shape":"String"},
@@ -719,7 +723,7 @@
"members":{
"AutoApprovalDelayInSeconds":{"shape":"Long"},
"AssignmentDurationInSeconds":{"shape":"Long"},
"Reward":{"shape":"NumericValue"},
"Reward":{"shape":"CurrencyAmount"},
"Title":{"shape":"String"},
"Keywords":{"shape":"String"},
"Description":{"shape":"String"},
@@ -799,6 +803,10 @@
"members":{
}
},
"CurrencyAmount":{
"type":"string",
"pattern":"^[0-9]+(\\.)?[0-9]{0,2}$"
},
"CustomerId":{
"type":"string",
"max":64,
@@ -899,8 +907,8 @@
"GetAccountBalanceResponse":{
"type":"structure",
"members":{
"AvailableBalance":{"shape":"NumericValue"},
"OnHoldBalance":{"shape":"NumericValue"}
"AvailableBalance":{"shape":"CurrencyAmount"},
"OnHoldBalance":{"shape":"CurrencyAmount"}
}
},
"GetAssignmentRequest":{
@@ -991,7 +999,7 @@
"Keywords":{"shape":"String"},
"HITStatus":{"shape":"HITStatus"},
"MaxAssignments":{"shape":"Integer"},
"Reward":{"shape":"NumericValue"},
"Reward":{"shape":"CurrencyAmount"},
"AutoApprovalDelayInSeconds":{"shape":"Long"},
"Expiration":{"shape":"Timestamp"},
"AssignmentDurationInSeconds":{"shape":"Long"},
@@ -1003,8 +1011,20 @@
"NumberOfAssignmentsCompleted":{"shape":"Integer"}
}
},
"HITAccessActions":{
"type":"string",
"enum":[
"Accept",
"PreviewAndAccept",
"DiscoverPreviewAndAccept"
]
},
"HITLayoutParameter":{
"type":"structure",
"required":[
"Name",
"Value"
],
"members":{
"Name":{"shape":"String"},
"Value":{"shape":"String"}
@@ -1239,7 +1259,9 @@
"type":"structure",
"required":[
"Destination",
"Transport"
"Transport",
"Version",
"EventTypes"
],
"members":{
"Destination":{"shape":"String"},
@@ -1252,7 +1274,8 @@
"type":"string",
"enum":[
"Email",
"SQS"
"SQS",
"SNS"
]
},
"NotifyWorkersFailureCode":{
@@ -1293,10 +1316,6 @@
"NotifyWorkersFailureStatuses":{"shape":"NotifyWorkersFailureStatusList"}
}
},
"NumericValue":{
"type":"string",
"pattern":"^[0-9]+(\\.)?[0-9]*$"
},
"PaginationToken":{
"type":"string",
"max":255,
@@ -1366,7 +1385,11 @@
"Comparator":{"shape":"Comparator"},
"IntegerValues":{"shape":"IntegerList"},
"LocaleValues":{"shape":"LocaleList"},
"RequiredToPreview":{"shape":"Boolean"}
"RequiredToPreview":{
"shape":"Boolean",
"deprecated":true
},
"ActionsGuarded":{"shape":"HITAccessActions"}
}
},
"QualificationRequirementList":{
@@ -1411,7 +1434,10 @@
},
"RejectAssignmentRequest":{
"type":"structure",
"required":["AssignmentId"],
"required":[
"AssignmentId",
"RequesterFeedback"
],
"members":{
"AssignmentId":{"shape":"EntityId"},
"RequesterFeedback":{"shape":"String"}
@@ -1476,6 +1502,7 @@
},
"ReviewPolicy":{
"type":"structure",
"required":["PolicyName"],
"members":{
"PolicyName":{"shape":"String"},
"Parameters":{"shape":"PolicyParameterList"}
@@ -1526,11 +1553,12 @@
"required":[
"WorkerId",
"BonusAmount",
"AssignmentId"
"AssignmentId",
"Reason"
],
"members":{
"WorkerId":{"shape":"CustomerId"},
"BonusAmount":{"shape":"NumericValue"},
"BonusAmount":{"shape":"CurrencyAmount"},
"AssignmentId":{"shape":"EntityId"},
"Reason":{"shape":"String"},
"UniqueRequestToken":{"shape":"IdempotencyToken"}
@@ -1575,7 +1603,10 @@
"TurkErrorCode":{"type":"string"},
"UpdateExpirationForHITRequest":{
"type":"structure",
"required":["HITId"],
"required":[
"HITId",
"ExpireAt"
],
"members":{
"HITId":{"shape":"EntityId"},
"ExpireAt":{"shape":"Timestamp"}
@@ -17,7 +17,7 @@
"DisassociateQualificationFromWorker": "<p> The <code>DisassociateQualificationFromWorker</code> revokes a previously granted Qualification from a user. </p> <p> You can provide a text message explaining why the Qualification was revoked. The user who had the Qualification can see this message. </p>",
"GetAccountBalance": "<p>The <code>GetAccountBalance</code> operation retrieves the amount of money in your Amazon Mechanical Turk account.</p>",
"GetAssignment": "<p> The <code>GetAssignment</code> operation retrieves the details of the specified Assignment. </p>",
"GetFileUploadURL": "<p> The <code>GetFileUploadURL</code> operation generates and returns a temporary URL. You use the temporary URL to retrieve a file uploaded by a Worker as an answer to a FileUploadAnswer question for a HIT. The temporary URL is generated the instant the GetFileUploadURL operation is called, and is valid for 60 seconds. You can get a temporary file upload URL any time until the HIT is disposed. After the HIT is disposed, any uploaded files are deleted, and cannot be retrieved. </p>",
"GetFileUploadURL": "<p> The <code>GetFileUploadURL</code> operation generates and returns a temporary URL. You use the temporary URL to retrieve a file uploaded by a Worker as an answer to a FileUploadAnswer question for a HIT. The temporary URL is generated the instant the GetFileUploadURL operation is called, and is valid for 60 seconds. You can get a temporary file upload URL any time until the HIT is disposed. After the HIT is disposed, any uploaded files are deleted, and cannot be retrieved. Pending Deprecation on December 12, 2017. The Answer Specification structure will no longer support the <code>FileUploadAnswer</code> element to be used for the QuestionForm data structure. Instead, we recommend that Requesters who want to create HITs asking Workers to upload files to use Amazon S3. </p>",
"GetHIT": "<p> The <code>GetHIT</code> operation retrieves the details of the specified HIT. </p>",
"GetQualificationScore": "<p> The <code>GetQualificationScore</code> operation returns the value of a Worker's Qualification for a given Qualification type. </p> <p> To get a Worker's Qualification, you must know the Worker's ID. The Worker's ID is included in the assignment data returned by the <code>ListAssignmentsForHIT</code> operation. </p> <p>Only the owner of a Qualification type can query the value of a Worker's Qualification of that type.</p>",
"GetQualificationType": "<p> The <code>GetQualificationType</code>operation retrieves information about a Qualification type using its ID. </p>",
@@ -26,7 +26,7 @@
"ListHITs": "<p> The <code>ListHITs</code> operation returns all of a Requester's HITs. The operation returns HITs of any status, except for HITs that have been deleted of with the DeleteHIT operation or that have been auto-deleted. </p>",
"ListHITsForQualificationType": "<p> The <code>ListHITsForQualificationType</code> operation returns the HITs that use the given Qualification type for a Qualification requirement. The operation returns HITs of any status, except for HITs that have been deleted with the <code>DeleteHIT</code> operation or that have been auto-deleted. </p>",
"ListQualificationRequests": "<p> The <code>ListQualificationRequests</code> operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. </p>",
"ListQualificationTypes": "<p> The <code>ListQualificationRequests</code> operation retrieves requests for Qualifications of a particular Qualification type. The owner of the Qualification type calls this operation to poll for pending requests, and accepts them using the AcceptQualification operation. </p>",
"ListQualificationTypes": "<p> The <code>ListQualificationTypes</code> operation returns a list of Qualification types, filtered by an optional search term. </p>",
"ListReviewPolicyResultsForHIT": "<p> The <code>ListReviewPolicyResultsForHIT</code> operation retrieves the computed results and the actions taken in the course of executing your Review Policies for a given HIT. For information about how to specify Review Policies when you call CreateHIT, see Review Policies. The ListReviewPolicyResultsForHIT operation can return results for both Assignment-level and HIT-level review results. </p>",
"ListReviewableHITs": "<p> The <code>ListReviewableHITs</code> operation retrieves the HITs with Status equal to Reviewable or Status equal to Reviewing that belong to the Requester calling the operation. </p>",
"ListWorkerBlocks": "<p>The <code>ListWorkersBlocks</code> operation retrieves a list of Workers who are blocked from working on your HITs.</p>",
@@ -121,7 +121,7 @@
"ListQualificationTypesRequest$MustBeOwnedByCaller": "<p> Specifies that only Qualification types that the Requester created are returned. If false, the operation returns all Qualification types. </p>",
"ListReviewPolicyResultsForHITRequest$RetrieveActions": "<p> Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes. </p>",
"ListReviewPolicyResultsForHITRequest$RetrieveResults": "<p> Specify if the operation should retrieve a list of the results computed by the Review Policies. </p>",
"QualificationRequirement$RequiredToPreview": "<p> If true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. </p>",
"QualificationRequirement$RequiredToPreview": "<p> DEPRECATED: Use the <code>ActionsGuarded</code> field instead. If RequiredToPreview is true, the question data for the HIT will not be shown when a Worker whose Qualifications do not meet this requirement tries to preview the HIT. That is, a Worker's Qualifications must meet all of the requirements for which RequiredToPreview is true in order to preview the HIT. If a Worker meets all of the requirements where RequiredToPreview is true (or if there are no such requirements), but does not meet all of the requirements for the HIT, the Worker will be allowed to preview the HIT's question data, but will not be allowed to accept and complete the HIT. The default is false. This should not be used in combination with the <code>ActionsGuarded</code> field. </p>",
"QualificationType$IsRequestable": "<p> Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False. </p>",
"QualificationType$AutoGranted": "<p>Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.</p>",
"UpdateHITReviewStatusRequest$Revert": "<p> Specifies how to update the HIT status. Default is <code>False</code>. </p> <ul> <li> <p> Setting this to false will only transition a HIT from <code>Reviewable</code> to <code>Reviewing</code> </p> </li> <li> <p> Setting this to true will only transition a HIT from <code>Reviewing</code> to <code>Reviewable</code> </p> </li> </ul>",
@@ -202,6 +202,18 @@
"refs": {
}
},
"CurrencyAmount": {
"base": "<p>A string representing a currency amount.</p>",
"refs": {
"BonusPayment$BonusAmount": null,
"CreateHITRequest$Reward": "<p> The amount of money the Requester will pay a Worker for successfully completing the HIT. </p>",
"CreateHITTypeRequest$Reward": "<p> The amount of money the Requester will pay a Worker for successfully completing the HIT. </p>",
"GetAccountBalanceResponse$AvailableBalance": null,
"GetAccountBalanceResponse$OnHoldBalance": null,
"HIT$Reward": null,
"SendBonusRequest$BonusAmount": "<p> The Bonus amount is a US Dollar amount specified using a string (for example, \"5\" represents $5.00 USD and \"101.42\" represents $101.42 USD). Do not include currency symbols or currency codes. </p>"
}
},
"CustomerId": {
"base": null,
"refs": {
@@ -408,6 +420,12 @@
"HITList$member": null
}
},
"HITAccessActions": {
"base": null,
"refs": {
"QualificationRequirement$ActionsGuarded": "<p> Setting this attribute prevents Workers whose Qualifications do not meet this QualificationRequirement from taking the specified action. Valid arguments include \"Accept\" (Worker cannot accept the HIT, but can preview the HIT and see it in their search results), \"PreviewAndAccept\" (Worker cannot accept or preview the HIT, but can see the HIT in their search results), and \"DiscoverPreviewAndAccept\" (Worker cannot accept, preview, or see the HIT in their search results). It's possible for you to create a HIT with multiple QualificationRequirements (which can have different values for the ActionGuarded attribute). In this case, the Worker is only permitted to perform an action when they have met all QualificationRequirements guarding the action. The actions in the order of least restrictive to most restrictive are Discover, Preview and Accept. For example, if a Worker meets all QualificationRequirements that are set to DiscoverPreviewAndAccept, but do not meet all requirements that are set with PreviewAndAccept, then the Worker will be able to Discover, i.e. see the HIT in their search result, but will not be able to Preview or Accept the HIT. ActionsGuarded should not be used in combination with the <code>RequiredToPreview</code> field. </p>"
}
},
"HITLayoutParameter": {
"base": "<p> The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT. </p>",
"refs": {
@@ -626,7 +644,7 @@
"NotificationTransport": {
"base": null,
"refs": {
"NotificationSpecification$Transport": "<p> The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS. </p>"
"NotificationSpecification$Transport": "<p> The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS. </p>"
}
},
"NotifyWorkersFailureCode": {
@@ -657,18 +675,6 @@
"refs": {
}
},
"NumericValue": {
"base": "<p>A string representing a numeric value.</p>",
"refs": {
"BonusPayment$BonusAmount": null,
"CreateHITRequest$Reward": "<p> The amount of money the Requester will pay a Worker for successfully completing the HIT. </p>",
"CreateHITTypeRequest$Reward": "<p> The amount of money the Requester will pay a Worker for successfully completing the HIT. </p>",
"GetAccountBalanceResponse$AvailableBalance": null,
"GetAccountBalanceResponse$OnHoldBalance": null,
"HIT$Reward": null,
"SendBonusRequest$BonusAmount": "<p> The Bonus amount is a US Dollar amount specified using a string (for example, \"5\" represents $5.00 USD and \"101.42\" represents $101.42 USD). Do not include currency symbols or currency codes. </p>"
}
},
"PaginationToken": {
"base": "<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk returns a pagination token in the response. You can use this pagination token to retrieve the next set of results. </p>",
"refs": {
@@ -744,7 +750,7 @@
}
},
"QualificationRequirement": {
"base": "<p> The QualificationRequirement data structure describes a Qualification that a Worker must have before the Worker is allowed to accept a HIT. A requirement may optionally state that a Worker must have the Qualification in order to preview the HIT. </p>",
"base": "<p> The QualificationRequirement data structure describes a Qualification that a Worker must have before the Worker is allowed to accept a HIT. A requirement may optionally state that a Worker must have the Qualification in order to preview the HIT, or see the HIT in search results. </p>",
"refs": {
"QualificationRequirementList$member": null
}
@@ -752,9 +758,9 @@
"QualificationRequirementList": {
"base": null,
"refs": {
"CreateHITRequest$QualificationRequirements": "<p> A condition that a Worker's Qualifications must meet before the Worker is allowed to accept and complete the HIT. </p>",
"CreateHITTypeRequest$QualificationRequirements": "<p> A condition that a Worker's Qualifications must meet before the Worker is allowed to accept and complete the HIT. </p>",
"HIT$QualificationRequirements": "<p> A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met by a Worker's Qualifications for the Worker to accept the HIT.</p>"
"CreateHITRequest$QualificationRequirements": "<p> Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the <code>ActionsGuarded</code> field on each <code>QualificationRequirement</code> structure. </p>",
"CreateHITTypeRequest$QualificationRequirements": "<p> Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the <code>ActionsGuarded</code> field on each <code>QualificationRequirement</code> structure. </p>",
"HIT$QualificationRequirements": "<p> Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the <code>ActionsGuarded</code> field on each <code>QualificationRequirement</code> structure. </p>"
}
},
"QualificationStatus": {
@@ -954,7 +960,7 @@
"HITLayoutParameter$Name": "<p> The name of the parameter in the HITLayout. </p>",
"HITLayoutParameter$Value": "<p>The value substituted for the parameter referenced in the HITLayout. </p>",
"ListQualificationTypesRequest$Query": "<p> A text query against all of the searchable attributes of Qualification types. </p>",
"NotificationSpecification$Destination": "<p> The destination for notification messages. or email notifications (if Transport is Email), this is an email address. For Amazon Simple Queue Service (Amazon SQS) notifications (if Transport is SQS), this is the URL for your Amazon SQS queue. </p>",
"NotificationSpecification$Destination": "<p> The target for notification messages. The Destinations format is determined by the specified Transport: </p> <ul> <li> <p>When Transport is Email, the Destination is your email address.</p> </li> <li> <p>When Transport is SQS, the Destination is your queue URL.</p> </li> <li> <p>When Transport is SNS, the Destination is the ARN of your topic.</p> </li> </ul>",
"NotificationSpecification$Version": "<p>The version of the Notification API to use. Valid value is 2006-05-05.</p>",
"NotifyWorkersFailureStatus$NotifyWorkersFailureMessage": "<p> A message detailing the reason the Worker could not be notified. </p>",
"NotifyWorkersRequest$Subject": "<p>The subject line of the email message to send. Can include up to 200 characters.</p>",
@@ -0,0 +1,11 @@
{
"version": 1,
"defaultRegion": "us-east-1",
"testCases": [
{
"operationName": "GetAccountBalance",
"input": {},
"errorExpectedFromService": false
}
]
}