@aws-sdk/client-mwaa 3.943.0 → 3.947.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 +21 -118
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/MWAAClient.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 +21 -118
- package/dist-types/MWAA.d.ts +1 -1
- package/dist-types/MWAAClient.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/CreateCliTokenCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/InvokeRestApiCommand.d.ts +3 -3
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/PublishMetricsCommand.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/UpdateEnvironmentCommand.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/MWAAServiceException.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/ListEnvironmentsPaginator.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/MWAAClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/MWAAServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -346,17 +346,7 @@ var ConfigValue = [0, n0, _CV, 8, 0];
|
|
|
346
346
|
var RestApiRequestBody = [0, n0, _RARB, 8, 15];
|
|
347
347
|
var RestApiResponse = [0, n0, _RAR, 8, 15];
|
|
348
348
|
var Token = [0, n0, _T, 8, 0];
|
|
349
|
-
var AccessDeniedException = [
|
|
350
|
-
-3,
|
|
351
|
-
n0,
|
|
352
|
-
_ADE,
|
|
353
|
-
{
|
|
354
|
-
[_e]: _c,
|
|
355
|
-
[_hE]: 403,
|
|
356
|
-
},
|
|
357
|
-
[_M],
|
|
358
|
-
[0],
|
|
359
|
-
];
|
|
349
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
360
350
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
361
351
|
var CreateCliTokenRequest = [3, n0, _CCTR, 0, [_N], [[0, 1]]];
|
|
362
352
|
var CreateCliTokenResponse = [3, n0, _CCTRr, 0, [_CT, _WSH], [[() => Token, 0], 0]];
|
|
@@ -513,17 +503,7 @@ var Environment = [
|
|
|
513
503
|
];
|
|
514
504
|
var GetEnvironmentInput = [3, n0, _GEI, 0, [_N], [[0, 1]]];
|
|
515
505
|
var GetEnvironmentOutput = [3, n0, _GEO, 0, [_E], [[() => Environment, 0]]];
|
|
516
|
-
var InternalServerException = [
|
|
517
|
-
-3,
|
|
518
|
-
n0,
|
|
519
|
-
_ISE,
|
|
520
|
-
{
|
|
521
|
-
[_e]: _s,
|
|
522
|
-
[_hE]: 500,
|
|
523
|
-
},
|
|
524
|
-
[_m],
|
|
525
|
-
[0],
|
|
526
|
-
];
|
|
506
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
527
507
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
528
508
|
var InvokeRestApiRequest = [
|
|
529
509
|
3,
|
|
@@ -556,18 +536,8 @@ var ListEnvironmentsInput = [
|
|
|
556
536
|
0,
|
|
557
537
|
[_NT, _MR],
|
|
558
538
|
[
|
|
559
|
-
[
|
|
560
|
-
|
|
561
|
-
{
|
|
562
|
-
[_hQ]: _NT,
|
|
563
|
-
},
|
|
564
|
-
],
|
|
565
|
-
[
|
|
566
|
-
1,
|
|
567
|
-
{
|
|
568
|
-
[_hQ]: _MR,
|
|
569
|
-
},
|
|
570
|
-
],
|
|
539
|
+
[0, { [_hQ]: _NT }],
|
|
540
|
+
[1, { [_hQ]: _MR }],
|
|
571
541
|
],
|
|
572
542
|
];
|
|
573
543
|
var ListEnvironmentsOutput = [3, n0, _LEO, 0, [_En, _NT], [64 | 0, 0]];
|
|
@@ -614,26 +584,13 @@ var ModuleLoggingConfigurationInput = [3, n0, _MLCI, 0, [_Ena, _LL], [2, 0]];
|
|
|
614
584
|
var NetworkConfiguration = [3, n0, _NC, 0, [_SI, _SGI], [64 | 0, 64 | 0]];
|
|
615
585
|
var PublishMetricsInput = [3, n0, _PMI, 0, [_EN, _MDe], [[0, 1], () => MetricData]];
|
|
616
586
|
var PublishMetricsOutput = [3, n0, _PMO, 0, [], []];
|
|
617
|
-
var ResourceNotFoundException = [
|
|
618
|
-
-3,
|
|
619
|
-
n0,
|
|
620
|
-
_RNFE,
|
|
621
|
-
{
|
|
622
|
-
[_e]: _c,
|
|
623
|
-
[_hE]: 404,
|
|
624
|
-
},
|
|
625
|
-
[_m],
|
|
626
|
-
[0],
|
|
627
|
-
];
|
|
587
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
628
588
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
629
589
|
var RestApiClientException = [
|
|
630
590
|
-3,
|
|
631
591
|
n0,
|
|
632
592
|
_RACE,
|
|
633
|
-
{
|
|
634
|
-
[_e]: _c,
|
|
635
|
-
[_hE]: 400,
|
|
636
|
-
},
|
|
593
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
637
594
|
[_RASC, _RAR],
|
|
638
595
|
[1, [() => RestApiResponse, 0]],
|
|
639
596
|
];
|
|
@@ -642,10 +599,7 @@ var RestApiServerException = [
|
|
|
642
599
|
-3,
|
|
643
600
|
n0,
|
|
644
601
|
_RASE,
|
|
645
|
-
{
|
|
646
|
-
[_e]: _c,
|
|
647
|
-
[_hE]: 400,
|
|
648
|
-
},
|
|
602
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
649
603
|
[_RASC, _RAR],
|
|
650
604
|
[1, [() => RestApiResponse, 0]],
|
|
651
605
|
];
|
|
@@ -661,12 +615,7 @@ var UntagResourceInput = [
|
|
|
661
615
|
[_RA, _tK],
|
|
662
616
|
[
|
|
663
617
|
[0, 1],
|
|
664
|
-
[
|
|
665
|
-
64 | 0,
|
|
666
|
-
{
|
|
667
|
-
[_hQ]: _tK,
|
|
668
|
-
},
|
|
669
|
-
],
|
|
618
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
670
619
|
],
|
|
671
620
|
];
|
|
672
621
|
var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
@@ -729,17 +678,7 @@ var UpdateEnvironmentInput = [
|
|
|
729
678
|
var UpdateEnvironmentOutput = [3, n0, _UEO, 0, [_A], [0]];
|
|
730
679
|
var UpdateError = [3, n0, _UE, 0, [_ECr, _EMr], [0, 0]];
|
|
731
680
|
var UpdateNetworkConfigurationInput = [3, n0, _UNCI, 0, [_SGI], [64 | 0]];
|
|
732
|
-
var ValidationException = [
|
|
733
|
-
-3,
|
|
734
|
-
n0,
|
|
735
|
-
_VE,
|
|
736
|
-
{
|
|
737
|
-
[_e]: _c,
|
|
738
|
-
[_hE]: 400,
|
|
739
|
-
},
|
|
740
|
-
[_m],
|
|
741
|
-
[0],
|
|
742
|
-
];
|
|
681
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
743
682
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
744
683
|
var MWAAServiceException = [-3, _sm, "MWAAServiceException", 0, [], []];
|
|
745
684
|
schema.TypeRegistry.for(_sm).registerError(MWAAServiceException, MWAAServiceException$1);
|
|
@@ -750,10 +689,7 @@ var CreateCliToken = [
|
|
|
750
689
|
9,
|
|
751
690
|
n0,
|
|
752
691
|
_CCT,
|
|
753
|
-
{
|
|
754
|
-
[_h]: ["POST", "/clitoken/{Name}", 200],
|
|
755
|
-
[_en]: ["env."],
|
|
756
|
-
},
|
|
692
|
+
{ [_h]: ["POST", "/clitoken/{Name}", 200], [_en]: ["env."] },
|
|
757
693
|
() => CreateCliTokenRequest,
|
|
758
694
|
() => CreateCliTokenResponse,
|
|
759
695
|
];
|
|
@@ -761,10 +697,7 @@ var CreateEnvironment = [
|
|
|
761
697
|
9,
|
|
762
698
|
n0,
|
|
763
699
|
_CE,
|
|
764
|
-
{
|
|
765
|
-
[_h]: ["PUT", "/environments/{Name}", 200],
|
|
766
|
-
[_en]: ["api."],
|
|
767
|
-
},
|
|
700
|
+
{ [_h]: ["PUT", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
768
701
|
() => CreateEnvironmentInput,
|
|
769
702
|
() => CreateEnvironmentOutput,
|
|
770
703
|
];
|
|
@@ -772,10 +705,7 @@ var CreateWebLoginToken = [
|
|
|
772
705
|
9,
|
|
773
706
|
n0,
|
|
774
707
|
_CWLT,
|
|
775
|
-
{
|
|
776
|
-
[_h]: ["POST", "/webtoken/{Name}", 200],
|
|
777
|
-
[_en]: ["env."],
|
|
778
|
-
},
|
|
708
|
+
{ [_h]: ["POST", "/webtoken/{Name}", 200], [_en]: ["env."] },
|
|
779
709
|
() => CreateWebLoginTokenRequest,
|
|
780
710
|
() => CreateWebLoginTokenResponse,
|
|
781
711
|
];
|
|
@@ -783,10 +713,7 @@ var DeleteEnvironment = [
|
|
|
783
713
|
9,
|
|
784
714
|
n0,
|
|
785
715
|
_DE,
|
|
786
|
-
{
|
|
787
|
-
[_h]: ["DELETE", "/environments/{Name}", 200],
|
|
788
|
-
[_en]: ["api."],
|
|
789
|
-
},
|
|
716
|
+
{ [_h]: ["DELETE", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
790
717
|
() => DeleteEnvironmentInput,
|
|
791
718
|
() => DeleteEnvironmentOutput,
|
|
792
719
|
];
|
|
@@ -794,10 +721,7 @@ var GetEnvironment = [
|
|
|
794
721
|
9,
|
|
795
722
|
n0,
|
|
796
723
|
_GE,
|
|
797
|
-
{
|
|
798
|
-
[_h]: ["GET", "/environments/{Name}", 200],
|
|
799
|
-
[_en]: ["api."],
|
|
800
|
-
},
|
|
724
|
+
{ [_h]: ["GET", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
801
725
|
() => GetEnvironmentInput,
|
|
802
726
|
() => GetEnvironmentOutput,
|
|
803
727
|
];
|
|
@@ -805,10 +729,7 @@ var InvokeRestApi = [
|
|
|
805
729
|
9,
|
|
806
730
|
n0,
|
|
807
731
|
_IRA,
|
|
808
|
-
{
|
|
809
|
-
[_h]: ["POST", "/restapi/{Name}", 200],
|
|
810
|
-
[_en]: ["env."],
|
|
811
|
-
},
|
|
732
|
+
{ [_h]: ["POST", "/restapi/{Name}", 200], [_en]: ["env."] },
|
|
812
733
|
() => InvokeRestApiRequest,
|
|
813
734
|
() => InvokeRestApiResponse,
|
|
814
735
|
];
|
|
@@ -816,10 +737,7 @@ var ListEnvironments = [
|
|
|
816
737
|
9,
|
|
817
738
|
n0,
|
|
818
739
|
_LE,
|
|
819
|
-
{
|
|
820
|
-
[_h]: ["GET", "/environments", 200],
|
|
821
|
-
[_en]: ["api."],
|
|
822
|
-
},
|
|
740
|
+
{ [_h]: ["GET", "/environments", 200], [_en]: ["api."] },
|
|
823
741
|
() => ListEnvironmentsInput,
|
|
824
742
|
() => ListEnvironmentsOutput,
|
|
825
743
|
];
|
|
@@ -827,10 +745,7 @@ var ListTagsForResource = [
|
|
|
827
745
|
9,
|
|
828
746
|
n0,
|
|
829
747
|
_LTFR,
|
|
830
|
-
{
|
|
831
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
832
|
-
[_en]: ["api."],
|
|
833
|
-
},
|
|
748
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
834
749
|
() => ListTagsForResourceInput,
|
|
835
750
|
() => ListTagsForResourceOutput,
|
|
836
751
|
];
|
|
@@ -838,10 +753,7 @@ var PublishMetrics = [
|
|
|
838
753
|
9,
|
|
839
754
|
n0,
|
|
840
755
|
_PM,
|
|
841
|
-
{
|
|
842
|
-
[_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200],
|
|
843
|
-
[_en]: ["ops."],
|
|
844
|
-
},
|
|
756
|
+
{ [_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200], [_en]: ["ops."] },
|
|
845
757
|
() => PublishMetricsInput,
|
|
846
758
|
() => PublishMetricsOutput,
|
|
847
759
|
];
|
|
@@ -849,10 +761,7 @@ var TagResource = [
|
|
|
849
761
|
9,
|
|
850
762
|
n0,
|
|
851
763
|
_TR,
|
|
852
|
-
{
|
|
853
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
854
|
-
[_en]: ["api."],
|
|
855
|
-
},
|
|
764
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
856
765
|
() => TagResourceInput,
|
|
857
766
|
() => TagResourceOutput,
|
|
858
767
|
];
|
|
@@ -860,10 +769,7 @@ var UntagResource = [
|
|
|
860
769
|
9,
|
|
861
770
|
n0,
|
|
862
771
|
_UR,
|
|
863
|
-
{
|
|
864
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
865
|
-
[_en]: ["api."],
|
|
866
|
-
},
|
|
772
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
867
773
|
() => UntagResourceInput,
|
|
868
774
|
() => UntagResourceOutput,
|
|
869
775
|
];
|
|
@@ -871,10 +777,7 @@ var UpdateEnvironment = [
|
|
|
871
777
|
9,
|
|
872
778
|
n0,
|
|
873
779
|
_UEp,
|
|
874
|
-
{
|
|
875
|
-
[_h]: ["PATCH", "/environments/{Name}", 200],
|
|
876
|
-
[_en]: ["api."],
|
|
877
|
-
},
|
|
780
|
+
{ [_h]: ["PATCH", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
878
781
|
() => UpdateEnvironmentInput,
|
|
879
782
|
() => UpdateEnvironmentOutput,
|
|
880
783
|
];
|
|
@@ -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);
|
package/dist-es/MWAAClient.js
CHANGED
|
@@ -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 { defaultMWAAHttpAuthSchemeParametersProvider, 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);
|
|
@@ -147,17 +147,7 @@ export var ConfigValue = [0, n0, _CV, 8, 0];
|
|
|
147
147
|
export var RestApiRequestBody = [0, n0, _RARB, 8, 15];
|
|
148
148
|
export var RestApiResponse = [0, n0, _RAR, 8, 15];
|
|
149
149
|
export var Token = [0, n0, _T, 8, 0];
|
|
150
|
-
export var AccessDeniedException = [
|
|
151
|
-
-3,
|
|
152
|
-
n0,
|
|
153
|
-
_ADE,
|
|
154
|
-
{
|
|
155
|
-
[_e]: _c,
|
|
156
|
-
[_hE]: 403,
|
|
157
|
-
},
|
|
158
|
-
[_M],
|
|
159
|
-
[0],
|
|
160
|
-
];
|
|
150
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
161
151
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
162
152
|
export var CreateCliTokenRequest = [3, n0, _CCTR, 0, [_N], [[0, 1]]];
|
|
163
153
|
export var CreateCliTokenResponse = [3, n0, _CCTRr, 0, [_CT, _WSH], [[() => Token, 0], 0]];
|
|
@@ -314,17 +304,7 @@ export var Environment = [
|
|
|
314
304
|
];
|
|
315
305
|
export var GetEnvironmentInput = [3, n0, _GEI, 0, [_N], [[0, 1]]];
|
|
316
306
|
export var GetEnvironmentOutput = [3, n0, _GEO, 0, [_E], [[() => Environment, 0]]];
|
|
317
|
-
export var InternalServerException = [
|
|
318
|
-
-3,
|
|
319
|
-
n0,
|
|
320
|
-
_ISE,
|
|
321
|
-
{
|
|
322
|
-
[_e]: _s,
|
|
323
|
-
[_hE]: 500,
|
|
324
|
-
},
|
|
325
|
-
[_m],
|
|
326
|
-
[0],
|
|
327
|
-
];
|
|
307
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
328
308
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
329
309
|
export var InvokeRestApiRequest = [
|
|
330
310
|
3,
|
|
@@ -357,18 +337,8 @@ export var ListEnvironmentsInput = [
|
|
|
357
337
|
0,
|
|
358
338
|
[_NT, _MR],
|
|
359
339
|
[
|
|
360
|
-
[
|
|
361
|
-
|
|
362
|
-
{
|
|
363
|
-
[_hQ]: _NT,
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
[
|
|
367
|
-
1,
|
|
368
|
-
{
|
|
369
|
-
[_hQ]: _MR,
|
|
370
|
-
},
|
|
371
|
-
],
|
|
340
|
+
[0, { [_hQ]: _NT }],
|
|
341
|
+
[1, { [_hQ]: _MR }],
|
|
372
342
|
],
|
|
373
343
|
];
|
|
374
344
|
export var ListEnvironmentsOutput = [3, n0, _LEO, 0, [_En, _NT], [64 | 0, 0]];
|
|
@@ -415,26 +385,13 @@ export var ModuleLoggingConfigurationInput = [3, n0, _MLCI, 0, [_Ena, _LL], [2,
|
|
|
415
385
|
export var NetworkConfiguration = [3, n0, _NC, 0, [_SI, _SGI], [64 | 0, 64 | 0]];
|
|
416
386
|
export var PublishMetricsInput = [3, n0, _PMI, 0, [_EN, _MDe], [[0, 1], () => MetricData]];
|
|
417
387
|
export var PublishMetricsOutput = [3, n0, _PMO, 0, [], []];
|
|
418
|
-
export var ResourceNotFoundException = [
|
|
419
|
-
-3,
|
|
420
|
-
n0,
|
|
421
|
-
_RNFE,
|
|
422
|
-
{
|
|
423
|
-
[_e]: _c,
|
|
424
|
-
[_hE]: 404,
|
|
425
|
-
},
|
|
426
|
-
[_m],
|
|
427
|
-
[0],
|
|
428
|
-
];
|
|
388
|
+
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
429
389
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
430
390
|
export var RestApiClientException = [
|
|
431
391
|
-3,
|
|
432
392
|
n0,
|
|
433
393
|
_RACE,
|
|
434
|
-
{
|
|
435
|
-
[_e]: _c,
|
|
436
|
-
[_hE]: 400,
|
|
437
|
-
},
|
|
394
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
438
395
|
[_RASC, _RAR],
|
|
439
396
|
[1, [() => RestApiResponse, 0]],
|
|
440
397
|
];
|
|
@@ -443,10 +400,7 @@ export var RestApiServerException = [
|
|
|
443
400
|
-3,
|
|
444
401
|
n0,
|
|
445
402
|
_RASE,
|
|
446
|
-
{
|
|
447
|
-
[_e]: _c,
|
|
448
|
-
[_hE]: 400,
|
|
449
|
-
},
|
|
403
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
450
404
|
[_RASC, _RAR],
|
|
451
405
|
[1, [() => RestApiResponse, 0]],
|
|
452
406
|
];
|
|
@@ -462,12 +416,7 @@ export var UntagResourceInput = [
|
|
|
462
416
|
[_RA, _tK],
|
|
463
417
|
[
|
|
464
418
|
[0, 1],
|
|
465
|
-
[
|
|
466
|
-
64 | 0,
|
|
467
|
-
{
|
|
468
|
-
[_hQ]: _tK,
|
|
469
|
-
},
|
|
470
|
-
],
|
|
419
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
471
420
|
],
|
|
472
421
|
];
|
|
473
422
|
export var UntagResourceOutput = [3, n0, _URO, 0, [], []];
|
|
@@ -530,17 +479,7 @@ export var UpdateEnvironmentInput = [
|
|
|
530
479
|
export var UpdateEnvironmentOutput = [3, n0, _UEO, 0, [_A], [0]];
|
|
531
480
|
export var UpdateError = [3, n0, _UE, 0, [_ECr, _EMr], [0, 0]];
|
|
532
481
|
export var UpdateNetworkConfigurationInput = [3, n0, _UNCI, 0, [_SGI], [64 | 0]];
|
|
533
|
-
export var ValidationException = [
|
|
534
|
-
-3,
|
|
535
|
-
n0,
|
|
536
|
-
_VE,
|
|
537
|
-
{
|
|
538
|
-
[_e]: _c,
|
|
539
|
-
[_hE]: 400,
|
|
540
|
-
},
|
|
541
|
-
[_m],
|
|
542
|
-
[0],
|
|
543
|
-
];
|
|
482
|
+
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
544
483
|
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
545
484
|
export var MWAAServiceException = [-3, _sm, "MWAAServiceException", 0, [], []];
|
|
546
485
|
TypeRegistry.for(_sm).registerError(MWAAServiceException, __MWAAServiceException);
|
|
@@ -556,10 +495,7 @@ export var CreateCliToken = [
|
|
|
556
495
|
9,
|
|
557
496
|
n0,
|
|
558
497
|
_CCT,
|
|
559
|
-
{
|
|
560
|
-
[_h]: ["POST", "/clitoken/{Name}", 200],
|
|
561
|
-
[_en]: ["env."],
|
|
562
|
-
},
|
|
498
|
+
{ [_h]: ["POST", "/clitoken/{Name}", 200], [_en]: ["env."] },
|
|
563
499
|
() => CreateCliTokenRequest,
|
|
564
500
|
() => CreateCliTokenResponse,
|
|
565
501
|
];
|
|
@@ -567,10 +503,7 @@ export var CreateEnvironment = [
|
|
|
567
503
|
9,
|
|
568
504
|
n0,
|
|
569
505
|
_CE,
|
|
570
|
-
{
|
|
571
|
-
[_h]: ["PUT", "/environments/{Name}", 200],
|
|
572
|
-
[_en]: ["api."],
|
|
573
|
-
},
|
|
506
|
+
{ [_h]: ["PUT", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
574
507
|
() => CreateEnvironmentInput,
|
|
575
508
|
() => CreateEnvironmentOutput,
|
|
576
509
|
];
|
|
@@ -578,10 +511,7 @@ export var CreateWebLoginToken = [
|
|
|
578
511
|
9,
|
|
579
512
|
n0,
|
|
580
513
|
_CWLT,
|
|
581
|
-
{
|
|
582
|
-
[_h]: ["POST", "/webtoken/{Name}", 200],
|
|
583
|
-
[_en]: ["env."],
|
|
584
|
-
},
|
|
514
|
+
{ [_h]: ["POST", "/webtoken/{Name}", 200], [_en]: ["env."] },
|
|
585
515
|
() => CreateWebLoginTokenRequest,
|
|
586
516
|
() => CreateWebLoginTokenResponse,
|
|
587
517
|
];
|
|
@@ -589,10 +519,7 @@ export var DeleteEnvironment = [
|
|
|
589
519
|
9,
|
|
590
520
|
n0,
|
|
591
521
|
_DE,
|
|
592
|
-
{
|
|
593
|
-
[_h]: ["DELETE", "/environments/{Name}", 200],
|
|
594
|
-
[_en]: ["api."],
|
|
595
|
-
},
|
|
522
|
+
{ [_h]: ["DELETE", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
596
523
|
() => DeleteEnvironmentInput,
|
|
597
524
|
() => DeleteEnvironmentOutput,
|
|
598
525
|
];
|
|
@@ -600,10 +527,7 @@ export var GetEnvironment = [
|
|
|
600
527
|
9,
|
|
601
528
|
n0,
|
|
602
529
|
_GE,
|
|
603
|
-
{
|
|
604
|
-
[_h]: ["GET", "/environments/{Name}", 200],
|
|
605
|
-
[_en]: ["api."],
|
|
606
|
-
},
|
|
530
|
+
{ [_h]: ["GET", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
607
531
|
() => GetEnvironmentInput,
|
|
608
532
|
() => GetEnvironmentOutput,
|
|
609
533
|
];
|
|
@@ -611,10 +535,7 @@ export var InvokeRestApi = [
|
|
|
611
535
|
9,
|
|
612
536
|
n0,
|
|
613
537
|
_IRA,
|
|
614
|
-
{
|
|
615
|
-
[_h]: ["POST", "/restapi/{Name}", 200],
|
|
616
|
-
[_en]: ["env."],
|
|
617
|
-
},
|
|
538
|
+
{ [_h]: ["POST", "/restapi/{Name}", 200], [_en]: ["env."] },
|
|
618
539
|
() => InvokeRestApiRequest,
|
|
619
540
|
() => InvokeRestApiResponse,
|
|
620
541
|
];
|
|
@@ -622,10 +543,7 @@ export var ListEnvironments = [
|
|
|
622
543
|
9,
|
|
623
544
|
n0,
|
|
624
545
|
_LE,
|
|
625
|
-
{
|
|
626
|
-
[_h]: ["GET", "/environments", 200],
|
|
627
|
-
[_en]: ["api."],
|
|
628
|
-
},
|
|
546
|
+
{ [_h]: ["GET", "/environments", 200], [_en]: ["api."] },
|
|
629
547
|
() => ListEnvironmentsInput,
|
|
630
548
|
() => ListEnvironmentsOutput,
|
|
631
549
|
];
|
|
@@ -633,10 +551,7 @@ export var ListTagsForResource = [
|
|
|
633
551
|
9,
|
|
634
552
|
n0,
|
|
635
553
|
_LTFR,
|
|
636
|
-
{
|
|
637
|
-
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
638
|
-
[_en]: ["api."],
|
|
639
|
-
},
|
|
554
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
640
555
|
() => ListTagsForResourceInput,
|
|
641
556
|
() => ListTagsForResourceOutput,
|
|
642
557
|
];
|
|
@@ -644,10 +559,7 @@ export var PublishMetrics = [
|
|
|
644
559
|
9,
|
|
645
560
|
n0,
|
|
646
561
|
_PM,
|
|
647
|
-
{
|
|
648
|
-
[_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200],
|
|
649
|
-
[_en]: ["ops."],
|
|
650
|
-
},
|
|
562
|
+
{ [_h]: ["POST", "/metrics/environments/{EnvironmentName}", 200], [_en]: ["ops."] },
|
|
651
563
|
() => PublishMetricsInput,
|
|
652
564
|
() => PublishMetricsOutput,
|
|
653
565
|
];
|
|
@@ -655,10 +567,7 @@ export var TagResource = [
|
|
|
655
567
|
9,
|
|
656
568
|
n0,
|
|
657
569
|
_TR,
|
|
658
|
-
{
|
|
659
|
-
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
660
|
-
[_en]: ["api."],
|
|
661
|
-
},
|
|
570
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
662
571
|
() => TagResourceInput,
|
|
663
572
|
() => TagResourceOutput,
|
|
664
573
|
];
|
|
@@ -666,10 +575,7 @@ export var UntagResource = [
|
|
|
666
575
|
9,
|
|
667
576
|
n0,
|
|
668
577
|
_UR,
|
|
669
|
-
{
|
|
670
|
-
[_h]: ["DELETE", "/tags/{ResourceArn}", 200],
|
|
671
|
-
[_en]: ["api."],
|
|
672
|
-
},
|
|
578
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200], [_en]: ["api."] },
|
|
673
579
|
() => UntagResourceInput,
|
|
674
580
|
() => UntagResourceOutput,
|
|
675
581
|
];
|
|
@@ -677,10 +583,7 @@ export var UpdateEnvironment = [
|
|
|
677
583
|
9,
|
|
678
584
|
n0,
|
|
679
585
|
_UEp,
|
|
680
|
-
{
|
|
681
|
-
[_h]: ["PATCH", "/environments/{Name}", 200],
|
|
682
|
-
[_en]: ["api."],
|
|
683
|
-
},
|
|
586
|
+
{ [_h]: ["PATCH", "/environments/{Name}", 200], [_en]: ["api."] },
|
|
684
587
|
() => UpdateEnvironmentInput,
|
|
685
588
|
() => UpdateEnvironmentOutput,
|
|
686
589
|
];
|
package/dist-types/MWAA.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateCliTokenCommandInput, CreateCliTokenCommandOutput } from "./commands/CreateCliTokenCommand";
|
|
3
3
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
4
4
|
import { CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput } from "./commands/CreateWebLoginTokenCommand";
|
|
@@ -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 { CreateCliTokenCommandInput, CreateCliTokenCommandOutput } from "./commands/CreateCliTokenCommand";
|
|
11
11
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
12
12
|
import { CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput } from "./commands/CreateWebLoginTokenCommand";
|
|
@@ -20,7 +20,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
20
20
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
21
|
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
22
22
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
23
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
24
24
|
export { __Client };
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { MWAAHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { MWAAHttpAuthSchemeProvider } 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 { MWAAClientResolvedConfig } from "../MWAAClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type MWAAClientResolvedConfig } from "../MWAAClient";
|
|
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 { CreateCliTokenRequest, CreateCliTokenResponse } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateCliTokenRequest, CreateCliTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateWebLoginTokenRequest, CreateWebLoginTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteEnvironmentInput, DeleteEnvironmentOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetEnvironmentInput, GetEnvironmentOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { InvokeRestApiRequest, InvokeRestApiResponse } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { InvokeRestApiRequest, InvokeRestApiResponse } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListEnvironmentsInput, ListEnvironmentsOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { PublishMetricsInput, PublishMetricsOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { PublishMetricsInput, PublishMetricsOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { UpdateEnvironmentInput, UpdateEnvironmentOutput } from "../models/models_0";
|
|
4
|
-
import { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateEnvironmentInput, UpdateEnvironmentOutput } from "../models/models_0";
|
|
4
|
+
import type { MWAAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MWAAClient";
|
|
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 { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
3
|
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "../commands/ListEnvironmentsCommand";
|
|
3
3
|
import { MWAAPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var ConfigValue: StaticSimpleSchema;
|
|
3
3
|
export declare var RestApiRequestBody: StaticSimpleSchema;
|
|
4
4
|
export declare var RestApiResponse: StaticSimpleSchema;
|
|
@@ -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 {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.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-mwaa",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo mwaa"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo mwaa",
|
|
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.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.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.947.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.947.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",
|