@aws-sdk/client-sso 3.1087.0 → 3.1088.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
@@ -93,7 +93,7 @@ const commonParams = {
93
93
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
94
94
  };
95
95
 
96
- var version = "3.1086.0";
96
+ var version = "3.1087.0";
97
97
  var packageInfo = {
98
98
  version: version};
99
99
 
@@ -15,77 +15,68 @@ import {
15
15
  ListAccountsCommandInput,
16
16
  ListAccountsCommandOutput,
17
17
  } from "./commands/ListAccountsCommand";
18
- import {
19
- LogoutCommandInput,
20
- LogoutCommandOutput,
21
- } from "./commands/LogoutCommand";
18
+ import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
22
19
  import { SSOClient } from "./SSOClient";
23
20
  export interface SSO {
24
21
  getRoleCredentials(
25
22
  args: GetRoleCredentialsCommandInput,
26
- options?: __HttpHandlerOptions
23
+ options?: __HttpHandlerOptions,
27
24
  ): Promise<GetRoleCredentialsCommandOutput>;
28
25
  getRoleCredentials(
29
26
  args: GetRoleCredentialsCommandInput,
30
- cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void
27
+ cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
31
28
  ): void;
32
29
  getRoleCredentials(
33
30
  args: GetRoleCredentialsCommandInput,
34
31
  options: __HttpHandlerOptions,
35
- cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void
32
+ cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
36
33
  ): void;
37
34
  listAccountRoles(
38
35
  args: ListAccountRolesCommandInput,
39
- options?: __HttpHandlerOptions
36
+ options?: __HttpHandlerOptions,
40
37
  ): Promise<ListAccountRolesCommandOutput>;
41
38
  listAccountRoles(
42
39
  args: ListAccountRolesCommandInput,
43
- cb: (err: any, data?: ListAccountRolesCommandOutput) => void
40
+ cb: (err: any, data?: ListAccountRolesCommandOutput) => void,
44
41
  ): void;
45
42
  listAccountRoles(
46
43
  args: ListAccountRolesCommandInput,
47
44
  options: __HttpHandlerOptions,
48
- cb: (err: any, data?: ListAccountRolesCommandOutput) => void
45
+ cb: (err: any, data?: ListAccountRolesCommandOutput) => void,
49
46
  ): void;
50
47
  listAccounts(
51
48
  args: ListAccountsCommandInput,
52
- options?: __HttpHandlerOptions
49
+ options?: __HttpHandlerOptions,
53
50
  ): Promise<ListAccountsCommandOutput>;
54
51
  listAccounts(
55
52
  args: ListAccountsCommandInput,
56
- cb: (err: any, data?: ListAccountsCommandOutput) => void
53
+ cb: (err: any, data?: ListAccountsCommandOutput) => void,
57
54
  ): void;
58
55
  listAccounts(
59
56
  args: ListAccountsCommandInput,
60
57
  options: __HttpHandlerOptions,
61
- cb: (err: any, data?: ListAccountsCommandOutput) => void
62
- ): void;
63
- logout(
64
- args: LogoutCommandInput,
65
- options?: __HttpHandlerOptions
66
- ): Promise<LogoutCommandOutput>;
67
- logout(
68
- args: LogoutCommandInput,
69
- cb: (err: any, data?: LogoutCommandOutput) => void
58
+ cb: (err: any, data?: ListAccountsCommandOutput) => void,
70
59
  ): void;
60
+ logout(args: LogoutCommandInput, options?: __HttpHandlerOptions): Promise<LogoutCommandOutput>;
61
+ logout(args: LogoutCommandInput, cb: (err: any, data?: LogoutCommandOutput) => void): void;
71
62
  logout(
72
63
  args: LogoutCommandInput,
73
64
  options: __HttpHandlerOptions,
74
- cb: (err: any, data?: LogoutCommandOutput) => void
65
+ cb: (err: any, data?: LogoutCommandOutput) => void,
75
66
  ): void;
76
67
  paginateListAccountRoles(
77
68
  args: ListAccountRolesCommandInput,
78
69
  paginationConfig?: Pick<
79
70
  PaginationConfiguration,
80
71
  Exclude<keyof PaginationConfiguration, "client">
81
- >
72
+ >,
82
73
  ): Paginator<ListAccountRolesCommandOutput>;
83
74
  paginateListAccounts(
84
75
  args: ListAccountsCommandInput,
85
76
  paginationConfig?: Pick<
86
77
  PaginationConfiguration,
87
78
  Exclude<keyof PaginationConfiguration, "client">
88
- >
79
+ >,
89
80
  ): Paginator<ListAccountsCommandOutput>;
90
81
  }
91
82
  export declare class SSO extends SSOClient implements SSO {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -47,10 +44,7 @@ import {
47
44
  ListAccountsCommandInput,
48
45
  ListAccountsCommandOutput,
49
46
  } from "./commands/ListAccountsCommand";
50
- import {
51
- LogoutCommandInput,
52
- LogoutCommandOutput,
53
- } from "./commands/LogoutCommand";
47
+ import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
54
48
  import {
55
49
  ClientInputEndpointParameters,
56
50
  ClientResolvedEndpointParameters,
@@ -68,8 +62,7 @@ export type ServiceOutputTypes =
68
62
  | ListAccountRolesCommandOutput
69
63
  | ListAccountsCommandOutput
70
64
  | LogoutCommandOutput;
71
- export interface ClientDefaults
72
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
65
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
73
66
  requestHandler?: __HttpHandlerUserInput;
74
67
  sha256?: __ChecksumConstructor | __HashConstructor;
75
68
  urlParser?: __UrlParser;
@@ -93,9 +86,7 @@ export interface ClientDefaults
93
86
  extensions?: RuntimeExtension[];
94
87
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
95
88
  }
96
- export type SSOClientConfigType = Partial<
97
- __SmithyConfiguration<__HttpHandlerOptions>
98
- > &
89
+ export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
99
90
  ClientDefaults &
100
91
  UserAgentInputConfig &
101
92
  RetryInputConfig &
@@ -105,17 +96,16 @@ export type SSOClientConfigType = Partial<
105
96
  HttpAuthSchemeInputConfig &
106
97
  ClientInputEndpointParameters;
107
98
  export interface SSOClientConfig extends SSOClientConfigType {}
108
- export type SSOClientResolvedConfigType =
109
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
110
- Required<ClientDefaults> &
111
- RuntimeExtensionsConfig &
112
- UserAgentResolvedConfig &
113
- RetryResolvedConfig &
114
- RegionResolvedConfig &
115
- HostHeaderResolvedConfig &
116
- EndpointResolvedConfig<EndpointParameters> &
117
- HttpAuthSchemeResolvedConfig &
118
- ClientResolvedEndpointParameters;
99
+ export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
100
+ Required<ClientDefaults> &
101
+ RuntimeExtensionsConfig &
102
+ UserAgentResolvedConfig &
103
+ RetryResolvedConfig &
104
+ RegionResolvedConfig &
105
+ HostHeaderResolvedConfig &
106
+ EndpointResolvedConfig<EndpointParameters> &
107
+ HttpAuthSchemeResolvedConfig &
108
+ ClientResolvedEndpointParameters;
119
109
  export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {}
120
110
  export declare class SSOClient extends __Client<
121
111
  __HttpHandlerOptions,
@@ -7,17 +7,10 @@ import { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SSOHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): SSOHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -15,32 +15,29 @@ import { SSOClientResolvedConfig } from "../SSOClient";
15
15
  export interface SSOHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
16
  region?: string;
17
17
  }
18
- export interface SSOHttpAuthSchemeParametersProvider
19
- extends HttpAuthSchemeParametersProvider<
20
- SSOClientResolvedConfig,
21
- HandlerExecutionContext,
22
- SSOHttpAuthSchemeParameters,
23
- object
24
- > {}
18
+ export interface SSOHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ SSOClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ SSOHttpAuthSchemeParameters,
22
+ object
23
+ > {}
25
24
  export declare const defaultSSOHttpAuthSchemeParametersProvider: (
26
25
  config: SSOClientResolvedConfig,
27
26
  context: HandlerExecutionContext,
28
- input: object
27
+ input: object,
29
28
  ) => Promise<SSOHttpAuthSchemeParameters>;
30
- export interface SSOHttpAuthSchemeProvider
31
- extends HttpAuthSchemeProvider<SSOHttpAuthSchemeParameters> {}
29
+ export interface SSOHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOHttpAuthSchemeParameters> {}
32
30
  export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider;
33
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
32
  authSchemePreference?: string[] | Provider<string[]>;
35
33
  httpAuthSchemes?: HttpAuthScheme[];
36
34
  httpAuthSchemeProvider?: SSOHttpAuthSchemeProvider;
37
35
  }
38
- export interface HttpAuthSchemeResolvedConfig
39
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
40
37
  readonly authSchemePreference: Provider<string[]>;
41
38
  readonly httpAuthSchemes: HttpAuthScheme[];
42
39
  readonly httpAuthSchemeProvider: SSOHttpAuthSchemeProvider;
43
40
  }
44
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
45
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
46
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -1,25 +1,20 @@
1
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
- >(
2
+ import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "./SSOClient";
3
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
4
  added: EndpointParameterInstructions,
12
5
  plugins: (
13
6
  CommandCtor: any,
14
7
  clientStack: any,
15
8
  config: any,
16
- options: any
9
+ options: any,
17
10
  ) => import("@smithy/types").Pluggable<any, any>[],
18
11
  op: string,
19
12
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
13
+ smithyContext?: Record<string, unknown>,
21
14
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
15
+ new (
16
+ input: I,
17
+ ): import("@smithy/core/client").CommandImpl<
23
18
  I,
24
19
  O,
25
20
  SSOClientResolvedConfig,
@@ -38,9 +33,4 @@ export declare const command: <
38
33
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
34
  };
40
35
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
36
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetRoleCredentialsRequest,
4
- GetRoleCredentialsResponse,
5
- } from "../models/models_0";
2
+ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetRoleCredentialsCommandInput
8
- extends GetRoleCredentialsRequest {}
4
+ export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {}
9
5
  export interface GetRoleCredentialsCommandOutput
10
- extends GetRoleCredentialsResponse,
11
- __MetadataBearer {}
6
+ extends GetRoleCredentialsResponse, __MetadataBearer {}
12
7
  declare const GetRoleCredentialsCommand_base: {
13
8
  new (
14
- input: GetRoleCredentialsCommandInput
9
+ input: GetRoleCredentialsCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetRoleCredentialsCommandInput,
17
12
  GetRoleCredentialsCommandOutput,
@@ -20,7 +15,7 @@ declare const GetRoleCredentialsCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetRoleCredentialsCommandInput
18
+ input: GetRoleCredentialsCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetRoleCredentialsCommandInput,
26
21
  GetRoleCredentialsCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListAccountRolesRequest,
4
- ListAccountRolesResponse,
5
- } from "../models/models_0";
2
+ import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
8
- export interface ListAccountRolesCommandOutput
9
- extends ListAccountRolesResponse,
10
- __MetadataBearer {}
5
+ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {}
11
6
  declare const ListAccountRolesCommand_base: {
12
7
  new (
13
- input: ListAccountRolesCommandInput
8
+ input: ListAccountRolesCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  ListAccountRolesCommandInput,
16
11
  ListAccountRolesCommandOutput,
@@ -19,7 +14,7 @@ declare const ListAccountRolesCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: ListAccountRolesCommandInput
17
+ input: ListAccountRolesCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  ListAccountRolesCommandInput,
25
20
  ListAccountRolesCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface ListAccountsCommandInput extends ListAccountsRequest {}
5
- export interface ListAccountsCommandOutput
6
- extends ListAccountsResponse,
7
- __MetadataBearer {}
5
+ export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {}
8
6
  declare const ListAccountsCommand_base: {
9
7
  new (
10
- input: ListAccountsCommandInput
8
+ input: ListAccountsCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  ListAccountsCommandInput,
13
11
  ListAccountsCommandOutput,
@@ -16,7 +14,7 @@ declare const ListAccountsCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: ListAccountsCommandInput
17
+ input: ListAccountsCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  ListAccountsCommandInput,
22
20
  ListAccountsCommandOutput,
@@ -4,14 +4,18 @@ export { __MetadataBearer };
4
4
  export interface LogoutCommandInput extends LogoutRequest {}
5
5
  export interface LogoutCommandOutput extends __MetadataBearer {}
6
6
  declare const LogoutCommand_base: {
7
- new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<
7
+ new (
8
+ input: LogoutCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
8
10
  LogoutCommandInput,
9
11
  LogoutCommandOutput,
10
12
  import("..").SSOClientResolvedConfig,
11
13
  import("..").ServiceInputTypes,
12
14
  import("..").ServiceOutputTypes
13
15
  >;
14
- new (input: LogoutCommandInput): import("@smithy/core/client").CommandImpl<
16
+ new (
17
+ input: LogoutCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
15
19
  LogoutCommandInput,
16
20
  LogoutCommandOutput,
17
21
  import("..").SSOClientResolvedConfig,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface SSOExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -3,28 +3,20 @@ import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
3
  export declare class InvalidRequestException extends __BaseException {
4
4
  readonly name: "InvalidRequestException";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
9
7
  }
10
8
  export declare class ResourceNotFoundException extends __BaseException {
11
9
  readonly name: "ResourceNotFoundException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
16
12
  }
17
13
  export declare class TooManyRequestsException extends __BaseException {
18
14
  readonly name: "TooManyRequestsException";
19
15
  readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
23
17
  }
24
18
  export declare class UnauthorizedException extends __BaseException {
25
19
  readonly name: "UnauthorizedException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
30
22
  }
@@ -7,20 +7,14 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  defaultUserAgentProvider: (
10
- config?: import("@aws-sdk/core/client").PreviouslyResolved
10
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
11
11
  ) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler:
15
- | import("@smithy/core/protocols").HttpHandler<any>
16
- | RequestHandler;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
17
15
  retryMode: string | import("@smithy/types").Provider<string>;
18
16
  streamCollector: (
19
- stream:
20
- | import("stream").Readable
21
- | import("stream/web").ReadableStream
22
- | ReadableStream
23
- | Blob
17
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
24
18
  ) => Promise<Uint8Array>;
25
19
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
20
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -48,13 +42,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
48
42
  logger: import("@smithy/types").Logger;
49
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
44
  customUserAgent?: string | import("@smithy/types").UserAgent;
51
- userAgentAppId?:
52
- | string
53
- | undefined
54
- | import("@smithy/types").Provider<string | undefined>;
55
- retryStrategy?:
56
- | import("@smithy/types").RetryStrategy
57
- | import("@smithy/types").RetryStrategyV2;
45
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
46
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
58
47
  endpoint?:
59
48
  | ((
60
49
  | string
@@ -76,7 +65,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
76
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
77
66
  context?: {
78
67
  logger?: import("@smithy/types").Logger;
79
- }
68
+ },
80
69
  ) => import("@smithy/types").EndpointV2;
81
70
  tls?: boolean;
82
71
  serviceConfiguredEndpoint?: never;
@@ -87,22 +76,18 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
87
76
  | {
88
77
  schemeId: string;
89
78
  identityProvider: (
90
- ipc: import("@smithy/types").IdentityProviderConfig
79
+ ipc: import("@smithy/types").IdentityProviderConfig,
91
80
  ) =>
92
- | import("@smithy/types").IdentityProvider<
93
- import("@smithy/types").Identity
94
- >
81
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
95
82
  | undefined;
96
83
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
97
84
  }
98
85
  | {
99
86
  schemeId: string;
100
87
  identityProvider: (
101
- ipc: import("@smithy/types").IdentityProviderConfig
88
+ ipc: import("@smithy/types").IdentityProviderConfig,
102
89
  ) =>
103
- | import("@smithy/types").IdentityProvider<
104
- import("@smithy/types").Identity
105
- >
90
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
106
91
  | (() => Promise<{}>);
107
92
  signer: import("@smithy/core").NoAuthSigner;
108
93
  }
@@ -114,13 +99,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
114
99
  signer?:
115
100
  | import("@smithy/types").RequestSigner
116
101
  | ((
117
- authScheme?: import("@smithy/types").AuthScheme
102
+ authScheme?: import("@smithy/types").AuthScheme,
118
103
  ) => Promise<import("@smithy/types").RequestSigner>);
119
104
  signingEscapePath?: boolean;
120
105
  systemClockOffset?: number;
121
106
  signingRegion?: string;
122
107
  signerConstructor?: new (
123
108
  options: import("@smithy/signature-v4").SignatureV4Init &
124
- import("@smithy/signature-v4").SignatureV4CryptoInit
109
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
125
110
  ) => import("@smithy/types").RequestSigner;
126
111
  };
@@ -8,20 +8,14 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (
11
- config?: import("@aws-sdk/core/client").PreviouslyResolved
11
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
12
12
  ) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
- requestHandler:
16
- | RequestHandler
17
- | import("@smithy/core/protocols").HttpHandler<any>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
18
16
  retryMode: string | import("@smithy/types").Provider<string>;
19
17
  streamCollector: (
20
- stream:
21
- | import("stream").Readable
22
- | import("stream/web").ReadableStream
23
- | ReadableStream
24
- | Blob
18
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
25
19
  ) => Promise<Uint8Array>;
26
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -48,9 +42,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
48
42
  logger: import("@smithy/types").Logger;
49
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
44
  customUserAgent?: string | import("@smithy/types").UserAgent;
51
- retryStrategy?:
52
- | import("@smithy/types").RetryStrategy
53
- | import("@smithy/types").RetryStrategyV2;
45
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
54
46
  endpoint?:
55
47
  | ((
56
48
  | string
@@ -72,7 +64,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
72
64
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
65
  context?: {
74
66
  logger?: import("@smithy/types").Logger;
75
- }
67
+ },
76
68
  ) => import("@smithy/types").EndpointV2;
77
69
  tls?: boolean;
78
70
  serviceConfiguredEndpoint?: never;
@@ -82,22 +74,18 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
82
74
  | {
83
75
  schemeId: string;
84
76
  identityProvider: (
85
- ipc: import("@smithy/types").IdentityProviderConfig
77
+ ipc: import("@smithy/types").IdentityProviderConfig,
86
78
  ) =>
87
- | import("@smithy/types").IdentityProvider<
88
- import("@smithy/types").Identity
89
- >
79
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
90
80
  | undefined;
91
81
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
92
82
  }
93
83
  | {
94
84
  schemeId: string;
95
85
  identityProvider: (
96
- ipc: import("@smithy/types").IdentityProviderConfig
86
+ ipc: import("@smithy/types").IdentityProviderConfig,
97
87
  ) =>
98
- | import("@smithy/types").IdentityProvider<
99
- import("@smithy/types").Identity
100
- >
88
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
101
89
  | (() => Promise<{}>);
102
90
  signer: import("@smithy/core").NoAuthSigner;
103
91
  }
@@ -109,13 +97,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
109
97
  signer?:
110
98
  | import("@smithy/types").RequestSigner
111
99
  | ((
112
- authScheme?: import("@smithy/types").AuthScheme
100
+ authScheme?: import("@smithy/types").AuthScheme,
113
101
  ) => Promise<import("@smithy/types").RequestSigner>);
114
102
  signingEscapePath?: boolean;
115
103
  systemClockOffset?: number;
116
104
  signingRegion?: string;
117
105
  signerConstructor?: new (
118
106
  options: import("@smithy/signature-v4").SignatureV4Init &
119
- import("@smithy/signature-v4").SignatureV4CryptoInit
107
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
120
108
  ) => import("@smithy/types").RequestSigner;
121
109
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,7 +36,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  maxAttempts: number | import("@smithy/types").Provider<number>;
46
42
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -48,17 +44,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
48
44
  extensions: import("./runtimeExtensions").RuntimeExtension[];
49
45
  defaultsMode:
50
46
  | import("@smithy/core/client").DefaultsMode
51
- | import("@smithy/types").Provider<
52
- import("@smithy/core/client").DefaultsMode
53
- >;
47
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
54
48
  customUserAgent?: string | import("@smithy/types").UserAgent;
55
- userAgentAppId?:
56
- | string
57
- | undefined
58
- | import("@smithy/types").Provider<string | undefined>;
59
- retryStrategy?:
60
- | import("@smithy/types").RetryStrategy
61
- | import("@smithy/types").RetryStrategyV2;
49
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
62
51
  endpoint?:
63
52
  | ((
64
53
  | string
@@ -80,7 +69,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
80
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
81
70
  context?: {
82
71
  logger?: import("@smithy/types").Logger;
83
- }
72
+ },
84
73
  ) => import("@smithy/types").EndpointV2;
85
74
  tls?: boolean;
86
75
  serviceConfiguredEndpoint?: never;
@@ -91,22 +80,18 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
91
80
  | {
92
81
  schemeId: string;
93
82
  identityProvider: (
94
- ipc: import("@smithy/types").IdentityProviderConfig
83
+ ipc: import("@smithy/types").IdentityProviderConfig,
95
84
  ) =>
96
- | import("@smithy/types").IdentityProvider<
97
- import("@smithy/types").Identity
98
- >
85
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
99
86
  | undefined;
100
87
  signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
101
88
  }
102
89
  | {
103
90
  schemeId: string;
104
91
  identityProvider: (
105
- ipc: import("@smithy/types").IdentityProviderConfig
92
+ ipc: import("@smithy/types").IdentityProviderConfig,
106
93
  ) =>
107
- | import("@smithy/types").IdentityProvider<
108
- import("@smithy/types").Identity
109
- >
94
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
110
95
  | (() => Promise<{}>);
111
96
  signer: import("@smithy/core").NoAuthSigner;
112
97
  }
@@ -118,13 +103,13 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
118
103
  signer?:
119
104
  | import("@smithy/types").RequestSigner
120
105
  | ((
121
- authScheme?: import("@smithy/types").AuthScheme
106
+ authScheme?: import("@smithy/types").AuthScheme,
122
107
  ) => Promise<import("@smithy/types").RequestSigner>);
123
108
  signingEscapePath?: boolean;
124
109
  systemClockOffset?: number;
125
110
  signingRegion?: string;
126
111
  signerConstructor?: new (
127
112
  options: import("@smithy/signature-v4").SignatureV4Init &
128
- import("@smithy/signature-v4").SignatureV4CryptoInit
113
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
129
114
  ) => import("@smithy/types").RequestSigner;
130
115
  };
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
12
12
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
13
13
  context?: {
14
14
  logger?: import("@smithy/types").Logger;
15
- }
15
+ },
16
16
  ) => import("@smithy/types").EndpointV2;
17
17
  extensions: import("./runtimeExtensions").RuntimeExtension[];
18
18
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
@@ -22,22 +22,18 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
22
22
  | {
23
23
  schemeId: string;
24
24
  identityProvider: (
25
- ipc: IdentityProviderConfig
25
+ ipc: IdentityProviderConfig,
26
26
  ) =>
27
- | import("@smithy/types").IdentityProvider<
28
- import("@smithy/types").Identity
29
- >
27
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
30
28
  | undefined;
31
29
  signer: AwsSdkSigV4Signer;
32
30
  }
33
31
  | {
34
32
  schemeId: string;
35
33
  identityProvider: (
36
- ipc: IdentityProviderConfig
34
+ ipc: IdentityProviderConfig,
37
35
  ) =>
38
- | import("@smithy/types").IdentityProvider<
39
- import("@smithy/types").Identity
40
- >
36
+ | import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
41
37
  | (() => Promise<{}>);
42
38
  signer: NoAuthSigner;
43
39
  }
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var SSOServiceException$: StaticErrorSchema;
8
4
  export declare var InvalidRequestException$: StaticErrorSchema;
9
5
  export declare var ResourceNotFoundException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-sso"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -18,21 +49,17 @@
18
49
  "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
19
50
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
20
51
  },
21
- "main": "./dist-cjs/index.js",
22
- "types": "./dist-types/index.d.ts",
23
- "module": "./dist-es/index.js",
24
- "sideEffects": false,
25
52
  "dependencies": {
26
- "@aws-sdk/core": "^3.975.2",
27
- "@aws-sdk/types": "^3.974.1",
28
- "@smithy/core": "^3.29.3",
29
- "@smithy/fetch-http-handler": "^5.6.5",
30
- "@smithy/node-http-handler": "^4.9.5",
53
+ "@aws-sdk/core": "^3.975.3",
54
+ "@aws-sdk/types": "^3.974.2",
55
+ "@smithy/core": "^3.29.4",
56
+ "@smithy/fetch-http-handler": "^5.6.6",
57
+ "@smithy/node-http-handler": "^4.9.6",
31
58
  "@smithy/types": "^4.16.1",
32
59
  "tslib": "^2.6.2"
33
60
  },
34
61
  "devDependencies": {
35
- "@smithy/snapshot-testing": "^2.2.8",
62
+ "@smithy/snapshot-testing": "^2.2.9",
36
63
  "@tsconfig/node20": "20.1.8",
37
64
  "@types/node": "^20.14.8",
38
65
  "concurrently": "7.0.0",
@@ -43,32 +70,5 @@
43
70
  },
44
71
  "engines": {
45
72
  "node": ">=20.0.0"
46
- },
47
- "typesVersions": {
48
- "<4.5": {
49
- "dist-types/*": [
50
- "dist-types/ts3.4/*"
51
- ]
52
- }
53
- },
54
- "files": [
55
- "dist-*/**"
56
- ],
57
- "author": {
58
- "name": "AWS SDK for JavaScript Team",
59
- "url": "https://aws.amazon.com/sdk-for-javascript/"
60
- },
61
- "license": "Apache-2.0",
62
- "browser": {
63
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
64
- },
65
- "react-native": {
66
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
67
- },
68
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",
69
- "repository": {
70
- "type": "git",
71
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
72
- "directory": "clients/client-sso"
73
73
  }
74
74
  }