@aws-sdk/client-personalize 3.413.0 → 3.418.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.
Files changed (139) hide show
  1. package/dist-cjs/commands/CreateBatchInferenceJobCommand.js +5 -0
  2. package/dist-cjs/commands/CreateBatchSegmentJobCommand.js +5 -0
  3. package/dist-cjs/commands/CreateCampaignCommand.js +5 -0
  4. package/dist-cjs/commands/CreateDatasetCommand.js +5 -0
  5. package/dist-cjs/commands/CreateDatasetExportJobCommand.js +5 -0
  6. package/dist-cjs/commands/CreateDatasetGroupCommand.js +5 -0
  7. package/dist-cjs/commands/CreateDatasetImportJobCommand.js +5 -0
  8. package/dist-cjs/commands/CreateEventTrackerCommand.js +5 -0
  9. package/dist-cjs/commands/CreateFilterCommand.js +5 -0
  10. package/dist-cjs/commands/CreateMetricAttributionCommand.js +5 -0
  11. package/dist-cjs/commands/CreateRecommenderCommand.js +5 -0
  12. package/dist-cjs/commands/CreateSchemaCommand.js +5 -0
  13. package/dist-cjs/commands/CreateSolutionCommand.js +5 -0
  14. package/dist-cjs/commands/CreateSolutionVersionCommand.js +5 -0
  15. package/dist-cjs/commands/DeleteCampaignCommand.js +5 -0
  16. package/dist-cjs/commands/DeleteDatasetCommand.js +5 -0
  17. package/dist-cjs/commands/DeleteDatasetGroupCommand.js +5 -0
  18. package/dist-cjs/commands/DeleteEventTrackerCommand.js +5 -0
  19. package/dist-cjs/commands/DeleteFilterCommand.js +5 -0
  20. package/dist-cjs/commands/DeleteMetricAttributionCommand.js +5 -0
  21. package/dist-cjs/commands/DeleteRecommenderCommand.js +5 -0
  22. package/dist-cjs/commands/DeleteSchemaCommand.js +5 -0
  23. package/dist-cjs/commands/DeleteSolutionCommand.js +5 -0
  24. package/dist-cjs/commands/DescribeAlgorithmCommand.js +5 -0
  25. package/dist-cjs/commands/DescribeBatchInferenceJobCommand.js +5 -0
  26. package/dist-cjs/commands/DescribeBatchSegmentJobCommand.js +5 -0
  27. package/dist-cjs/commands/DescribeCampaignCommand.js +5 -0
  28. package/dist-cjs/commands/DescribeDatasetCommand.js +5 -0
  29. package/dist-cjs/commands/DescribeDatasetExportJobCommand.js +5 -0
  30. package/dist-cjs/commands/DescribeDatasetGroupCommand.js +5 -0
  31. package/dist-cjs/commands/DescribeDatasetImportJobCommand.js +5 -0
  32. package/dist-cjs/commands/DescribeEventTrackerCommand.js +5 -0
  33. package/dist-cjs/commands/DescribeFeatureTransformationCommand.js +5 -0
  34. package/dist-cjs/commands/DescribeFilterCommand.js +5 -0
  35. package/dist-cjs/commands/DescribeMetricAttributionCommand.js +5 -0
  36. package/dist-cjs/commands/DescribeRecipeCommand.js +5 -0
  37. package/dist-cjs/commands/DescribeRecommenderCommand.js +5 -0
  38. package/dist-cjs/commands/DescribeSchemaCommand.js +5 -0
  39. package/dist-cjs/commands/DescribeSolutionCommand.js +5 -0
  40. package/dist-cjs/commands/DescribeSolutionVersionCommand.js +5 -0
  41. package/dist-cjs/commands/GetSolutionMetricsCommand.js +5 -0
  42. package/dist-cjs/commands/ListBatchInferenceJobsCommand.js +5 -0
  43. package/dist-cjs/commands/ListBatchSegmentJobsCommand.js +5 -0
  44. package/dist-cjs/commands/ListCampaignsCommand.js +5 -0
  45. package/dist-cjs/commands/ListDatasetExportJobsCommand.js +5 -0
  46. package/dist-cjs/commands/ListDatasetGroupsCommand.js +5 -0
  47. package/dist-cjs/commands/ListDatasetImportJobsCommand.js +5 -0
  48. package/dist-cjs/commands/ListDatasetsCommand.js +5 -0
  49. package/dist-cjs/commands/ListEventTrackersCommand.js +5 -0
  50. package/dist-cjs/commands/ListFiltersCommand.js +5 -0
  51. package/dist-cjs/commands/ListMetricAttributionMetricsCommand.js +5 -0
  52. package/dist-cjs/commands/ListMetricAttributionsCommand.js +5 -0
  53. package/dist-cjs/commands/ListRecipesCommand.js +5 -0
  54. package/dist-cjs/commands/ListRecommendersCommand.js +5 -0
  55. package/dist-cjs/commands/ListSchemasCommand.js +5 -0
  56. package/dist-cjs/commands/ListSolutionVersionsCommand.js +5 -0
  57. package/dist-cjs/commands/ListSolutionsCommand.js +5 -0
  58. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  59. package/dist-cjs/commands/StartRecommenderCommand.js +5 -0
  60. package/dist-cjs/commands/StopRecommenderCommand.js +5 -0
  61. package/dist-cjs/commands/StopSolutionVersionCreationCommand.js +5 -0
  62. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  63. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  64. package/dist-cjs/commands/UpdateCampaignCommand.js +5 -0
  65. package/dist-cjs/commands/UpdateDatasetCommand.js +5 -0
  66. package/dist-cjs/commands/UpdateMetricAttributionCommand.js +5 -0
  67. package/dist-cjs/commands/UpdateRecommenderCommand.js +5 -0
  68. package/dist-cjs/runtimeExtensions.js +3 -0
  69. package/dist-es/commands/CreateBatchInferenceJobCommand.js +5 -0
  70. package/dist-es/commands/CreateBatchSegmentJobCommand.js +5 -0
  71. package/dist-es/commands/CreateCampaignCommand.js +5 -0
  72. package/dist-es/commands/CreateDatasetCommand.js +5 -0
  73. package/dist-es/commands/CreateDatasetExportJobCommand.js +5 -0
  74. package/dist-es/commands/CreateDatasetGroupCommand.js +5 -0
  75. package/dist-es/commands/CreateDatasetImportJobCommand.js +5 -0
  76. package/dist-es/commands/CreateEventTrackerCommand.js +5 -0
  77. package/dist-es/commands/CreateFilterCommand.js +5 -0
  78. package/dist-es/commands/CreateMetricAttributionCommand.js +5 -0
  79. package/dist-es/commands/CreateRecommenderCommand.js +5 -0
  80. package/dist-es/commands/CreateSchemaCommand.js +5 -0
  81. package/dist-es/commands/CreateSolutionCommand.js +5 -0
  82. package/dist-es/commands/CreateSolutionVersionCommand.js +5 -0
  83. package/dist-es/commands/DeleteCampaignCommand.js +5 -0
  84. package/dist-es/commands/DeleteDatasetCommand.js +5 -0
  85. package/dist-es/commands/DeleteDatasetGroupCommand.js +5 -0
  86. package/dist-es/commands/DeleteEventTrackerCommand.js +5 -0
  87. package/dist-es/commands/DeleteFilterCommand.js +5 -0
  88. package/dist-es/commands/DeleteMetricAttributionCommand.js +5 -0
  89. package/dist-es/commands/DeleteRecommenderCommand.js +5 -0
  90. package/dist-es/commands/DeleteSchemaCommand.js +5 -0
  91. package/dist-es/commands/DeleteSolutionCommand.js +5 -0
  92. package/dist-es/commands/DescribeAlgorithmCommand.js +5 -0
  93. package/dist-es/commands/DescribeBatchInferenceJobCommand.js +5 -0
  94. package/dist-es/commands/DescribeBatchSegmentJobCommand.js +5 -0
  95. package/dist-es/commands/DescribeCampaignCommand.js +5 -0
  96. package/dist-es/commands/DescribeDatasetCommand.js +5 -0
  97. package/dist-es/commands/DescribeDatasetExportJobCommand.js +5 -0
  98. package/dist-es/commands/DescribeDatasetGroupCommand.js +5 -0
  99. package/dist-es/commands/DescribeDatasetImportJobCommand.js +5 -0
  100. package/dist-es/commands/DescribeEventTrackerCommand.js +5 -0
  101. package/dist-es/commands/DescribeFeatureTransformationCommand.js +5 -0
  102. package/dist-es/commands/DescribeFilterCommand.js +5 -0
  103. package/dist-es/commands/DescribeMetricAttributionCommand.js +5 -0
  104. package/dist-es/commands/DescribeRecipeCommand.js +5 -0
  105. package/dist-es/commands/DescribeRecommenderCommand.js +5 -0
  106. package/dist-es/commands/DescribeSchemaCommand.js +5 -0
  107. package/dist-es/commands/DescribeSolutionCommand.js +5 -0
  108. package/dist-es/commands/DescribeSolutionVersionCommand.js +5 -0
  109. package/dist-es/commands/GetSolutionMetricsCommand.js +5 -0
  110. package/dist-es/commands/ListBatchInferenceJobsCommand.js +5 -0
  111. package/dist-es/commands/ListBatchSegmentJobsCommand.js +5 -0
  112. package/dist-es/commands/ListCampaignsCommand.js +5 -0
  113. package/dist-es/commands/ListDatasetExportJobsCommand.js +5 -0
  114. package/dist-es/commands/ListDatasetGroupsCommand.js +5 -0
  115. package/dist-es/commands/ListDatasetImportJobsCommand.js +5 -0
  116. package/dist-es/commands/ListDatasetsCommand.js +5 -0
  117. package/dist-es/commands/ListEventTrackersCommand.js +5 -0
  118. package/dist-es/commands/ListFiltersCommand.js +5 -0
  119. package/dist-es/commands/ListMetricAttributionMetricsCommand.js +5 -0
  120. package/dist-es/commands/ListMetricAttributionsCommand.js +5 -0
  121. package/dist-es/commands/ListRecipesCommand.js +5 -0
  122. package/dist-es/commands/ListRecommendersCommand.js +5 -0
  123. package/dist-es/commands/ListSchemasCommand.js +5 -0
  124. package/dist-es/commands/ListSolutionVersionsCommand.js +5 -0
  125. package/dist-es/commands/ListSolutionsCommand.js +5 -0
  126. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  127. package/dist-es/commands/StartRecommenderCommand.js +5 -0
  128. package/dist-es/commands/StopRecommenderCommand.js +5 -0
  129. package/dist-es/commands/StopSolutionVersionCreationCommand.js +5 -0
  130. package/dist-es/commands/TagResourceCommand.js +5 -0
  131. package/dist-es/commands/UntagResourceCommand.js +5 -0
  132. package/dist-es/commands/UpdateCampaignCommand.js +5 -0
  133. package/dist-es/commands/UpdateDatasetCommand.js +5 -0
  134. package/dist-es/commands/UpdateMetricAttributionCommand.js +5 -0
  135. package/dist-es/commands/UpdateRecommenderCommand.js +5 -0
  136. package/dist-es/runtimeExtensions.js +3 -0
  137. package/dist-types/extensionConfiguration.d.ts +2 -1
  138. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  139. package/package.json +31 -30
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UpdateDatasetCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateDatasetCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPersonalize",
38
+ operation: "UpdateDataset",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UpdateMetricAttributionCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateMetricAttributionCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPersonalize",
38
+ operation: "UpdateMetricAttribution",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
10
  class UpdateRecommenderCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateRecommenderCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonPersonalize",
38
+ operation: "UpdateRecommender",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,17 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const asPartial = (t) => t;
7
8
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
8
9
  const extensionConfiguration = {
10
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
9
11
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
12
  ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
11
13
  };
12
14
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
13
15
  return {
14
16
  ...runtimeConfig,
17
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
15
18
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
19
  ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
17
20
  };
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateBatchInferenceJobCommand, se_CreateBatchInferenceJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateBatchInferenceJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateBatchInferenceJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateBatchInferenceJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateBatchSegmentJobCommand, se_CreateBatchSegmentJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateBatchSegmentJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateBatchSegmentJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateBatchSegmentJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateCampaignCommand, se_CreateCampaignCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateCampaignCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateCampaignCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateCampaign",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateDatasetCommand, se_CreateDatasetCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateDatasetCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateDatasetCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateDataset",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateDatasetExportJobCommand, se_CreateDatasetExportJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateDatasetExportJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateDatasetExportJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateDatasetExportJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateDatasetGroupCommand, se_CreateDatasetGroupCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateDatasetGroupCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateDatasetGroupCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateDatasetGroup",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateDatasetImportJobCommand, se_CreateDatasetImportJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateDatasetImportJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateDatasetImportJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateDatasetImportJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateEventTrackerCommand, se_CreateEventTrackerCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateEventTrackerCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateEventTrackerCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateEventTracker",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { CreateFilterRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { de_CreateFilterCommand, se_CreateFilterCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class CreateFilterCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: CreateFilterRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonPersonalize",
36
+ operation: "CreateFilter",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateMetricAttributionCommand, se_CreateMetricAttributionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateMetricAttributionCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateMetricAttributionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateMetricAttribution",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateRecommenderCommand, se_CreateRecommenderCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateRecommenderCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateRecommenderCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateRecommender",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateSchemaCommand, se_CreateSchemaCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateSchemaCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateSchemaCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateSchema",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateSolutionCommand, se_CreateSolutionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateSolutionCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateSolutionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateSolution",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateSolutionVersionCommand, se_CreateSolutionVersionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class CreateSolutionVersionCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateSolutionVersionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "CreateSolutionVersion",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteCampaignCommand, se_DeleteCampaignCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteCampaignCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteCampaignCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteCampaign",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteDatasetCommand, se_DeleteDatasetCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteDatasetCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteDatasetCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteDataset",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteDatasetGroupCommand, se_DeleteDatasetGroupCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteDatasetGroupCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteDatasetGroupCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteDatasetGroup",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteEventTrackerCommand, se_DeleteEventTrackerCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteEventTrackerCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteEventTrackerCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteEventTracker",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteFilterCommand, se_DeleteFilterCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteFilterCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteFilterCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteFilter",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteMetricAttributionCommand, se_DeleteMetricAttributionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteMetricAttributionCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteMetricAttributionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteMetricAttribution",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteRecommenderCommand, se_DeleteRecommenderCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteRecommenderCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteRecommenderCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteRecommender",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteSchemaCommand, se_DeleteSchemaCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteSchemaCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteSchemaCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteSchema",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteSolutionCommand, se_DeleteSolutionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DeleteSolutionCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteSolutionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DeleteSolution",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeAlgorithmCommand, se_DescribeAlgorithmCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeAlgorithmCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeAlgorithmCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DescribeAlgorithm",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeBatchInferenceJobCommand, se_DescribeBatchInferenceJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeBatchInferenceJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeBatchInferenceJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DescribeBatchInferenceJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeBatchSegmentJobCommand, se_DescribeBatchSegmentJobCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeBatchSegmentJobCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeBatchSegmentJobCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DescribeBatchSegmentJob",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeCampaignCommand, se_DescribeCampaignCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeCampaignCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeCampaignCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DescribeCampaign",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DescribeDatasetCommand, se_DescribeDatasetCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class DescribeDatasetCommand extends $Command {
@@ -29,6 +30,10 @@ export class DescribeDatasetCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonPersonalize",
35
+ operation: "DescribeDataset",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);