@aws-sdk/client-mpa 3.1045.0 → 3.1047.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +60 -61
  5. package/dist-cjs/models/MPAServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/MPA.js +1 -1
  10. package/dist-es/MPAClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CancelSessionCommand.js +2 -2
  13. package/dist-es/commands/CreateApprovalTeamCommand.js +2 -2
  14. package/dist-es/commands/CreateIdentitySourceCommand.js +2 -2
  15. package/dist-es/commands/DeleteIdentitySourceCommand.js +2 -2
  16. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +2 -2
  17. package/dist-es/commands/GetApprovalTeamCommand.js +2 -2
  18. package/dist-es/commands/GetIdentitySourceCommand.js +2 -2
  19. package/dist-es/commands/GetPolicyVersionCommand.js +2 -2
  20. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  21. package/dist-es/commands/GetSessionCommand.js +2 -2
  22. package/dist-es/commands/ListApprovalTeamsCommand.js +2 -2
  23. package/dist-es/commands/ListIdentitySourcesCommand.js +2 -2
  24. package/dist-es/commands/ListPoliciesCommand.js +2 -2
  25. package/dist-es/commands/ListPolicyVersionsCommand.js +2 -2
  26. package/dist-es/commands/ListResourcePoliciesCommand.js +2 -2
  27. package/dist-es/commands/ListSessionsCommand.js +2 -2
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  29. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +2 -2
  30. package/dist-es/commands/StartApprovalTeamBaselineCommand.js +2 -2
  31. package/dist-es/commands/TagResourceCommand.js +2 -2
  32. package/dist-es/commands/UntagResourceCommand.js +2 -2
  33. package/dist-es/commands/UpdateApprovalTeamCommand.js +2 -2
  34. package/dist-es/endpoint/bdd.js +1 -1
  35. package/dist-es/endpoint/endpointResolver.js +1 -1
  36. package/dist-es/models/MPAServiceException.js +1 -1
  37. package/dist-es/runtimeConfig.browser.js +4 -6
  38. package/dist-es/runtimeConfig.js +4 -8
  39. package/dist-es/runtimeConfig.shared.js +3 -4
  40. package/dist-es/runtimeExtensions.js +2 -2
  41. package/dist-types/MPAClient.d.ts +5 -5
  42. package/dist-types/commands/CancelSessionCommand.d.ts +6 -4
  43. package/dist-types/commands/CreateApprovalTeamCommand.d.ts +6 -4
  44. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +6 -4
  45. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +6 -4
  46. package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +6 -4
  47. package/dist-types/commands/GetApprovalTeamCommand.d.ts +6 -4
  48. package/dist-types/commands/GetIdentitySourceCommand.d.ts +6 -4
  49. package/dist-types/commands/GetPolicyVersionCommand.d.ts +6 -4
  50. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
  51. package/dist-types/commands/GetSessionCommand.d.ts +6 -4
  52. package/dist-types/commands/ListApprovalTeamsCommand.d.ts +6 -4
  53. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +6 -4
  54. package/dist-types/commands/ListPoliciesCommand.d.ts +6 -4
  55. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +6 -4
  56. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +6 -4
  57. package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  59. package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +6 -4
  60. package/dist-types/commands/StartApprovalTeamBaselineCommand.d.ts +6 -4
  61. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  63. package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +6 -4
  64. package/dist-types/endpoint/bdd.d.ts +1 -1
  65. package/dist-types/extensionConfiguration.d.ts +1 -1
  66. package/dist-types/models/MPAServiceException.d.ts +1 -1
  67. package/dist-types/models/errors.d.ts +1 -1
  68. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  69. package/dist-types/runtimeConfig.d.ts +2 -2
  70. package/dist-types/runtimeConfig.native.d.ts +2 -2
  71. package/dist-types/ts3.4/MPAClient.d.ts +8 -14
  72. package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +6 -4
  73. package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +6 -4
  74. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +6 -4
  75. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +6 -4
  76. package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +6 -4
  77. package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +6 -4
  78. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +6 -4
  79. package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +6 -4
  80. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
  81. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +6 -4
  82. package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +6 -4
  83. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +6 -4
  84. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +6 -4
  85. package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +6 -4
  86. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +6 -4
  87. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
  88. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  89. package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +6 -4
  90. package/dist-types/ts3.4/commands/StartApprovalTeamBaselineCommand.d.ts +6 -4
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  93. package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +6 -4
  94. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  95. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  96. package/dist-types/ts3.4/models/MPAServiceException.d.ts +1 -1
  97. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  98. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  99. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  100. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  101. package/package.json +13 -34
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
11
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
- import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultMPAHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,5 +1,5 @@
1
1
  import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
3
  export const defaultMPAHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CancelSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CreateApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CreateIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteInactiveApprovalTeamVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetIdentitySource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetPolicyVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListApprovalTeams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListIdentitySources$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListPolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListPolicyVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListResourcePolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListSessions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartActiveApprovalTeamDeletion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { StartApprovalTeamBaseline$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateApprovalTeam$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
3
  const _data = {
4
4
  conditions: [
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class MPAServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
12
- import { calculateBodyLength } from "@smithy/util-body-length-node";
13
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
14
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
15
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
12
  export const getRuntimeConfig = (config) => {
17
13
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultMPAHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
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";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { CancelSessionCommandInput, CancelSessionCommandOutput } from "./commands/CancelSessionCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CancelSessionRequest, CancelSessionResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface CancelSessionCommandInput extends CancelSessionRequest {
22
22
  export interface CancelSessionCommandOutput extends CancelSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CancelSessionCommand_base: {
25
- new (input: CancelSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CancelSessionCommandInput): import("@smithy/core/client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CancelSessionCommandInput): import("@smithy/core/client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Cancels an approval session. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Session</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CreateApprovalTeamRequest, CreateApprovalTeamResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface CreateApprovalTeamCommandInput extends CreateApprovalTeamReques
22
22
  export interface CreateApprovalTeamCommandOutput extends CreateApprovalTeamResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateApprovalTeamCommand_base: {
25
- new (input: CreateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateApprovalTeamCommandInput): import("@smithy/core/client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateApprovalTeamCommandInput): import("@smithy/core/client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new approval team. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Approval team</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { CreateIdentitySourceRequest, CreateIdentitySourceResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface CreateIdentitySourceCommandInput extends CreateIdentitySourceRe
22
22
  export interface CreateIdentitySourceCommandOutput extends CreateIdentitySourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateIdentitySourceCommand_base: {
25
- new (input: CreateIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity Source</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeleteIdentitySourceRequest } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface DeleteIdentitySourceCommandInput extends DeleteIdentitySourceRe
22
22
  export interface DeleteIdentitySourceCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteIdentitySourceCommand_base: {
25
- new (input: DeleteIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes an identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity Source</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeleteInactiveApprovalTeamVersionRequest, DeleteInactiveApprovalTeamVersionResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface DeleteInactiveApprovalTeamVersionCommandInput extends DeleteIna
22
22
  export interface DeleteInactiveApprovalTeamVersionCommandOutput extends DeleteInactiveApprovalTeamVersionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteInactiveApprovalTeamVersionCommand_base: {
25
- new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes an inactive approval team. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-health.html">Team health</a> in the <i>Multi-party approval User Guide</i>.</p> <p>You can also use this operation to delete a team draft. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/update-team.html#update-team-draft-status">Interacting with drafts</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetApprovalTeamRequest, GetApprovalTeamResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface GetApprovalTeamCommandInput extends GetApprovalTeamRequest {
22
22
  export interface GetApprovalTeamCommandOutput extends GetApprovalTeamResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetApprovalTeamCommand_base: {
25
- new (input: GetApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetApprovalTeamCommandInput): import("@smithy/core/client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetApprovalTeamCommandInput): import("@smithy/core/client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details for an approval team.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetIdentitySourceRequest, GetIdentitySourceResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface GetIdentitySourceCommandInput extends GetIdentitySourceRequest
22
22
  export interface GetIdentitySourceCommandOutput extends GetIdentitySourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetIdentitySourceCommand_base: {
25
- new (input: GetIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentitySourceCommandInput, GetIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetIdentitySourceCommandInput, GetIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<GetIdentitySourceCommandInput, GetIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl<GetIdentitySourceCommandInput, GetIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details for an identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity Source</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetPolicyVersionRequest, GetPolicyVersionResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface GetPolicyVersionCommandInput extends GetPolicyVersionRequest {
22
22
  export interface GetPolicyVersionCommandOutput extends GetPolicyVersionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetPolicyVersionCommand_base: {
25
- new (input: GetPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<GetPolicyVersionCommandInput, GetPolicyVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details for the version of a policy. Policies define the permissions for team resources.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest
22
22
  export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetResourcePolicyCommand_base: {
25
- new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details about a policy for a resource.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
4
4
  import type { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
@@ -22,9 +22,11 @@ export interface GetSessionCommandInput extends GetSessionRequest {
22
22
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetSessionCommand_base: {
25
- new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details for an approval session. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Session</a> in the <i>Multi-party approval User Guide</i>.</p>