@aws-sdk/client-sso 3.1077.0 → 3.1078.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 CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -92,7 +93,7 @@ const commonParams = {
92
93
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
93
94
  };
94
95
 
95
- var version = "3.1076.0";
96
+ var version = "3.1077.0";
96
97
  var packageInfo = {
97
98
  version: version};
98
99
 
@@ -519,52 +520,20 @@ class SSOClient extends Client {
519
520
  }
520
521
  }
521
522
 
522
- class GetRoleCredentialsCommand extends Command
523
- .classBuilder()
524
- .ep(commonParams)
525
- .m(function (Command, cs, config, o) {
526
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
- })
528
- .s("SWBPortalService", "GetRoleCredentials", {})
529
- .n("SSOClient", "GetRoleCredentialsCommand")
530
- .sc(GetRoleCredentials$)
531
- .build() {
523
+ const command = makeBuilder(commonParams, "SWBPortalService", "SSOClient", getEndpointPlugin);
524
+ const _ep0 = {};
525
+ const _mw0 = (Command, cs, config, o) => [];
526
+
527
+ class GetRoleCredentialsCommand extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
532
528
  }
533
529
 
534
- class ListAccountRolesCommand extends Command
535
- .classBuilder()
536
- .ep(commonParams)
537
- .m(function (Command, cs, config, o) {
538
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
- })
540
- .s("SWBPortalService", "ListAccountRoles", {})
541
- .n("SSOClient", "ListAccountRolesCommand")
542
- .sc(ListAccountRoles$)
543
- .build() {
530
+ class ListAccountRolesCommand extends command(_ep0, _mw0, "ListAccountRoles", ListAccountRoles$) {
544
531
  }
545
532
 
546
- class ListAccountsCommand extends Command
547
- .classBuilder()
548
- .ep(commonParams)
549
- .m(function (Command, cs, config, o) {
550
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
- })
552
- .s("SWBPortalService", "ListAccounts", {})
553
- .n("SSOClient", "ListAccountsCommand")
554
- .sc(ListAccounts$)
555
- .build() {
533
+ class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
556
534
  }
557
535
 
558
- class LogoutCommand extends Command
559
- .classBuilder()
560
- .ep(commonParams)
561
- .m(function (Command, cs, config, o) {
562
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
- })
564
- .s("SWBPortalService", "Logout", {})
565
- .n("SSOClient", "LogoutCommand")
566
- .sc(Logout$)
567
- .build() {
536
+ class LogoutCommand extends command(_ep0, _mw0, "Logout", Logout$) {
568
537
  }
569
538
 
570
539
  const paginateListAccountRoles = createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "SWBPortalService", "SSOClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRoleCredentials$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRoleCredentialsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SWBPortalService", "GetRoleCredentials", {})
13
- .n("SSOClient", "GetRoleCredentialsCommand")
14
- .sc(GetRoleCredentials$)
15
- .build() {
3
+ export class GetRoleCredentialsCommand extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAccountRoles$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountRolesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SWBPortalService", "ListAccountRoles", {})
13
- .n("SSOClient", "ListAccountRolesCommand")
14
- .sc(ListAccountRoles$)
15
- .build() {
3
+ export class ListAccountRolesCommand extends command(_ep0, _mw0, "ListAccountRoles", ListAccountRoles$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SWBPortalService", "ListAccounts", {})
13
- .n("SSOClient", "ListAccountsCommand")
14
- .sc(ListAccounts$)
15
- .build() {
3
+ export class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { Logout$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class LogoutCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SWBPortalService", "Logout", {})
13
- .n("SSOClient", "LogoutCommand")
14
- .sc(Logout$)
15
- .build() {
3
+ export class LogoutCommand extends command(_ep0, _mw0, "Logout", Logout$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SSOClient";
2
2
  export * from "./SSO";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "./SSOClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsReques
22
19
  export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetRoleCredentialsCommand_base: {
25
- new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the STS short-term credentials for a given role name that is assigned to the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {
22
19
  export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListAccountRolesCommand_base: {
25
- new (input: ListAccountRolesCommandInput): import("@smithy/core/client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListAccountRolesCommandInput): import("@smithy/core/client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListAccountRolesCommandInput): import("@smithy/core/client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAccountRolesCommandInput): import("@smithy/core/client").CommandImpl<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all roles that are assigned to the user for a given AWS account.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListAccountsCommandInput extends ListAccountsRequest {
22
19
  export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListAccountsCommand_base: {
25
- new (input: ListAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { LogoutRequest } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface LogoutCommandInput extends LogoutRequest {
22
19
  export interface LogoutCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const LogoutCommand_base: {
25
- new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<LogoutCommandInput, LogoutCommandOutput, import("..").SSOClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
@@ -24,6 +24,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
24
24
  export type { RuntimeExtension } from "./runtimeExtensions";
25
25
  export type { SSOExtensionConfiguration } from "./extensionConfiguration";
26
26
  export * from "./commands";
27
+ export { Command as $Command } from "@smithy/core/client";
27
28
  export * from "./schemas/schemas_0";
28
29
  export * from "./pagination";
29
30
  export * from "./models/errors";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ ServiceInputTypes,
4
+ ServiceOutputTypes,
5
+ SSOClientResolvedConfig,
6
+ } from "./SSOClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ SSOClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ SSOClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  GetRoleCredentialsRequest,
5
4
  GetRoleCredentialsResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- SSOClientResolvedConfig,
11
- } from "../SSOClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetRoleCredentialsCommandInput
15
8
  extends GetRoleCredentialsRequest {}
16
9
  export interface GetRoleCredentialsCommandOutput
@@ -22,22 +15,20 @@ declare const GetRoleCredentialsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetRoleCredentialsCommandInput,
24
17
  GetRoleCredentialsCommandOutput,
25
- SSOClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").SSOClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetRoleCredentialsCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetRoleCredentialsCommandInput,
33
26
  GetRoleCredentialsCommandOutput,
34
- SSOClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").SSOClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  ListAccountRolesRequest,
5
4
  ListAccountRolesResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- SSOClientResolvedConfig,
11
- } from "../SSOClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
15
8
  export interface ListAccountRolesCommandOutput
16
9
  extends ListAccountRolesResponse,
@@ -21,22 +14,20 @@ declare const ListAccountRolesCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  ListAccountRolesCommandInput,
23
16
  ListAccountRolesCommandOutput,
24
- SSOClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").SSOClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: ListAccountRolesCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  ListAccountRolesCommandInput,
32
25
  ListAccountRolesCommandOutput,
33
- SSOClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").SSOClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class ListAccountRolesCommand extends ListAccountRolesCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
4
- import {
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- SSOClientResolvedConfig,
8
- } from "../SSOClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface ListAccountsCommandInput extends ListAccountsRequest {}
12
5
  export interface ListAccountsCommandOutput
13
6
  extends ListAccountsResponse,
@@ -18,22 +11,20 @@ declare const ListAccountsCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  ListAccountsCommandInput,
20
13
  ListAccountsCommandOutput,
21
- SSOClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").SSOClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: ListAccountsCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  ListAccountsCommandInput,
29
22
  ListAccountsCommandOutput,
30
- SSOClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").SSOClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class ListAccountsCommand extends ListAccountsCommand_base {
39
30
  protected static __types: {
@@ -1,33 +1,24 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { LogoutRequest } from "../models/models_0";
4
- import {
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- SSOClientResolvedConfig,
8
- } from "../SSOClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface LogoutCommandInput extends LogoutRequest {}
12
5
  export interface LogoutCommandOutput extends __MetadataBearer {}
13
6
  declare const LogoutCommand_base: {
14
7
  new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<
15
8
  LogoutCommandInput,
16
9
  LogoutCommandOutput,
17
- SSOClientResolvedConfig,
18
- ServiceInputTypes,
19
- ServiceOutputTypes
10
+ import("..").SSOClientResolvedConfig,
11
+ import("..").ServiceInputTypes,
12
+ import("..").ServiceOutputTypes
20
13
  >;
21
14
  new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<
22
15
  LogoutCommandInput,
23
16
  LogoutCommandOutput,
24
- SSOClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").SSOClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
21
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
22
  };
32
23
  export declare class LogoutCommand extends LogoutCommand_base {
33
24
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SSOExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/errors";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,16 +23,16 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-sdk/core": "^3.974.25",
27
- "@aws-sdk/types": "^3.973.14",
28
- "@smithy/core": "^3.28.0",
29
- "@smithy/fetch-http-handler": "^5.6.1",
30
- "@smithy/node-http-handler": "^4.9.1",
31
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/types": "^3.973.15",
28
+ "@smithy/core": "^3.29.0",
29
+ "@smithy/fetch-http-handler": "^5.6.2",
30
+ "@smithy/node-http-handler": "^4.9.2",
31
+ "@smithy/types": "^4.15.1",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@smithy/snapshot-testing": "^2.2.4",
35
+ "@smithy/snapshot-testing": "^2.2.5",
36
36
  "@tsconfig/node20": "20.1.8",
37
37
  "@types/node": "^20.14.8",
38
38
  "concurrently": "7.0.0",