@aws-sdk/client-sagemaker-a2i-runtime 3.131.0 → 3.142.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 CHANGED
@@ -3,6 +3,39 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
29
+
30
+
31
+ ### Features
32
+
33
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
34
+
35
+
36
+
37
+
38
+
6
39
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
40
 
8
41
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-a2i-runtime
package/README.md CHANGED
@@ -190,7 +190,7 @@ try {
190
190
  const data = await client.send(command);
191
191
  // process data.
192
192
  } catch (error) {
193
- const { requestId, cfId, extendedRequestId } = error.$metadata;
193
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
194
194
  console.log({ requestId, cfId, extendedRequestId });
195
195
  /**
196
196
  * The keys within exceptions are also parsed.
@@ -20,8 +20,8 @@ class DeleteHumanLoopCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DeleteHumanLoopRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DeleteHumanLoopResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DeleteHumanLoopRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteHumanLoopResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeHumanLoopCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeHumanLoopRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeHumanLoopResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeHumanLoopRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeHumanLoopResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class ListHumanLoopsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListHumanLoopsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListHumanLoopsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.ListHumanLoopsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListHumanLoopsResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class StartHumanLoopCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.StartHumanLoopRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.StartHumanLoopResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.StartHumanLoopRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StartHumanLoopResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class StopHumanLoopCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.StopHumanLoopRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.StopHumanLoopResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.StopHumanLoopRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StopHumanLoopResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,19 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopHumanLoopResponse = exports.StopHumanLoopRequest = exports.StartHumanLoopResponse = exports.StartHumanLoopRequest = exports.HumanLoopInput = exports.HumanLoopDataAttributes = exports.ContentClassifier = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ListHumanLoopsResponse = exports.HumanLoopSummary = exports.ListHumanLoopsRequest = exports.SortOrder = exports.DescribeHumanLoopResponse = exports.HumanLoopStatus = exports.HumanLoopOutput = exports.DescribeHumanLoopRequest = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DeleteHumanLoopResponse = exports.DeleteHumanLoopRequest = void 0;
3
+ exports.StopHumanLoopResponseFilterSensitiveLog = exports.StopHumanLoopRequestFilterSensitiveLog = exports.StartHumanLoopResponseFilterSensitiveLog = exports.StartHumanLoopRequestFilterSensitiveLog = exports.HumanLoopInputFilterSensitiveLog = exports.HumanLoopDataAttributesFilterSensitiveLog = exports.ListHumanLoopsResponseFilterSensitiveLog = exports.HumanLoopSummaryFilterSensitiveLog = exports.ListHumanLoopsRequestFilterSensitiveLog = exports.DescribeHumanLoopResponseFilterSensitiveLog = exports.HumanLoopOutputFilterSensitiveLog = exports.DescribeHumanLoopRequestFilterSensitiveLog = exports.DeleteHumanLoopResponseFilterSensitiveLog = exports.DeleteHumanLoopRequestFilterSensitiveLog = exports.ContentClassifier = exports.ServiceQuotaExceededException = exports.ConflictException = exports.SortOrder = exports.HumanLoopStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = void 0;
4
4
  const SageMakerA2IRuntimeServiceException_1 = require("./SageMakerA2IRuntimeServiceException");
5
- var DeleteHumanLoopRequest;
6
- (function (DeleteHumanLoopRequest) {
7
- DeleteHumanLoopRequest.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(DeleteHumanLoopRequest = exports.DeleteHumanLoopRequest || (exports.DeleteHumanLoopRequest = {}));
11
- var DeleteHumanLoopResponse;
12
- (function (DeleteHumanLoopResponse) {
13
- DeleteHumanLoopResponse.filterSensitiveLog = (obj) => ({
14
- ...obj,
15
- });
16
- })(DeleteHumanLoopResponse = exports.DeleteHumanLoopResponse || (exports.DeleteHumanLoopResponse = {}));
17
5
  class InternalServerException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
18
6
  constructor(opts) {
19
7
  super({
@@ -70,18 +58,6 @@ class ValidationException extends SageMakerA2IRuntimeServiceException_1.SageMake
70
58
  }
71
59
  }
72
60
  exports.ValidationException = ValidationException;
73
- var DescribeHumanLoopRequest;
74
- (function (DescribeHumanLoopRequest) {
75
- DescribeHumanLoopRequest.filterSensitiveLog = (obj) => ({
76
- ...obj,
77
- });
78
- })(DescribeHumanLoopRequest = exports.DescribeHumanLoopRequest || (exports.DescribeHumanLoopRequest = {}));
79
- var HumanLoopOutput;
80
- (function (HumanLoopOutput) {
81
- HumanLoopOutput.filterSensitiveLog = (obj) => ({
82
- ...obj,
83
- });
84
- })(HumanLoopOutput = exports.HumanLoopOutput || (exports.HumanLoopOutput = {}));
85
61
  var HumanLoopStatus;
86
62
  (function (HumanLoopStatus) {
87
63
  HumanLoopStatus["COMPLETED"] = "Completed";
@@ -90,35 +66,11 @@ var HumanLoopStatus;
90
66
  HumanLoopStatus["STOPPED"] = "Stopped";
91
67
  HumanLoopStatus["STOPPING"] = "Stopping";
92
68
  })(HumanLoopStatus = exports.HumanLoopStatus || (exports.HumanLoopStatus = {}));
93
- var DescribeHumanLoopResponse;
94
- (function (DescribeHumanLoopResponse) {
95
- DescribeHumanLoopResponse.filterSensitiveLog = (obj) => ({
96
- ...obj,
97
- });
98
- })(DescribeHumanLoopResponse = exports.DescribeHumanLoopResponse || (exports.DescribeHumanLoopResponse = {}));
99
69
  var SortOrder;
100
70
  (function (SortOrder) {
101
71
  SortOrder["ASCENDING"] = "Ascending";
102
72
  SortOrder["DESCENDING"] = "Descending";
103
73
  })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
104
- var ListHumanLoopsRequest;
105
- (function (ListHumanLoopsRequest) {
106
- ListHumanLoopsRequest.filterSensitiveLog = (obj) => ({
107
- ...obj,
108
- });
109
- })(ListHumanLoopsRequest = exports.ListHumanLoopsRequest || (exports.ListHumanLoopsRequest = {}));
110
- var HumanLoopSummary;
111
- (function (HumanLoopSummary) {
112
- HumanLoopSummary.filterSensitiveLog = (obj) => ({
113
- ...obj,
114
- });
115
- })(HumanLoopSummary = exports.HumanLoopSummary || (exports.HumanLoopSummary = {}));
116
- var ListHumanLoopsResponse;
117
- (function (ListHumanLoopsResponse) {
118
- ListHumanLoopsResponse.filterSensitiveLog = (obj) => ({
119
- ...obj,
120
- });
121
- })(ListHumanLoopsResponse = exports.ListHumanLoopsResponse || (exports.ListHumanLoopsResponse = {}));
122
74
  class ConflictException extends SageMakerA2IRuntimeServiceException_1.SageMakerA2IRuntimeServiceException {
123
75
  constructor(opts) {
124
76
  super({
@@ -152,39 +104,59 @@ var ContentClassifier;
152
104
  ContentClassifier["FREE_OF_ADULT_CONTENT"] = "FreeOfAdultContent";
153
105
  ContentClassifier["FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION"] = "FreeOfPersonallyIdentifiableInformation";
154
106
  })(ContentClassifier = exports.ContentClassifier || (exports.ContentClassifier = {}));
155
- var HumanLoopDataAttributes;
156
- (function (HumanLoopDataAttributes) {
157
- HumanLoopDataAttributes.filterSensitiveLog = (obj) => ({
158
- ...obj,
159
- });
160
- })(HumanLoopDataAttributes = exports.HumanLoopDataAttributes || (exports.HumanLoopDataAttributes = {}));
161
- var HumanLoopInput;
162
- (function (HumanLoopInput) {
163
- HumanLoopInput.filterSensitiveLog = (obj) => ({
164
- ...obj,
165
- });
166
- })(HumanLoopInput = exports.HumanLoopInput || (exports.HumanLoopInput = {}));
167
- var StartHumanLoopRequest;
168
- (function (StartHumanLoopRequest) {
169
- StartHumanLoopRequest.filterSensitiveLog = (obj) => ({
170
- ...obj,
171
- });
172
- })(StartHumanLoopRequest = exports.StartHumanLoopRequest || (exports.StartHumanLoopRequest = {}));
173
- var StartHumanLoopResponse;
174
- (function (StartHumanLoopResponse) {
175
- StartHumanLoopResponse.filterSensitiveLog = (obj) => ({
176
- ...obj,
177
- });
178
- })(StartHumanLoopResponse = exports.StartHumanLoopResponse || (exports.StartHumanLoopResponse = {}));
179
- var StopHumanLoopRequest;
180
- (function (StopHumanLoopRequest) {
181
- StopHumanLoopRequest.filterSensitiveLog = (obj) => ({
182
- ...obj,
183
- });
184
- })(StopHumanLoopRequest = exports.StopHumanLoopRequest || (exports.StopHumanLoopRequest = {}));
185
- var StopHumanLoopResponse;
186
- (function (StopHumanLoopResponse) {
187
- StopHumanLoopResponse.filterSensitiveLog = (obj) => ({
188
- ...obj,
189
- });
190
- })(StopHumanLoopResponse = exports.StopHumanLoopResponse || (exports.StopHumanLoopResponse = {}));
107
+ const DeleteHumanLoopRequestFilterSensitiveLog = (obj) => ({
108
+ ...obj,
109
+ });
110
+ exports.DeleteHumanLoopRequestFilterSensitiveLog = DeleteHumanLoopRequestFilterSensitiveLog;
111
+ const DeleteHumanLoopResponseFilterSensitiveLog = (obj) => ({
112
+ ...obj,
113
+ });
114
+ exports.DeleteHumanLoopResponseFilterSensitiveLog = DeleteHumanLoopResponseFilterSensitiveLog;
115
+ const DescribeHumanLoopRequestFilterSensitiveLog = (obj) => ({
116
+ ...obj,
117
+ });
118
+ exports.DescribeHumanLoopRequestFilterSensitiveLog = DescribeHumanLoopRequestFilterSensitiveLog;
119
+ const HumanLoopOutputFilterSensitiveLog = (obj) => ({
120
+ ...obj,
121
+ });
122
+ exports.HumanLoopOutputFilterSensitiveLog = HumanLoopOutputFilterSensitiveLog;
123
+ const DescribeHumanLoopResponseFilterSensitiveLog = (obj) => ({
124
+ ...obj,
125
+ });
126
+ exports.DescribeHumanLoopResponseFilterSensitiveLog = DescribeHumanLoopResponseFilterSensitiveLog;
127
+ const ListHumanLoopsRequestFilterSensitiveLog = (obj) => ({
128
+ ...obj,
129
+ });
130
+ exports.ListHumanLoopsRequestFilterSensitiveLog = ListHumanLoopsRequestFilterSensitiveLog;
131
+ const HumanLoopSummaryFilterSensitiveLog = (obj) => ({
132
+ ...obj,
133
+ });
134
+ exports.HumanLoopSummaryFilterSensitiveLog = HumanLoopSummaryFilterSensitiveLog;
135
+ const ListHumanLoopsResponseFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ });
138
+ exports.ListHumanLoopsResponseFilterSensitiveLog = ListHumanLoopsResponseFilterSensitiveLog;
139
+ const HumanLoopDataAttributesFilterSensitiveLog = (obj) => ({
140
+ ...obj,
141
+ });
142
+ exports.HumanLoopDataAttributesFilterSensitiveLog = HumanLoopDataAttributesFilterSensitiveLog;
143
+ const HumanLoopInputFilterSensitiveLog = (obj) => ({
144
+ ...obj,
145
+ });
146
+ exports.HumanLoopInputFilterSensitiveLog = HumanLoopInputFilterSensitiveLog;
147
+ const StartHumanLoopRequestFilterSensitiveLog = (obj) => ({
148
+ ...obj,
149
+ });
150
+ exports.StartHumanLoopRequestFilterSensitiveLog = StartHumanLoopRequestFilterSensitiveLog;
151
+ const StartHumanLoopResponseFilterSensitiveLog = (obj) => ({
152
+ ...obj,
153
+ });
154
+ exports.StartHumanLoopResponseFilterSensitiveLog = StartHumanLoopResponseFilterSensitiveLog;
155
+ const StopHumanLoopRequestFilterSensitiveLog = (obj) => ({
156
+ ...obj,
157
+ });
158
+ exports.StopHumanLoopRequestFilterSensitiveLog = StopHumanLoopRequestFilterSensitiveLog;
159
+ const StopHumanLoopResponseFilterSensitiveLog = (obj) => ({
160
+ ...obj,
161
+ });
162
+ exports.StopHumanLoopResponseFilterSensitiveLog = StopHumanLoopResponseFilterSensitiveLog;