@aws-sdk/client-sso 3.170.0 → 3.178.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sso
9
+
10
+
11
+
12
+
13
+
14
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-sso
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-sso
@@ -16,7 +16,6 @@ import {
16
16
  LogoutCommandOutput,
17
17
  } from "./commands/LogoutCommand";
18
18
  import { SSOClient } from "./SSOClient";
19
-
20
19
  export declare class SSO extends SSOClient {
21
20
  getRoleCredentials(
22
21
  args: GetRoleCredentialsCommandInput,
@@ -31,7 +30,6 @@ export declare class SSO extends SSOClient {
31
30
  options: __HttpHandlerOptions,
32
31
  cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void
33
32
  ): void;
34
-
35
33
  listAccountRoles(
36
34
  args: ListAccountRolesCommandInput,
37
35
  options?: __HttpHandlerOptions
@@ -45,7 +43,6 @@ export declare class SSO extends SSOClient {
45
43
  options: __HttpHandlerOptions,
46
44
  cb: (err: any, data?: ListAccountRolesCommandOutput) => void
47
45
  ): void;
48
-
49
46
  listAccounts(
50
47
  args: ListAccountsCommandInput,
51
48
  options?: __HttpHandlerOptions
@@ -59,7 +56,6 @@ export declare class SSO extends SSOClient {
59
56
  options: __HttpHandlerOptions,
60
57
  cb: (err: any, data?: ListAccountsCommandOutput) => void
61
58
  ): void;
62
-
63
59
  logout(
64
60
  args: LogoutCommandInput,
65
61
  options?: __HttpHandlerOptions
@@ -66,45 +66,25 @@ export declare type ServiceOutputTypes =
66
66
  export interface ClientDefaults
67
67
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
68
68
  requestHandler?: __HttpHandler;
69
-
70
69
  sha256?: __HashConstructor;
71
-
72
70
  urlParser?: __UrlParser;
73
-
74
71
  bodyLengthChecker?: __BodyLengthCalculator;
75
-
76
72
  streamCollector?: __StreamCollector;
77
-
78
73
  base64Decoder?: __Decoder;
79
-
80
74
  base64Encoder?: __Encoder;
81
-
82
75
  utf8Decoder?: __Decoder;
83
-
84
76
  utf8Encoder?: __Encoder;
85
-
86
77
  runtime?: string;
87
-
88
78
  disableHostPrefix?: boolean;
89
-
90
79
  maxAttempts?: number | __Provider<number>;
91
-
92
80
  retryMode?: string | __Provider<string>;
93
-
94
81
  logger?: __Logger;
95
-
96
82
  useDualstackEndpoint?: boolean | __Provider<boolean>;
97
-
98
83
  useFipsEndpoint?: boolean | __Provider<boolean>;
99
-
100
84
  serviceId?: string;
101
-
102
85
  region?: string | __Provider<string>;
103
-
104
86
  regionInfoProvider?: RegionInfoProvider;
105
-
106
87
  defaultUserAgentProvider?: Provider<__UserAgent>;
107
-
108
88
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
109
89
  }
110
90
  declare type SSOClientConfigType = Partial<
@@ -116,7 +96,6 @@ declare type SSOClientConfigType = Partial<
116
96
  RetryInputConfig &
117
97
  HostHeaderInputConfig &
118
98
  UserAgentInputConfig;
119
-
120
99
  export interface SSOClientConfig extends SSOClientConfigType {}
121
100
  declare type SSOClientResolvedConfigType =
122
101
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
@@ -126,9 +105,7 @@ declare type SSOClientResolvedConfigType =
126
105
  RetryResolvedConfig &
127
106
  HostHeaderResolvedConfig &
128
107
  UserAgentResolvedConfig;
129
-
130
108
  export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {}
131
-
132
109
  export declare class SSOClient extends __Client<
133
110
  __HttpHandlerOptions,
134
111
  ServiceInputTypes,
@@ -137,7 +114,6 @@ export declare class SSOClient extends __Client<
137
114
  > {
138
115
  readonly config: SSOClientResolvedConfig;
139
116
  constructor(configuration: SSOClientConfig);
140
-
141
117
  destroy(): void;
142
118
  }
143
119
  export {};
@@ -19,7 +19,6 @@ export interface GetRoleCredentialsCommandInput
19
19
  export interface GetRoleCredentialsCommandOutput
20
20
  extends GetRoleCredentialsResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetRoleCredentialsCommand extends $Command<
24
23
  GetRoleCredentialsCommandInput,
25
24
  GetRoleCredentialsCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetRoleCredentialsCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetRoleCredentialsCommandInput;
29
28
  constructor(input: GetRoleCredentialsCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SSOClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
18
18
  export interface ListAccountRolesCommandOutput
19
19
  extends ListAccountRolesResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class ListAccountRolesCommand extends $Command<
23
22
  ListAccountRolesCommandInput,
24
23
  ListAccountRolesCommandOutput,
@@ -26,7 +25,6 @@ export declare class ListAccountRolesCommand extends $Command<
26
25
  > {
27
26
  readonly input: ListAccountRolesCommandInput;
28
27
  constructor(input: ListAccountRolesCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: SSOClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface ListAccountsCommandInput extends ListAccountsRequest {}
15
15
  export interface ListAccountsCommandOutput
16
16
  extends ListAccountsResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class ListAccountsCommand extends $Command<
20
19
  ListAccountsCommandInput,
21
20
  ListAccountsCommandOutput,
@@ -23,7 +22,6 @@ export declare class ListAccountsCommand extends $Command<
23
22
  > {
24
23
  readonly input: ListAccountsCommandInput;
25
24
  constructor(input: ListAccountsCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: SSOClientResolvedConfig,
@@ -13,7 +13,6 @@ import {
13
13
  } from "../SSOClient";
14
14
  export interface LogoutCommandInput extends LogoutRequest {}
15
15
  export interface LogoutCommandOutput extends __MetadataBearer {}
16
-
17
16
  export declare class LogoutCommand extends $Command<
18
17
  LogoutCommandInput,
19
18
  LogoutCommandOutput,
@@ -21,7 +20,6 @@ export declare class LogoutCommand extends $Command<
21
20
  > {
22
21
  readonly input: LogoutCommandInput;
23
22
  constructor(input: LogoutCommandInput);
24
-
25
23
  resolveMiddleware(
26
24
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
27
25
  configuration: SSOClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class SSOServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,137 +1,101 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SSOServiceException as __BaseException } from "./SSOServiceException";
3
-
4
3
  export interface AccountInfo {
5
4
  accountId?: string;
6
-
7
5
  accountName?: string;
8
-
9
6
  emailAddress?: string;
10
7
  }
11
8
  export interface GetRoleCredentialsRequest {
12
9
  roleName: string | undefined;
13
-
14
10
  accountId: string | undefined;
15
-
16
11
  accessToken: string | undefined;
17
12
  }
18
-
19
13
  export interface RoleCredentials {
20
14
  accessKeyId?: string;
21
-
22
15
  secretAccessKey?: string;
23
-
24
16
  sessionToken?: string;
25
-
26
17
  expiration?: number;
27
18
  }
28
19
  export interface GetRoleCredentialsResponse {
29
20
  roleCredentials?: RoleCredentials;
30
21
  }
31
-
32
22
  export declare class InvalidRequestException extends __BaseException {
33
23
  readonly name: "InvalidRequestException";
34
24
  readonly $fault: "client";
35
-
36
25
  constructor(
37
26
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
38
27
  );
39
28
  }
40
-
41
29
  export declare class ResourceNotFoundException extends __BaseException {
42
30
  readonly name: "ResourceNotFoundException";
43
31
  readonly $fault: "client";
44
-
45
32
  constructor(
46
33
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
47
34
  );
48
35
  }
49
-
50
36
  export declare class TooManyRequestsException extends __BaseException {
51
37
  readonly name: "TooManyRequestsException";
52
38
  readonly $fault: "client";
53
-
54
39
  constructor(
55
40
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
56
41
  );
57
42
  }
58
-
59
43
  export declare class UnauthorizedException extends __BaseException {
60
44
  readonly name: "UnauthorizedException";
61
45
  readonly $fault: "client";
62
-
63
46
  constructor(
64
47
  opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
65
48
  );
66
49
  }
67
50
  export interface ListAccountRolesRequest {
68
51
  nextToken?: string;
69
-
70
52
  maxResults?: number;
71
-
72
53
  accessToken: string | undefined;
73
-
74
54
  accountId: string | undefined;
75
55
  }
76
-
77
56
  export interface RoleInfo {
78
57
  roleName?: string;
79
-
80
58
  accountId?: string;
81
59
  }
82
60
  export interface ListAccountRolesResponse {
83
61
  nextToken?: string;
84
-
85
62
  roleList?: RoleInfo[];
86
63
  }
87
64
  export interface ListAccountsRequest {
88
65
  nextToken?: string;
89
-
90
66
  maxResults?: number;
91
-
92
67
  accessToken: string | undefined;
93
68
  }
94
69
  export interface ListAccountsResponse {
95
70
  nextToken?: string;
96
-
97
71
  accountList?: AccountInfo[];
98
72
  }
99
73
  export interface LogoutRequest {
100
74
  accessToken: string | undefined;
101
75
  }
102
-
103
76
  export declare const AccountInfoFilterSensitiveLog: (obj: AccountInfo) => any;
104
-
105
77
  export declare const GetRoleCredentialsRequestFilterSensitiveLog: (
106
78
  obj: GetRoleCredentialsRequest
107
79
  ) => any;
108
-
109
80
  export declare const RoleCredentialsFilterSensitiveLog: (
110
81
  obj: RoleCredentials
111
82
  ) => any;
112
-
113
83
  export declare const GetRoleCredentialsResponseFilterSensitiveLog: (
114
84
  obj: GetRoleCredentialsResponse
115
85
  ) => any;
116
-
117
86
  export declare const ListAccountRolesRequestFilterSensitiveLog: (
118
87
  obj: ListAccountRolesRequest
119
88
  ) => any;
120
-
121
89
  export declare const RoleInfoFilterSensitiveLog: (obj: RoleInfo) => any;
122
-
123
90
  export declare const ListAccountRolesResponseFilterSensitiveLog: (
124
91
  obj: ListAccountRolesResponse
125
92
  ) => any;
126
-
127
93
  export declare const ListAccountsRequestFilterSensitiveLog: (
128
94
  obj: ListAccountsRequest
129
95
  ) => any;
130
-
131
96
  export declare const ListAccountsResponseFilterSensitiveLog: (
132
97
  obj: ListAccountsResponse
133
98
  ) => any;
134
-
135
99
  export declare const LogoutRequestFilterSensitiveLog: (
136
100
  obj: LogoutRequest
137
101
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SSOClientConfig } from "./SSOClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SSOClientConfig } from "./SSOClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { SSOClientConfig } from "./SSOClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: SSOClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { SSOClientConfig } from "./SSOClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SSOClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.178.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,32 +19,32 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/config-resolver": "3.170.0",
23
- "@aws-sdk/fetch-http-handler": "3.170.0",
24
- "@aws-sdk/hash-node": "3.170.0",
25
- "@aws-sdk/invalid-dependency": "3.170.0",
26
- "@aws-sdk/middleware-content-length": "3.170.0",
27
- "@aws-sdk/middleware-host-header": "3.170.0",
28
- "@aws-sdk/middleware-logger": "3.170.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
30
- "@aws-sdk/middleware-retry": "3.170.0",
31
- "@aws-sdk/middleware-serde": "3.170.0",
32
- "@aws-sdk/middleware-stack": "3.170.0",
33
- "@aws-sdk/middleware-user-agent": "3.170.0",
34
- "@aws-sdk/node-config-provider": "3.170.0",
35
- "@aws-sdk/node-http-handler": "3.170.0",
36
- "@aws-sdk/protocol-http": "3.170.0",
37
- "@aws-sdk/smithy-client": "3.170.0",
38
- "@aws-sdk/types": "3.170.0",
39
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/config-resolver": "3.178.0",
23
+ "@aws-sdk/fetch-http-handler": "3.178.0",
24
+ "@aws-sdk/hash-node": "3.178.0",
25
+ "@aws-sdk/invalid-dependency": "3.178.0",
26
+ "@aws-sdk/middleware-content-length": "3.178.0",
27
+ "@aws-sdk/middleware-host-header": "3.178.0",
28
+ "@aws-sdk/middleware-logger": "3.178.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
30
+ "@aws-sdk/middleware-retry": "3.178.0",
31
+ "@aws-sdk/middleware-serde": "3.178.0",
32
+ "@aws-sdk/middleware-stack": "3.178.0",
33
+ "@aws-sdk/middleware-user-agent": "3.178.0",
34
+ "@aws-sdk/node-config-provider": "3.178.0",
35
+ "@aws-sdk/node-http-handler": "3.178.0",
36
+ "@aws-sdk/protocol-http": "3.178.0",
37
+ "@aws-sdk/smithy-client": "3.178.0",
38
+ "@aws-sdk/types": "3.178.0",
39
+ "@aws-sdk/url-parser": "3.178.0",
40
40
  "@aws-sdk/util-base64-browser": "3.170.0",
41
41
  "@aws-sdk/util-base64-node": "3.170.0",
42
42
  "@aws-sdk/util-body-length-browser": "3.170.0",
43
43
  "@aws-sdk/util-body-length-node": "3.170.0",
44
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
45
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
46
- "@aws-sdk/util-user-agent-browser": "3.170.0",
47
- "@aws-sdk/util-user-agent-node": "3.170.0",
44
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
45
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
46
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
47
+ "@aws-sdk/util-user-agent-node": "3.178.0",
48
48
  "@aws-sdk/util-utf8-browser": "3.170.0",
49
49
  "@aws-sdk/util-utf8-node": "3.170.0",
50
50
  "tslib": "^2.3.1"