@aws-sdk/client-redshift-serverless 3.186.0 → 3.190.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 (55) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/RedshiftServerless.js +150 -157
  3. package/dist-es/RedshiftServerlessClient.js +22 -28
  4. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +21 -28
  5. package/dist-es/commands/CreateEndpointAccessCommand.js +21 -28
  6. package/dist-es/commands/CreateNamespaceCommand.js +21 -28
  7. package/dist-es/commands/CreateSnapshotCommand.js +21 -28
  8. package/dist-es/commands/CreateUsageLimitCommand.js +21 -28
  9. package/dist-es/commands/CreateWorkgroupCommand.js +21 -28
  10. package/dist-es/commands/DeleteEndpointAccessCommand.js +21 -28
  11. package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
  12. package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
  13. package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
  14. package/dist-es/commands/DeleteUsageLimitCommand.js +21 -28
  15. package/dist-es/commands/DeleteWorkgroupCommand.js +21 -28
  16. package/dist-es/commands/GetCredentialsCommand.js +21 -28
  17. package/dist-es/commands/GetEndpointAccessCommand.js +21 -28
  18. package/dist-es/commands/GetNamespaceCommand.js +21 -28
  19. package/dist-es/commands/GetRecoveryPointCommand.js +21 -28
  20. package/dist-es/commands/GetResourcePolicyCommand.js +21 -28
  21. package/dist-es/commands/GetSnapshotCommand.js +21 -28
  22. package/dist-es/commands/GetUsageLimitCommand.js +21 -28
  23. package/dist-es/commands/GetWorkgroupCommand.js +21 -28
  24. package/dist-es/commands/ListEndpointAccessCommand.js +21 -28
  25. package/dist-es/commands/ListNamespacesCommand.js +21 -28
  26. package/dist-es/commands/ListRecoveryPointsCommand.js +21 -28
  27. package/dist-es/commands/ListSnapshotsCommand.js +21 -28
  28. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  29. package/dist-es/commands/ListUsageLimitsCommand.js +21 -28
  30. package/dist-es/commands/ListWorkgroupsCommand.js +21 -28
  31. package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
  32. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +21 -28
  33. package/dist-es/commands/RestoreFromSnapshotCommand.js +21 -28
  34. package/dist-es/commands/TagResourceCommand.js +21 -28
  35. package/dist-es/commands/UntagResourceCommand.js +21 -28
  36. package/dist-es/commands/UpdateEndpointAccessCommand.js +21 -28
  37. package/dist-es/commands/UpdateNamespaceCommand.js +21 -28
  38. package/dist-es/commands/UpdateSnapshotCommand.js +21 -28
  39. package/dist-es/commands/UpdateUsageLimitCommand.js +21 -28
  40. package/dist-es/commands/UpdateWorkgroupCommand.js +21 -28
  41. package/dist-es/endpoints.js +8 -8
  42. package/dist-es/models/RedshiftServerlessServiceException.js +5 -10
  43. package/dist-es/models/models_0.js +392 -205
  44. package/dist-es/pagination/ListEndpointAccessPaginator.js +25 -68
  45. package/dist-es/pagination/ListNamespacesPaginator.js +25 -68
  46. package/dist-es/pagination/ListRecoveryPointsPaginator.js +25 -68
  47. package/dist-es/pagination/ListSnapshotsPaginator.js +25 -68
  48. package/dist-es/pagination/ListUsageLimitsPaginator.js +25 -68
  49. package/dist-es/pagination/ListWorkgroupsPaginator.js +25 -68
  50. package/dist-es/protocols/Aws_json1_1.js +2414 -3133
  51. package/dist-es/runtimeConfig.browser.js +26 -12
  52. package/dist-es/runtimeConfig.js +30 -12
  53. package/dist-es/runtimeConfig.native.js +8 -5
  54. package/dist-es/runtimeConfig.shared.js +8 -11
  55. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteSnapshotRequestFilterSensitiveLog, DeleteSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteSnapshotCommand, serializeAws_json1_1DeleteSnapshotCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteSnapshotCommand = (function (_super) {
7
- __extends(DeleteSnapshotCommand, _super);
8
- function DeleteSnapshotCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSnapshotCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "DeleteSnapshotCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "DeleteSnapshotCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSnapshotRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSnapshotResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSnapshotCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteSnapshotCommand(input, context);
33
- };
34
- DeleteSnapshotCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteSnapshotCommand(output, context);
36
- };
37
- return DeleteSnapshotCommand;
38
- }($Command));
39
- export { DeleteSnapshotCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteUsageLimitRequestFilterSensitiveLog, DeleteUsageLimitResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteUsageLimitCommand, serializeAws_json1_1DeleteUsageLimitCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteUsageLimitCommand = (function (_super) {
7
- __extends(DeleteUsageLimitCommand, _super);
8
- function DeleteUsageLimitCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteUsageLimitCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUsageLimitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "DeleteUsageLimitCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "DeleteUsageLimitCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUsageLimitRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteUsageLimitResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteUsageLimitCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteUsageLimitCommand(input, context);
33
- };
34
- DeleteUsageLimitCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteUsageLimitCommand(output, context);
36
- };
37
- return DeleteUsageLimitCommand;
38
- }($Command));
39
- export { DeleteUsageLimitCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteWorkgroupRequestFilterSensitiveLog, DeleteWorkgroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteWorkgroupCommand, serializeAws_json1_1DeleteWorkgroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteWorkgroupCommand = (function (_super) {
7
- __extends(DeleteWorkgroupCommand, _super);
8
- function DeleteWorkgroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteWorkgroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteWorkgroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "DeleteWorkgroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "DeleteWorkgroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteWorkgroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteWorkgroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteWorkgroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteWorkgroupCommand(input, context);
33
- };
34
- DeleteWorkgroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteWorkgroupCommand(output, context);
36
- };
37
- return DeleteWorkgroupCommand;
38
- }($Command));
39
- export { DeleteWorkgroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetCredentialsRequestFilterSensitiveLog, GetCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetCredentialsCommand, serializeAws_json1_1GetCredentialsCommand, } from "../protocols/Aws_json1_1";
6
- var GetCredentialsCommand = (function (_super) {
7
- __extends(GetCredentialsCommand, _super);
8
- function GetCredentialsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetCredentialsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCredentialsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetCredentialsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetCredentialsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetCredentialsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetCredentialsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetCredentialsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetCredentialsCommand(input, context);
33
- };
34
- GetCredentialsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetCredentialsCommand(output, context);
36
- };
37
- return GetCredentialsCommand;
38
- }($Command));
39
- export { GetCredentialsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetEndpointAccessRequestFilterSensitiveLog, GetEndpointAccessResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetEndpointAccessCommand, serializeAws_json1_1GetEndpointAccessCommand, } from "../protocols/Aws_json1_1";
6
- var GetEndpointAccessCommand = (function (_super) {
7
- __extends(GetEndpointAccessCommand, _super);
8
- function GetEndpointAccessCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEndpointAccessCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEndpointAccessCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetEndpointAccessCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetEndpointAccessCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEndpointAccessRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEndpointAccessResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEndpointAccessCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetEndpointAccessCommand(input, context);
33
- };
34
- GetEndpointAccessCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetEndpointAccessCommand(output, context);
36
- };
37
- return GetEndpointAccessCommand;
38
- }($Command));
39
- export { GetEndpointAccessCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetNamespaceRequestFilterSensitiveLog, GetNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetNamespaceCommand, serializeAws_json1_1GetNamespaceCommand, } from "../protocols/Aws_json1_1";
6
- var GetNamespaceCommand = (function (_super) {
7
- __extends(GetNamespaceCommand, _super);
8
- function GetNamespaceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNamespaceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNamespaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetNamespaceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetNamespaceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNamespaceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNamespaceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNamespaceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetNamespaceCommand(input, context);
33
- };
34
- GetNamespaceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetNamespaceCommand(output, context);
36
- };
37
- return GetNamespaceCommand;
38
- }($Command));
39
- export { GetNamespaceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetRecoveryPointRequestFilterSensitiveLog, GetRecoveryPointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetRecoveryPointCommand, serializeAws_json1_1GetRecoveryPointCommand, } from "../protocols/Aws_json1_1";
6
- var GetRecoveryPointCommand = (function (_super) {
7
- __extends(GetRecoveryPointCommand, _super);
8
- function GetRecoveryPointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRecoveryPointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRecoveryPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetRecoveryPointCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetRecoveryPointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRecoveryPointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRecoveryPointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRecoveryPointCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetRecoveryPointCommand(input, context);
33
- };
34
- GetRecoveryPointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetRecoveryPointCommand(output, context);
36
- };
37
- return GetRecoveryPointCommand;
38
- }($Command));
39
- export { GetRecoveryPointCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetResourcePolicyRequestFilterSensitiveLog, GetResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetResourcePolicyCommand, serializeAws_json1_1GetResourcePolicyCommand, } from "../protocols/Aws_json1_1";
6
- var GetResourcePolicyCommand = (function (_super) {
7
- __extends(GetResourcePolicyCommand, _super);
8
- function GetResourcePolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetResourcePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetResourcePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetResourcePolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetResourcePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetResourcePolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetResourcePolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetResourcePolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetResourcePolicyCommand(input, context);
33
- };
34
- GetResourcePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetResourcePolicyCommand(output, context);
36
- };
37
- return GetResourcePolicyCommand;
38
- }($Command));
39
- export { GetResourcePolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSnapshotRequestFilterSensitiveLog, GetSnapshotResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetSnapshotCommand, serializeAws_json1_1GetSnapshotCommand, } from "../protocols/Aws_json1_1";
6
- var GetSnapshotCommand = (function (_super) {
7
- __extends(GetSnapshotCommand, _super);
8
- function GetSnapshotCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSnapshotCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetSnapshotCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetSnapshotCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSnapshotRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSnapshotResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSnapshotCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetSnapshotCommand(input, context);
33
- };
34
- GetSnapshotCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetSnapshotCommand(output, context);
36
- };
37
- return GetSnapshotCommand;
38
- }($Command));
39
- export { GetSnapshotCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetUsageLimitRequestFilterSensitiveLog, GetUsageLimitResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetUsageLimitCommand, serializeAws_json1_1GetUsageLimitCommand, } from "../protocols/Aws_json1_1";
6
- var GetUsageLimitCommand = (function (_super) {
7
- __extends(GetUsageLimitCommand, _super);
8
- function GetUsageLimitCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetUsageLimitCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetUsageLimitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "RedshiftServerlessClient";
18
- var commandName = "GetUsageLimitCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "RedshiftServerlessClient";
15
+ const commandName = "GetUsageLimitCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetUsageLimitRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetUsageLimitResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetUsageLimitCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetUsageLimitCommand(input, context);
33
- };
34
- GetUsageLimitCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetUsageLimitCommand(output, context);
36
- };
37
- return GetUsageLimitCommand;
38
- }($Command));
39
- export { GetUsageLimitCommand };
31
+ }
32
+ }