@aws-sdk/client-compute-optimizer-automation 3.940.0 → 3.946.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 +12 -125
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/ComputeOptimizerAutomation.js +1 -1
- package/dist-es/ComputeOptimizerAutomationClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +12 -125
- package/dist-types/ComputeOptimizerAutomation.d.ts +1 -1
- package/dist-types/ComputeOptimizerAutomationClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AssociateAccountsCommand.d.ts +3 -3
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomationEventCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomationRuleCommand.d.ts +3 -3
- package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountsCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationEventsCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -3
- package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +3 -3
- package/dist-types/commands/ListRecommendedActionsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/RollbackAutomationEventCommand.d.ts +3 -3
- package/dist-types/commands/StartAutomationEventCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/ComputeOptimizerAutomationServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationEventStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationEventSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationRulePreviewPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationRulePreviewSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomationRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendedActionSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendedActionsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/ComputeOptimizerAutomationClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ComputeOptimizerAutomationServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -487,17 +487,7 @@ const _ty = "type";
|
|
|
487
487
|
const _v = "values";
|
|
488
488
|
const _va = "value";
|
|
489
489
|
const n0 = "com.amazonaws.computeoptimizerautomation";
|
|
490
|
-
var AccessDeniedException = [
|
|
491
|
-
-3,
|
|
492
|
-
n0,
|
|
493
|
-
_ADE,
|
|
494
|
-
{
|
|
495
|
-
[_e]: _c,
|
|
496
|
-
[_hE]: 403,
|
|
497
|
-
},
|
|
498
|
-
[_m],
|
|
499
|
-
[0],
|
|
500
|
-
];
|
|
490
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
501
491
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
502
492
|
var AccountInfo = [3, n0, _AI, 0, [_aI, _s, _oRM, _sR, _lUT], [0, 0, 0, 0, 4]];
|
|
503
493
|
var AssociateAccountsRequest = [3, n0, _AAR, 0, [_aIc, _cT], [64 | 0, [0, 4]]];
|
|
@@ -577,17 +567,7 @@ var EbsVolume = [3, n0, _EV, 0, [_con], [() => EbsVolumeConfiguration]];
|
|
|
577
567
|
var EbsVolumeConfiguration = [3, n0, _EVC, 0, [_ty, _sIG, _i, _th], [0, 1, 1, 1]];
|
|
578
568
|
var EstimatedMonthlySavings = [3, n0, _EMS, 0, [_cu, _bDS, _aDS, _sEM], [0, 1, 1, 0]];
|
|
579
569
|
var Filter = [3, n0, _F, 0, [_n, _v], [0, 64 | 0]];
|
|
580
|
-
var ForbiddenException = [
|
|
581
|
-
-3,
|
|
582
|
-
n0,
|
|
583
|
-
_FE,
|
|
584
|
-
{
|
|
585
|
-
[_e]: _c,
|
|
586
|
-
[_hE]: 403,
|
|
587
|
-
},
|
|
588
|
-
[_m],
|
|
589
|
-
[0],
|
|
590
|
-
];
|
|
570
|
+
var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
591
571
|
schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
|
|
592
572
|
var GetAutomationEventRequest = [3, n0, _GAER, 0, [_eI], [0]];
|
|
593
573
|
var GetAutomationEventResponse = [
|
|
@@ -633,54 +613,21 @@ var GetEnrollmentConfigurationResponse = [
|
|
|
633
613
|
[_s, _sR, _oRM, _lUT],
|
|
634
614
|
[0, 0, 0, 4],
|
|
635
615
|
];
|
|
636
|
-
var IdempotencyTokenInUseException = [
|
|
637
|
-
-3,
|
|
638
|
-
n0,
|
|
639
|
-
_ITIUE,
|
|
640
|
-
{
|
|
641
|
-
[_e]: _c,
|
|
642
|
-
[_hE]: 409,
|
|
643
|
-
},
|
|
644
|
-
[_m],
|
|
645
|
-
[0],
|
|
646
|
-
];
|
|
616
|
+
var IdempotencyTokenInUseException = [-3, n0, _ITIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
647
617
|
schema.TypeRegistry.for(n0).registerError(IdempotencyTokenInUseException, IdempotencyTokenInUseException$1);
|
|
648
618
|
var IdempotentParameterMismatchException = [
|
|
649
619
|
-3,
|
|
650
620
|
n0,
|
|
651
621
|
_IPME,
|
|
652
|
-
{
|
|
653
|
-
[_e]: _c,
|
|
654
|
-
[_hE]: 409,
|
|
655
|
-
},
|
|
622
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
656
623
|
[_m],
|
|
657
624
|
[0],
|
|
658
625
|
];
|
|
659
626
|
schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
|
|
660
627
|
var IntegerCriteriaCondition = [3, n0, _ICC, 0, [_co, _v], [0, 64 | 1]];
|
|
661
|
-
var InternalServerException = [
|
|
662
|
-
-3,
|
|
663
|
-
n0,
|
|
664
|
-
_ISE,
|
|
665
|
-
{
|
|
666
|
-
[_e]: _se,
|
|
667
|
-
[_hE]: 500,
|
|
668
|
-
},
|
|
669
|
-
[_m],
|
|
670
|
-
[0],
|
|
671
|
-
];
|
|
628
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
672
629
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
673
|
-
var InvalidParameterValueException = [
|
|
674
|
-
-3,
|
|
675
|
-
n0,
|
|
676
|
-
_IPVE,
|
|
677
|
-
{
|
|
678
|
-
[_e]: _c,
|
|
679
|
-
[_hE]: 400,
|
|
680
|
-
},
|
|
681
|
-
[_m],
|
|
682
|
-
[0],
|
|
683
|
-
];
|
|
630
|
+
var InvalidParameterValueException = [-3, n0, _IPVE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
684
631
|
schema.TypeRegistry.for(n0).registerError(InvalidParameterValueException, InvalidParameterValueException$1);
|
|
685
632
|
var ListAccountsRequest = [3, n0, _LAR, 0, [_mR, _nT], [1, 0]];
|
|
686
633
|
var ListAccountsResponse = [3, n0, _LARi, 0, [_a, _nT], [() => AccountInfoList, 0]];
|
|
@@ -807,29 +754,9 @@ var ListRecommendedActionSummariesResponse = [
|
|
|
807
754
|
];
|
|
808
755
|
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
809
756
|
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [() => TagList]];
|
|
810
|
-
var NotManagementAccountException = [
|
|
811
|
-
-3,
|
|
812
|
-
n0,
|
|
813
|
-
_NMAE,
|
|
814
|
-
{
|
|
815
|
-
[_e]: _c,
|
|
816
|
-
[_hE]: 400,
|
|
817
|
-
},
|
|
818
|
-
[_m],
|
|
819
|
-
[0],
|
|
820
|
-
];
|
|
757
|
+
var NotManagementAccountException = [-3, n0, _NMAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
821
758
|
schema.TypeRegistry.for(n0).registerError(NotManagementAccountException, NotManagementAccountException$1);
|
|
822
|
-
var OptInRequiredException = [
|
|
823
|
-
-3,
|
|
824
|
-
n0,
|
|
825
|
-
_OIRE,
|
|
826
|
-
{
|
|
827
|
-
[_e]: _c,
|
|
828
|
-
[_hE]: 403,
|
|
829
|
-
},
|
|
830
|
-
[_m],
|
|
831
|
-
[0],
|
|
832
|
-
];
|
|
759
|
+
var OptInRequiredException = [-3, n0, _OIRE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
833
760
|
schema.TypeRegistry.for(n0).registerError(OptInRequiredException, OptInRequiredException$1);
|
|
834
761
|
var OrganizationConfiguration = [3, n0, _OC, 0, [_rAO, _aIc], [0, 64 | 0]];
|
|
835
762
|
var OrganizationScope = [3, n0, _OS, 0, [_aIc], [64 | 0]];
|
|
@@ -899,46 +826,16 @@ var RecommendedActionTotal = [
|
|
|
899
826
|
[_rAC, _eMS],
|
|
900
827
|
[1, () => EstimatedMonthlySavings],
|
|
901
828
|
];
|
|
902
|
-
var ResourceNotFoundException = [
|
|
903
|
-
-3,
|
|
904
|
-
n0,
|
|
905
|
-
_RNFE,
|
|
906
|
-
{
|
|
907
|
-
[_e]: _c,
|
|
908
|
-
[_hE]: 404,
|
|
909
|
-
},
|
|
910
|
-
[_m],
|
|
911
|
-
[0],
|
|
912
|
-
];
|
|
829
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
913
830
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
914
831
|
var ResourceTagsCriteriaCondition = [3, n0, _RTCC, 0, [_co, _k, _v], [0, 0, 64 | 0]];
|
|
915
832
|
var RollbackAutomationEventRequest = [3, n0, _RAER, 0, [_eI, _cT], [0, [0, 4]]];
|
|
916
833
|
var RollbackAutomationEventResponse = [3, n0, _RAERo, 0, [_eI, _eS], [0, 0]];
|
|
917
834
|
var RulePreviewTotal = [3, n0, _RPT, 0, [_rAC, _eMS], [1, () => EstimatedMonthlySavings]];
|
|
918
835
|
var Schedule = [3, n0, _S, 0, [_sE, _sET, _eWIM], [0, 0, 1]];
|
|
919
|
-
var ServiceQuotaExceededException = [
|
|
920
|
-
-3,
|
|
921
|
-
n0,
|
|
922
|
-
_SQEE,
|
|
923
|
-
{
|
|
924
|
-
[_e]: _c,
|
|
925
|
-
[_hE]: 402,
|
|
926
|
-
},
|
|
927
|
-
[_m],
|
|
928
|
-
[0],
|
|
929
|
-
];
|
|
836
|
+
var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
930
837
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
931
|
-
var ServiceUnavailableException = [
|
|
932
|
-
-3,
|
|
933
|
-
n0,
|
|
934
|
-
_SUE,
|
|
935
|
-
{
|
|
936
|
-
[_e]: _se,
|
|
937
|
-
[_hE]: 503,
|
|
938
|
-
},
|
|
939
|
-
[_m],
|
|
940
|
-
[0],
|
|
941
|
-
];
|
|
838
|
+
var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
942
839
|
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
943
840
|
var StartAutomationEventRequest = [3, n0, _SAER, 0, [_rAI, _cT], [0, [0, 4]]];
|
|
944
841
|
var StartAutomationEventResponse = [3, n0, _SAERt, 0, [_rAI, _eI, _eS], [0, 0, 0]];
|
|
@@ -955,17 +852,7 @@ var TagResourceRequest = [
|
|
|
955
852
|
[0, 1, () => TagList, [0, 4]],
|
|
956
853
|
];
|
|
957
854
|
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
958
|
-
var ThrottlingException = [
|
|
959
|
-
-3,
|
|
960
|
-
n0,
|
|
961
|
-
_TE,
|
|
962
|
-
{
|
|
963
|
-
[_e]: _c,
|
|
964
|
-
[_hE]: 429,
|
|
965
|
-
},
|
|
966
|
-
[_m],
|
|
967
|
-
[0],
|
|
968
|
-
];
|
|
855
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
969
856
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
970
857
|
var TimePeriod = [3, n0, _TP, 0, [_sTI, _eTE], [4, 4]];
|
|
971
858
|
var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _rR, _tK, _cT], [0, 1, 64 | 0, [0, 4]]];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -22,7 +22,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
22
22
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
23
23
|
import { UpdateAutomationRuleCommand, } from "./commands/UpdateAutomationRuleCommand";
|
|
24
24
|
import { UpdateEnrollmentConfigurationCommand, } from "./commands/UpdateEnrollmentConfigurationCommand";
|
|
25
|
-
import { ComputeOptimizerAutomationClient
|
|
25
|
+
import { ComputeOptimizerAutomationClient } from "./ComputeOptimizerAutomationClient";
|
|
26
26
|
const commands = {
|
|
27
27
|
AssociateAccountsCommand,
|
|
28
28
|
CreateAutomationRuleCommand,
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultComputeOptimizerAutomationHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -226,17 +226,7 @@ const n0 = "com.amazonaws.computeoptimizerautomation";
|
|
|
226
226
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
227
227
|
import { ComputeOptimizerAutomationServiceException as __ComputeOptimizerAutomationServiceException } from "../models/ComputeOptimizerAutomationServiceException";
|
|
228
228
|
import { AccessDeniedException as __AccessDeniedException, ForbiddenException as __ForbiddenException, IdempotencyTokenInUseException as __IdempotencyTokenInUseException, IdempotentParameterMismatchException as __IdempotentParameterMismatchException, InternalServerException as __InternalServerException, InvalidParameterValueException as __InvalidParameterValueException, NotManagementAccountException as __NotManagementAccountException, OptInRequiredException as __OptInRequiredException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, } from "../models/errors";
|
|
229
|
-
export var AccessDeniedException = [
|
|
230
|
-
-3,
|
|
231
|
-
n0,
|
|
232
|
-
_ADE,
|
|
233
|
-
{
|
|
234
|
-
[_e]: _c,
|
|
235
|
-
[_hE]: 403,
|
|
236
|
-
},
|
|
237
|
-
[_m],
|
|
238
|
-
[0],
|
|
239
|
-
];
|
|
229
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
240
230
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
241
231
|
export var AccountInfo = [3, n0, _AI, 0, [_aI, _s, _oRM, _sR, _lUT], [0, 0, 0, 0, 4]];
|
|
242
232
|
export var AssociateAccountsRequest = [3, n0, _AAR, 0, [_aIc, _cT], [64 | 0, [0, 4]]];
|
|
@@ -316,17 +306,7 @@ export var EbsVolume = [3, n0, _EV, 0, [_con], [() => EbsVolumeConfiguration]];
|
|
|
316
306
|
export var EbsVolumeConfiguration = [3, n0, _EVC, 0, [_ty, _sIG, _i, _th], [0, 1, 1, 1]];
|
|
317
307
|
export var EstimatedMonthlySavings = [3, n0, _EMS, 0, [_cu, _bDS, _aDS, _sEM], [0, 1, 1, 0]];
|
|
318
308
|
export var Filter = [3, n0, _F, 0, [_n, _v], [0, 64 | 0]];
|
|
319
|
-
export var ForbiddenException = [
|
|
320
|
-
-3,
|
|
321
|
-
n0,
|
|
322
|
-
_FE,
|
|
323
|
-
{
|
|
324
|
-
[_e]: _c,
|
|
325
|
-
[_hE]: 403,
|
|
326
|
-
},
|
|
327
|
-
[_m],
|
|
328
|
-
[0],
|
|
329
|
-
];
|
|
309
|
+
export var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
330
310
|
TypeRegistry.for(n0).registerError(ForbiddenException, __ForbiddenException);
|
|
331
311
|
export var GetAutomationEventRequest = [3, n0, _GAER, 0, [_eI], [0]];
|
|
332
312
|
export var GetAutomationEventResponse = [
|
|
@@ -372,54 +352,21 @@ export var GetEnrollmentConfigurationResponse = [
|
|
|
372
352
|
[_s, _sR, _oRM, _lUT],
|
|
373
353
|
[0, 0, 0, 4],
|
|
374
354
|
];
|
|
375
|
-
export var IdempotencyTokenInUseException = [
|
|
376
|
-
-3,
|
|
377
|
-
n0,
|
|
378
|
-
_ITIUE,
|
|
379
|
-
{
|
|
380
|
-
[_e]: _c,
|
|
381
|
-
[_hE]: 409,
|
|
382
|
-
},
|
|
383
|
-
[_m],
|
|
384
|
-
[0],
|
|
385
|
-
];
|
|
355
|
+
export var IdempotencyTokenInUseException = [-3, n0, _ITIUE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
386
356
|
TypeRegistry.for(n0).registerError(IdempotencyTokenInUseException, __IdempotencyTokenInUseException);
|
|
387
357
|
export var IdempotentParameterMismatchException = [
|
|
388
358
|
-3,
|
|
389
359
|
n0,
|
|
390
360
|
_IPME,
|
|
391
|
-
{
|
|
392
|
-
[_e]: _c,
|
|
393
|
-
[_hE]: 409,
|
|
394
|
-
},
|
|
361
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
395
362
|
[_m],
|
|
396
363
|
[0],
|
|
397
364
|
];
|
|
398
365
|
TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, __IdempotentParameterMismatchException);
|
|
399
366
|
export var IntegerCriteriaCondition = [3, n0, _ICC, 0, [_co, _v], [0, 64 | 1]];
|
|
400
|
-
export var InternalServerException = [
|
|
401
|
-
-3,
|
|
402
|
-
n0,
|
|
403
|
-
_ISE,
|
|
404
|
-
{
|
|
405
|
-
[_e]: _se,
|
|
406
|
-
[_hE]: 500,
|
|
407
|
-
},
|
|
408
|
-
[_m],
|
|
409
|
-
[0],
|
|
410
|
-
];
|
|
367
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
411
368
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
412
|
-
export var InvalidParameterValueException = [
|
|
413
|
-
-3,
|
|
414
|
-
n0,
|
|
415
|
-
_IPVE,
|
|
416
|
-
{
|
|
417
|
-
[_e]: _c,
|
|
418
|
-
[_hE]: 400,
|
|
419
|
-
},
|
|
420
|
-
[_m],
|
|
421
|
-
[0],
|
|
422
|
-
];
|
|
369
|
+
export var InvalidParameterValueException = [-3, n0, _IPVE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
423
370
|
TypeRegistry.for(n0).registerError(InvalidParameterValueException, __InvalidParameterValueException);
|
|
424
371
|
export var ListAccountsRequest = [3, n0, _LAR, 0, [_mR, _nT], [1, 0]];
|
|
425
372
|
export var ListAccountsResponse = [3, n0, _LARi, 0, [_a, _nT], [() => AccountInfoList, 0]];
|
|
@@ -546,29 +493,9 @@ export var ListRecommendedActionSummariesResponse = [
|
|
|
546
493
|
];
|
|
547
494
|
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [0]];
|
|
548
495
|
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [() => TagList]];
|
|
549
|
-
export var NotManagementAccountException = [
|
|
550
|
-
-3,
|
|
551
|
-
n0,
|
|
552
|
-
_NMAE,
|
|
553
|
-
{
|
|
554
|
-
[_e]: _c,
|
|
555
|
-
[_hE]: 400,
|
|
556
|
-
},
|
|
557
|
-
[_m],
|
|
558
|
-
[0],
|
|
559
|
-
];
|
|
496
|
+
export var NotManagementAccountException = [-3, n0, _NMAE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
560
497
|
TypeRegistry.for(n0).registerError(NotManagementAccountException, __NotManagementAccountException);
|
|
561
|
-
export var OptInRequiredException = [
|
|
562
|
-
-3,
|
|
563
|
-
n0,
|
|
564
|
-
_OIRE,
|
|
565
|
-
{
|
|
566
|
-
[_e]: _c,
|
|
567
|
-
[_hE]: 403,
|
|
568
|
-
},
|
|
569
|
-
[_m],
|
|
570
|
-
[0],
|
|
571
|
-
];
|
|
498
|
+
export var OptInRequiredException = [-3, n0, _OIRE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
572
499
|
TypeRegistry.for(n0).registerError(OptInRequiredException, __OptInRequiredException);
|
|
573
500
|
export var OrganizationConfiguration = [3, n0, _OC, 0, [_rAO, _aIc], [0, 64 | 0]];
|
|
574
501
|
export var OrganizationScope = [3, n0, _OS, 0, [_aIc], [64 | 0]];
|
|
@@ -638,46 +565,16 @@ export var RecommendedActionTotal = [
|
|
|
638
565
|
[_rAC, _eMS],
|
|
639
566
|
[1, () => EstimatedMonthlySavings],
|
|
640
567
|
];
|
|
641
|
-
export var ResourceNotFoundException = [
|
|
642
|
-
-3,
|
|
643
|
-
n0,
|
|
644
|
-
_RNFE,
|
|
645
|
-
{
|
|
646
|
-
[_e]: _c,
|
|
647
|
-
[_hE]: 404,
|
|
648
|
-
},
|
|
649
|
-
[_m],
|
|
650
|
-
[0],
|
|
651
|
-
];
|
|
568
|
+
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
652
569
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
653
570
|
export var ResourceTagsCriteriaCondition = [3, n0, _RTCC, 0, [_co, _k, _v], [0, 0, 64 | 0]];
|
|
654
571
|
export var RollbackAutomationEventRequest = [3, n0, _RAER, 0, [_eI, _cT], [0, [0, 4]]];
|
|
655
572
|
export var RollbackAutomationEventResponse = [3, n0, _RAERo, 0, [_eI, _eS], [0, 0]];
|
|
656
573
|
export var RulePreviewTotal = [3, n0, _RPT, 0, [_rAC, _eMS], [1, () => EstimatedMonthlySavings]];
|
|
657
574
|
export var Schedule = [3, n0, _S, 0, [_sE, _sET, _eWIM], [0, 0, 1]];
|
|
658
|
-
export var ServiceQuotaExceededException = [
|
|
659
|
-
-3,
|
|
660
|
-
n0,
|
|
661
|
-
_SQEE,
|
|
662
|
-
{
|
|
663
|
-
[_e]: _c,
|
|
664
|
-
[_hE]: 402,
|
|
665
|
-
},
|
|
666
|
-
[_m],
|
|
667
|
-
[0],
|
|
668
|
-
];
|
|
575
|
+
export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
669
576
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
670
|
-
export var ServiceUnavailableException = [
|
|
671
|
-
-3,
|
|
672
|
-
n0,
|
|
673
|
-
_SUE,
|
|
674
|
-
{
|
|
675
|
-
[_e]: _se,
|
|
676
|
-
[_hE]: 503,
|
|
677
|
-
},
|
|
678
|
-
[_m],
|
|
679
|
-
[0],
|
|
680
|
-
];
|
|
577
|
+
export var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
681
578
|
TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
|
|
682
579
|
export var StartAutomationEventRequest = [3, n0, _SAER, 0, [_rAI, _cT], [0, [0, 4]]];
|
|
683
580
|
export var StartAutomationEventResponse = [3, n0, _SAERt, 0, [_rAI, _eI, _eS], [0, 0, 0]];
|
|
@@ -694,17 +591,7 @@ export var TagResourceRequest = [
|
|
|
694
591
|
[0, 1, () => TagList, [0, 4]],
|
|
695
592
|
];
|
|
696
593
|
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
697
|
-
export var ThrottlingException = [
|
|
698
|
-
-3,
|
|
699
|
-
n0,
|
|
700
|
-
_TE,
|
|
701
|
-
{
|
|
702
|
-
[_e]: _c,
|
|
703
|
-
[_hE]: 429,
|
|
704
|
-
},
|
|
705
|
-
[_m],
|
|
706
|
-
[0],
|
|
707
|
-
];
|
|
594
|
+
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
708
595
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
709
596
|
export var TimePeriod = [3, n0, _TP, 0, [_sTI, _eTE], [4, 4]];
|
|
710
597
|
export var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _rR, _tK, _cT], [0, 1, 64 | 0, [0, 4]]];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssociateAccountsCommandInput, AssociateAccountsCommandOutput } from "./commands/AssociateAccountsCommand";
|
|
3
3
|
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
4
4
|
import { DeleteAutomationRuleCommandInput, DeleteAutomationRuleCommandOutput } from "./commands/DeleteAutomationRuleCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssociateAccountsCommandInput, AssociateAccountsCommandOutput } from "./commands/AssociateAccountsCommand";
|
|
11
11
|
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
12
12
|
import { DeleteAutomationRuleCommandInput, DeleteAutomationRuleCommandOutput } from "./commands/DeleteAutomationRuleCommand";
|
|
@@ -31,7 +31,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
31
31
|
import { UpdateAutomationRuleCommandInput, UpdateAutomationRuleCommandOutput } from "./commands/UpdateAutomationRuleCommand";
|
|
32
32
|
import { UpdateEnrollmentConfigurationCommandInput, UpdateEnrollmentConfigurationCommandOutput } from "./commands/UpdateEnrollmentConfigurationCommand";
|
|
33
33
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
34
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
34
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
35
35
|
export { __Client };
|
|
36
36
|
/**
|
|
37
37
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { ComputeOptimizerAutomationHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { ComputeOptimizerAutomationHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig } from "../ComputeOptimizerAutomationClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type ComputeOptimizerAutomationClientResolvedConfig } from "../ComputeOptimizerAutomationClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { AssociateAccountsRequest, AssociateAccountsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { AssociateAccountsRequest, AssociateAccountsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { CreateAutomationRuleRequest, CreateAutomationRuleResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { CreateAutomationRuleRequest, CreateAutomationRuleResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { DeleteAutomationRuleRequest, DeleteAutomationRuleResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { DeleteAutomationRuleRequest, DeleteAutomationRuleResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { DisassociateAccountsRequest, DisassociateAccountsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { DisassociateAccountsRequest, DisassociateAccountsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { GetAutomationEventRequest, GetAutomationEventResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { GetAutomationEventRequest, GetAutomationEventResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { GetAutomationRuleRequest, GetAutomationRuleResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { GetAutomationRuleRequest, GetAutomationRuleResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { GetEnrollmentConfigurationRequest, GetEnrollmentConfigurationResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { GetEnrollmentConfigurationRequest, GetEnrollmentConfigurationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationEventStepsRequest, ListAutomationEventStepsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationEventStepsRequest, ListAutomationEventStepsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationEventSummariesRequest, ListAutomationEventSummariesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationEventSummariesRequest, ListAutomationEventSummariesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationEventsRequest, ListAutomationEventsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationEventsRequest, ListAutomationEventsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationRulePreviewRequest, ListAutomationRulePreviewResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationRulePreviewRequest, ListAutomationRulePreviewResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationRulePreviewSummariesRequest, ListAutomationRulePreviewSummariesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationRulePreviewSummariesRequest, ListAutomationRulePreviewSummariesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListAutomationRulesRequest, ListAutomationRulesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListAutomationRulesRequest, ListAutomationRulesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListRecommendedActionSummariesRequest, ListRecommendedActionSummariesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListRecommendedActionSummariesRequest, ListRecommendedActionSummariesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListRecommendedActionsRequest, ListRecommendedActionsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListRecommendedActionsRequest, ListRecommendedActionsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { RollbackAutomationEventRequest, RollbackAutomationEventResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { RollbackAutomationEventRequest, RollbackAutomationEventResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { StartAutomationEventRequest, StartAutomationEventResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { StartAutomationEventRequest, StartAutomationEventResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { UpdateAutomationRuleRequest, UpdateAutomationRuleResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { UpdateAutomationRuleRequest, UpdateAutomationRuleResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
-
import { UpdateEnrollmentConfigurationRequest, UpdateEnrollmentConfigurationResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import type { UpdateEnrollmentConfigurationRequest, UpdateEnrollmentConfigurationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ComputeOptimizerAutomationServiceException as __BaseException } from "./ComputeOptimizerAutomationServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationEventStepsCommandInput, ListAutomationEventStepsCommandOutput } from "../commands/ListAutomationEventStepsCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationEventSummariesCommandInput, ListAutomationEventSummariesCommandOutput } from "../commands/ListAutomationEventSummariesCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationEventsCommandInput, ListAutomationEventsCommandOutput } from "../commands/ListAutomationEventsCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationRulePreviewCommandInput, ListAutomationRulePreviewCommandOutput } from "../commands/ListAutomationRulePreviewCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationRulePreviewSummariesCommandInput, ListAutomationRulePreviewSummariesCommandOutput } from "../commands/ListAutomationRulePreviewSummariesCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "../commands/ListAutomationRulesCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListRecommendedActionSummariesCommandInput, ListRecommendedActionSummariesCommandOutput } from "../commands/ListRecommendedActionSummariesCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListRecommendedActionsCommandInput, ListRecommendedActionsCommandOutput } from "../commands/ListRecommendedActionsCommand";
|
|
3
3
|
import { ComputeOptimizerAutomationPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
-
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
2
|
+
import type { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
-
import { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
2
|
+
import type { ComputeOptimizerAutomationClientConfig } from "./ComputeOptimizerAutomationClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
3
|
export declare var AccountInfo: StaticStructureSchema;
|
|
4
4
|
export declare var AssociateAccountsRequest: StaticStructureSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HttpAuthScheme,
|
|
2
3
|
AwsCredentialIdentity,
|
|
3
4
|
AwsCredentialIdentityProvider,
|
|
4
|
-
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { ComputeOptimizerAutomationHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer-automation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Automation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.946.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-compute-optimizer-automation",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo compute-optimizer-automation"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo compute-optimizer-automation",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|