@aws-sdk/client-scheduler 3.758.0 → 3.774.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/dist-cjs/index.js +27 -27
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ActionAfterCompletion: () => ActionAfterCompletion,
|
|
25
25
|
AssignPublicIp: () => AssignPublicIp,
|
|
26
26
|
ConflictException: () => ConflictException,
|
|
@@ -55,7 +55,7 @@ __export(src_exports, {
|
|
|
55
55
|
paginateListScheduleGroups: () => paginateListScheduleGroups,
|
|
56
56
|
paginateListSchedules: () => paginateListSchedules
|
|
57
57
|
});
|
|
58
|
-
module.exports = __toCommonJS(
|
|
58
|
+
module.exports = __toCommonJS(index_exports);
|
|
59
59
|
|
|
60
60
|
// src/SchedulerClient.ts
|
|
61
61
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -182,9 +182,9 @@ var SchedulerClient = class extends import_smithy_client.Client {
|
|
|
182
182
|
this.middlewareStack.use(
|
|
183
183
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
184
184
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSchedulerHttpAuthSchemeParametersProvider,
|
|
185
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
185
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
186
186
|
"aws.auth#sigv4": config.credentials
|
|
187
|
-
})
|
|
187
|
+
}), "identityProviderConfigProvider")
|
|
188
188
|
})
|
|
189
189
|
);
|
|
190
190
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -401,15 +401,15 @@ var se_CreateScheduleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
401
401
|
ActionAfterCompletion: [],
|
|
402
402
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
403
403
|
Description: [],
|
|
404
|
-
EndDate: (_) => _.getTime() / 1e3,
|
|
405
|
-
FlexibleTimeWindow: (_) => (0, import_smithy_client._json)(_),
|
|
404
|
+
EndDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndDate"),
|
|
405
|
+
FlexibleTimeWindow: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FlexibleTimeWindow"),
|
|
406
406
|
GroupName: [],
|
|
407
407
|
KmsKeyArn: [],
|
|
408
408
|
ScheduleExpression: [],
|
|
409
409
|
ScheduleExpressionTimezone: [],
|
|
410
|
-
StartDate: (_) => _.getTime() / 1e3,
|
|
410
|
+
StartDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartDate"),
|
|
411
411
|
State: [],
|
|
412
|
-
Target: (_) => (0, import_smithy_client._json)(_)
|
|
412
|
+
Target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Target")
|
|
413
413
|
})
|
|
414
414
|
);
|
|
415
415
|
b.m("POST").h(headers).b(body);
|
|
@@ -426,7 +426,7 @@ var se_CreateScheduleGroupCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
426
426
|
body = JSON.stringify(
|
|
427
427
|
(0, import_smithy_client.take)(input, {
|
|
428
428
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
429
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
429
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
430
430
|
})
|
|
431
431
|
);
|
|
432
432
|
b.m("POST").h(headers).b(body);
|
|
@@ -525,7 +525,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
525
525
|
let body;
|
|
526
526
|
body = JSON.stringify(
|
|
527
527
|
(0, import_smithy_client.take)(input, {
|
|
528
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
528
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
529
529
|
})
|
|
530
530
|
);
|
|
531
531
|
b.m("POST").h(headers).b(body);
|
|
@@ -556,15 +556,15 @@ var se_UpdateScheduleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
556
556
|
ActionAfterCompletion: [],
|
|
557
557
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
558
558
|
Description: [],
|
|
559
|
-
EndDate: (_) => _.getTime() / 1e3,
|
|
560
|
-
FlexibleTimeWindow: (_) => (0, import_smithy_client._json)(_),
|
|
559
|
+
EndDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndDate"),
|
|
560
|
+
FlexibleTimeWindow: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FlexibleTimeWindow"),
|
|
561
561
|
GroupName: [],
|
|
562
562
|
KmsKeyArn: [],
|
|
563
563
|
ScheduleExpression: [],
|
|
564
564
|
ScheduleExpressionTimezone: [],
|
|
565
|
-
StartDate: (_) => _.getTime() / 1e3,
|
|
565
|
+
StartDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartDate"),
|
|
566
566
|
State: [],
|
|
567
|
-
Target: (_) => (0, import_smithy_client._json)(_)
|
|
567
|
+
Target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Target")
|
|
568
568
|
})
|
|
569
569
|
);
|
|
570
570
|
b.m("PUT").h(headers).b(body);
|
|
@@ -629,17 +629,17 @@ var de_GetScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
629
629
|
const doc = (0, import_smithy_client.take)(data, {
|
|
630
630
|
ActionAfterCompletion: import_smithy_client.expectString,
|
|
631
631
|
Arn: import_smithy_client.expectString,
|
|
632
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
632
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
633
633
|
Description: import_smithy_client.expectString,
|
|
634
|
-
EndDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
634
|
+
EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDate"),
|
|
635
635
|
FlexibleTimeWindow: import_smithy_client._json,
|
|
636
636
|
GroupName: import_smithy_client.expectString,
|
|
637
637
|
KmsKeyArn: import_smithy_client.expectString,
|
|
638
|
-
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
638
|
+
LastModificationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModificationDate"),
|
|
639
639
|
Name: import_smithy_client.expectString,
|
|
640
640
|
ScheduleExpression: import_smithy_client.expectString,
|
|
641
641
|
ScheduleExpressionTimezone: import_smithy_client.expectString,
|
|
642
|
-
StartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
642
|
+
StartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartDate"),
|
|
643
643
|
State: import_smithy_client.expectString,
|
|
644
644
|
Target: import_smithy_client._json
|
|
645
645
|
});
|
|
@@ -656,8 +656,8 @@ var de_GetScheduleGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
656
656
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
657
657
|
const doc = (0, import_smithy_client.take)(data, {
|
|
658
658
|
Arn: import_smithy_client.expectString,
|
|
659
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
660
|
-
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
659
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
660
|
+
LastModificationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModificationDate"),
|
|
661
661
|
Name: import_smithy_client.expectString,
|
|
662
662
|
State: import_smithy_client.expectString
|
|
663
663
|
});
|
|
@@ -674,7 +674,7 @@ var de_ListScheduleGroupsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
674
674
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
675
675
|
const doc = (0, import_smithy_client.take)(data, {
|
|
676
676
|
NextToken: import_smithy_client.expectString,
|
|
677
|
-
ScheduleGroups: (_) => de_ScheduleGroupList(_, context)
|
|
677
|
+
ScheduleGroups: /* @__PURE__ */ __name((_) => de_ScheduleGroupList(_, context), "ScheduleGroups")
|
|
678
678
|
});
|
|
679
679
|
Object.assign(contents, doc);
|
|
680
680
|
return contents;
|
|
@@ -689,7 +689,7 @@ var de_ListSchedulesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
689
689
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
690
690
|
const doc = (0, import_smithy_client.take)(data, {
|
|
691
691
|
NextToken: import_smithy_client.expectString,
|
|
692
|
-
Schedules: (_) => de_ScheduleList(_, context)
|
|
692
|
+
Schedules: /* @__PURE__ */ __name((_) => de_ScheduleList(_, context), "Schedules")
|
|
693
693
|
});
|
|
694
694
|
Object.assign(contents, doc);
|
|
695
695
|
return contents;
|
|
@@ -864,8 +864,8 @@ var de_ScheduleGroupList = /* @__PURE__ */ __name((output, context) => {
|
|
|
864
864
|
var de_ScheduleGroupSummary = /* @__PURE__ */ __name((output, context) => {
|
|
865
865
|
return (0, import_smithy_client.take)(output, {
|
|
866
866
|
Arn: import_smithy_client.expectString,
|
|
867
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
868
|
-
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
867
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
868
|
+
LastModificationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModificationDate"),
|
|
869
869
|
Name: import_smithy_client.expectString,
|
|
870
870
|
State: import_smithy_client.expectString
|
|
871
871
|
});
|
|
@@ -879,9 +879,9 @@ var de_ScheduleList = /* @__PURE__ */ __name((output, context) => {
|
|
|
879
879
|
var de_ScheduleSummary = /* @__PURE__ */ __name((output, context) => {
|
|
880
880
|
return (0, import_smithy_client.take)(output, {
|
|
881
881
|
Arn: import_smithy_client.expectString,
|
|
882
|
-
CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
882
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
883
883
|
GroupName: import_smithy_client.expectString,
|
|
884
|
-
LastModificationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
884
|
+
LastModificationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModificationDate"),
|
|
885
885
|
Name: import_smithy_client.expectString,
|
|
886
886
|
State: import_smithy_client.expectString,
|
|
887
887
|
Target: import_smithy_client._json
|
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.
|
|
4
|
+
"version": "3.774.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-scheduler",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|