@aws-sdk/client-sso-oidc 3.289.0 → 3.290.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.
@@ -31,6 +31,48 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
31
31
  * @see {@link CreateTokenCommandOutput} for command's `response` shape.
32
32
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action.</p>
36
+ *
37
+ * @throws {@link AuthorizationPendingException} (client fault)
38
+ * <p>Indicates that a request to authorize a client with an access user session token is
39
+ * pending.</p>
40
+ *
41
+ * @throws {@link ExpiredTokenException} (client fault)
42
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
43
+ *
44
+ * @throws {@link InternalServerException} (server fault)
45
+ * <p>Indicates that an error from the service occurred while trying to process a
46
+ * request.</p>
47
+ *
48
+ * @throws {@link InvalidClientException} (client fault)
49
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
50
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
51
+ * an expired <code>clientSecret</code>.</p>
52
+ *
53
+ * @throws {@link InvalidGrantException} (client fault)
54
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
55
+ * <a>CreateToken</a> request with an invalid grant type.</p>
56
+ *
57
+ * @throws {@link InvalidRequestException} (client fault)
58
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
59
+ * parameter might be missing or out of range.</p>
60
+ *
61
+ * @throws {@link InvalidScopeException} (client fault)
62
+ * <p>Indicates that the scope provided in the request is invalid.</p>
63
+ *
64
+ * @throws {@link SlowDownException} (client fault)
65
+ * <p>Indicates that the client is making the request too frequently and is more than the
66
+ * service can handle. </p>
67
+ *
68
+ * @throws {@link UnauthorizedClientException} (client fault)
69
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
70
+ * when a <code>clientId</code> is not issued for a public client.</p>
71
+ *
72
+ * @throws {@link UnsupportedGrantTypeException} (client fault)
73
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
74
+ *
75
+ *
34
76
  */
35
77
  export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
36
78
  readonly input: CreateTokenCommandInput;
@@ -30,6 +30,22 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
30
30
  * @see {@link RegisterClientCommandOutput} for command's `response` shape.
31
31
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Indicates that an error from the service occurred while trying to process a
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidClientMetadataException} (client fault)
38
+ * <p>Indicates that the client information sent in the request during registration is
39
+ * invalid.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
43
+ * parameter might be missing or out of range.</p>
44
+ *
45
+ * @throws {@link InvalidScopeException} (client fault)
46
+ * <p>Indicates that the scope provided in the request is invalid.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
35
51
  readonly input: RegisterClientCommandInput;
@@ -30,6 +30,28 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
30
30
  * @see {@link StartDeviceAuthorizationCommandOutput} for command's `response` shape.
31
31
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Indicates that an error from the service occurred while trying to process a
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidClientException} (client fault)
38
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
39
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
40
+ * an expired <code>clientSecret</code>.</p>
41
+ *
42
+ * @throws {@link InvalidRequestException} (client fault)
43
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
44
+ * parameter might be missing or out of range.</p>
45
+ *
46
+ * @throws {@link SlowDownException} (client fault)
47
+ * <p>Indicates that the client is making the request too frequently and is more than the
48
+ * service can handle. </p>
49
+ *
50
+ * @throws {@link UnauthorizedClientException} (client fault)
51
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
52
+ * when a <code>clientId</code> is not issued for a public client.</p>
53
+ *
54
+ *
33
55
  */
34
56
  export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
35
57
  readonly input: StartDeviceAuthorizationCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.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",
@@ -20,34 +20,34 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.289.0",
24
- "@aws-sdk/fetch-http-handler": "3.289.0",
25
- "@aws-sdk/hash-node": "3.289.0",
26
- "@aws-sdk/invalid-dependency": "3.289.0",
27
- "@aws-sdk/middleware-content-length": "3.289.0",
28
- "@aws-sdk/middleware-endpoint": "3.289.0",
29
- "@aws-sdk/middleware-host-header": "3.289.0",
30
- "@aws-sdk/middleware-logger": "3.289.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
32
- "@aws-sdk/middleware-retry": "3.289.0",
33
- "@aws-sdk/middleware-serde": "3.289.0",
34
- "@aws-sdk/middleware-stack": "3.289.0",
35
- "@aws-sdk/middleware-user-agent": "3.289.0",
36
- "@aws-sdk/node-config-provider": "3.289.0",
37
- "@aws-sdk/node-http-handler": "3.289.0",
38
- "@aws-sdk/protocol-http": "3.289.0",
39
- "@aws-sdk/smithy-client": "3.289.0",
40
- "@aws-sdk/types": "3.289.0",
41
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/config-resolver": "3.290.0",
24
+ "@aws-sdk/fetch-http-handler": "3.290.0",
25
+ "@aws-sdk/hash-node": "3.290.0",
26
+ "@aws-sdk/invalid-dependency": "3.290.0",
27
+ "@aws-sdk/middleware-content-length": "3.290.0",
28
+ "@aws-sdk/middleware-endpoint": "3.290.0",
29
+ "@aws-sdk/middleware-host-header": "3.290.0",
30
+ "@aws-sdk/middleware-logger": "3.290.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
32
+ "@aws-sdk/middleware-retry": "3.290.0",
33
+ "@aws-sdk/middleware-serde": "3.290.0",
34
+ "@aws-sdk/middleware-stack": "3.290.0",
35
+ "@aws-sdk/middleware-user-agent": "3.290.0",
36
+ "@aws-sdk/node-config-provider": "3.290.0",
37
+ "@aws-sdk/node-http-handler": "3.290.0",
38
+ "@aws-sdk/protocol-http": "3.290.0",
39
+ "@aws-sdk/smithy-client": "3.290.0",
40
+ "@aws-sdk/types": "3.290.0",
41
+ "@aws-sdk/url-parser": "3.290.0",
42
42
  "@aws-sdk/util-base64": "3.208.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.188.0",
44
44
  "@aws-sdk/util-body-length-node": "3.208.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
47
- "@aws-sdk/util-endpoints": "3.289.0",
48
- "@aws-sdk/util-retry": "3.289.0",
49
- "@aws-sdk/util-user-agent-browser": "3.289.0",
50
- "@aws-sdk/util-user-agent-node": "3.289.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
47
+ "@aws-sdk/util-endpoints": "3.290.0",
48
+ "@aws-sdk/util-retry": "3.290.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
50
+ "@aws-sdk/util-user-agent-node": "3.290.0",
51
51
  "@aws-sdk/util-utf8": "3.254.0",
52
52
  "tslib": "^2.3.1"
53
53
  },