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