@aws-sdk/client-appfabric 3.927.0 → 3.929.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/dist-cjs/index.js +1127 -1145
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AppFabricClient.js +2 -0
- package/dist-es/commands/BatchGetUserAccessTasksCommand.js +3 -10
- package/dist-es/commands/ConnectAppAuthorizationCommand.js +3 -10
- package/dist-es/commands/CreateAppAuthorizationCommand.js +3 -10
- package/dist-es/commands/CreateAppBundleCommand.js +3 -9
- package/dist-es/commands/CreateIngestionCommand.js +3 -9
- package/dist-es/commands/CreateIngestionDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteAppAuthorizationCommand.js +3 -9
- package/dist-es/commands/DeleteAppBundleCommand.js +3 -9
- package/dist-es/commands/DeleteIngestionCommand.js +3 -9
- package/dist-es/commands/DeleteIngestionDestinationCommand.js +3 -9
- package/dist-es/commands/GetAppAuthorizationCommand.js +3 -9
- package/dist-es/commands/GetAppBundleCommand.js +3 -9
- package/dist-es/commands/GetIngestionCommand.js +3 -9
- package/dist-es/commands/GetIngestionDestinationCommand.js +3 -9
- package/dist-es/commands/ListAppAuthorizationsCommand.js +3 -9
- package/dist-es/commands/ListAppBundlesCommand.js +3 -9
- package/dist-es/commands/ListIngestionDestinationsCommand.js +3 -9
- package/dist-es/commands/ListIngestionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartIngestionCommand.js +3 -9
- package/dist-es/commands/StartUserAccessTasksCommand.js +3 -10
- package/dist-es/commands/StopIngestionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAppAuthorizationCommand.js +3 -10
- package/dist-es/commands/UpdateIngestionDestinationCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -51
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1059 -0
- package/dist-types/AppFabricClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -40
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +125 -0
- package/dist-types/ts3.4/AppFabricClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +131 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -887
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -236
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -317
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FabricFrontEndService", "TagResource", {})
|
|
17
13
|
.n("AppFabricClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FabricFrontEndService", "UntagResource", {})
|
|
17
13
|
.n("AppFabricClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateAppAuthorizationCommand, se_UpdateAppAuthorizationCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateAppAuthorization } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateAppAuthorizationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("FabricFrontEndService", "UpdateAppAuthorization", {})
|
|
18
13
|
.n("AppFabricClient", "UpdateAppAuthorizationCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateAppAuthorizationCommand)
|
|
21
|
-
.de(de_UpdateAppAuthorizationCommand)
|
|
14
|
+
.sc(UpdateAppAuthorization)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIngestionDestination } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIngestionDestinationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FabricFrontEndService", "UpdateIngestionDestination", {})
|
|
17
13
|
.n("AppFabricClient", "UpdateIngestionDestinationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIngestionDestinationCommand)
|
|
20
|
-
.de(de_UpdateIngestionDestinationCommand)
|
|
14
|
+
.sc(UpdateIngestionDestination)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -197,53 +196,3 @@ export const IngestionDestinationStatus = {
|
|
|
197
196
|
ACTIVE: "Active",
|
|
198
197
|
FAILED: "Failed",
|
|
199
198
|
};
|
|
200
|
-
export const ApiKeyCredentialFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
...(obj.apiKey && { apiKey: SENSITIVE_STRING }),
|
|
203
|
-
});
|
|
204
|
-
export const AuthRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
...(obj.code && { code: SENSITIVE_STRING }),
|
|
207
|
-
});
|
|
208
|
-
export const UserAccessResultItemFilterSensitiveLog = (obj) => ({
|
|
209
|
-
...obj,
|
|
210
|
-
...(obj.email && { email: SENSITIVE_STRING }),
|
|
211
|
-
...(obj.userId && { userId: SENSITIVE_STRING }),
|
|
212
|
-
...(obj.userFullName && { userFullName: SENSITIVE_STRING }),
|
|
213
|
-
...(obj.userFirstName && { userFirstName: SENSITIVE_STRING }),
|
|
214
|
-
...(obj.userLastName && { userLastName: SENSITIVE_STRING }),
|
|
215
|
-
});
|
|
216
|
-
export const BatchGetUserAccessTasksResponseFilterSensitiveLog = (obj) => ({
|
|
217
|
-
...obj,
|
|
218
|
-
...(obj.userAccessResultsList && {
|
|
219
|
-
userAccessResultsList: obj.userAccessResultsList.map((item) => UserAccessResultItemFilterSensitiveLog(item)),
|
|
220
|
-
}),
|
|
221
|
-
});
|
|
222
|
-
export const ConnectAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
...(obj.authRequest && { authRequest: AuthRequestFilterSensitiveLog(obj.authRequest) }),
|
|
225
|
-
});
|
|
226
|
-
export const Oauth2CredentialFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
|
|
229
|
-
});
|
|
230
|
-
export const CredentialFilterSensitiveLog = (obj) => {
|
|
231
|
-
if (obj.oauth2Credential !== undefined)
|
|
232
|
-
return { oauth2Credential: Oauth2CredentialFilterSensitiveLog(obj.oauth2Credential) };
|
|
233
|
-
if (obj.apiKeyCredential !== undefined)
|
|
234
|
-
return { apiKeyCredential: ApiKeyCredentialFilterSensitiveLog(obj.apiKeyCredential) };
|
|
235
|
-
if (obj.$unknown !== undefined)
|
|
236
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
237
|
-
};
|
|
238
|
-
export const CreateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
239
|
-
...obj,
|
|
240
|
-
...(obj.credential && { credential: CredentialFilterSensitiveLog(obj.credential) }),
|
|
241
|
-
});
|
|
242
|
-
export const StartUserAccessTasksRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
...(obj.email && { email: SENSITIVE_STRING }),
|
|
245
|
-
});
|
|
246
|
-
export const UpdateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
...(obj.credential && { credential: CredentialFilterSensitiveLog(obj.credential) }),
|
|
249
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.appfabric" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "AppFabric",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|