@aws-sdk/client-scheduler 3.414.0 → 3.421.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/README.md CHANGED
@@ -27,16 +27,16 @@ using your favorite package manager:
27
27
 
28
28
  The AWS SDK is modulized by clients and commands.
29
29
  To send a request, you only need to import the `SchedulerClient` and
30
- the commands you need, for example `CreateScheduleCommand`:
30
+ the commands you need, for example `ListSchedulesCommand`:
31
31
 
32
32
  ```js
33
33
  // ES5 example
34
- const { SchedulerClient, CreateScheduleCommand } = require("@aws-sdk/client-scheduler");
34
+ const { SchedulerClient, ListSchedulesCommand } = require("@aws-sdk/client-scheduler");
35
35
  ```
36
36
 
37
37
  ```ts
38
38
  // ES6+ example
39
- import { SchedulerClient, CreateScheduleCommand } from "@aws-sdk/client-scheduler";
39
+ import { SchedulerClient, ListSchedulesCommand } from "@aws-sdk/client-scheduler";
40
40
  ```
41
41
 
42
42
  ### Usage
@@ -55,7 +55,7 @@ const client = new SchedulerClient({ region: "REGION" });
55
55
  const params = {
56
56
  /** input parameters */
57
57
  };
58
- const command = new CreateScheduleCommand(params);
58
+ const command = new ListSchedulesCommand(params);
59
59
  ```
60
60
 
61
61
  #### Async/await
@@ -134,7 +134,7 @@ const client = new AWS.Scheduler({ region: "REGION" });
134
134
 
135
135
  // async/await.
136
136
  try {
137
- const data = await client.createSchedule(params);
137
+ const data = await client.listSchedules(params);
138
138
  // process data.
139
139
  } catch (error) {
140
140
  // error handling.
@@ -142,7 +142,7 @@ try {
142
142
 
143
143
  // Promises.
144
144
  client
145
- .createSchedule(params)
145
+ .listSchedules(params)
146
146
  .then((data) => {
147
147
  // process data.
148
148
  })
@@ -151,7 +151,7 @@ client
151
151
  });
152
152
 
153
153
  // callbacks.
154
- client.createSchedule(params, (err, data) => {
154
+ client.listSchedules(params, (err, data) => {
155
155
  // process err and data.
156
156
  });
157
157
  ```
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateScheduleCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateScheduleCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "CreateSchedule",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class CreateScheduleGroupCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class CreateScheduleGroupCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "CreateScheduleGroup",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteScheduleCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteScheduleCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "DeleteSchedule",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class DeleteScheduleGroupCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class DeleteScheduleGroupCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "DeleteScheduleGroup",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetScheduleCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetScheduleCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "GetSchedule",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class GetScheduleGroupCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class GetScheduleGroupCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "GetScheduleGroup",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListScheduleGroupsCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListScheduleGroupsCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "ListScheduleGroups",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListSchedulesCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListSchedulesCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "ListSchedules",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class ListTagsForResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "ListTagsForResource",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class TagResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class TagResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "TagResource",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UntagResourceCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "UntagResource",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
10
  class UpdateScheduleCommand extends smithy_client_1.Command {
10
11
  static getEndpointParameterInstructions() {
@@ -32,6 +33,10 @@ class UpdateScheduleCommand extends smithy_client_1.Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSChronosService",
38
+ operation: "UpdateSchedule",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateScheduleCommand, se_CreateScheduleCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateScheduleCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateScheduleCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "CreateSchedule",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateScheduleGroupCommand, se_CreateScheduleGroupCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateScheduleGroupCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateScheduleGroupCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "CreateScheduleGroup",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteScheduleCommand, se_DeleteScheduleCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteScheduleCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteScheduleCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "DeleteSchedule",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteScheduleGroupCommand, se_DeleteScheduleGroupCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteScheduleGroupCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteScheduleGroupCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "DeleteScheduleGroup",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetScheduleCommand, se_GetScheduleCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetScheduleCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetScheduleCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "GetSchedule",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetScheduleGroupCommand, se_GetScheduleGroupCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetScheduleGroupCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetScheduleGroupCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "GetScheduleGroup",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListScheduleGroupsCommand, se_ListScheduleGroupsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListScheduleGroupsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListScheduleGroupsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "ListScheduleGroups",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListSchedulesCommand, se_ListSchedulesCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListSchedulesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListSchedulesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "ListSchedules",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateScheduleCommand, se_UpdateScheduleCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateScheduleCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateScheduleCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSChronosService",
35
+ operation: "UpdateSchedule",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-scheduler",
3
3
  "description": "AWS SDK for JavaScript Scheduler Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/region-config-resolver": "3.413.0",
32
- "@aws-sdk/types": "3.413.0",
33
- "@aws-sdk/util-endpoints": "3.413.0",
34
- "@aws-sdk/util-user-agent-browser": "3.413.0",
35
- "@aws-sdk/util-user-agent-node": "3.413.0",
36
- "@smithy/config-resolver": "^2.0.8",
37
- "@smithy/fetch-http-handler": "^2.1.3",
38
- "@smithy/hash-node": "^2.0.7",
39
- "@smithy/invalid-dependency": "^2.0.7",
40
- "@smithy/middleware-content-length": "^2.0.9",
41
- "@smithy/middleware-endpoint": "^2.0.7",
42
- "@smithy/middleware-retry": "^2.0.10",
43
- "@smithy/middleware-serde": "^2.0.7",
44
- "@smithy/middleware-stack": "^2.0.0",
45
- "@smithy/node-config-provider": "^2.0.10",
46
- "@smithy/node-http-handler": "^2.1.3",
47
- "@smithy/protocol-http": "^3.0.3",
48
- "@smithy/smithy-client": "^2.1.4",
49
- "@smithy/types": "^2.3.1",
50
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.8",
55
- "@smithy/util-defaults-mode-node": "^2.0.10",
56
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"