@aws-sdk/client-mturk 3.193.0 → 3.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/MTurkClient.js +11 -8
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js +10 -0
- package/dist-cjs/commands/ApproveAssignmentCommand.js +10 -0
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +10 -0
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +10 -0
- package/dist-cjs/commands/CreateHITCommand.js +10 -0
- package/dist-cjs/commands/CreateHITTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +10 -0
- package/dist-cjs/commands/DeleteHITCommand.js +10 -0
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +10 -0
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +10 -0
- package/dist-cjs/commands/GetAccountBalanceCommand.js +10 -0
- package/dist-cjs/commands/GetAssignmentCommand.js +10 -0
- package/dist-cjs/commands/GetFileUploadURLCommand.js +10 -0
- package/dist-cjs/commands/GetHITCommand.js +10 -0
- package/dist-cjs/commands/GetQualificationScoreCommand.js +10 -0
- package/dist-cjs/commands/GetQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +10 -0
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +10 -0
- package/dist-cjs/commands/ListHITsCommand.js +10 -0
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +10 -0
- package/dist-cjs/commands/ListQualificationTypesCommand.js +10 -0
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +10 -0
- package/dist-cjs/commands/ListReviewableHITsCommand.js +10 -0
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +10 -0
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +10 -0
- package/dist-cjs/commands/NotifyWorkersCommand.js +10 -0
- package/dist-cjs/commands/RejectAssignmentCommand.js +10 -0
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +10 -0
- package/dist-cjs/commands/SendBonusCommand.js +10 -0
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +10 -0
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +10 -0
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +10 -0
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +343 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/MTurkClient.js +12 -9
- package/dist-es/commands/AcceptQualificationRequestCommand.js +10 -0
- package/dist-es/commands/ApproveAssignmentCommand.js +10 -0
- package/dist-es/commands/AssociateQualificationWithWorkerCommand.js +10 -0
- package/dist-es/commands/CreateAdditionalAssignmentsForHITCommand.js +10 -0
- package/dist-es/commands/CreateHITCommand.js +10 -0
- package/dist-es/commands/CreateHITTypeCommand.js +10 -0
- package/dist-es/commands/CreateHITWithHITTypeCommand.js +10 -0
- package/dist-es/commands/CreateQualificationTypeCommand.js +10 -0
- package/dist-es/commands/CreateWorkerBlockCommand.js +10 -0
- package/dist-es/commands/DeleteHITCommand.js +10 -0
- package/dist-es/commands/DeleteQualificationTypeCommand.js +10 -0
- package/dist-es/commands/DeleteWorkerBlockCommand.js +10 -0
- package/dist-es/commands/DisassociateQualificationFromWorkerCommand.js +10 -0
- package/dist-es/commands/GetAccountBalanceCommand.js +10 -0
- package/dist-es/commands/GetAssignmentCommand.js +10 -0
- package/dist-es/commands/GetFileUploadURLCommand.js +10 -0
- package/dist-es/commands/GetHITCommand.js +10 -0
- package/dist-es/commands/GetQualificationScoreCommand.js +10 -0
- package/dist-es/commands/GetQualificationTypeCommand.js +10 -0
- package/dist-es/commands/ListAssignmentsForHITCommand.js +10 -0
- package/dist-es/commands/ListBonusPaymentsCommand.js +10 -0
- package/dist-es/commands/ListHITsCommand.js +10 -0
- package/dist-es/commands/ListHITsForQualificationTypeCommand.js +10 -0
- package/dist-es/commands/ListQualificationRequestsCommand.js +10 -0
- package/dist-es/commands/ListQualificationTypesCommand.js +10 -0
- package/dist-es/commands/ListReviewPolicyResultsForHITCommand.js +10 -0
- package/dist-es/commands/ListReviewableHITsCommand.js +10 -0
- package/dist-es/commands/ListWorkerBlocksCommand.js +10 -0
- package/dist-es/commands/ListWorkersWithQualificationTypeCommand.js +10 -0
- package/dist-es/commands/NotifyWorkersCommand.js +10 -0
- package/dist-es/commands/RejectAssignmentCommand.js +10 -0
- package/dist-es/commands/RejectQualificationRequestCommand.js +10 -0
- package/dist-es/commands/SendBonusCommand.js +10 -0
- package/dist-es/commands/SendTestEventNotificationCommand.js +10 -0
- package/dist-es/commands/UpdateExpirationForHITCommand.js +10 -0
- package/dist-es/commands/UpdateHITReviewStatusCommand.js +10 -0
- package/dist-es/commands/UpdateHITTypeOfHITCommand.js +10 -0
- package/dist-es/commands/UpdateNotificationSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateQualificationTypeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +340 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/MTurkClient.d.ts +6 -9
- package/dist-types/commands/AcceptQualificationRequestCommand.d.ts +2 -0
- package/dist-types/commands/ApproveAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -0
- package/dist-types/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateHITWithHITTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkerBlockCommand.d.ts +2 -0
- package/dist-types/commands/DeleteHITCommand.d.ts +2 -0
- package/dist-types/commands/DeleteQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkerBlockCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +2 -0
- package/dist-types/commands/GetAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/GetFileUploadURLCommand.d.ts +2 -0
- package/dist-types/commands/GetHITCommand.d.ts +2 -0
- package/dist-types/commands/GetQualificationScoreCommand.d.ts +2 -0
- package/dist-types/commands/GetQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/ListAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/commands/ListBonusPaymentsCommand.d.ts +2 -0
- package/dist-types/commands/ListHITsCommand.d.ts +2 -0
- package/dist-types/commands/ListHITsForQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/ListQualificationRequestsCommand.d.ts +2 -0
- package/dist-types/commands/ListQualificationTypesCommand.d.ts +2 -0
- package/dist-types/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -0
- package/dist-types/commands/ListReviewableHITsCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkerBlocksCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -0
- package/dist-types/commands/NotifyWorkersCommand.d.ts +2 -0
- package/dist-types/commands/RejectAssignmentCommand.d.ts +2 -0
- package/dist-types/commands/RejectQualificationRequestCommand.d.ts +2 -0
- package/dist-types/commands/SendBonusCommand.d.ts +2 -0
- package/dist-types/commands/SendTestEventNotificationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateExpirationForHITCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHITReviewStatusCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHITTypeOfHITCommand.d.ts +2 -0
- package/dist-types/commands/UpdateNotificationSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/MTurkClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AcceptQualificationRequestCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ApproveAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AssociateQualificationWithWorkerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAdditionalAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHITWithHITTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWorkerBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWorkerBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateQualificationFromWorkerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFileUploadURLCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQualificationScoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAssignmentsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBonusPaymentsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHITsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListHITsForQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQualificationRequestsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQualificationTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListReviewPolicyResultsForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListReviewableHITsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkerBlocksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkersWithQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/NotifyWorkersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RejectAssignmentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RejectQualificationRequestCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendBonusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SendTestEventNotificationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateExpirationForHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHITReviewStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHITTypeOfHITCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateNotificationSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateQualificationTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -2
- package/dist-cjs/endpoints.js +0 -142
- package/dist-es/endpoints.js +0 -138
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
sandbox: {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "mturk-requester-sandbox.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
const partitionHash = {
|
|
16
|
-
aws: {
|
|
17
|
-
regions: [
|
|
18
|
-
"af-south-1",
|
|
19
|
-
"ap-east-1",
|
|
20
|
-
"ap-northeast-1",
|
|
21
|
-
"ap-northeast-2",
|
|
22
|
-
"ap-northeast-3",
|
|
23
|
-
"ap-south-1",
|
|
24
|
-
"ap-southeast-1",
|
|
25
|
-
"ap-southeast-2",
|
|
26
|
-
"ap-southeast-3",
|
|
27
|
-
"ca-central-1",
|
|
28
|
-
"eu-central-1",
|
|
29
|
-
"eu-north-1",
|
|
30
|
-
"eu-south-1",
|
|
31
|
-
"eu-west-1",
|
|
32
|
-
"eu-west-2",
|
|
33
|
-
"eu-west-3",
|
|
34
|
-
"me-central-1",
|
|
35
|
-
"me-south-1",
|
|
36
|
-
"sa-east-1",
|
|
37
|
-
"sandbox",
|
|
38
|
-
"us-east-1",
|
|
39
|
-
"us-east-2",
|
|
40
|
-
"us-west-1",
|
|
41
|
-
"us-west-2",
|
|
42
|
-
],
|
|
43
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
44
|
-
variants: [
|
|
45
|
-
{
|
|
46
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
47
|
-
tags: [],
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com",
|
|
51
|
-
tags: ["fips"],
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
hostname: "mturk-requester-fips.{region}.api.aws",
|
|
55
|
-
tags: ["dualstack", "fips"],
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
hostname: "mturk-requester.{region}.api.aws",
|
|
59
|
-
tags: ["dualstack"],
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
|
-
"aws-cn": {
|
|
64
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
65
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
66
|
-
variants: [
|
|
67
|
-
{
|
|
68
|
-
hostname: "mturk-requester.{region}.amazonaws.com.cn",
|
|
69
|
-
tags: [],
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com.cn",
|
|
73
|
-
tags: ["fips"],
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
hostname: "mturk-requester-fips.{region}.api.amazonwebservices.com.cn",
|
|
77
|
-
tags: ["dualstack", "fips"],
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
hostname: "mturk-requester.{region}.api.amazonwebservices.com.cn",
|
|
81
|
-
tags: ["dualstack"],
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
},
|
|
85
|
-
"aws-iso": {
|
|
86
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
87
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
88
|
-
variants: [
|
|
89
|
-
{
|
|
90
|
-
hostname: "mturk-requester.{region}.c2s.ic.gov",
|
|
91
|
-
tags: [],
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
hostname: "mturk-requester-fips.{region}.c2s.ic.gov",
|
|
95
|
-
tags: ["fips"],
|
|
96
|
-
},
|
|
97
|
-
],
|
|
98
|
-
},
|
|
99
|
-
"aws-iso-b": {
|
|
100
|
-
regions: ["us-isob-east-1"],
|
|
101
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
102
|
-
variants: [
|
|
103
|
-
{
|
|
104
|
-
hostname: "mturk-requester.{region}.sc2s.sgov.gov",
|
|
105
|
-
tags: [],
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
hostname: "mturk-requester-fips.{region}.sc2s.sgov.gov",
|
|
109
|
-
tags: ["fips"],
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
"aws-us-gov": {
|
|
114
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
115
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
116
|
-
variants: [
|
|
117
|
-
{
|
|
118
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
119
|
-
tags: [],
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com",
|
|
123
|
-
tags: ["fips"],
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
hostname: "mturk-requester-fips.{region}.api.aws",
|
|
127
|
-
tags: ["dualstack", "fips"],
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
hostname: "mturk-requester.{region}.api.aws",
|
|
131
|
-
tags: ["dualstack"],
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
},
|
|
135
|
-
};
|
|
136
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
137
|
-
...options,
|
|
138
|
-
signingService: "mturk-requester",
|
|
139
|
-
regionHash,
|
|
140
|
-
partitionHash,
|
|
141
|
-
});
|
|
142
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
sandbox: {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "mturk-requester-sandbox.us-east-1.amazonaws.com",
|
|
7
|
-
tags: [],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
const partitionHash = {
|
|
13
|
-
aws: {
|
|
14
|
-
regions: [
|
|
15
|
-
"af-south-1",
|
|
16
|
-
"ap-east-1",
|
|
17
|
-
"ap-northeast-1",
|
|
18
|
-
"ap-northeast-2",
|
|
19
|
-
"ap-northeast-3",
|
|
20
|
-
"ap-south-1",
|
|
21
|
-
"ap-southeast-1",
|
|
22
|
-
"ap-southeast-2",
|
|
23
|
-
"ap-southeast-3",
|
|
24
|
-
"ca-central-1",
|
|
25
|
-
"eu-central-1",
|
|
26
|
-
"eu-north-1",
|
|
27
|
-
"eu-south-1",
|
|
28
|
-
"eu-west-1",
|
|
29
|
-
"eu-west-2",
|
|
30
|
-
"eu-west-3",
|
|
31
|
-
"me-central-1",
|
|
32
|
-
"me-south-1",
|
|
33
|
-
"sa-east-1",
|
|
34
|
-
"sandbox",
|
|
35
|
-
"us-east-1",
|
|
36
|
-
"us-east-2",
|
|
37
|
-
"us-west-1",
|
|
38
|
-
"us-west-2",
|
|
39
|
-
],
|
|
40
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
41
|
-
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com",
|
|
48
|
-
tags: ["fips"],
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
hostname: "mturk-requester-fips.{region}.api.aws",
|
|
52
|
-
tags: ["dualstack", "fips"],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
hostname: "mturk-requester.{region}.api.aws",
|
|
56
|
-
tags: ["dualstack"],
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
"aws-cn": {
|
|
61
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
62
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
63
|
-
variants: [
|
|
64
|
-
{
|
|
65
|
-
hostname: "mturk-requester.{region}.amazonaws.com.cn",
|
|
66
|
-
tags: [],
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com.cn",
|
|
70
|
-
tags: ["fips"],
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
hostname: "mturk-requester-fips.{region}.api.amazonwebservices.com.cn",
|
|
74
|
-
tags: ["dualstack", "fips"],
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
hostname: "mturk-requester.{region}.api.amazonwebservices.com.cn",
|
|
78
|
-
tags: ["dualstack"],
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
"aws-iso": {
|
|
83
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
84
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
85
|
-
variants: [
|
|
86
|
-
{
|
|
87
|
-
hostname: "mturk-requester.{region}.c2s.ic.gov",
|
|
88
|
-
tags: [],
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
hostname: "mturk-requester-fips.{region}.c2s.ic.gov",
|
|
92
|
-
tags: ["fips"],
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
"aws-iso-b": {
|
|
97
|
-
regions: ["us-isob-east-1"],
|
|
98
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
99
|
-
variants: [
|
|
100
|
-
{
|
|
101
|
-
hostname: "mturk-requester.{region}.sc2s.sgov.gov",
|
|
102
|
-
tags: [],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
hostname: "mturk-requester-fips.{region}.sc2s.sgov.gov",
|
|
106
|
-
tags: ["fips"],
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
},
|
|
110
|
-
"aws-us-gov": {
|
|
111
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
112
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
113
|
-
variants: [
|
|
114
|
-
{
|
|
115
|
-
hostname: "mturk-requester.{region}.amazonaws.com",
|
|
116
|
-
tags: [],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
hostname: "mturk-requester-fips.{region}.amazonaws.com",
|
|
120
|
-
tags: ["fips"],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
hostname: "mturk-requester-fips.{region}.api.aws",
|
|
124
|
-
tags: ["dualstack", "fips"],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
hostname: "mturk-requester.{region}.api.aws",
|
|
128
|
-
tags: ["dualstack"],
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
|
-
};
|
|
133
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
134
|
-
...options,
|
|
135
|
-
signingService: "mturk-requester",
|
|
136
|
-
regionHash,
|
|
137
|
-
partitionHash,
|
|
138
|
-
});
|