@aws-sdk/client-scheduler 3.208.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +209 -0
  3. package/dist-cjs/Scheduler.js +187 -0
  4. package/dist-cjs/SchedulerClient.js +40 -0
  5. package/dist-cjs/commands/CreateScheduleCommand.js +46 -0
  6. package/dist-cjs/commands/CreateScheduleGroupCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteScheduleCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteScheduleGroupCommand.js +46 -0
  9. package/dist-cjs/commands/GetScheduleCommand.js +46 -0
  10. package/dist-cjs/commands/GetScheduleGroupCommand.js +46 -0
  11. package/dist-cjs/commands/ListScheduleGroupsCommand.js +46 -0
  12. package/dist-cjs/commands/ListSchedulesCommand.js +46 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  16. package/dist-cjs/commands/UpdateScheduleCommand.js +46 -0
  17. package/dist-cjs/commands/index.js +15 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +312 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/SchedulerServiceException.js +11 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +302 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListScheduleGroupsPaginator.js +36 -0
  27. package/dist-cjs/pagination/ListSchedulesPaginator.js +36 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +1494 -0
  30. package/dist-cjs/runtimeConfig.browser.js +42 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +17 -0
  34. package/dist-es/Scheduler.js +183 -0
  35. package/dist-es/SchedulerClient.js +36 -0
  36. package/dist-es/commands/CreateScheduleCommand.js +42 -0
  37. package/dist-es/commands/CreateScheduleGroupCommand.js +42 -0
  38. package/dist-es/commands/DeleteScheduleCommand.js +42 -0
  39. package/dist-es/commands/DeleteScheduleGroupCommand.js +42 -0
  40. package/dist-es/commands/GetScheduleCommand.js +42 -0
  41. package/dist-es/commands/GetScheduleGroupCommand.js +42 -0
  42. package/dist-es/commands/ListScheduleGroupsCommand.js +42 -0
  43. package/dist-es/commands/ListSchedulesCommand.js +42 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  45. package/dist-es/commands/TagResourceCommand.js +42 -0
  46. package/dist-es/commands/UntagResourceCommand.js +42 -0
  47. package/dist-es/commands/UpdateScheduleCommand.js +42 -0
  48. package/dist-es/commands/index.js +12 -0
  49. package/dist-es/endpoint/EndpointParameters.js +8 -0
  50. package/dist-es/endpoint/endpointResolver.js +8 -0
  51. package/dist-es/endpoint/ruleset.js +309 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/SchedulerServiceException.js +7 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +249 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListScheduleGroupsPaginator.js +32 -0
  58. package/dist-es/pagination/ListSchedulesPaginator.js +32 -0
  59. package/dist-es/pagination/index.js +3 -0
  60. package/dist-es/protocols/Aws_restJson1.js +1467 -0
  61. package/dist-es/runtimeConfig.browser.js +37 -0
  62. package/dist-es/runtimeConfig.js +45 -0
  63. package/dist-es/runtimeConfig.native.js +11 -0
  64. package/dist-es/runtimeConfig.shared.js +13 -0
  65. package/dist-types/Scheduler.d.ts +111 -0
  66. package/dist-types/SchedulerClient.d.ts +157 -0
  67. package/dist-types/commands/CreateScheduleCommand.d.ts +37 -0
  68. package/dist-types/commands/CreateScheduleGroupCommand.d.ts +37 -0
  69. package/dist-types/commands/DeleteScheduleCommand.d.ts +37 -0
  70. package/dist-types/commands/DeleteScheduleGroupCommand.d.ts +45 -0
  71. package/dist-types/commands/GetScheduleCommand.d.ts +37 -0
  72. package/dist-types/commands/GetScheduleGroupCommand.d.ts +37 -0
  73. package/dist-types/commands/ListScheduleGroupsCommand.d.ts +37 -0
  74. package/dist-types/commands/ListSchedulesCommand.d.ts +37 -0
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  78. package/dist-types/commands/UpdateScheduleCommand.d.ts +45 -0
  79. package/dist-types/commands/index.d.ts +12 -0
  80. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  81. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  82. package/dist-types/endpoint/ruleset.d.ts +2 -0
  83. package/dist-types/index.d.ts +6 -0
  84. package/dist-types/models/SchedulerServiceException.d.ts +10 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +1148 -0
  87. package/dist-types/pagination/Interfaces.d.ts +6 -0
  88. package/dist-types/pagination/ListScheduleGroupsPaginator.d.ts +4 -0
  89. package/dist-types/pagination/ListSchedulesPaginator.d.ts +4 -0
  90. package/dist-types/pagination/index.d.ts +3 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  92. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  93. package/dist-types/runtimeConfig.d.ts +42 -0
  94. package/dist-types/runtimeConfig.native.d.ts +41 -0
  95. package/dist-types/runtimeConfig.shared.d.ts +17 -0
  96. package/dist-types/ts3.4/Scheduler.d.ts +208 -0
  97. package/dist-types/ts3.4/SchedulerClient.d.ts +183 -0
  98. package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +34 -0
  99. package/dist-types/ts3.4/commands/CreateScheduleGroupCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +34 -0
  101. package/dist-types/ts3.4/commands/DeleteScheduleGroupCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/GetScheduleCommand.d.ts +34 -0
  103. package/dist-types/ts3.4/commands/GetScheduleGroupCommand.d.ts +37 -0
  104. package/dist-types/ts3.4/commands/ListScheduleGroupsCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +34 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  109. package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +34 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/ts3.4/index.d.ts +6 -0
  115. package/dist-types/ts3.4/models/SchedulerServiceException.d.ts +7 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +423 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  119. package/dist-types/ts3.4/pagination/ListScheduleGroupsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  122. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  123. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
  124. package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
  125. package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
  126. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +17 -0
  127. package/package.json +105 -0
@@ -0,0 +1,37 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
7
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
12
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
+ export const getRuntimeConfig = (config) => {
14
+ const defaultsMode = resolveDefaultsModeConfig(config);
15
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
16
+ const clientSharedValues = getSharedRuntimeConfig(config);
17
+ return {
18
+ ...clientSharedValues,
19
+ ...config,
20
+ runtime: "browser",
21
+ defaultsMode,
22
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
23
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
24
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
25
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
26
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
27
+ region: config?.region ?? invalidProvider("Region is missing"),
28
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
29
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
30
+ sha256: config?.sha256 ?? Sha256,
31
+ streamCollector: config?.streamCollector ?? streamCollector,
32
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
34
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
35
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
36
+ };
37
+ };
@@ -0,0 +1,45 @@
1
+ import packageInfo from "../package.json";
2
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
+ import { Hash } from "@aws-sdk/hash-node";
6
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
7
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ return {
22
+ ...clientSharedValues,
23
+ ...config,
24
+ runtime: "node",
25
+ defaultsMode,
26
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
28
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ retryMode: config?.retryMode ??
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
+ }),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
42
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
43
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
44
+ };
45
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
3
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
4
+ export const getRuntimeConfig = (config) => ({
5
+ apiVersion: "2021-06-30",
6
+ base64Decoder: config?.base64Decoder ?? fromBase64,
7
+ base64Encoder: config?.base64Encoder ?? toBase64,
8
+ disableHostPrefix: config?.disableHostPrefix ?? false,
9
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
10
+ logger: config?.logger ?? {},
11
+ serviceId: config?.serviceId ?? "Scheduler",
12
+ urlParser: config?.urlParser ?? parseUrl,
13
+ });
@@ -0,0 +1,111 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "./commands/CreateScheduleCommand";
3
+ import { CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput } from "./commands/CreateScheduleGroupCommand";
4
+ import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand";
5
+ import { DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput } from "./commands/DeleteScheduleGroupCommand";
6
+ import { GetScheduleCommandInput, GetScheduleCommandOutput } from "./commands/GetScheduleCommand";
7
+ import { GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput } from "./commands/GetScheduleGroupCommand";
8
+ import { ListScheduleGroupsCommandInput, ListScheduleGroupsCommandOutput } from "./commands/ListScheduleGroupsCommand";
9
+ import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "./commands/ListSchedulesCommand";
10
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
11
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
12
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
13
+ import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand";
14
+ import { SchedulerClient } from "./SchedulerClient";
15
+ /**
16
+ * <p>
17
+ * Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service.
18
+ * EventBridge Scheduler delivers your tasks reliably, with built-in mechanisms that adjust your schedules based on the availability of downstream targets.
19
+ * The following reference lists the available API actions, and data types for EventBridge Scheduler.
20
+ * </p>
21
+ */
22
+ export declare class Scheduler extends SchedulerClient {
23
+ /**
24
+ * <p>Creates the specified schedule.</p>
25
+ */
26
+ createSchedule(args: CreateScheduleCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduleCommandOutput>;
27
+ createSchedule(args: CreateScheduleCommandInput, cb: (err: any, data?: CreateScheduleCommandOutput) => void): void;
28
+ createSchedule(args: CreateScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduleCommandOutput) => void): void;
29
+ /**
30
+ * <p>Creates the specified schedule group.</p>
31
+ */
32
+ createScheduleGroup(args: CreateScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateScheduleGroupCommandOutput>;
33
+ createScheduleGroup(args: CreateScheduleGroupCommandInput, cb: (err: any, data?: CreateScheduleGroupCommandOutput) => void): void;
34
+ createScheduleGroup(args: CreateScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateScheduleGroupCommandOutput) => void): void;
35
+ /**
36
+ * <p>Deletes the specified schedule.</p>
37
+ */
38
+ deleteSchedule(args: DeleteScheduleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduleCommandOutput>;
39
+ deleteSchedule(args: DeleteScheduleCommandInput, cb: (err: any, data?: DeleteScheduleCommandOutput) => void): void;
40
+ deleteSchedule(args: DeleteScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduleCommandOutput) => void): void;
41
+ /**
42
+ * <p>Deletes the specified schedule group. Deleting a schedule group results in EventBridge Scheduler deleting all schedules associated with the group.
43
+ * When you delete a group, it remains in a <code>DELETING</code> state until all of its associated schedules are deleted.
44
+ * Schedules associated with the group that are set to run while the schedule group is in the process of being deleted might continue to invoke their targets
45
+ * until the schedule group and its associated schedules are deleted.</p>
46
+ * <note>
47
+ * <p>
48
+ * This operation is eventually consistent.
49
+ * </p>
50
+ * </note>
51
+ */
52
+ deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteScheduleGroupCommandOutput>;
53
+ deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, cb: (err: any, data?: DeleteScheduleGroupCommandOutput) => void): void;
54
+ deleteScheduleGroup(args: DeleteScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteScheduleGroupCommandOutput) => void): void;
55
+ /**
56
+ * <p>Retrieves the specified schedule.</p>
57
+ */
58
+ getSchedule(args: GetScheduleCommandInput, options?: __HttpHandlerOptions): Promise<GetScheduleCommandOutput>;
59
+ getSchedule(args: GetScheduleCommandInput, cb: (err: any, data?: GetScheduleCommandOutput) => void): void;
60
+ getSchedule(args: GetScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetScheduleCommandOutput) => void): void;
61
+ /**
62
+ * <p>Retrieves the specified schedule group.</p>
63
+ */
64
+ getScheduleGroup(args: GetScheduleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetScheduleGroupCommandOutput>;
65
+ getScheduleGroup(args: GetScheduleGroupCommandInput, cb: (err: any, data?: GetScheduleGroupCommandOutput) => void): void;
66
+ getScheduleGroup(args: GetScheduleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetScheduleGroupCommandOutput) => void): void;
67
+ /**
68
+ * <p>Returns a paginated list of your schedule groups.</p>
69
+ */
70
+ listScheduleGroups(args: ListScheduleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListScheduleGroupsCommandOutput>;
71
+ listScheduleGroups(args: ListScheduleGroupsCommandInput, cb: (err: any, data?: ListScheduleGroupsCommandOutput) => void): void;
72
+ listScheduleGroups(args: ListScheduleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScheduleGroupsCommandOutput) => void): void;
73
+ /**
74
+ * <p>Returns a paginated list of your EventBridge Scheduler schedules.</p>
75
+ */
76
+ listSchedules(args: ListSchedulesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulesCommandOutput>;
77
+ listSchedules(args: ListSchedulesCommandInput, cb: (err: any, data?: ListSchedulesCommandOutput) => void): void;
78
+ listSchedules(args: ListSchedulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulesCommandOutput) => void): void;
79
+ /**
80
+ * <p>Lists the tags associated with the Scheduler resource.</p>
81
+ */
82
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
83
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
84
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
85
+ /**
86
+ * <p>Assigns one or more tags (key-value pairs) to the specified EventBridge Scheduler resource. You can only assign tags to schedule groups.</p>
87
+ */
88
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
89
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
90
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
91
+ /**
92
+ * <p>Removes one or more tags from the specified EventBridge Scheduler schedule group.</p>
93
+ */
94
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
95
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
96
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
97
+ /**
98
+ * <p>
99
+ * Updates the specified schedule. When you call <code>UpdateSchedule</code>, EventBridge Scheduler uses all values, including empty values, specified in the request and
100
+ * overrides the existing schedule. This is by design. This means that if you do not set an optional field in your request, that field will be set to
101
+ * its system-default value after the update.
102
+ * </p>
103
+ * <p>
104
+ * Before calling this operation, we recommend that you call the <code>GetSchedule</code> API operation and make a note of all optional parameters
105
+ * for your <code>UpdateSchedule</code> call.
106
+ * </p>
107
+ */
108
+ updateSchedule(args: UpdateScheduleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScheduleCommandOutput>;
109
+ updateSchedule(args: UpdateScheduleCommandInput, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
110
+ updateSchedule(args: UpdateScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScheduleCommandOutput) => void): void;
111
+ }
@@ -0,0 +1,157 @@
1
+ import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
+ import { CreateScheduleCommandInput, CreateScheduleCommandOutput } from "./commands/CreateScheduleCommand";
11
+ import { CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput } from "./commands/CreateScheduleGroupCommand";
12
+ import { DeleteScheduleCommandInput, DeleteScheduleCommandOutput } from "./commands/DeleteScheduleCommand";
13
+ import { DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput } from "./commands/DeleteScheduleGroupCommand";
14
+ import { GetScheduleCommandInput, GetScheduleCommandOutput } from "./commands/GetScheduleCommand";
15
+ import { GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput } from "./commands/GetScheduleGroupCommand";
16
+ import { ListScheduleGroupsCommandInput, ListScheduleGroupsCommandOutput } from "./commands/ListScheduleGroupsCommand";
17
+ import { ListSchedulesCommandInput, ListSchedulesCommandOutput } from "./commands/ListSchedulesCommand";
18
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
+ import { UpdateScheduleCommandInput, UpdateScheduleCommandOutput } from "./commands/UpdateScheduleCommand";
22
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
23
+ export declare type ServiceInputTypes = CreateScheduleCommandInput | CreateScheduleGroupCommandInput | DeleteScheduleCommandInput | DeleteScheduleGroupCommandInput | GetScheduleCommandInput | GetScheduleGroupCommandInput | ListScheduleGroupsCommandInput | ListSchedulesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateScheduleCommandInput;
24
+ export declare type ServiceOutputTypes = CreateScheduleCommandOutput | CreateScheduleGroupCommandOutput | DeleteScheduleCommandOutput | DeleteScheduleGroupCommandOutput | GetScheduleCommandOutput | GetScheduleGroupCommandOutput | ListScheduleGroupsCommandOutput | ListSchedulesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateScheduleCommandOutput;
25
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
+ /**
27
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
28
+ */
29
+ requestHandler?: __HttpHandler;
30
+ /**
31
+ * A constructor for a class implementing the {@link __Hash} interface
32
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
33
+ * @internal
34
+ */
35
+ sha256?: __HashConstructor;
36
+ /**
37
+ * The function that will be used to convert strings into HTTP endpoints.
38
+ * @internal
39
+ */
40
+ urlParser?: __UrlParser;
41
+ /**
42
+ * A function that can calculate the length of a request body.
43
+ * @internal
44
+ */
45
+ bodyLengthChecker?: __BodyLengthCalculator;
46
+ /**
47
+ * A function that converts a stream into an array of bytes.
48
+ * @internal
49
+ */
50
+ streamCollector?: __StreamCollector;
51
+ /**
52
+ * The function that will be used to convert a base64-encoded string to a byte array.
53
+ * @internal
54
+ */
55
+ base64Decoder?: __Decoder;
56
+ /**
57
+ * The function that will be used to convert binary data to a base64-encoded string.
58
+ * @internal
59
+ */
60
+ base64Encoder?: __Encoder;
61
+ /**
62
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ utf8Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
68
+ * @internal
69
+ */
70
+ utf8Encoder?: __Encoder;
71
+ /**
72
+ * The runtime environment.
73
+ * @internal
74
+ */
75
+ runtime?: string;
76
+ /**
77
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
78
+ * trait of an operation.
79
+ */
80
+ disableHostPrefix?: boolean;
81
+ /**
82
+ * Value for how many times a request will be made at most in case of retry.
83
+ */
84
+ maxAttempts?: number | __Provider<number>;
85
+ /**
86
+ * Specifies which retry algorithm to use.
87
+ */
88
+ retryMode?: string | __Provider<string>;
89
+ /**
90
+ * Optional logger for logging debug/info/warn/error.
91
+ */
92
+ logger?: __Logger;
93
+ /**
94
+ * Enables IPv6/IPv4 dualstack endpoint.
95
+ */
96
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
97
+ /**
98
+ * Enables FIPS compatible endpoints.
99
+ */
100
+ useFipsEndpoint?: boolean | __Provider<boolean>;
101
+ /**
102
+ * Unique service identifier.
103
+ * @internal
104
+ */
105
+ serviceId?: string;
106
+ /**
107
+ * The AWS region to which this client will send requests
108
+ */
109
+ region?: string | __Provider<string>;
110
+ /**
111
+ * Default credentials provider; Not available in browser runtime.
112
+ * @internal
113
+ */
114
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
115
+ /**
116
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
117
+ * @internal
118
+ */
119
+ defaultUserAgentProvider?: Provider<__UserAgent>;
120
+ /**
121
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
122
+ */
123
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
124
+ }
125
+ declare type SchedulerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
126
+ /**
127
+ * The configuration interface of SchedulerClient class constructor that set the region, credentials and other options.
128
+ */
129
+ export interface SchedulerClientConfig extends SchedulerClientConfigType {
130
+ }
131
+ declare type SchedulerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
132
+ /**
133
+ * The resolved configuration interface of SchedulerClient class. This is resolved and normalized from the {@link SchedulerClientConfig | constructor configuration interface}.
134
+ */
135
+ export interface SchedulerClientResolvedConfig extends SchedulerClientResolvedConfigType {
136
+ }
137
+ /**
138
+ * <p>
139
+ * Amazon EventBridge Scheduler is a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service.
140
+ * EventBridge Scheduler delivers your tasks reliably, with built-in mechanisms that adjust your schedules based on the availability of downstream targets.
141
+ * The following reference lists the available API actions, and data types for EventBridge Scheduler.
142
+ * </p>
143
+ */
144
+ export declare class SchedulerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SchedulerClientResolvedConfig> {
145
+ /**
146
+ * The resolved configuration of SchedulerClient class. This is resolved and normalized from the {@link SchedulerClientConfig | constructor configuration interface}.
147
+ */
148
+ readonly config: SchedulerClientResolvedConfig;
149
+ constructor(configuration: SchedulerClientConfig);
150
+ /**
151
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
152
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
153
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
154
+ */
155
+ destroy(): void;
156
+ }
157
+ export {};
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CreateScheduleInput, CreateScheduleOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface CreateScheduleCommandInput extends CreateScheduleInput {
7
+ }
8
+ export interface CreateScheduleCommandOutput extends CreateScheduleOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates the specified schedule.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SchedulerClient, CreateScheduleCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
16
+ * // const { SchedulerClient, CreateScheduleCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
17
+ * const client = new SchedulerClient(config);
18
+ * const command = new CreateScheduleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreateScheduleCommandInput} for command's `input` shape.
23
+ * @see {@link CreateScheduleCommandOutput} for command's `response` shape.
24
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreateScheduleCommand extends $Command<CreateScheduleCommandInput, CreateScheduleCommandOutput, SchedulerClientResolvedConfig> {
28
+ readonly input: CreateScheduleCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateScheduleCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScheduleCommandInput, CreateScheduleCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CreateScheduleGroupInput, CreateScheduleGroupOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface CreateScheduleGroupCommandInput extends CreateScheduleGroupInput {
7
+ }
8
+ export interface CreateScheduleGroupCommandOutput extends CreateScheduleGroupOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates the specified schedule group.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SchedulerClient, CreateScheduleGroupCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
16
+ * // const { SchedulerClient, CreateScheduleGroupCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
17
+ * const client = new SchedulerClient(config);
18
+ * const command = new CreateScheduleGroupCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreateScheduleGroupCommandInput} for command's `input` shape.
23
+ * @see {@link CreateScheduleGroupCommandOutput} for command's `response` shape.
24
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreateScheduleGroupCommand extends $Command<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput, SchedulerClientResolvedConfig> {
28
+ readonly input: CreateScheduleGroupCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateScheduleGroupCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DeleteScheduleInput, DeleteScheduleOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface DeleteScheduleCommandInput extends DeleteScheduleInput {
7
+ }
8
+ export interface DeleteScheduleCommandOutput extends DeleteScheduleOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes the specified schedule.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SchedulerClient, DeleteScheduleCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
16
+ * // const { SchedulerClient, DeleteScheduleCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
17
+ * const client = new SchedulerClient(config);
18
+ * const command = new DeleteScheduleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteScheduleCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteScheduleCommandOutput} for command's `response` shape.
24
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteScheduleCommand extends $Command<DeleteScheduleCommandInput, DeleteScheduleCommandOutput, SchedulerClientResolvedConfig> {
28
+ readonly input: DeleteScheduleCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteScheduleCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduleCommandInput, DeleteScheduleCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,45 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DeleteScheduleGroupInput, DeleteScheduleGroupOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface DeleteScheduleGroupCommandInput extends DeleteScheduleGroupInput {
7
+ }
8
+ export interface DeleteScheduleGroupCommandOutput extends DeleteScheduleGroupOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes the specified schedule group. Deleting a schedule group results in EventBridge Scheduler deleting all schedules associated with the group.
12
+ * When you delete a group, it remains in a <code>DELETING</code> state until all of its associated schedules are deleted.
13
+ * Schedules associated with the group that are set to run while the schedule group is in the process of being deleted might continue to invoke their targets
14
+ * until the schedule group and its associated schedules are deleted.</p>
15
+ * <note>
16
+ * <p>
17
+ * This operation is eventually consistent.
18
+ * </p>
19
+ * </note>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { SchedulerClient, DeleteScheduleGroupCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
24
+ * // const { SchedulerClient, DeleteScheduleGroupCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
25
+ * const client = new SchedulerClient(config);
26
+ * const command = new DeleteScheduleGroupCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link DeleteScheduleGroupCommandInput} for command's `input` shape.
31
+ * @see {@link DeleteScheduleGroupCommandOutput} for command's `response` shape.
32
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class DeleteScheduleGroupCommand extends $Command<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput, SchedulerClientResolvedConfig> {
36
+ readonly input: DeleteScheduleGroupCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ constructor(input: DeleteScheduleGroupCommandInput);
39
+ /**
40
+ * @internal
41
+ */
42
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput>;
43
+ private serialize;
44
+ private deserialize;
45
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetScheduleInput, GetScheduleOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface GetScheduleCommandInput extends GetScheduleInput {
7
+ }
8
+ export interface GetScheduleCommandOutput extends GetScheduleOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves the specified schedule.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SchedulerClient, GetScheduleCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
16
+ * // const { SchedulerClient, GetScheduleCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
17
+ * const client = new SchedulerClient(config);
18
+ * const command = new GetScheduleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetScheduleCommandInput} for command's `input` shape.
23
+ * @see {@link GetScheduleCommandOutput} for command's `response` shape.
24
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetScheduleCommand extends $Command<GetScheduleCommandInput, GetScheduleCommandOutput, SchedulerClientResolvedConfig> {
28
+ readonly input: GetScheduleCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetScheduleCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetScheduleCommandInput, GetScheduleCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetScheduleGroupInput, GetScheduleGroupOutput } from "../models/models_0";
5
+ import { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
6
+ export interface GetScheduleGroupCommandInput extends GetScheduleGroupInput {
7
+ }
8
+ export interface GetScheduleGroupCommandOutput extends GetScheduleGroupOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves the specified schedule group.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SchedulerClient, GetScheduleGroupCommand } from "@aws-sdk/client-scheduler"; // ES Modules import
16
+ * // const { SchedulerClient, GetScheduleGroupCommand } = require("@aws-sdk/client-scheduler"); // CommonJS import
17
+ * const client = new SchedulerClient(config);
18
+ * const command = new GetScheduleGroupCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetScheduleGroupCommandInput} for command's `input` shape.
23
+ * @see {@link GetScheduleGroupCommandOutput} for command's `response` shape.
24
+ * @see {@link SchedulerClientResolvedConfig | config} for SchedulerClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetScheduleGroupCommand extends $Command<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput, SchedulerClientResolvedConfig> {
28
+ readonly input: GetScheduleGroupCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetScheduleGroupCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SchedulerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }