@cdklabs/cdk-ecs-codedeploy 0.0.103 → 0.0.104
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/.jsii +70 -5
- package/.projenrc.ts +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +48 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeployClient.d.ts +24 -4
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/CodeDeployServiceException.d.ts +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/models/models_0.d.ts +382 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/Interfaces.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +24 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +28 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/package.json +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +24 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +19 -83
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +19 -83
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +10 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +24 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +17 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +47 -0
- package/node_modules/@aws-sdk/client-sts/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/package.json +9 -9
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListApplicationRevisionsCommandInput, ListApplicationRevisionsCommandOutput } from "../commands/ListApplicationRevisionsCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListApplicationRevisions(config: CodeDeployPaginationConfiguration, input: ListApplicationRevisionsCommandInput, ...additionalArguments: any): Paginator<ListApplicationRevisionsCommandOutput>;
|
package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListApplications(config: CodeDeployPaginationConfiguration, input: ListApplicationsCommandInput, ...additionalArguments: any): Paginator<ListApplicationsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListDeploymentConfigsCommandInput, ListDeploymentConfigsCommandOutput } from "../commands/ListDeploymentConfigsCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListDeploymentConfigs(config: CodeDeployPaginationConfiguration, input: ListDeploymentConfigsCommandInput, ...additionalArguments: any): Paginator<ListDeploymentConfigsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListDeploymentGroupsCommandInput, ListDeploymentGroupsCommandOutput } from "../commands/ListDeploymentGroupsCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListDeploymentGroups(config: CodeDeployPaginationConfiguration, input: ListDeploymentGroupsCommandInput, ...additionalArguments: any): Paginator<ListDeploymentGroupsCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListDeploymentInstancesCommandInput, ListDeploymentInstancesCommandOutput } from "../commands/ListDeploymentInstancesCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListDeploymentInstances(config: CodeDeployPaginationConfiguration, input: ListDeploymentInstancesCommandInput, ...additionalArguments: any): Paginator<ListDeploymentInstancesCommandOutput>;
|
package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "../commands/ListDeploymentsCommand";
|
|
3
3
|
import { CodeDeployPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListDeployments(config: CodeDeployPaginationConfiguration, input: ListDeploymentsCommandInput, ...additionalArguments: any): Paginator<ListDeploymentsCommandOutput>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codedeploy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.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,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -5,6 +5,7 @@ import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/
|
|
|
5
5
|
import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
|
|
6
6
|
import { SSOClient } from "./SSOClient";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
8
9
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
9
10
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
10
11
|
* assigned to them and get federated into the application.</p>
|
|
@@ -27,6 +28,7 @@ import { SSOClient } from "./SSOClient";
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class SSO extends SSOClient {
|
|
29
30
|
/**
|
|
31
|
+
* @public
|
|
30
32
|
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
31
33
|
* user.</p>
|
|
32
34
|
*/
|
|
@@ -34,12 +36,14 @@ export declare class SSO extends SSOClient {
|
|
|
34
36
|
getRoleCredentials(args: GetRoleCredentialsCommandInput, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void;
|
|
35
37
|
getRoleCredentials(args: GetRoleCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void;
|
|
36
38
|
/**
|
|
39
|
+
* @public
|
|
37
40
|
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
38
41
|
*/
|
|
39
42
|
listAccountRoles(args: ListAccountRolesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountRolesCommandOutput>;
|
|
40
43
|
listAccountRoles(args: ListAccountRolesCommandInput, cb: (err: any, data?: ListAccountRolesCommandOutput) => void): void;
|
|
41
44
|
listAccountRoles(args: ListAccountRolesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountRolesCommandOutput) => void): void;
|
|
42
45
|
/**
|
|
46
|
+
* @public
|
|
43
47
|
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
44
48
|
* 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>IAM Identity Center User Guide</i>. This operation
|
|
45
49
|
* returns a paginated response.</p>
|
|
@@ -48,6 +52,7 @@ export declare class SSO extends SSOClient {
|
|
|
48
52
|
listAccounts(args: ListAccountsCommandInput, cb: (err: any, data?: ListAccountsCommandOutput) => void): void;
|
|
49
53
|
listAccounts(args: ListAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountsCommandOutput) => void): void;
|
|
50
54
|
/**
|
|
55
|
+
* @public
|
|
51
56
|
* <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
|
|
52
57
|
* the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in
|
|
53
58
|
* session.</p>
|
|
@@ -11,15 +11,24 @@ import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./c
|
|
|
11
11
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
|
|
12
12
|
import { LogoutCommandInput, LogoutCommandOutput } from "./commands/LogoutCommand";
|
|
13
13
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
14
17
|
export type ServiceInputTypes = GetRoleCredentialsCommandInput | ListAccountRolesCommandInput | ListAccountsCommandInput | LogoutCommandInput;
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
15
21
|
export type ServiceOutputTypes = GetRoleCredentialsCommandOutput | ListAccountRolesCommandOutput | ListAccountsCommandOutput | LogoutCommandOutput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
16
25
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
17
26
|
/**
|
|
18
27
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
19
28
|
*/
|
|
20
29
|
requestHandler?: __HttpHandler;
|
|
21
30
|
/**
|
|
22
|
-
* A constructor for a class implementing the {@link
|
|
31
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
23
32
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
24
33
|
* @internal
|
|
25
34
|
*/
|
|
@@ -104,23 +113,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
104
113
|
*/
|
|
105
114
|
logger?: __Logger;
|
|
106
115
|
/**
|
|
107
|
-
* The {@link
|
|
116
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
108
117
|
*/
|
|
109
118
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
110
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
111
123
|
type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
112
124
|
/**
|
|
113
|
-
*
|
|
125
|
+
* @public
|
|
126
|
+
*
|
|
127
|
+
* The configuration interface of SSOClient class constructor that set the region, credentials and other options.
|
|
114
128
|
*/
|
|
115
129
|
export interface SSOClientConfig extends SSOClientConfigType {
|
|
116
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
117
134
|
type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
118
135
|
/**
|
|
119
|
-
*
|
|
136
|
+
* @public
|
|
137
|
+
*
|
|
138
|
+
* The resolved configuration interface of SSOClient class. This is resolved and normalized from the {@link SSOClientConfig | constructor configuration interface}.
|
|
120
139
|
*/
|
|
121
140
|
export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {
|
|
122
141
|
}
|
|
123
142
|
/**
|
|
143
|
+
* @public
|
|
124
144
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
125
145
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
126
146
|
* assigned to them and get federated into the application.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetRoleCredentialsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetRoleCredentialsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
18
23
|
* user.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param GetRoleCredentialsCommandInput - {@link GetRoleCredentialsCommandInput}
|
|
35
|
+
* @returns {@link GetRoleCredentialsCommandOutput}
|
|
29
36
|
* @see {@link GetRoleCredentialsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link GetRoleCredentialsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
|
|
@@ -50,11 +57,20 @@ export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsRespo
|
|
|
50
57
|
export declare class GetRoleCredentialsCommand extends $Command<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig> {
|
|
51
58
|
readonly input: GetRoleCredentialsCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: GetRoleCredentialsCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListAccountRolesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListAccountRolesCommandInput extends ListAccountRolesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListAccountRolesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists all roles that are assigned to the user for a given AWS account.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListAccountRolesCommandInput - {@link ListAccountRolesCommandInput}
|
|
34
|
+
* @returns {@link ListAccountRolesCommandOutput}
|
|
28
35
|
* @see {@link ListAccountRolesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListAccountRolesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
|
|
|
49
56
|
export declare class ListAccountRolesCommand extends $Command<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig> {
|
|
50
57
|
readonly input: ListAccountRolesCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: ListAccountRolesCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccountRolesCommandInput, ListAccountRolesCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListAccountsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListAccountsCommandInput extends ListAccountsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListAccountsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the
|
|
18
23
|
* 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>IAM Identity Center User Guide</i>. This operation
|
|
19
24
|
* returns a paginated response.</p>
|
|
@@ -27,6 +32,8 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param ListAccountsCommandInput - {@link ListAccountsCommandInput}
|
|
36
|
+
* @returns {@link ListAccountsCommandOutput}
|
|
30
37
|
* @see {@link ListAccountsCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link ListAccountsCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
|
|
|
51
58
|
export declare class ListAccountsCommand extends $Command<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig> {
|
|
52
59
|
readonly input: ListAccountsCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: ListAccountsCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccountsCommandInput, ListAccountsCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { LogoutRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSOClientResolvedConfig } from "../SSOClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link LogoutCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface LogoutCommandInput extends LogoutRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link LogoutCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface LogoutCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
|
|
18
23
|
* the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in
|
|
19
24
|
* session.</p>
|
|
@@ -40,6 +45,8 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param LogoutCommandInput - {@link LogoutCommandInput}
|
|
49
|
+
* @returns {@link LogoutCommandOutput}
|
|
43
50
|
* @see {@link LogoutCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link LogoutCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
61
68
|
export declare class LogoutCommand extends $Command<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig> {
|
|
62
69
|
readonly input: LogoutCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: LogoutCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions): Handler<LogoutCommandInput, LogoutCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from SSO service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SSOServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>Provides information about your AWS account.</p>
|
|
5
6
|
*/
|
|
6
7
|
export interface AccountInfo {
|
|
@@ -17,6 +18,9 @@ export interface AccountInfo {
|
|
|
17
18
|
*/
|
|
18
19
|
emailAddress?: string;
|
|
19
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
20
24
|
export interface GetRoleCredentialsRequest {
|
|
21
25
|
/**
|
|
22
26
|
* <p>The friendly name of the role that is assigned to the user.</p>
|
|
@@ -33,6 +37,7 @@ export interface GetRoleCredentialsRequest {
|
|
|
33
37
|
accessToken: string | undefined;
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
40
|
+
* @public
|
|
36
41
|
* <p>Provides information about the role credentials that are assigned to the user.</p>
|
|
37
42
|
*/
|
|
38
43
|
export interface RoleCredentials {
|
|
@@ -57,6 +62,9 @@ export interface RoleCredentials {
|
|
|
57
62
|
*/
|
|
58
63
|
expiration?: number;
|
|
59
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
60
68
|
export interface GetRoleCredentialsResponse {
|
|
61
69
|
/**
|
|
62
70
|
* <p>The credentials for the role that is assigned to the user.</p>
|
|
@@ -64,6 +72,7 @@ export interface GetRoleCredentialsResponse {
|
|
|
64
72
|
roleCredentials?: RoleCredentials;
|
|
65
73
|
}
|
|
66
74
|
/**
|
|
75
|
+
* @public
|
|
67
76
|
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|
|
68
77
|
* parameter might be missing or out of range.</p>
|
|
69
78
|
*/
|
|
@@ -76,6 +85,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
76
85
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
77
86
|
}
|
|
78
87
|
/**
|
|
88
|
+
* @public
|
|
79
89
|
* <p>The specified resource doesn't exist.</p>
|
|
80
90
|
*/
|
|
81
91
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -87,6 +97,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
87
97
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
88
98
|
}
|
|
89
99
|
/**
|
|
100
|
+
* @public
|
|
90
101
|
* <p>Indicates that the request is being made too frequently and is more than what the server
|
|
91
102
|
* can handle.</p>
|
|
92
103
|
*/
|
|
@@ -99,6 +110,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
99
110
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
100
111
|
}
|
|
101
112
|
/**
|
|
113
|
+
* @public
|
|
102
114
|
* <p>Indicates that the request is not authorized. This can happen due to an invalid access
|
|
103
115
|
* token in the request.</p>
|
|
104
116
|
*/
|
|
@@ -110,6 +122,9 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
110
122
|
*/
|
|
111
123
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
112
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
113
128
|
export interface ListAccountRolesRequest {
|
|
114
129
|
/**
|
|
115
130
|
* <p>The page token from the previous response output when you request subsequent pages.</p>
|
|
@@ -130,6 +145,7 @@ export interface ListAccountRolesRequest {
|
|
|
130
145
|
accountId: string | undefined;
|
|
131
146
|
}
|
|
132
147
|
/**
|
|
148
|
+
* @public
|
|
133
149
|
* <p>Provides information about the role that is assigned to the user.</p>
|
|
134
150
|
*/
|
|
135
151
|
export interface RoleInfo {
|
|
@@ -142,6 +158,9 @@ export interface RoleInfo {
|
|
|
142
158
|
*/
|
|
143
159
|
accountId?: string;
|
|
144
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
145
164
|
export interface ListAccountRolesResponse {
|
|
146
165
|
/**
|
|
147
166
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
@@ -153,6 +172,9 @@ export interface ListAccountRolesResponse {
|
|
|
153
172
|
*/
|
|
154
173
|
roleList?: RoleInfo[];
|
|
155
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
156
178
|
export interface ListAccountsRequest {
|
|
157
179
|
/**
|
|
158
180
|
* <p>(Optional) When requesting subsequent pages, this is the page token from the previous
|
|
@@ -169,6 +191,9 @@ export interface ListAccountsRequest {
|
|
|
169
191
|
*/
|
|
170
192
|
accessToken: string | undefined;
|
|
171
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
172
197
|
export interface ListAccountsResponse {
|
|
173
198
|
/**
|
|
174
199
|
* <p>The page token client that is used to retrieve the list of accounts.</p>
|
|
@@ -180,6 +205,9 @@ export interface ListAccountsResponse {
|
|
|
180
205
|
*/
|
|
181
206
|
accountList?: AccountInfo[];
|
|
182
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
183
211
|
export interface LogoutRequest {
|
|
184
212
|
/**
|
|
185
213
|
* <p>The token issued by the <code>CreateToken</code> API call. For more information, see
|
package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "../commands/ListAccountRolesCommand";
|
|
3
3
|
import { SSOPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListAccountRoles(config: SSOPaginationConfiguration, input: ListAccountRolesCommandInput, ...additionalArguments: any): Paginator<ListAccountRolesCommandOutput>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "../commands/ListAccountsCommand";
|
|
3
3
|
import { SSOPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListAccounts(config: SSOPaginationConfiguration, input: ListAccountsCommandInput, ...additionalArguments: any): Paginator<ListAccountsCommandOutput>;
|
|
@@ -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.
|
|
4
|
+
"version": "3.297.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",
|
|
@@ -4,6 +4,7 @@ import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./comma
|
|
|
4
4
|
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|
|
5
5
|
import { SSOOIDCClient } from "./SSOOIDCClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
7
8
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI
|
|
8
9
|
* or a native application) to register with IAM Identity Center. The service also enables the client to
|
|
9
10
|
* fetch the user’s access token upon successful authentication and authorization with
|
|
@@ -47,6 +48,7 @@ import { SSOOIDCClient } from "./SSOOIDCClient";
|
|
|
47
48
|
*/
|
|
48
49
|
export declare class SSOOIDC extends SSOOIDCClient {
|
|
49
50
|
/**
|
|
51
|
+
* @public
|
|
50
52
|
* <p>Creates and returns an access token for the authorized client. The access token issued
|
|
51
53
|
* will be used to fetch short-term credentials for the assigned roles in the AWS
|
|
52
54
|
* account.</p>
|
|
@@ -55,6 +57,7 @@ export declare class SSOOIDC extends SSOOIDCClient {
|
|
|
55
57
|
createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
|
|
56
58
|
createToken(args: CreateTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
|
|
57
59
|
/**
|
|
60
|
+
* @public
|
|
58
61
|
* <p>Registers a client with IAM Identity Center. This allows clients to initiate device authorization.
|
|
59
62
|
* The output should be persisted for reuse through many authentication requests.</p>
|
|
60
63
|
*/
|
|
@@ -62,6 +65,7 @@ export declare class SSOOIDC extends SSOOIDCClient {
|
|
|
62
65
|
registerClient(args: RegisterClientCommandInput, cb: (err: any, data?: RegisterClientCommandOutput) => void): void;
|
|
63
66
|
registerClient(args: RegisterClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterClientCommandOutput) => void): void;
|
|
64
67
|
/**
|
|
68
|
+
* @public
|
|
65
69
|
* <p>Initiates device authorization by requesting a pair of verification codes from the
|
|
66
70
|
* authorization service.</p>
|
|
67
71
|
*/
|