@aws-sdk/client-finspace 3.183.0 → 3.185.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.
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateEnvironmentRequestFilterSensitiveLog, UpdateEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateEnvironmentCommand, serializeAws_restJson1UpdateEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateEnvironmentCommand = (function (_super) {
7
+ __extends(UpdateEnvironmentCommand, _super);
8
+ function UpdateEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FinspaceClient";
15
- const commandName = "UpdateEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FinspaceClient";
18
+ var commandName = "UpdateEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateEnvironmentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEnvironmentCommand;
38
+ }($Command));
39
+ export { UpdateEnvironmentCommand };
@@ -1,6 +1,7 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {};
3
- const partitionHash = {
3
+ var regionHash = {};
4
+ var partitionHash = {
4
5
  aws: {
5
6
  regions: [
6
7
  "af-south-1",
@@ -120,9 +121,8 @@ const partitionHash = {
120
121
  ],
121
122
  },
122
123
  };
123
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
- ...options,
125
- signingService: "finspace",
126
- regionHash,
127
- partitionHash,
128
- });
124
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
+ return __generator(this, function (_a) {
126
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "finspace", regionHash: regionHash, partitionHash: partitionHash }))];
127
+ });
128
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class FinspaceServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, FinspaceServiceException.prototype);
3
+ var FinspaceServiceException = (function (_super) {
4
+ __extends(FinspaceServiceException, _super);
5
+ function FinspaceServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, FinspaceServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return FinspaceServiceException;
11
+ }(__ServiceException));
12
+ export { FinspaceServiceException };
@@ -1,94 +1,95 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
3
  import { FinspaceServiceException as __BaseException } from "./FinspaceServiceException";
3
- export class AccessDeniedException extends __BaseException {
4
- constructor(opts) {
5
- super({
6
- name: "AccessDeniedException",
7
- $fault: "client",
8
- ...opts,
9
- });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ return _this;
13
12
  }
14
- }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
15
16
  export var FederationMode;
16
17
  (function (FederationMode) {
17
18
  FederationMode["FEDERATED"] = "FEDERATED";
18
19
  FederationMode["LOCAL"] = "LOCAL";
19
20
  })(FederationMode || (FederationMode = {}));
20
- export class InternalServerException extends __BaseException {
21
- constructor(opts) {
22
- super({
23
- name: "InternalServerException",
24
- $fault: "server",
25
- ...opts,
26
- });
27
- this.name = "InternalServerException";
28
- this.$fault = "server";
29
- Object.setPrototypeOf(this, InternalServerException.prototype);
21
+ var InternalServerException = (function (_super) {
22
+ __extends(InternalServerException, _super);
23
+ function InternalServerException(opts) {
24
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
25
+ _this.name = "InternalServerException";
26
+ _this.$fault = "server";
27
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
28
+ return _this;
30
29
  }
31
- }
32
- export class LimitExceededException extends __BaseException {
33
- constructor(opts) {
34
- super({
35
- name: "LimitExceededException",
36
- $fault: "client",
37
- ...opts,
38
- });
39
- this.name = "LimitExceededException";
40
- this.$fault = "client";
41
- Object.setPrototypeOf(this, LimitExceededException.prototype);
30
+ return InternalServerException;
31
+ }(__BaseException));
32
+ export { InternalServerException };
33
+ var LimitExceededException = (function (_super) {
34
+ __extends(LimitExceededException, _super);
35
+ function LimitExceededException(opts) {
36
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
37
+ _this.name = "LimitExceededException";
38
+ _this.$fault = "client";
39
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
40
+ return _this;
42
41
  }
43
- }
44
- export class ServiceQuotaExceededException extends __BaseException {
45
- constructor(opts) {
46
- super({
47
- name: "ServiceQuotaExceededException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- this.name = "ServiceQuotaExceededException";
52
- this.$fault = "client";
53
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
42
+ return LimitExceededException;
43
+ }(__BaseException));
44
+ export { LimitExceededException };
45
+ var ServiceQuotaExceededException = (function (_super) {
46
+ __extends(ServiceQuotaExceededException, _super);
47
+ function ServiceQuotaExceededException(opts) {
48
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
49
+ _this.name = "ServiceQuotaExceededException";
50
+ _this.$fault = "client";
51
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
52
+ return _this;
54
53
  }
55
- }
56
- export class ThrottlingException extends __BaseException {
57
- constructor(opts) {
58
- super({
59
- name: "ThrottlingException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- this.name = "ThrottlingException";
64
- this.$fault = "client";
65
- Object.setPrototypeOf(this, ThrottlingException.prototype);
54
+ return ServiceQuotaExceededException;
55
+ }(__BaseException));
56
+ export { ServiceQuotaExceededException };
57
+ var ThrottlingException = (function (_super) {
58
+ __extends(ThrottlingException, _super);
59
+ function ThrottlingException(opts) {
60
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
61
+ _this.name = "ThrottlingException";
62
+ _this.$fault = "client";
63
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
64
+ return _this;
66
65
  }
67
- }
68
- export class ValidationException extends __BaseException {
69
- constructor(opts) {
70
- super({
71
- name: "ValidationException",
72
- $fault: "client",
73
- ...opts,
74
- });
75
- this.name = "ValidationException";
76
- this.$fault = "client";
77
- Object.setPrototypeOf(this, ValidationException.prototype);
66
+ return ThrottlingException;
67
+ }(__BaseException));
68
+ export { ThrottlingException };
69
+ var ValidationException = (function (_super) {
70
+ __extends(ValidationException, _super);
71
+ function ValidationException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
73
+ _this.name = "ValidationException";
74
+ _this.$fault = "client";
75
+ Object.setPrototypeOf(_this, ValidationException.prototype);
76
+ return _this;
78
77
  }
79
- }
80
- export class ResourceNotFoundException extends __BaseException {
81
- constructor(opts) {
82
- super({
83
- name: "ResourceNotFoundException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "ResourceNotFoundException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
78
+ return ValidationException;
79
+ }(__BaseException));
80
+ export { ValidationException };
81
+ var ResourceNotFoundException = (function (_super) {
82
+ __extends(ResourceNotFoundException, _super);
83
+ function ResourceNotFoundException(opts) {
84
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
85
+ _this.name = "ResourceNotFoundException";
86
+ _this.$fault = "client";
87
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
88
+ return _this;
90
89
  }
91
- }
90
+ return ResourceNotFoundException;
91
+ }(__BaseException));
92
+ export { ResourceNotFoundException };
92
93
  export var EnvironmentStatus;
93
94
  (function (EnvironmentStatus) {
94
95
  EnvironmentStatus["CREATED"] = "CREATED";
@@ -102,76 +103,36 @@ export var EnvironmentStatus;
102
103
  EnvironmentStatus["RETRY_DELETION"] = "RETRY_DELETION";
103
104
  EnvironmentStatus["SUSPENDED"] = "SUSPENDED";
104
105
  })(EnvironmentStatus || (EnvironmentStatus = {}));
105
- export class InvalidRequestException extends __BaseException {
106
- constructor(opts) {
107
- super({
108
- name: "InvalidRequestException",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- this.name = "InvalidRequestException";
113
- this.$fault = "client";
114
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
106
+ var InvalidRequestException = (function (_super) {
107
+ __extends(InvalidRequestException, _super);
108
+ function InvalidRequestException(opts) {
109
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
110
+ _this.name = "InvalidRequestException";
111
+ _this.$fault = "client";
112
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
113
+ return _this;
115
114
  }
116
- }
117
- export const FederationParametersFilterSensitiveLog = (obj) => ({
118
- ...obj,
119
- });
120
- export const SuperuserParametersFilterSensitiveLog = (obj) => ({
121
- ...obj,
122
- ...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }),
123
- });
124
- export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
125
- ...obj,
126
- ...(obj.superuserParameters && {
127
- superuserParameters: SuperuserParametersFilterSensitiveLog(obj.superuserParameters),
128
- }),
129
- });
130
- export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
131
- ...obj,
132
- });
133
- export const DeleteEnvironmentRequestFilterSensitiveLog = (obj) => ({
134
- ...obj,
135
- });
136
- export const DeleteEnvironmentResponseFilterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- export const GetEnvironmentRequestFilterSensitiveLog = (obj) => ({
140
- ...obj,
141
- });
142
- export const EnvironmentFilterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
146
- ...obj,
147
- });
148
- export const ListEnvironmentsRequestFilterSensitiveLog = (obj) => ({
149
- ...obj,
150
- });
151
- export const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
152
- ...obj,
153
- });
154
- export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
155
- ...obj,
156
- });
157
- export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
158
- ...obj,
159
- });
160
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
161
- ...obj,
162
- });
163
- export const TagResourceResponseFilterSensitiveLog = (obj) => ({
164
- ...obj,
165
- });
166
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
167
- ...obj,
168
- });
169
- export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
170
- ...obj,
171
- });
172
- export const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
173
- ...obj,
174
- });
175
- export const UpdateEnvironmentResponseFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- });
115
+ return InvalidRequestException;
116
+ }(__BaseException));
117
+ export { InvalidRequestException };
118
+ export var FederationParametersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
+ export var SuperuserParametersFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.emailAddress && { emailAddress: SENSITIVE_STRING }))); };
120
+ export var CreateEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.superuserParameters && {
121
+ superuserParameters: SuperuserParametersFilterSensitiveLog(obj.superuserParameters),
122
+ }))); };
123
+ export var CreateEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
+ export var DeleteEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
+ export var DeleteEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
126
+ export var GetEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
127
+ export var EnvironmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
+ export var GetEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
+ export var ListEnvironmentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
+ export var ListEnvironmentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
131
+ export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
+ export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
+ export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
134
+ export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
135
+ export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
136
+ export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
+ export var UpdateEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
138
+ export var UpdateEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };