@aws-sdk/client-sso 3.35.0 → 3.36.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 +13 -0
- package/dist-cjs/SSO.js +0 -1
- package/dist-cjs/SSOClient.js +0 -1
- package/dist-cjs/commands/GetRoleCredentialsCommand.js +0 -1
- package/dist-cjs/commands/ListAccountRolesCommand.js +0 -1
- package/dist-cjs/commands/ListAccountsCommand.js +0 -1
- package/dist-cjs/commands/LogoutCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAccountRolesPaginator.js +0 -1
- package/dist-cjs/pagination/ListAccountsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/SSO.js +0 -1
- package/dist-es/SSOClient.js +0 -1
- package/dist-es/commands/GetRoleCredentialsCommand.js +0 -1
- package/dist-es/commands/ListAccountRolesCommand.js +0 -1
- package/dist-es/commands/ListAccountsCommand.js +0 -1
- package/dist-es/commands/LogoutCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAccountRolesPaginator.js +0 -1
- package/dist-es/pagination/ListAccountsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +30 -27
- package/dist-cjs/SSO.js.map +0 -1
- package/dist-cjs/SSOClient.js.map +0 -1
- package/dist-cjs/commands/GetRoleCredentialsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAccountRolesCommand.js.map +0 -1
- package/dist-cjs/commands/ListAccountsCommand.js.map +0 -1
- package/dist-cjs/commands/LogoutCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAccountRolesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAccountsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/SSO.js.map +0 -1
- package/dist-es/SSOClient.js.map +0 -1
- package/dist-es/commands/GetRoleCredentialsCommand.js.map +0 -1
- package/dist-es/commands/ListAccountRolesCommand.js.map +0 -1
- package/dist-es/commands/ListAccountsCommand.js.map +0 -1
- package/dist-es/commands/LogoutCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAccountRolesPaginator.js.map +0 -1
- package/dist-es/pagination/ListAccountsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/SSO.ts +0 -161
- package/src/SSOClient.ts +0 -246
- package/src/commands/GetRoleCredentialsCommand.ts +0 -96
- package/src/commands/ListAccountRolesCommand.ts +0 -95
- package/src/commands/ListAccountsCommand.ts +0 -97
- package/src/commands/LogoutCommand.ts +0 -88
- package/src/endpoints.ts +0 -94
- package/src/index.ts +0 -10
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -334
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAccountRolesPaginator.ts +0 -59
- package/src/pagination/ListAccountsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -623
- package/src/runtimeConfig.browser.ts +0 -39
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -42
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1ListAccountRolesCommand,
|
|
17
|
-
serializeAws_restJson1ListAccountRolesCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
20
|
-
|
|
21
|
-
export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {}
|
|
22
|
-
export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SSOClient, ListAccountRolesCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
30
|
-
* // const { SSOClient, ListAccountRolesCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
31
|
-
* const client = new SSOClient(config);
|
|
32
|
-
* const command = new ListAccountRolesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListAccountRolesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListAccountRolesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListAccountRolesCommand extends $Command<
|
|
42
|
-
ListAccountRolesCommandInput,
|
|
43
|
-
ListAccountRolesCommandOutput,
|
|
44
|
-
SSOClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListAccountRolesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SSOClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListAccountRolesCommandInput, ListAccountRolesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SSOClient";
|
|
69
|
-
const commandName = "ListAccountRolesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListAccountRolesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListAccountRolesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListAccountRolesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListAccountRolesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAccountRolesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListAccountRolesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1ListAccountsCommand,
|
|
17
|
-
serializeAws_restJson1ListAccountsCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
20
|
-
|
|
21
|
-
export interface ListAccountsCommandInput extends ListAccountsRequest {}
|
|
22
|
-
export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
26
|
-
* administrator of the account. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers">Assign User Access</a> in the <i>AWS SSO User Guide</i>. This operation
|
|
27
|
-
* returns a paginated response.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SSOClient, ListAccountsCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
32
|
-
* // const { SSOClient, ListAccountsCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
33
|
-
* const client = new SSOClient(config);
|
|
34
|
-
* const command = new ListAccountsCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link ListAccountsCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link ListAccountsCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class ListAccountsCommand extends $Command<
|
|
44
|
-
ListAccountsCommandInput,
|
|
45
|
-
ListAccountsCommandOutput,
|
|
46
|
-
SSOClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: ListAccountsCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: SSOClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<ListAccountsCommandInput, ListAccountsCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "SSOClient";
|
|
71
|
-
const commandName = "ListAccountsCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: ListAccountsRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: ListAccountsResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: ListAccountsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1ListAccountsCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAccountsCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1ListAccountsCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LogoutRequest } from "../models/models_0";
|
|
15
|
-
import { deserializeAws_restJson1LogoutCommand, serializeAws_restJson1LogoutCommand } from "../protocols/Aws_restJson1";
|
|
16
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
17
|
-
|
|
18
|
-
export interface LogoutCommandInput extends LogoutRequest {}
|
|
19
|
-
export interface LogoutCommandOutput extends __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>Removes the client- and server-side session that is associated with the user.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import
|
|
27
|
-
* // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import
|
|
28
|
-
* const client = new SSOClient(config);
|
|
29
|
-
* const command = new LogoutCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link LogoutCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link LogoutCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link SSOClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export class LogoutCommand extends $Command<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig> {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
|
-
|
|
42
|
-
constructor(readonly input: LogoutCommandInput) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
super();
|
|
45
|
-
// End section: command_constructor
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
resolveMiddleware(
|
|
52
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
53
|
-
configuration: SSOClientResolvedConfig,
|
|
54
|
-
options?: __HttpHandlerOptions
|
|
55
|
-
): Handler<LogoutCommandInput, LogoutCommandOutput> {
|
|
56
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
|
-
|
|
58
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
59
|
-
|
|
60
|
-
const { logger } = configuration;
|
|
61
|
-
const clientName = "SSOClient";
|
|
62
|
-
const commandName = "LogoutCommand";
|
|
63
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
64
|
-
logger,
|
|
65
|
-
clientName,
|
|
66
|
-
commandName,
|
|
67
|
-
inputFilterSensitiveLog: LogoutRequest.filterSensitiveLog,
|
|
68
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
69
|
-
};
|
|
70
|
-
const { requestHandler } = configuration;
|
|
71
|
-
return stack.resolve(
|
|
72
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
73
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
74
|
-
handlerExecutionContext
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
private serialize(input: LogoutCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
79
|
-
return serializeAws_restJson1LogoutCommand(input, context);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<LogoutCommandOutput> {
|
|
83
|
-
return deserializeAws_restJson1LogoutCommand(output, context);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Start section: command_body_extra
|
|
87
|
-
// End section: command_body_extra
|
|
88
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {
|
|
5
|
-
"ap-southeast-1": {
|
|
6
|
-
hostname: "portal.sso.ap-southeast-1.amazonaws.com",
|
|
7
|
-
signingRegion: "ap-southeast-1",
|
|
8
|
-
},
|
|
9
|
-
"ap-southeast-2": {
|
|
10
|
-
hostname: "portal.sso.ap-southeast-2.amazonaws.com",
|
|
11
|
-
signingRegion: "ap-southeast-2",
|
|
12
|
-
},
|
|
13
|
-
"ca-central-1": {
|
|
14
|
-
hostname: "portal.sso.ca-central-1.amazonaws.com",
|
|
15
|
-
signingRegion: "ca-central-1",
|
|
16
|
-
},
|
|
17
|
-
"eu-central-1": {
|
|
18
|
-
hostname: "portal.sso.eu-central-1.amazonaws.com",
|
|
19
|
-
signingRegion: "eu-central-1",
|
|
20
|
-
},
|
|
21
|
-
"eu-west-1": {
|
|
22
|
-
hostname: "portal.sso.eu-west-1.amazonaws.com",
|
|
23
|
-
signingRegion: "eu-west-1",
|
|
24
|
-
},
|
|
25
|
-
"eu-west-2": {
|
|
26
|
-
hostname: "portal.sso.eu-west-2.amazonaws.com",
|
|
27
|
-
signingRegion: "eu-west-2",
|
|
28
|
-
},
|
|
29
|
-
"us-east-1": {
|
|
30
|
-
hostname: "portal.sso.us-east-1.amazonaws.com",
|
|
31
|
-
signingRegion: "us-east-1",
|
|
32
|
-
},
|
|
33
|
-
"us-east-2": {
|
|
34
|
-
hostname: "portal.sso.us-east-2.amazonaws.com",
|
|
35
|
-
signingRegion: "us-east-2",
|
|
36
|
-
},
|
|
37
|
-
"us-west-2": {
|
|
38
|
-
hostname: "portal.sso.us-west-2.amazonaws.com",
|
|
39
|
-
signingRegion: "us-west-2",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
const partitionHash: PartitionHash = {
|
|
44
|
-
aws: {
|
|
45
|
-
regions: [
|
|
46
|
-
"af-south-1",
|
|
47
|
-
"ap-east-1",
|
|
48
|
-
"ap-northeast-1",
|
|
49
|
-
"ap-northeast-2",
|
|
50
|
-
"ap-northeast-3",
|
|
51
|
-
"ap-south-1",
|
|
52
|
-
"ap-southeast-1",
|
|
53
|
-
"ap-southeast-2",
|
|
54
|
-
"ca-central-1",
|
|
55
|
-
"eu-central-1",
|
|
56
|
-
"eu-north-1",
|
|
57
|
-
"eu-south-1",
|
|
58
|
-
"eu-west-1",
|
|
59
|
-
"eu-west-2",
|
|
60
|
-
"eu-west-3",
|
|
61
|
-
"me-south-1",
|
|
62
|
-
"sa-east-1",
|
|
63
|
-
"us-east-1",
|
|
64
|
-
"us-east-2",
|
|
65
|
-
"us-west-1",
|
|
66
|
-
"us-west-2",
|
|
67
|
-
],
|
|
68
|
-
hostname: "portal.sso.{region}.amazonaws.com",
|
|
69
|
-
},
|
|
70
|
-
"aws-cn": {
|
|
71
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
72
|
-
hostname: "portal.sso.{region}.amazonaws.com.cn",
|
|
73
|
-
},
|
|
74
|
-
"aws-iso": {
|
|
75
|
-
regions: ["us-iso-east-1"],
|
|
76
|
-
hostname: "portal.sso.{region}.c2s.ic.gov",
|
|
77
|
-
},
|
|
78
|
-
"aws-iso-b": {
|
|
79
|
-
regions: ["us-isob-east-1"],
|
|
80
|
-
hostname: "portal.sso.{region}.sc2s.sgov.gov",
|
|
81
|
-
},
|
|
82
|
-
"aws-us-gov": {
|
|
83
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
84
|
-
hostname: "portal.sso.{region}.amazonaws.com",
|
|
85
|
-
},
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
89
|
-
getRegionInfo(region, {
|
|
90
|
-
...options,
|
|
91
|
-
signingService: "awsssoportal",
|
|
92
|
-
regionHash,
|
|
93
|
-
partitionHash,
|
|
94
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./SSOClient";
|
|
2
|
-
export * from "./SSO";
|
|
3
|
-
export * from "./commands/GetRoleCredentialsCommand";
|
|
4
|
-
export * from "./commands/ListAccountRolesCommand";
|
|
5
|
-
export * from "./pagination/ListAccountRolesPaginator";
|
|
6
|
-
export * from "./commands/ListAccountsCommand";
|
|
7
|
-
export * from "./pagination/ListAccountsPaginator";
|
|
8
|
-
export * from "./commands/LogoutCommand";
|
|
9
|
-
export * from "./pagination/Interfaces";
|
|
10
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|