@aws-sdk/client-auto-scaling-plans 3.758.0 → 3.772.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 +20 -20
- package/package.json +3 -3
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
|
AutoScalingPlans: () => AutoScalingPlans,
|
|
25
25
|
AutoScalingPlansClient: () => AutoScalingPlansClient,
|
|
26
26
|
AutoScalingPlansServiceException: () => AutoScalingPlansServiceException,
|
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
|
50
50
|
ValidationException: () => ValidationException,
|
|
51
51
|
__Client: () => import_smithy_client.Client
|
|
52
52
|
});
|
|
53
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
54
54
|
|
|
55
55
|
// src/AutoScalingPlansClient.ts
|
|
56
56
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -177,9 +177,9 @@ var AutoScalingPlansClient = class extends import_smithy_client.Client {
|
|
|
177
177
|
this.middlewareStack.use(
|
|
178
178
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
179
179
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAutoScalingPlansHttpAuthSchemeParametersProvider,
|
|
180
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
180
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
181
181
|
"aws.auth#sigv4": config.credentials
|
|
182
|
-
})
|
|
182
|
+
}), "identityProviderConfigProvider")
|
|
183
183
|
})
|
|
184
184
|
);
|
|
185
185
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -632,20 +632,20 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
632
632
|
var se_CreateScalingPlanRequest = /* @__PURE__ */ __name((input, context) => {
|
|
633
633
|
return (0, import_smithy_client.take)(input, {
|
|
634
634
|
ApplicationSource: import_smithy_client._json,
|
|
635
|
-
ScalingInstructions: (_) => se_ScalingInstructions(_, context),
|
|
635
|
+
ScalingInstructions: /* @__PURE__ */ __name((_) => se_ScalingInstructions(_, context), "ScalingInstructions"),
|
|
636
636
|
ScalingPlanName: []
|
|
637
637
|
});
|
|
638
638
|
}, "se_CreateScalingPlanRequest");
|
|
639
639
|
var se_GetScalingPlanResourceForecastDataRequest = /* @__PURE__ */ __name((input, context) => {
|
|
640
640
|
return (0, import_smithy_client.take)(input, {
|
|
641
|
-
EndTime: (_) => _.getTime() / 1e3,
|
|
641
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
642
642
|
ForecastDataType: [],
|
|
643
643
|
ResourceId: [],
|
|
644
644
|
ScalableDimension: [],
|
|
645
645
|
ScalingPlanName: [],
|
|
646
646
|
ScalingPlanVersion: [],
|
|
647
647
|
ServiceNamespace: [],
|
|
648
|
-
StartTime: (_) => _.getTime() / 1e3
|
|
648
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
649
649
|
});
|
|
650
650
|
}, "se_GetScalingPlanResourceForecastDataRequest");
|
|
651
651
|
var se_ScalingInstruction = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -663,7 +663,7 @@ var se_ScalingInstruction = /* @__PURE__ */ __name((input, context) => {
|
|
|
663
663
|
ScalingPolicyUpdateBehavior: [],
|
|
664
664
|
ScheduledActionBufferTime: [],
|
|
665
665
|
ServiceNamespace: [],
|
|
666
|
-
TargetTrackingConfigurations: (_) => se_TargetTrackingConfigurations(_, context)
|
|
666
|
+
TargetTrackingConfigurations: /* @__PURE__ */ __name((_) => se_TargetTrackingConfigurations(_, context), "TargetTrackingConfigurations")
|
|
667
667
|
});
|
|
668
668
|
}, "se_ScalingInstruction");
|
|
669
669
|
var se_ScalingInstructions = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -690,14 +690,14 @@ var se_TargetTrackingConfigurations = /* @__PURE__ */ __name((input, context) =>
|
|
|
690
690
|
var se_UpdateScalingPlanRequest = /* @__PURE__ */ __name((input, context) => {
|
|
691
691
|
return (0, import_smithy_client.take)(input, {
|
|
692
692
|
ApplicationSource: import_smithy_client._json,
|
|
693
|
-
ScalingInstructions: (_) => se_ScalingInstructions(_, context),
|
|
693
|
+
ScalingInstructions: /* @__PURE__ */ __name((_) => se_ScalingInstructions(_, context), "ScalingInstructions"),
|
|
694
694
|
ScalingPlanName: [],
|
|
695
695
|
ScalingPlanVersion: []
|
|
696
696
|
});
|
|
697
697
|
}, "se_UpdateScalingPlanRequest");
|
|
698
698
|
var de_Datapoint = /* @__PURE__ */ __name((output, context) => {
|
|
699
699
|
return (0, import_smithy_client.take)(output, {
|
|
700
|
-
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
700
|
+
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
|
|
701
701
|
Value: import_smithy_client.limitedParseDouble
|
|
702
702
|
});
|
|
703
703
|
}, "de_Datapoint");
|
|
@@ -710,18 +710,18 @@ var de_Datapoints = /* @__PURE__ */ __name((output, context) => {
|
|
|
710
710
|
var de_DescribeScalingPlanResourcesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
711
711
|
return (0, import_smithy_client.take)(output, {
|
|
712
712
|
NextToken: import_smithy_client.expectString,
|
|
713
|
-
ScalingPlanResources: (_) => de_ScalingPlanResources(_, context)
|
|
713
|
+
ScalingPlanResources: /* @__PURE__ */ __name((_) => de_ScalingPlanResources(_, context), "ScalingPlanResources")
|
|
714
714
|
});
|
|
715
715
|
}, "de_DescribeScalingPlanResourcesResponse");
|
|
716
716
|
var de_DescribeScalingPlansResponse = /* @__PURE__ */ __name((output, context) => {
|
|
717
717
|
return (0, import_smithy_client.take)(output, {
|
|
718
718
|
NextToken: import_smithy_client.expectString,
|
|
719
|
-
ScalingPlans: (_) => de_ScalingPlans(_, context)
|
|
719
|
+
ScalingPlans: /* @__PURE__ */ __name((_) => de_ScalingPlans(_, context), "ScalingPlans")
|
|
720
720
|
});
|
|
721
721
|
}, "de_DescribeScalingPlansResponse");
|
|
722
722
|
var de_GetScalingPlanResourceForecastDataResponse = /* @__PURE__ */ __name((output, context) => {
|
|
723
723
|
return (0, import_smithy_client.take)(output, {
|
|
724
|
-
Datapoints: (_) => de_Datapoints(_, context)
|
|
724
|
+
Datapoints: /* @__PURE__ */ __name((_) => de_Datapoints(_, context), "Datapoints")
|
|
725
725
|
});
|
|
726
726
|
}, "de_GetScalingPlanResourceForecastDataResponse");
|
|
727
727
|
var de_ScalingInstruction = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -739,7 +739,7 @@ var de_ScalingInstruction = /* @__PURE__ */ __name((output, context) => {
|
|
|
739
739
|
ScalingPolicyUpdateBehavior: import_smithy_client.expectString,
|
|
740
740
|
ScheduledActionBufferTime: import_smithy_client.expectInt32,
|
|
741
741
|
ServiceNamespace: import_smithy_client.expectString,
|
|
742
|
-
TargetTrackingConfigurations: (_) => de_TargetTrackingConfigurations(_, context)
|
|
742
|
+
TargetTrackingConfigurations: /* @__PURE__ */ __name((_) => de_TargetTrackingConfigurations(_, context), "TargetTrackingConfigurations")
|
|
743
743
|
});
|
|
744
744
|
}, "de_ScalingInstruction");
|
|
745
745
|
var de_ScalingInstructions = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -751,13 +751,13 @@ var de_ScalingInstructions = /* @__PURE__ */ __name((output, context) => {
|
|
|
751
751
|
var de_ScalingPlan = /* @__PURE__ */ __name((output, context) => {
|
|
752
752
|
return (0, import_smithy_client.take)(output, {
|
|
753
753
|
ApplicationSource: import_smithy_client._json,
|
|
754
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
755
|
-
ScalingInstructions: (_) => de_ScalingInstructions(_, context),
|
|
754
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
755
|
+
ScalingInstructions: /* @__PURE__ */ __name((_) => de_ScalingInstructions(_, context), "ScalingInstructions"),
|
|
756
756
|
ScalingPlanName: import_smithy_client.expectString,
|
|
757
757
|
ScalingPlanVersion: import_smithy_client.expectLong,
|
|
758
758
|
StatusCode: import_smithy_client.expectString,
|
|
759
759
|
StatusMessage: import_smithy_client.expectString,
|
|
760
|
-
StatusStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
760
|
+
StatusStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StatusStartTime")
|
|
761
761
|
});
|
|
762
762
|
}, "de_ScalingPlan");
|
|
763
763
|
var de_ScalingPlanResource = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -766,7 +766,7 @@ var de_ScalingPlanResource = /* @__PURE__ */ __name((output, context) => {
|
|
|
766
766
|
ScalableDimension: import_smithy_client.expectString,
|
|
767
767
|
ScalingPlanName: import_smithy_client.expectString,
|
|
768
768
|
ScalingPlanVersion: import_smithy_client.expectLong,
|
|
769
|
-
ScalingPolicies: (_) => de_ScalingPolicies(_, context),
|
|
769
|
+
ScalingPolicies: /* @__PURE__ */ __name((_) => de_ScalingPolicies(_, context), "ScalingPolicies"),
|
|
770
770
|
ScalingStatusCode: import_smithy_client.expectString,
|
|
771
771
|
ScalingStatusMessage: import_smithy_client.expectString,
|
|
772
772
|
ServiceNamespace: import_smithy_client.expectString
|
|
@@ -794,7 +794,7 @@ var de_ScalingPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
|
794
794
|
return (0, import_smithy_client.take)(output, {
|
|
795
795
|
PolicyName: import_smithy_client.expectString,
|
|
796
796
|
PolicyType: import_smithy_client.expectString,
|
|
797
|
-
TargetTrackingConfiguration: (_) => de_TargetTrackingConfiguration(_, context)
|
|
797
|
+
TargetTrackingConfiguration: /* @__PURE__ */ __name((_) => de_TargetTrackingConfiguration(_, context), "TargetTrackingConfiguration")
|
|
798
798
|
});
|
|
799
799
|
}, "de_ScalingPolicy");
|
|
800
800
|
var de_TargetTrackingConfiguration = /* @__PURE__ */ __name((output, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.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-auto-scaling-plans",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|