@aws-sdk/client-databrew 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/DataBrewClient.js +14 -14
- package/dist-cjs/commands/BatchDeleteRecipeVersionCommand.js +3 -3
- package/dist-cjs/commands/CreateDatasetCommand.js +3 -3
- package/dist-cjs/commands/CreateProfileJobCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectCommand.js +3 -3
- package/dist-cjs/commands/CreateRecipeCommand.js +3 -3
- package/dist-cjs/commands/CreateRecipeJobCommand.js +3 -3
- package/dist-cjs/commands/CreateRulesetCommand.js +3 -3
- package/dist-cjs/commands/CreateScheduleCommand.js +3 -3
- package/dist-cjs/commands/DeleteDatasetCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteRecipeVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteRulesetCommand.js +3 -3
- package/dist-cjs/commands/DeleteScheduleCommand.js +3 -3
- package/dist-cjs/commands/DescribeDatasetCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobRunCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectCommand.js +3 -3
- package/dist-cjs/commands/DescribeRecipeCommand.js +3 -3
- package/dist-cjs/commands/DescribeRulesetCommand.js +3 -3
- package/dist-cjs/commands/DescribeScheduleCommand.js +3 -3
- package/dist-cjs/commands/ListDatasetsCommand.js +3 -3
- package/dist-cjs/commands/ListJobRunsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListRecipeVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListRecipesCommand.js +3 -3
- package/dist-cjs/commands/ListRulesetsCommand.js +3 -3
- package/dist-cjs/commands/ListSchedulesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PublishRecipeCommand.js +3 -3
- package/dist-cjs/commands/SendProjectSessionActionCommand.js +3 -3
- package/dist-cjs/commands/StartJobRunCommand.js +3 -3
- package/dist-cjs/commands/StartProjectSessionCommand.js +3 -3
- package/dist-cjs/commands/StopJobRunCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDatasetCommand.js +3 -3
- package/dist-cjs/commands/UpdateProfileJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist-cjs/commands/UpdateRecipeCommand.js +3 -3
- package/dist-cjs/commands/UpdateRecipeJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateRulesetCommand.js +3 -3
- package/dist-cjs/commands/UpdateScheduleCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +393 -393
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/DataBrew.js +44 -44
- package/dist-es/pagination/ListDatasetsPaginator.js +4 -4
- package/dist-es/pagination/ListJobRunsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListRecipeVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListRecipesPaginator.js +4 -4
- package/dist-es/pagination/ListRulesetsPaginator.js +4 -4
- package/dist-es/pagination/ListSchedulesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +44 -44
- package/dist-types/DataBrewClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/DataBrewClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListRecipesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRecipesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listRecipes.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listRecipes.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListRecipes(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataBrew)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof DataBrewClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListRulesetsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRulesetsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listRulesets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listRulesets.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListRulesets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataBrew)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof DataBrewClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListSchedulesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSchedulesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listSchedules.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSchedules.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListSchedules(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataBrew)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof DataBrewClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1BatchDeleteRecipeVersionCommand = function (inp
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes/{Name}/batchDeleteRecipeVersion";
|
|
17
17
|
if (input.Name !== undefined) {
|
|
18
18
|
labelValue = input.Name;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -50,7 +50,7 @@ export var serializeAws_restJson1CreateDatasetCommand = function (input, context
|
|
|
50
50
|
headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
52
52
|
};
|
|
53
|
-
resolvedPath = ""
|
|
53
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets";
|
|
54
54
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.FormatOptions !== undefined &&
|
|
55
55
|
input.FormatOptions !== null && {
|
|
56
56
|
FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
|
|
@@ -79,7 +79,7 @@ export var serializeAws_restJson1CreateProfileJobCommand = function (input, cont
|
|
|
79
79
|
headers = {
|
|
80
80
|
"content-type": "application/json",
|
|
81
81
|
};
|
|
82
|
-
resolvedPath = ""
|
|
82
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/profileJobs";
|
|
83
83
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration !== undefined &&
|
|
84
84
|
input.Configuration !== null && {
|
|
85
85
|
Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
|
|
@@ -116,7 +116,7 @@ export var serializeAws_restJson1CreateProjectCommand = function (input, context
|
|
|
116
116
|
headers = {
|
|
117
117
|
"content-type": "application/json",
|
|
118
118
|
};
|
|
119
|
-
resolvedPath = ""
|
|
119
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects";
|
|
120
120
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DatasetName !== undefined && input.DatasetName !== null && { DatasetName: input.DatasetName })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RecipeName !== undefined && input.RecipeName !== null && { RecipeName: input.RecipeName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Sample !== undefined &&
|
|
121
121
|
input.Sample !== null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
122
122
|
return [2, new __HttpRequest({
|
|
@@ -141,7 +141,7 @@ export var serializeAws_restJson1CreateRecipeCommand = function (input, context)
|
|
|
141
141
|
headers = {
|
|
142
142
|
"content-type": "application/json",
|
|
143
143
|
};
|
|
144
|
-
resolvedPath = ""
|
|
144
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes";
|
|
145
145
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Steps !== undefined &&
|
|
146
146
|
input.Steps !== null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
147
147
|
return [2, new __HttpRequest({
|
|
@@ -166,7 +166,7 @@ export var serializeAws_restJson1CreateRecipeJobCommand = function (input, conte
|
|
|
166
166
|
headers = {
|
|
167
167
|
"content-type": "application/json",
|
|
168
168
|
};
|
|
169
|
-
resolvedPath = ""
|
|
169
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipeJobs";
|
|
170
170
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs !== undefined &&
|
|
171
171
|
input.DataCatalogOutputs !== null && {
|
|
172
172
|
DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
|
|
@@ -203,7 +203,7 @@ export var serializeAws_restJson1CreateRulesetCommand = function (input, context
|
|
|
203
203
|
headers = {
|
|
204
204
|
"content-type": "application/json",
|
|
205
205
|
};
|
|
206
|
-
resolvedPath = ""
|
|
206
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets";
|
|
207
207
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Rules !== undefined &&
|
|
208
208
|
input.Rules !== null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TargetArn !== undefined && input.TargetArn !== null && { TargetArn: input.TargetArn })));
|
|
209
209
|
return [2, new __HttpRequest({
|
|
@@ -228,7 +228,7 @@ export var serializeAws_restJson1CreateScheduleCommand = function (input, contex
|
|
|
228
228
|
headers = {
|
|
229
229
|
"content-type": "application/json",
|
|
230
230
|
};
|
|
231
|
-
resolvedPath = ""
|
|
231
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules";
|
|
232
232
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CronExpression !== undefined &&
|
|
233
233
|
input.CronExpression !== null && { CronExpression: input.CronExpression })), (input.JobNames !== undefined &&
|
|
234
234
|
input.JobNames !== null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
@@ -252,7 +252,7 @@ export var serializeAws_restJson1DeleteDatasetCommand = function (input, context
|
|
|
252
252
|
case 1:
|
|
253
253
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
254
254
|
headers = {};
|
|
255
|
-
resolvedPath = ""
|
|
255
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets/{Name}";
|
|
256
256
|
if (input.Name !== undefined) {
|
|
257
257
|
labelValue = input.Name;
|
|
258
258
|
if (labelValue.length <= 0) {
|
|
@@ -283,7 +283,7 @@ export var serializeAws_restJson1DeleteJobCommand = function (input, context) {
|
|
|
283
283
|
case 1:
|
|
284
284
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
285
285
|
headers = {};
|
|
286
|
-
resolvedPath = ""
|
|
286
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}";
|
|
287
287
|
if (input.Name !== undefined) {
|
|
288
288
|
labelValue = input.Name;
|
|
289
289
|
if (labelValue.length <= 0) {
|
|
@@ -314,7 +314,7 @@ export var serializeAws_restJson1DeleteProjectCommand = function (input, context
|
|
|
314
314
|
case 1:
|
|
315
315
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
316
316
|
headers = {};
|
|
317
|
-
resolvedPath = ""
|
|
317
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects/{Name}";
|
|
318
318
|
if (input.Name !== undefined) {
|
|
319
319
|
labelValue = input.Name;
|
|
320
320
|
if (labelValue.length <= 0) {
|
|
@@ -345,7 +345,7 @@ export var serializeAws_restJson1DeleteRecipeVersionCommand = function (input, c
|
|
|
345
345
|
case 1:
|
|
346
346
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
347
347
|
headers = {};
|
|
348
|
-
resolvedPath = ""
|
|
348
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
349
349
|
"/recipes/{Name}/recipeVersion/{RecipeVersion}";
|
|
350
350
|
if (input.Name !== undefined) {
|
|
351
351
|
labelValue = input.Name;
|
|
@@ -387,7 +387,7 @@ export var serializeAws_restJson1DeleteRulesetCommand = function (input, context
|
|
|
387
387
|
case 1:
|
|
388
388
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
389
389
|
headers = {};
|
|
390
|
-
resolvedPath = ""
|
|
390
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets/{Name}";
|
|
391
391
|
if (input.Name !== undefined) {
|
|
392
392
|
labelValue = input.Name;
|
|
393
393
|
if (labelValue.length <= 0) {
|
|
@@ -418,7 +418,7 @@ export var serializeAws_restJson1DeleteScheduleCommand = function (input, contex
|
|
|
418
418
|
case 1:
|
|
419
419
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
420
420
|
headers = {};
|
|
421
|
-
resolvedPath = ""
|
|
421
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules/{Name}";
|
|
422
422
|
if (input.Name !== undefined) {
|
|
423
423
|
labelValue = input.Name;
|
|
424
424
|
if (labelValue.length <= 0) {
|
|
@@ -449,7 +449,7 @@ export var serializeAws_restJson1DescribeDatasetCommand = function (input, conte
|
|
|
449
449
|
case 1:
|
|
450
450
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
451
451
|
headers = {};
|
|
452
|
-
resolvedPath = ""
|
|
452
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets/{Name}";
|
|
453
453
|
if (input.Name !== undefined) {
|
|
454
454
|
labelValue = input.Name;
|
|
455
455
|
if (labelValue.length <= 0) {
|
|
@@ -480,7 +480,7 @@ export var serializeAws_restJson1DescribeJobCommand = function (input, context)
|
|
|
480
480
|
case 1:
|
|
481
481
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
482
482
|
headers = {};
|
|
483
|
-
resolvedPath = ""
|
|
483
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}";
|
|
484
484
|
if (input.Name !== undefined) {
|
|
485
485
|
labelValue = input.Name;
|
|
486
486
|
if (labelValue.length <= 0) {
|
|
@@ -511,7 +511,7 @@ export var serializeAws_restJson1DescribeJobRunCommand = function (input, contex
|
|
|
511
511
|
case 1:
|
|
512
512
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
513
513
|
headers = {};
|
|
514
|
-
resolvedPath = ""
|
|
514
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}/jobRun/{RunId}";
|
|
515
515
|
if (input.Name !== undefined) {
|
|
516
516
|
labelValue = input.Name;
|
|
517
517
|
if (labelValue.length <= 0) {
|
|
@@ -552,7 +552,7 @@ export var serializeAws_restJson1DescribeProjectCommand = function (input, conte
|
|
|
552
552
|
case 1:
|
|
553
553
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
554
554
|
headers = {};
|
|
555
|
-
resolvedPath = ""
|
|
555
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects/{Name}";
|
|
556
556
|
if (input.Name !== undefined) {
|
|
557
557
|
labelValue = input.Name;
|
|
558
558
|
if (labelValue.length <= 0) {
|
|
@@ -583,7 +583,7 @@ export var serializeAws_restJson1DescribeRecipeCommand = function (input, contex
|
|
|
583
583
|
case 1:
|
|
584
584
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
585
585
|
headers = {};
|
|
586
|
-
resolvedPath = ""
|
|
586
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes/{Name}";
|
|
587
587
|
if (input.Name !== undefined) {
|
|
588
588
|
labelValue = input.Name;
|
|
589
589
|
if (labelValue.length <= 0) {
|
|
@@ -616,7 +616,7 @@ export var serializeAws_restJson1DescribeRulesetCommand = function (input, conte
|
|
|
616
616
|
case 1:
|
|
617
617
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
618
618
|
headers = {};
|
|
619
|
-
resolvedPath = ""
|
|
619
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets/{Name}";
|
|
620
620
|
if (input.Name !== undefined) {
|
|
621
621
|
labelValue = input.Name;
|
|
622
622
|
if (labelValue.length <= 0) {
|
|
@@ -647,7 +647,7 @@ export var serializeAws_restJson1DescribeScheduleCommand = function (input, cont
|
|
|
647
647
|
case 1:
|
|
648
648
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
649
649
|
headers = {};
|
|
650
|
-
resolvedPath = ""
|
|
650
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules/{Name}";
|
|
651
651
|
if (input.Name !== undefined) {
|
|
652
652
|
labelValue = input.Name;
|
|
653
653
|
if (labelValue.length <= 0) {
|
|
@@ -678,7 +678,7 @@ export var serializeAws_restJson1ListDatasetsCommand = function (input, context)
|
|
|
678
678
|
case 1:
|
|
679
679
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
680
680
|
headers = {};
|
|
681
|
-
resolvedPath = ""
|
|
681
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets";
|
|
682
682
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
683
683
|
return [2, new __HttpRequest({
|
|
684
684
|
protocol: protocol,
|
|
@@ -701,7 +701,7 @@ export var serializeAws_restJson1ListJobRunsCommand = function (input, context)
|
|
|
701
701
|
case 1:
|
|
702
702
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
703
703
|
headers = {};
|
|
704
|
-
resolvedPath = ""
|
|
704
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}/jobRuns";
|
|
705
705
|
if (input.Name !== undefined) {
|
|
706
706
|
labelValue = input.Name;
|
|
707
707
|
if (labelValue.length <= 0) {
|
|
@@ -734,7 +734,7 @@ export var serializeAws_restJson1ListJobsCommand = function (input, context) { r
|
|
|
734
734
|
case 1:
|
|
735
735
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
736
736
|
headers = {};
|
|
737
|
-
resolvedPath = ""
|
|
737
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs";
|
|
738
738
|
query = __assign(__assign(__assign(__assign({}, (input.DatasetName !== undefined && { datasetName: input.DatasetName })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.ProjectName !== undefined && { projectName: input.ProjectName }));
|
|
739
739
|
return [2, new __HttpRequest({
|
|
740
740
|
protocol: protocol,
|
|
@@ -757,7 +757,7 @@ export var serializeAws_restJson1ListProjectsCommand = function (input, context)
|
|
|
757
757
|
case 1:
|
|
758
758
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
759
759
|
headers = {};
|
|
760
|
-
resolvedPath = ""
|
|
760
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects";
|
|
761
761
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
762
762
|
return [2, new __HttpRequest({
|
|
763
763
|
protocol: protocol,
|
|
@@ -780,7 +780,7 @@ export var serializeAws_restJson1ListRecipesCommand = function (input, context)
|
|
|
780
780
|
case 1:
|
|
781
781
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
782
782
|
headers = {};
|
|
783
|
-
resolvedPath = ""
|
|
783
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes";
|
|
784
784
|
query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.RecipeVersion !== undefined && { recipeVersion: input.RecipeVersion }));
|
|
785
785
|
return [2, new __HttpRequest({
|
|
786
786
|
protocol: protocol,
|
|
@@ -803,7 +803,7 @@ export var serializeAws_restJson1ListRecipeVersionsCommand = function (input, co
|
|
|
803
803
|
case 1:
|
|
804
804
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
805
805
|
headers = {};
|
|
806
|
-
resolvedPath = ""
|
|
806
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipeVersions";
|
|
807
807
|
query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.Name !== undefined && { name: input.Name }));
|
|
808
808
|
return [2, new __HttpRequest({
|
|
809
809
|
protocol: protocol,
|
|
@@ -826,7 +826,7 @@ export var serializeAws_restJson1ListRulesetsCommand = function (input, context)
|
|
|
826
826
|
case 1:
|
|
827
827
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
828
828
|
headers = {};
|
|
829
|
-
resolvedPath = ""
|
|
829
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets";
|
|
830
830
|
query = __assign(__assign(__assign({}, (input.TargetArn !== undefined && { targetArn: input.TargetArn })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
831
831
|
return [2, new __HttpRequest({
|
|
832
832
|
protocol: protocol,
|
|
@@ -849,7 +849,7 @@ export var serializeAws_restJson1ListSchedulesCommand = function (input, context
|
|
|
849
849
|
case 1:
|
|
850
850
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
851
851
|
headers = {};
|
|
852
|
-
resolvedPath = ""
|
|
852
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules";
|
|
853
853
|
query = __assign(__assign(__assign({}, (input.JobName !== undefined && { jobName: input.JobName })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
854
854
|
return [2, new __HttpRequest({
|
|
855
855
|
protocol: protocol,
|
|
@@ -872,7 +872,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
872
872
|
case 1:
|
|
873
873
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
874
874
|
headers = {};
|
|
875
|
-
resolvedPath = ""
|
|
875
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
876
876
|
if (input.ResourceArn !== undefined) {
|
|
877
877
|
labelValue = input.ResourceArn;
|
|
878
878
|
if (labelValue.length <= 0) {
|
|
@@ -905,7 +905,7 @@ export var serializeAws_restJson1PublishRecipeCommand = function (input, context
|
|
|
905
905
|
headers = {
|
|
906
906
|
"content-type": "application/json",
|
|
907
907
|
};
|
|
908
|
-
resolvedPath = ""
|
|
908
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes/{Name}/publishRecipe";
|
|
909
909
|
if (input.Name !== undefined) {
|
|
910
910
|
labelValue = input.Name;
|
|
911
911
|
if (labelValue.length <= 0) {
|
|
@@ -939,7 +939,7 @@ export var serializeAws_restJson1SendProjectSessionActionCommand = function (inp
|
|
|
939
939
|
headers = {
|
|
940
940
|
"content-type": "application/json",
|
|
941
941
|
};
|
|
942
|
-
resolvedPath = ""
|
|
942
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects/{Name}/sendProjectSessionAction";
|
|
943
943
|
if (input.Name !== undefined) {
|
|
944
944
|
labelValue = input.Name;
|
|
945
945
|
if (labelValue.length <= 0) {
|
|
@@ -974,7 +974,7 @@ export var serializeAws_restJson1StartJobRunCommand = function (input, context)
|
|
|
974
974
|
case 1:
|
|
975
975
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
976
976
|
headers = {};
|
|
977
|
-
resolvedPath = ""
|
|
977
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}/startJobRun";
|
|
978
978
|
if (input.Name !== undefined) {
|
|
979
979
|
labelValue = input.Name;
|
|
980
980
|
if (labelValue.length <= 0) {
|
|
@@ -1007,7 +1007,7 @@ export var serializeAws_restJson1StartProjectSessionCommand = function (input, c
|
|
|
1007
1007
|
headers = {
|
|
1008
1008
|
"content-type": "application/json",
|
|
1009
1009
|
};
|
|
1010
|
-
resolvedPath = ""
|
|
1010
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects/{Name}/startProjectSession";
|
|
1011
1011
|
if (input.Name !== undefined) {
|
|
1012
1012
|
labelValue = input.Name;
|
|
1013
1013
|
if (labelValue.length <= 0) {
|
|
@@ -1039,7 +1039,7 @@ export var serializeAws_restJson1StopJobRunCommand = function (input, context) {
|
|
|
1039
1039
|
case 1:
|
|
1040
1040
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1041
1041
|
headers = {};
|
|
1042
|
-
resolvedPath = ""
|
|
1042
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{Name}/jobRun/{RunId}/stopJobRun";
|
|
1043
1043
|
if (input.Name !== undefined) {
|
|
1044
1044
|
labelValue = input.Name;
|
|
1045
1045
|
if (labelValue.length <= 0) {
|
|
@@ -1082,7 +1082,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1082
1082
|
headers = {
|
|
1083
1083
|
"content-type": "application/json",
|
|
1084
1084
|
};
|
|
1085
|
-
resolvedPath = ""
|
|
1085
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1086
1086
|
if (input.ResourceArn !== undefined) {
|
|
1087
1087
|
labelValue = input.ResourceArn;
|
|
1088
1088
|
if (labelValue.length <= 0) {
|
|
@@ -1114,7 +1114,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1114
1114
|
case 1:
|
|
1115
1115
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1116
1116
|
headers = {};
|
|
1117
|
-
resolvedPath = ""
|
|
1117
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1118
1118
|
if (input.ResourceArn !== undefined) {
|
|
1119
1119
|
labelValue = input.ResourceArn;
|
|
1120
1120
|
if (labelValue.length <= 0) {
|
|
@@ -1149,7 +1149,7 @@ export var serializeAws_restJson1UpdateDatasetCommand = function (input, context
|
|
|
1149
1149
|
headers = {
|
|
1150
1150
|
"content-type": "application/json",
|
|
1151
1151
|
};
|
|
1152
|
-
resolvedPath = ""
|
|
1152
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets/{Name}";
|
|
1153
1153
|
if (input.Name !== undefined) {
|
|
1154
1154
|
labelValue = input.Name;
|
|
1155
1155
|
if (labelValue.length <= 0) {
|
|
@@ -1188,7 +1188,7 @@ export var serializeAws_restJson1UpdateProfileJobCommand = function (input, cont
|
|
|
1188
1188
|
headers = {
|
|
1189
1189
|
"content-type": "application/json",
|
|
1190
1190
|
};
|
|
1191
|
-
resolvedPath = ""
|
|
1191
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/profileJobs/{Name}";
|
|
1192
1192
|
if (input.Name !== undefined) {
|
|
1193
1193
|
labelValue = input.Name;
|
|
1194
1194
|
if (labelValue.length <= 0) {
|
|
@@ -1235,7 +1235,7 @@ export var serializeAws_restJson1UpdateProjectCommand = function (input, context
|
|
|
1235
1235
|
headers = {
|
|
1236
1236
|
"content-type": "application/json",
|
|
1237
1237
|
};
|
|
1238
|
-
resolvedPath = ""
|
|
1238
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects/{Name}";
|
|
1239
1239
|
if (input.Name !== undefined) {
|
|
1240
1240
|
labelValue = input.Name;
|
|
1241
1241
|
if (labelValue.length <= 0) {
|
|
@@ -1270,7 +1270,7 @@ export var serializeAws_restJson1UpdateRecipeCommand = function (input, context)
|
|
|
1270
1270
|
headers = {
|
|
1271
1271
|
"content-type": "application/json",
|
|
1272
1272
|
};
|
|
1273
|
-
resolvedPath = ""
|
|
1273
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes/{Name}";
|
|
1274
1274
|
if (input.Name !== undefined) {
|
|
1275
1275
|
labelValue = input.Name;
|
|
1276
1276
|
if (labelValue.length <= 0) {
|
|
@@ -1305,7 +1305,7 @@ export var serializeAws_restJson1UpdateRecipeJobCommand = function (input, conte
|
|
|
1305
1305
|
headers = {
|
|
1306
1306
|
"content-type": "application/json",
|
|
1307
1307
|
};
|
|
1308
|
-
resolvedPath = ""
|
|
1308
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipeJobs/{Name}";
|
|
1309
1309
|
if (input.Name !== undefined) {
|
|
1310
1310
|
labelValue = input.Name;
|
|
1311
1311
|
if (labelValue.length <= 0) {
|
|
@@ -1349,7 +1349,7 @@ export var serializeAws_restJson1UpdateRulesetCommand = function (input, context
|
|
|
1349
1349
|
headers = {
|
|
1350
1350
|
"content-type": "application/json",
|
|
1351
1351
|
};
|
|
1352
|
-
resolvedPath = ""
|
|
1352
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets/{Name}";
|
|
1353
1353
|
if (input.Name !== undefined) {
|
|
1354
1354
|
labelValue = input.Name;
|
|
1355
1355
|
if (labelValue.length <= 0) {
|
|
@@ -1384,7 +1384,7 @@ export var serializeAws_restJson1UpdateScheduleCommand = function (input, contex
|
|
|
1384
1384
|
headers = {
|
|
1385
1385
|
"content-type": "application/json",
|
|
1386
1386
|
};
|
|
1387
|
-
resolvedPath = ""
|
|
1387
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules/{Name}";
|
|
1388
1388
|
if (input.Name !== undefined) {
|
|
1389
1389
|
labelValue = input.Name;
|
|
1390
1390
|
if (labelValue.length <= 0) {
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput } from "./commands/BatchDeleteRecipeVersionCommand";
|
|
10
10
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
11
11
|
import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./commands/CreateProfileJobCommand";
|
|
@@ -72,7 +72,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
72
72
|
* A function that can calculate the length of a request body.
|
|
73
73
|
* @internal
|
|
74
74
|
*/
|
|
75
|
-
bodyLengthChecker?:
|
|
75
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
76
76
|
/**
|
|
77
77
|
* A function that converts a stream into an array of bytes.
|
|
78
78
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataBrewClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataBrewClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataBrewClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: DataBrewClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchDeleteRecipeVersionCommandInput, BatchDeleteRecipeVersionCommandOutput } from "./commands/BatchDeleteRecipeVersionCommand";
|
|
10
10
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
11
11
|
import { CreateProfileJobCommandInput, CreateProfileJobCommandOutput } from "./commands/CreateProfileJobCommand";
|
|
@@ -60,7 +60,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
60
60
|
|
|
61
61
|
urlParser?: __UrlParser;
|
|
62
62
|
|
|
63
|
-
bodyLengthChecker?:
|
|
63
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
64
64
|
|
|
65
65
|
streamCollector?: __StreamCollector;
|
|
66
66
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DataBrewClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|