@aws-lite/sts-types 0.1.0 → 0.1.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.
- package/index.d.ts +8 -8
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -18,45 +18,45 @@ declare interface AwsLiteSTS {
|
|
|
18
18
|
/**
|
|
19
19
|
* @description
|
|
20
20
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html STS: AssumeRole}
|
|
21
|
-
* - aws-lite docs: {@link https://github.com/
|
|
21
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#AssumeRole STS: AssumeRole}
|
|
22
22
|
*/
|
|
23
23
|
AssumeRole: (input: { RoleArn: string, RoleSessionName: string, DurationSeconds?: number, ExternalId?: string, Policy?: string, PolicyArns?: any[], ProvidedContexts?: any[], SerialNumber?: string, SourceIdentity?: string, Tags?: any[], TokenCode?: string, TransitiveTagKeys?: any[] }) => Promise<AssumeRoleResponse>
|
|
24
24
|
/**
|
|
25
25
|
* @description
|
|
26
26
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html STS: AssumeRoleWithSAML}
|
|
27
|
-
* - aws-lite docs: {@link https://github.com/
|
|
27
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#AssumeRoleWithSAML STS: AssumeRoleWithSAML}
|
|
28
28
|
*/
|
|
29
29
|
AssumeRoleWithSAML: (input: { RoleArn: string, PrincipalArn: string, SAMLAssertion: string, DurationSeconds?: number, Policy?: string, PolicyArns?: any[] }) => Promise<AssumeRoleWithSAMLResponse>
|
|
30
30
|
/**
|
|
31
31
|
* @description
|
|
32
32
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html STS: AssumeRoleWithWebIdentity}
|
|
33
|
-
* - aws-lite docs: {@link https://github.com/
|
|
33
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#AssumeRoleWithWebIdentity STS: AssumeRoleWithWebIdentity}
|
|
34
34
|
*/
|
|
35
35
|
AssumeRoleWithWebIdentity: (input: { RoleArn: string, RoleSessionName: string, WebIdentityToken: string, DurationSeconds?: number, ProviderId?: string, Policy?: string, PolicyArns?: any[] }) => Promise<AssumeRoleWithWebIdentityResponse>
|
|
36
36
|
/**
|
|
37
37
|
* @description
|
|
38
38
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_DecodeAuthorizationMessage.html STS: DecodeAuthorizationMessage}
|
|
39
|
-
* - aws-lite docs: {@link https://github.com/
|
|
39
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#DecodeAuthorizationMessage STS: DecodeAuthorizationMessage}
|
|
40
40
|
*/
|
|
41
41
|
DecodeAuthorizationMessage: (input: { EncodedMessage: string }) => Promise<DecodeAuthorizationMessageResponse>
|
|
42
42
|
/**
|
|
43
43
|
* @description
|
|
44
44
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_GetAccessKeyInfo.html STS: GetAccessKeyInfo}
|
|
45
|
-
* - aws-lite docs: {@link https://github.com/
|
|
45
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#GetAccessKeyInfo STS: GetAccessKeyInfo}
|
|
46
46
|
*/
|
|
47
47
|
GetAccessKeyInfo: (input: { AccessKeyId: string }) => Promise<GetAccessKeyInfoResponse>
|
|
48
|
-
/** @description aws-lite docs: {@link https://github.com/
|
|
48
|
+
/** @description aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#GetCallerIdentity STS: GetCallerIdentity} */
|
|
49
49
|
GetCallerIdentity: () => Promise<GetCallerIdentityResponse>
|
|
50
50
|
/**
|
|
51
51
|
* @description
|
|
52
52
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_GetFederationToken.html STS: GetFederationToken}
|
|
53
|
-
* - aws-lite docs: {@link https://github.com/
|
|
53
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#GetFederationToken STS: GetFederationToken}
|
|
54
54
|
*/
|
|
55
55
|
GetFederationToken: (input: { Name: string, DurationSeconds?: number, Policy?: string, PolicyArns?: any[], Tags?: any[] }) => Promise<GetFederationTokenResponse>
|
|
56
56
|
/**
|
|
57
57
|
* @description
|
|
58
58
|
* - AWS docs: {@link https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html STS: GetSessionToken}
|
|
59
|
-
* - aws-lite docs: {@link https://github.com/
|
|
59
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sts/readme.md#GetSessionToken STS: GetSessionToken}
|
|
60
60
|
*/
|
|
61
61
|
GetSessionToken: (input: { DurationSeconds?: number, SerialNumber?: string, TokenCode?: string }) => Promise<GetSessionTokenResponse>
|
|
62
62
|
// $METHODS_END
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-lite/sts-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Type definitions for the `@aws-lite/sts` plugin",
|
|
5
5
|
"homepage": "https://aws-lite.org/services/sts",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/aws-lite/aws-lite.git",
|
|
9
9
|
"directory": "plugins/sts/types"
|
|
10
10
|
},
|
|
11
|
-
"bugs": "https://github.com/
|
|
11
|
+
"bugs": "https://github.com/aws-lite/aws-lite/issues",
|
|
12
12
|
"main": "",
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=16"
|