@aws-sdk/client-mpa 3.831.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/LICENSE +201 -0
- package/README.md +373 -0
- package/dist-cjs/MPA.js +53 -0
- package/dist-cjs/MPAClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CancelSessionCommand.js +26 -0
- package/dist-cjs/commands/CreateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/CreateIdentitySourceCommand.js +27 -0
- package/dist-cjs/commands/DeleteIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +26 -0
- package/dist-cjs/commands/GetApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/GetIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/GetPolicyVersionCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +27 -0
- package/dist-cjs/commands/GetSessionCommand.js +27 -0
- package/dist-cjs/commands/ListApprovalTeamsCommand.js +27 -0
- package/dist-cjs/commands/ListIdentitySourcesCommand.js +26 -0
- package/dist-cjs/commands/ListPoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +26 -0
- package/dist-cjs/commands/ListResourcePoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListSessionsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
- package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +27 -0
- package/dist-cjs/commands/UntagResourceCommand.js +27 -0
- package/dist-cjs/commands/UpdateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MPAServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +354 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +7 -0
- package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +976 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/MPA.js +49 -0
- package/dist-es/MPAClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CancelSessionCommand.js +22 -0
- package/dist-es/commands/CreateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/CreateIdentitySourceCommand.js +23 -0
- package/dist-es/commands/DeleteIdentitySourceCommand.js +22 -0
- package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +22 -0
- package/dist-es/commands/GetApprovalTeamCommand.js +23 -0
- package/dist-es/commands/GetIdentitySourceCommand.js +22 -0
- package/dist-es/commands/GetPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListApprovalTeamsCommand.js +23 -0
- package/dist-es/commands/ListIdentitySourcesCommand.js +22 -0
- package/dist-es/commands/ListPoliciesCommand.js +22 -0
- package/dist-es/commands/ListPolicyVersionsCommand.js +22 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
- package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +23 -0
- package/dist-es/commands/UntagResourceCommand.js +23 -0
- package/dist-es/commands/UpdateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MPAServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +327 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApprovalTeamsPaginator.js +4 -0
- package/dist-es/pagination/ListIdentitySourcesPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +931 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/MPA.d.ts +160 -0
- package/dist-types/MPAClient.d.ts +208 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CancelSessionCommand.d.ts +88 -0
- package/dist-types/commands/CreateApprovalTeamCommand.d.ts +114 -0
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +98 -0
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +85 -0
- package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +89 -0
- package/dist-types/commands/GetApprovalTeamCommand.d.ts +139 -0
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +99 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +98 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/GetSessionCommand.d.ts +123 -0
- package/dist-types/commands/ListApprovalTeamsCommand.d.ts +102 -0
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +102 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +93 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +102 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +96 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +117 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
- package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/MPAServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1947 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApprovalTeamsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/MPA.d.ts +371 -0
- package/dist-types/ts3.4/MPAClient.d.ts +242 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/MPAServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +645 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListApprovalTeamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
CancelSessionCommandInput,
|
|
4
|
+
CancelSessionCommandOutput,
|
|
5
|
+
} from "./commands/CancelSessionCommand";
|
|
6
|
+
import {
|
|
7
|
+
CreateApprovalTeamCommandInput,
|
|
8
|
+
CreateApprovalTeamCommandOutput,
|
|
9
|
+
} from "./commands/CreateApprovalTeamCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateIdentitySourceCommandInput,
|
|
12
|
+
CreateIdentitySourceCommandOutput,
|
|
13
|
+
} from "./commands/CreateIdentitySourceCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteIdentitySourceCommandInput,
|
|
16
|
+
DeleteIdentitySourceCommandOutput,
|
|
17
|
+
} from "./commands/DeleteIdentitySourceCommand";
|
|
18
|
+
import {
|
|
19
|
+
DeleteInactiveApprovalTeamVersionCommandInput,
|
|
20
|
+
DeleteInactiveApprovalTeamVersionCommandOutput,
|
|
21
|
+
} from "./commands/DeleteInactiveApprovalTeamVersionCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetApprovalTeamCommandInput,
|
|
24
|
+
GetApprovalTeamCommandOutput,
|
|
25
|
+
} from "./commands/GetApprovalTeamCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetIdentitySourceCommandInput,
|
|
28
|
+
GetIdentitySourceCommandOutput,
|
|
29
|
+
} from "./commands/GetIdentitySourceCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetPolicyVersionCommandInput,
|
|
32
|
+
GetPolicyVersionCommandOutput,
|
|
33
|
+
} from "./commands/GetPolicyVersionCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetResourcePolicyCommandInput,
|
|
36
|
+
GetResourcePolicyCommandOutput,
|
|
37
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetSessionCommandInput,
|
|
40
|
+
GetSessionCommandOutput,
|
|
41
|
+
} from "./commands/GetSessionCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListApprovalTeamsCommandInput,
|
|
44
|
+
ListApprovalTeamsCommandOutput,
|
|
45
|
+
} from "./commands/ListApprovalTeamsCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListIdentitySourcesCommandInput,
|
|
48
|
+
ListIdentitySourcesCommandOutput,
|
|
49
|
+
} from "./commands/ListIdentitySourcesCommand";
|
|
50
|
+
import {
|
|
51
|
+
ListPoliciesCommandInput,
|
|
52
|
+
ListPoliciesCommandOutput,
|
|
53
|
+
} from "./commands/ListPoliciesCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListPolicyVersionsCommandInput,
|
|
56
|
+
ListPolicyVersionsCommandOutput,
|
|
57
|
+
} from "./commands/ListPolicyVersionsCommand";
|
|
58
|
+
import {
|
|
59
|
+
ListResourcePoliciesCommandInput,
|
|
60
|
+
ListResourcePoliciesCommandOutput,
|
|
61
|
+
} from "./commands/ListResourcePoliciesCommand";
|
|
62
|
+
import {
|
|
63
|
+
ListSessionsCommandInput,
|
|
64
|
+
ListSessionsCommandOutput,
|
|
65
|
+
} from "./commands/ListSessionsCommand";
|
|
66
|
+
import {
|
|
67
|
+
ListTagsForResourceCommandInput,
|
|
68
|
+
ListTagsForResourceCommandOutput,
|
|
69
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
70
|
+
import {
|
|
71
|
+
StartActiveApprovalTeamDeletionCommandInput,
|
|
72
|
+
StartActiveApprovalTeamDeletionCommandOutput,
|
|
73
|
+
} from "./commands/StartActiveApprovalTeamDeletionCommand";
|
|
74
|
+
import {
|
|
75
|
+
TagResourceCommandInput,
|
|
76
|
+
TagResourceCommandOutput,
|
|
77
|
+
} from "./commands/TagResourceCommand";
|
|
78
|
+
import {
|
|
79
|
+
UntagResourceCommandInput,
|
|
80
|
+
UntagResourceCommandOutput,
|
|
81
|
+
} from "./commands/UntagResourceCommand";
|
|
82
|
+
import {
|
|
83
|
+
UpdateApprovalTeamCommandInput,
|
|
84
|
+
UpdateApprovalTeamCommandOutput,
|
|
85
|
+
} from "./commands/UpdateApprovalTeamCommand";
|
|
86
|
+
import { MPAClient } from "./MPAClient";
|
|
87
|
+
export interface MPA {
|
|
88
|
+
cancelSession(
|
|
89
|
+
args: CancelSessionCommandInput,
|
|
90
|
+
options?: __HttpHandlerOptions
|
|
91
|
+
): Promise<CancelSessionCommandOutput>;
|
|
92
|
+
cancelSession(
|
|
93
|
+
args: CancelSessionCommandInput,
|
|
94
|
+
cb: (err: any, data?: CancelSessionCommandOutput) => void
|
|
95
|
+
): void;
|
|
96
|
+
cancelSession(
|
|
97
|
+
args: CancelSessionCommandInput,
|
|
98
|
+
options: __HttpHandlerOptions,
|
|
99
|
+
cb: (err: any, data?: CancelSessionCommandOutput) => void
|
|
100
|
+
): void;
|
|
101
|
+
createApprovalTeam(
|
|
102
|
+
args: CreateApprovalTeamCommandInput,
|
|
103
|
+
options?: __HttpHandlerOptions
|
|
104
|
+
): Promise<CreateApprovalTeamCommandOutput>;
|
|
105
|
+
createApprovalTeam(
|
|
106
|
+
args: CreateApprovalTeamCommandInput,
|
|
107
|
+
cb: (err: any, data?: CreateApprovalTeamCommandOutput) => void
|
|
108
|
+
): void;
|
|
109
|
+
createApprovalTeam(
|
|
110
|
+
args: CreateApprovalTeamCommandInput,
|
|
111
|
+
options: __HttpHandlerOptions,
|
|
112
|
+
cb: (err: any, data?: CreateApprovalTeamCommandOutput) => void
|
|
113
|
+
): void;
|
|
114
|
+
createIdentitySource(
|
|
115
|
+
args: CreateIdentitySourceCommandInput,
|
|
116
|
+
options?: __HttpHandlerOptions
|
|
117
|
+
): Promise<CreateIdentitySourceCommandOutput>;
|
|
118
|
+
createIdentitySource(
|
|
119
|
+
args: CreateIdentitySourceCommandInput,
|
|
120
|
+
cb: (err: any, data?: CreateIdentitySourceCommandOutput) => void
|
|
121
|
+
): void;
|
|
122
|
+
createIdentitySource(
|
|
123
|
+
args: CreateIdentitySourceCommandInput,
|
|
124
|
+
options: __HttpHandlerOptions,
|
|
125
|
+
cb: (err: any, data?: CreateIdentitySourceCommandOutput) => void
|
|
126
|
+
): void;
|
|
127
|
+
deleteIdentitySource(
|
|
128
|
+
args: DeleteIdentitySourceCommandInput,
|
|
129
|
+
options?: __HttpHandlerOptions
|
|
130
|
+
): Promise<DeleteIdentitySourceCommandOutput>;
|
|
131
|
+
deleteIdentitySource(
|
|
132
|
+
args: DeleteIdentitySourceCommandInput,
|
|
133
|
+
cb: (err: any, data?: DeleteIdentitySourceCommandOutput) => void
|
|
134
|
+
): void;
|
|
135
|
+
deleteIdentitySource(
|
|
136
|
+
args: DeleteIdentitySourceCommandInput,
|
|
137
|
+
options: __HttpHandlerOptions,
|
|
138
|
+
cb: (err: any, data?: DeleteIdentitySourceCommandOutput) => void
|
|
139
|
+
): void;
|
|
140
|
+
deleteInactiveApprovalTeamVersion(
|
|
141
|
+
args: DeleteInactiveApprovalTeamVersionCommandInput,
|
|
142
|
+
options?: __HttpHandlerOptions
|
|
143
|
+
): Promise<DeleteInactiveApprovalTeamVersionCommandOutput>;
|
|
144
|
+
deleteInactiveApprovalTeamVersion(
|
|
145
|
+
args: DeleteInactiveApprovalTeamVersionCommandInput,
|
|
146
|
+
cb: (
|
|
147
|
+
err: any,
|
|
148
|
+
data?: DeleteInactiveApprovalTeamVersionCommandOutput
|
|
149
|
+
) => void
|
|
150
|
+
): void;
|
|
151
|
+
deleteInactiveApprovalTeamVersion(
|
|
152
|
+
args: DeleteInactiveApprovalTeamVersionCommandInput,
|
|
153
|
+
options: __HttpHandlerOptions,
|
|
154
|
+
cb: (
|
|
155
|
+
err: any,
|
|
156
|
+
data?: DeleteInactiveApprovalTeamVersionCommandOutput
|
|
157
|
+
) => void
|
|
158
|
+
): void;
|
|
159
|
+
getApprovalTeam(
|
|
160
|
+
args: GetApprovalTeamCommandInput,
|
|
161
|
+
options?: __HttpHandlerOptions
|
|
162
|
+
): Promise<GetApprovalTeamCommandOutput>;
|
|
163
|
+
getApprovalTeam(
|
|
164
|
+
args: GetApprovalTeamCommandInput,
|
|
165
|
+
cb: (err: any, data?: GetApprovalTeamCommandOutput) => void
|
|
166
|
+
): void;
|
|
167
|
+
getApprovalTeam(
|
|
168
|
+
args: GetApprovalTeamCommandInput,
|
|
169
|
+
options: __HttpHandlerOptions,
|
|
170
|
+
cb: (err: any, data?: GetApprovalTeamCommandOutput) => void
|
|
171
|
+
): void;
|
|
172
|
+
getIdentitySource(
|
|
173
|
+
args: GetIdentitySourceCommandInput,
|
|
174
|
+
options?: __HttpHandlerOptions
|
|
175
|
+
): Promise<GetIdentitySourceCommandOutput>;
|
|
176
|
+
getIdentitySource(
|
|
177
|
+
args: GetIdentitySourceCommandInput,
|
|
178
|
+
cb: (err: any, data?: GetIdentitySourceCommandOutput) => void
|
|
179
|
+
): void;
|
|
180
|
+
getIdentitySource(
|
|
181
|
+
args: GetIdentitySourceCommandInput,
|
|
182
|
+
options: __HttpHandlerOptions,
|
|
183
|
+
cb: (err: any, data?: GetIdentitySourceCommandOutput) => void
|
|
184
|
+
): void;
|
|
185
|
+
getPolicyVersion(
|
|
186
|
+
args: GetPolicyVersionCommandInput,
|
|
187
|
+
options?: __HttpHandlerOptions
|
|
188
|
+
): Promise<GetPolicyVersionCommandOutput>;
|
|
189
|
+
getPolicyVersion(
|
|
190
|
+
args: GetPolicyVersionCommandInput,
|
|
191
|
+
cb: (err: any, data?: GetPolicyVersionCommandOutput) => void
|
|
192
|
+
): void;
|
|
193
|
+
getPolicyVersion(
|
|
194
|
+
args: GetPolicyVersionCommandInput,
|
|
195
|
+
options: __HttpHandlerOptions,
|
|
196
|
+
cb: (err: any, data?: GetPolicyVersionCommandOutput) => void
|
|
197
|
+
): void;
|
|
198
|
+
getResourcePolicy(
|
|
199
|
+
args: GetResourcePolicyCommandInput,
|
|
200
|
+
options?: __HttpHandlerOptions
|
|
201
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
202
|
+
getResourcePolicy(
|
|
203
|
+
args: GetResourcePolicyCommandInput,
|
|
204
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
205
|
+
): void;
|
|
206
|
+
getResourcePolicy(
|
|
207
|
+
args: GetResourcePolicyCommandInput,
|
|
208
|
+
options: __HttpHandlerOptions,
|
|
209
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
210
|
+
): void;
|
|
211
|
+
getSession(
|
|
212
|
+
args: GetSessionCommandInput,
|
|
213
|
+
options?: __HttpHandlerOptions
|
|
214
|
+
): Promise<GetSessionCommandOutput>;
|
|
215
|
+
getSession(
|
|
216
|
+
args: GetSessionCommandInput,
|
|
217
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
218
|
+
): void;
|
|
219
|
+
getSession(
|
|
220
|
+
args: GetSessionCommandInput,
|
|
221
|
+
options: __HttpHandlerOptions,
|
|
222
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
223
|
+
): void;
|
|
224
|
+
listApprovalTeams(): Promise<ListApprovalTeamsCommandOutput>;
|
|
225
|
+
listApprovalTeams(
|
|
226
|
+
args: ListApprovalTeamsCommandInput,
|
|
227
|
+
options?: __HttpHandlerOptions
|
|
228
|
+
): Promise<ListApprovalTeamsCommandOutput>;
|
|
229
|
+
listApprovalTeams(
|
|
230
|
+
args: ListApprovalTeamsCommandInput,
|
|
231
|
+
cb: (err: any, data?: ListApprovalTeamsCommandOutput) => void
|
|
232
|
+
): void;
|
|
233
|
+
listApprovalTeams(
|
|
234
|
+
args: ListApprovalTeamsCommandInput,
|
|
235
|
+
options: __HttpHandlerOptions,
|
|
236
|
+
cb: (err: any, data?: ListApprovalTeamsCommandOutput) => void
|
|
237
|
+
): void;
|
|
238
|
+
listIdentitySources(): Promise<ListIdentitySourcesCommandOutput>;
|
|
239
|
+
listIdentitySources(
|
|
240
|
+
args: ListIdentitySourcesCommandInput,
|
|
241
|
+
options?: __HttpHandlerOptions
|
|
242
|
+
): Promise<ListIdentitySourcesCommandOutput>;
|
|
243
|
+
listIdentitySources(
|
|
244
|
+
args: ListIdentitySourcesCommandInput,
|
|
245
|
+
cb: (err: any, data?: ListIdentitySourcesCommandOutput) => void
|
|
246
|
+
): void;
|
|
247
|
+
listIdentitySources(
|
|
248
|
+
args: ListIdentitySourcesCommandInput,
|
|
249
|
+
options: __HttpHandlerOptions,
|
|
250
|
+
cb: (err: any, data?: ListIdentitySourcesCommandOutput) => void
|
|
251
|
+
): void;
|
|
252
|
+
listPolicies(): Promise<ListPoliciesCommandOutput>;
|
|
253
|
+
listPolicies(
|
|
254
|
+
args: ListPoliciesCommandInput,
|
|
255
|
+
options?: __HttpHandlerOptions
|
|
256
|
+
): Promise<ListPoliciesCommandOutput>;
|
|
257
|
+
listPolicies(
|
|
258
|
+
args: ListPoliciesCommandInput,
|
|
259
|
+
cb: (err: any, data?: ListPoliciesCommandOutput) => void
|
|
260
|
+
): void;
|
|
261
|
+
listPolicies(
|
|
262
|
+
args: ListPoliciesCommandInput,
|
|
263
|
+
options: __HttpHandlerOptions,
|
|
264
|
+
cb: (err: any, data?: ListPoliciesCommandOutput) => void
|
|
265
|
+
): void;
|
|
266
|
+
listPolicyVersions(
|
|
267
|
+
args: ListPolicyVersionsCommandInput,
|
|
268
|
+
options?: __HttpHandlerOptions
|
|
269
|
+
): Promise<ListPolicyVersionsCommandOutput>;
|
|
270
|
+
listPolicyVersions(
|
|
271
|
+
args: ListPolicyVersionsCommandInput,
|
|
272
|
+
cb: (err: any, data?: ListPolicyVersionsCommandOutput) => void
|
|
273
|
+
): void;
|
|
274
|
+
listPolicyVersions(
|
|
275
|
+
args: ListPolicyVersionsCommandInput,
|
|
276
|
+
options: __HttpHandlerOptions,
|
|
277
|
+
cb: (err: any, data?: ListPolicyVersionsCommandOutput) => void
|
|
278
|
+
): void;
|
|
279
|
+
listResourcePolicies(
|
|
280
|
+
args: ListResourcePoliciesCommandInput,
|
|
281
|
+
options?: __HttpHandlerOptions
|
|
282
|
+
): Promise<ListResourcePoliciesCommandOutput>;
|
|
283
|
+
listResourcePolicies(
|
|
284
|
+
args: ListResourcePoliciesCommandInput,
|
|
285
|
+
cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void
|
|
286
|
+
): void;
|
|
287
|
+
listResourcePolicies(
|
|
288
|
+
args: ListResourcePoliciesCommandInput,
|
|
289
|
+
options: __HttpHandlerOptions,
|
|
290
|
+
cb: (err: any, data?: ListResourcePoliciesCommandOutput) => void
|
|
291
|
+
): void;
|
|
292
|
+
listSessions(
|
|
293
|
+
args: ListSessionsCommandInput,
|
|
294
|
+
options?: __HttpHandlerOptions
|
|
295
|
+
): Promise<ListSessionsCommandOutput>;
|
|
296
|
+
listSessions(
|
|
297
|
+
args: ListSessionsCommandInput,
|
|
298
|
+
cb: (err: any, data?: ListSessionsCommandOutput) => void
|
|
299
|
+
): void;
|
|
300
|
+
listSessions(
|
|
301
|
+
args: ListSessionsCommandInput,
|
|
302
|
+
options: __HttpHandlerOptions,
|
|
303
|
+
cb: (err: any, data?: ListSessionsCommandOutput) => void
|
|
304
|
+
): void;
|
|
305
|
+
listTagsForResource(
|
|
306
|
+
args: ListTagsForResourceCommandInput,
|
|
307
|
+
options?: __HttpHandlerOptions
|
|
308
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
309
|
+
listTagsForResource(
|
|
310
|
+
args: ListTagsForResourceCommandInput,
|
|
311
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
312
|
+
): void;
|
|
313
|
+
listTagsForResource(
|
|
314
|
+
args: ListTagsForResourceCommandInput,
|
|
315
|
+
options: __HttpHandlerOptions,
|
|
316
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
317
|
+
): void;
|
|
318
|
+
startActiveApprovalTeamDeletion(
|
|
319
|
+
args: StartActiveApprovalTeamDeletionCommandInput,
|
|
320
|
+
options?: __HttpHandlerOptions
|
|
321
|
+
): Promise<StartActiveApprovalTeamDeletionCommandOutput>;
|
|
322
|
+
startActiveApprovalTeamDeletion(
|
|
323
|
+
args: StartActiveApprovalTeamDeletionCommandInput,
|
|
324
|
+
cb: (err: any, data?: StartActiveApprovalTeamDeletionCommandOutput) => void
|
|
325
|
+
): void;
|
|
326
|
+
startActiveApprovalTeamDeletion(
|
|
327
|
+
args: StartActiveApprovalTeamDeletionCommandInput,
|
|
328
|
+
options: __HttpHandlerOptions,
|
|
329
|
+
cb: (err: any, data?: StartActiveApprovalTeamDeletionCommandOutput) => void
|
|
330
|
+
): void;
|
|
331
|
+
tagResource(
|
|
332
|
+
args: TagResourceCommandInput,
|
|
333
|
+
options?: __HttpHandlerOptions
|
|
334
|
+
): Promise<TagResourceCommandOutput>;
|
|
335
|
+
tagResource(
|
|
336
|
+
args: TagResourceCommandInput,
|
|
337
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
338
|
+
): void;
|
|
339
|
+
tagResource(
|
|
340
|
+
args: TagResourceCommandInput,
|
|
341
|
+
options: __HttpHandlerOptions,
|
|
342
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
343
|
+
): void;
|
|
344
|
+
untagResource(
|
|
345
|
+
args: UntagResourceCommandInput,
|
|
346
|
+
options?: __HttpHandlerOptions
|
|
347
|
+
): Promise<UntagResourceCommandOutput>;
|
|
348
|
+
untagResource(
|
|
349
|
+
args: UntagResourceCommandInput,
|
|
350
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
351
|
+
): void;
|
|
352
|
+
untagResource(
|
|
353
|
+
args: UntagResourceCommandInput,
|
|
354
|
+
options: __HttpHandlerOptions,
|
|
355
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
356
|
+
): void;
|
|
357
|
+
updateApprovalTeam(
|
|
358
|
+
args: UpdateApprovalTeamCommandInput,
|
|
359
|
+
options?: __HttpHandlerOptions
|
|
360
|
+
): Promise<UpdateApprovalTeamCommandOutput>;
|
|
361
|
+
updateApprovalTeam(
|
|
362
|
+
args: UpdateApprovalTeamCommandInput,
|
|
363
|
+
cb: (err: any, data?: UpdateApprovalTeamCommandOutput) => void
|
|
364
|
+
): void;
|
|
365
|
+
updateApprovalTeam(
|
|
366
|
+
args: UpdateApprovalTeamCommandInput,
|
|
367
|
+
options: __HttpHandlerOptions,
|
|
368
|
+
cb: (err: any, data?: UpdateApprovalTeamCommandOutput) => void
|
|
369
|
+
): void;
|
|
370
|
+
}
|
|
371
|
+
export declare class MPA extends MPAClient implements MPA {}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
CancelSessionCommandInput,
|
|
50
|
+
CancelSessionCommandOutput,
|
|
51
|
+
} from "./commands/CancelSessionCommand";
|
|
52
|
+
import {
|
|
53
|
+
CreateApprovalTeamCommandInput,
|
|
54
|
+
CreateApprovalTeamCommandOutput,
|
|
55
|
+
} from "./commands/CreateApprovalTeamCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreateIdentitySourceCommandInput,
|
|
58
|
+
CreateIdentitySourceCommandOutput,
|
|
59
|
+
} from "./commands/CreateIdentitySourceCommand";
|
|
60
|
+
import {
|
|
61
|
+
DeleteIdentitySourceCommandInput,
|
|
62
|
+
DeleteIdentitySourceCommandOutput,
|
|
63
|
+
} from "./commands/DeleteIdentitySourceCommand";
|
|
64
|
+
import {
|
|
65
|
+
DeleteInactiveApprovalTeamVersionCommandInput,
|
|
66
|
+
DeleteInactiveApprovalTeamVersionCommandOutput,
|
|
67
|
+
} from "./commands/DeleteInactiveApprovalTeamVersionCommand";
|
|
68
|
+
import {
|
|
69
|
+
GetApprovalTeamCommandInput,
|
|
70
|
+
GetApprovalTeamCommandOutput,
|
|
71
|
+
} from "./commands/GetApprovalTeamCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetIdentitySourceCommandInput,
|
|
74
|
+
GetIdentitySourceCommandOutput,
|
|
75
|
+
} from "./commands/GetIdentitySourceCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetPolicyVersionCommandInput,
|
|
78
|
+
GetPolicyVersionCommandOutput,
|
|
79
|
+
} from "./commands/GetPolicyVersionCommand";
|
|
80
|
+
import {
|
|
81
|
+
GetResourcePolicyCommandInput,
|
|
82
|
+
GetResourcePolicyCommandOutput,
|
|
83
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
84
|
+
import {
|
|
85
|
+
GetSessionCommandInput,
|
|
86
|
+
GetSessionCommandOutput,
|
|
87
|
+
} from "./commands/GetSessionCommand";
|
|
88
|
+
import {
|
|
89
|
+
ListApprovalTeamsCommandInput,
|
|
90
|
+
ListApprovalTeamsCommandOutput,
|
|
91
|
+
} from "./commands/ListApprovalTeamsCommand";
|
|
92
|
+
import {
|
|
93
|
+
ListIdentitySourcesCommandInput,
|
|
94
|
+
ListIdentitySourcesCommandOutput,
|
|
95
|
+
} from "./commands/ListIdentitySourcesCommand";
|
|
96
|
+
import {
|
|
97
|
+
ListPoliciesCommandInput,
|
|
98
|
+
ListPoliciesCommandOutput,
|
|
99
|
+
} from "./commands/ListPoliciesCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListPolicyVersionsCommandInput,
|
|
102
|
+
ListPolicyVersionsCommandOutput,
|
|
103
|
+
} from "./commands/ListPolicyVersionsCommand";
|
|
104
|
+
import {
|
|
105
|
+
ListResourcePoliciesCommandInput,
|
|
106
|
+
ListResourcePoliciesCommandOutput,
|
|
107
|
+
} from "./commands/ListResourcePoliciesCommand";
|
|
108
|
+
import {
|
|
109
|
+
ListSessionsCommandInput,
|
|
110
|
+
ListSessionsCommandOutput,
|
|
111
|
+
} from "./commands/ListSessionsCommand";
|
|
112
|
+
import {
|
|
113
|
+
ListTagsForResourceCommandInput,
|
|
114
|
+
ListTagsForResourceCommandOutput,
|
|
115
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
116
|
+
import {
|
|
117
|
+
StartActiveApprovalTeamDeletionCommandInput,
|
|
118
|
+
StartActiveApprovalTeamDeletionCommandOutput,
|
|
119
|
+
} from "./commands/StartActiveApprovalTeamDeletionCommand";
|
|
120
|
+
import {
|
|
121
|
+
TagResourceCommandInput,
|
|
122
|
+
TagResourceCommandOutput,
|
|
123
|
+
} from "./commands/TagResourceCommand";
|
|
124
|
+
import {
|
|
125
|
+
UntagResourceCommandInput,
|
|
126
|
+
UntagResourceCommandOutput,
|
|
127
|
+
} from "./commands/UntagResourceCommand";
|
|
128
|
+
import {
|
|
129
|
+
UpdateApprovalTeamCommandInput,
|
|
130
|
+
UpdateApprovalTeamCommandOutput,
|
|
131
|
+
} from "./commands/UpdateApprovalTeamCommand";
|
|
132
|
+
import {
|
|
133
|
+
ClientInputEndpointParameters,
|
|
134
|
+
ClientResolvedEndpointParameters,
|
|
135
|
+
EndpointParameters,
|
|
136
|
+
} from "./endpoint/EndpointParameters";
|
|
137
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
138
|
+
export { __Client };
|
|
139
|
+
export type ServiceInputTypes =
|
|
140
|
+
| CancelSessionCommandInput
|
|
141
|
+
| CreateApprovalTeamCommandInput
|
|
142
|
+
| CreateIdentitySourceCommandInput
|
|
143
|
+
| DeleteIdentitySourceCommandInput
|
|
144
|
+
| DeleteInactiveApprovalTeamVersionCommandInput
|
|
145
|
+
| GetApprovalTeamCommandInput
|
|
146
|
+
| GetIdentitySourceCommandInput
|
|
147
|
+
| GetPolicyVersionCommandInput
|
|
148
|
+
| GetResourcePolicyCommandInput
|
|
149
|
+
| GetSessionCommandInput
|
|
150
|
+
| ListApprovalTeamsCommandInput
|
|
151
|
+
| ListIdentitySourcesCommandInput
|
|
152
|
+
| ListPoliciesCommandInput
|
|
153
|
+
| ListPolicyVersionsCommandInput
|
|
154
|
+
| ListResourcePoliciesCommandInput
|
|
155
|
+
| ListSessionsCommandInput
|
|
156
|
+
| ListTagsForResourceCommandInput
|
|
157
|
+
| StartActiveApprovalTeamDeletionCommandInput
|
|
158
|
+
| TagResourceCommandInput
|
|
159
|
+
| UntagResourceCommandInput
|
|
160
|
+
| UpdateApprovalTeamCommandInput;
|
|
161
|
+
export type ServiceOutputTypes =
|
|
162
|
+
| CancelSessionCommandOutput
|
|
163
|
+
| CreateApprovalTeamCommandOutput
|
|
164
|
+
| CreateIdentitySourceCommandOutput
|
|
165
|
+
| DeleteIdentitySourceCommandOutput
|
|
166
|
+
| DeleteInactiveApprovalTeamVersionCommandOutput
|
|
167
|
+
| GetApprovalTeamCommandOutput
|
|
168
|
+
| GetIdentitySourceCommandOutput
|
|
169
|
+
| GetPolicyVersionCommandOutput
|
|
170
|
+
| GetResourcePolicyCommandOutput
|
|
171
|
+
| GetSessionCommandOutput
|
|
172
|
+
| ListApprovalTeamsCommandOutput
|
|
173
|
+
| ListIdentitySourcesCommandOutput
|
|
174
|
+
| ListPoliciesCommandOutput
|
|
175
|
+
| ListPolicyVersionsCommandOutput
|
|
176
|
+
| ListResourcePoliciesCommandOutput
|
|
177
|
+
| ListSessionsCommandOutput
|
|
178
|
+
| ListTagsForResourceCommandOutput
|
|
179
|
+
| StartActiveApprovalTeamDeletionCommandOutput
|
|
180
|
+
| TagResourceCommandOutput
|
|
181
|
+
| UntagResourceCommandOutput
|
|
182
|
+
| UpdateApprovalTeamCommandOutput;
|
|
183
|
+
export interface ClientDefaults
|
|
184
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
185
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
186
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
187
|
+
urlParser?: __UrlParser;
|
|
188
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
189
|
+
streamCollector?: __StreamCollector;
|
|
190
|
+
base64Decoder?: __Decoder;
|
|
191
|
+
base64Encoder?: __Encoder;
|
|
192
|
+
utf8Decoder?: __Decoder;
|
|
193
|
+
utf8Encoder?: __Encoder;
|
|
194
|
+
runtime?: string;
|
|
195
|
+
disableHostPrefix?: boolean;
|
|
196
|
+
serviceId?: string;
|
|
197
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
198
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
199
|
+
region?: string | __Provider<string>;
|
|
200
|
+
profile?: string;
|
|
201
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
202
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
203
|
+
maxAttempts?: number | __Provider<number>;
|
|
204
|
+
retryMode?: string | __Provider<string>;
|
|
205
|
+
logger?: __Logger;
|
|
206
|
+
extensions?: RuntimeExtension[];
|
|
207
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
208
|
+
}
|
|
209
|
+
export type MPAClientConfigType = Partial<
|
|
210
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
211
|
+
> &
|
|
212
|
+
ClientDefaults &
|
|
213
|
+
UserAgentInputConfig &
|
|
214
|
+
RetryInputConfig &
|
|
215
|
+
RegionInputConfig &
|
|
216
|
+
HostHeaderInputConfig &
|
|
217
|
+
EndpointInputConfig<EndpointParameters> &
|
|
218
|
+
HttpAuthSchemeInputConfig &
|
|
219
|
+
ClientInputEndpointParameters;
|
|
220
|
+
export interface MPAClientConfig extends MPAClientConfigType {}
|
|
221
|
+
export type MPAClientResolvedConfigType =
|
|
222
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
223
|
+
Required<ClientDefaults> &
|
|
224
|
+
RuntimeExtensionsConfig &
|
|
225
|
+
UserAgentResolvedConfig &
|
|
226
|
+
RetryResolvedConfig &
|
|
227
|
+
RegionResolvedConfig &
|
|
228
|
+
HostHeaderResolvedConfig &
|
|
229
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
230
|
+
HttpAuthSchemeResolvedConfig &
|
|
231
|
+
ClientResolvedEndpointParameters;
|
|
232
|
+
export interface MPAClientResolvedConfig extends MPAClientResolvedConfigType {}
|
|
233
|
+
export declare class MPAClient extends __Client<
|
|
234
|
+
__HttpHandlerOptions,
|
|
235
|
+
ServiceInputTypes,
|
|
236
|
+
ServiceOutputTypes,
|
|
237
|
+
MPAClientResolvedConfig
|
|
238
|
+
> {
|
|
239
|
+
readonly config: MPAClientResolvedConfig;
|
|
240
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<MPAClientConfig>);
|
|
241
|
+
destroy(): void;
|
|
242
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { MPAHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: MPAHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): MPAHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: MPAHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { MPAClientResolvedConfig } from "../MPAClient";
|
|
15
|
+
export interface MPAHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface MPAHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
MPAClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
MPAHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultMPAHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: MPAClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<MPAHttpAuthSchemeParameters>;
|
|
30
|
+
export interface MPAHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<MPAHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultMPAHttpAuthSchemeProvider: MPAHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
35
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
36
|
+
httpAuthSchemeProvider?: MPAHttpAuthSchemeProvider;
|
|
37
|
+
}
|
|
38
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
39
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
40
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
41
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
42
|
+
readonly httpAuthSchemeProvider: MPAHttpAuthSchemeProvider;
|
|
43
|
+
}
|
|
44
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
45
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
46
|
+
) => T & HttpAuthSchemeResolvedConfig;
|