@aws-sdk/client-sso 3.52.0 → 3.54.1

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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { SSOServiceException as __BaseException } from "./SSOServiceException";
2
3
 
3
4
  export interface AccountInfo {
4
5
 
@@ -48,28 +49,32 @@ export declare namespace GetRoleCredentialsResponse {
48
49
  const filterSensitiveLog: (obj: GetRoleCredentialsResponse) => any;
49
50
  }
50
51
 
51
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
52
- name: "InvalidRequestException";
53
- $fault: "client";
54
- message?: string;
52
+ export declare class InvalidRequestException extends __BaseException {
53
+ readonly name: "InvalidRequestException";
54
+ readonly $fault: "client";
55
+
56
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
55
57
  }
56
58
 
57
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
58
- name: "ResourceNotFoundException";
59
- $fault: "client";
60
- message?: string;
59
+ export declare class ResourceNotFoundException extends __BaseException {
60
+ readonly name: "ResourceNotFoundException";
61
+ readonly $fault: "client";
62
+
63
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
61
64
  }
62
65
 
63
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
64
- name: "TooManyRequestsException";
65
- $fault: "client";
66
- message?: string;
66
+ export declare class TooManyRequestsException extends __BaseException {
67
+ readonly name: "TooManyRequestsException";
68
+ readonly $fault: "client";
69
+
70
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
67
71
  }
68
72
 
69
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
70
- name: "UnauthorizedException";
71
- $fault: "client";
72
- message?: string;
73
+ export declare class UnauthorizedException extends __BaseException {
74
+ readonly name: "UnauthorizedException";
75
+ readonly $fault: "client";
76
+
77
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
73
78
  }
74
79
  export interface ListAccountRolesRequest {
75
80
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
11
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
12
  region: string | import("@aws-sdk/types").Provider<any>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
11
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
12
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
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.52.0",
4
+ "version": "3.54.1",
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",
@@ -18,31 +18,31 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/config-resolver": "3.52.0",
22
- "@aws-sdk/fetch-http-handler": "3.52.0",
23
- "@aws-sdk/hash-node": "3.52.0",
24
- "@aws-sdk/invalid-dependency": "3.52.0",
25
- "@aws-sdk/middleware-content-length": "3.52.0",
26
- "@aws-sdk/middleware-host-header": "3.52.0",
27
- "@aws-sdk/middleware-logger": "3.52.0",
28
- "@aws-sdk/middleware-retry": "3.52.0",
29
- "@aws-sdk/middleware-serde": "3.52.0",
30
- "@aws-sdk/middleware-stack": "3.52.0",
31
- "@aws-sdk/middleware-user-agent": "3.52.0",
32
- "@aws-sdk/node-config-provider": "3.52.0",
33
- "@aws-sdk/node-http-handler": "3.52.0",
34
- "@aws-sdk/protocol-http": "3.52.0",
35
- "@aws-sdk/smithy-client": "3.52.0",
36
- "@aws-sdk/types": "3.52.0",
37
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/config-resolver": "3.54.1",
22
+ "@aws-sdk/fetch-http-handler": "3.54.1",
23
+ "@aws-sdk/hash-node": "3.54.1",
24
+ "@aws-sdk/invalid-dependency": "3.54.1",
25
+ "@aws-sdk/middleware-content-length": "3.54.1",
26
+ "@aws-sdk/middleware-host-header": "3.54.1",
27
+ "@aws-sdk/middleware-logger": "3.54.1",
28
+ "@aws-sdk/middleware-retry": "3.54.1",
29
+ "@aws-sdk/middleware-serde": "3.54.1",
30
+ "@aws-sdk/middleware-stack": "3.54.1",
31
+ "@aws-sdk/middleware-user-agent": "3.54.1",
32
+ "@aws-sdk/node-config-provider": "3.54.1",
33
+ "@aws-sdk/node-http-handler": "3.54.1",
34
+ "@aws-sdk/protocol-http": "3.54.1",
35
+ "@aws-sdk/smithy-client": "3.54.1",
36
+ "@aws-sdk/types": "3.54.1",
37
+ "@aws-sdk/url-parser": "3.54.1",
38
38
  "@aws-sdk/util-base64-browser": "3.52.0",
39
39
  "@aws-sdk/util-base64-node": "3.52.0",
40
- "@aws-sdk/util-body-length-browser": "3.52.0",
41
- "@aws-sdk/util-body-length-node": "3.52.0",
42
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
43
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
44
- "@aws-sdk/util-user-agent-browser": "3.52.0",
45
- "@aws-sdk/util-user-agent-node": "3.52.0",
40
+ "@aws-sdk/util-body-length-browser": "3.54.0",
41
+ "@aws-sdk/util-body-length-node": "3.54.0",
42
+ "@aws-sdk/util-defaults-mode-browser": "3.54.1",
43
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
44
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
45
+ "@aws-sdk/util-user-agent-node": "3.54.1",
46
46
  "@aws-sdk/util-utf8-browser": "3.52.0",
47
47
  "@aws-sdk/util-utf8-node": "3.52.0",
48
48
  "tslib": "^2.3.0"