@aws-sdk/client-amplifybackend 3.477.0 → 3.481.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/commands/CloneBackendCommand.js +18 -41
- package/dist-cjs/commands/CreateBackendAPICommand.js +18 -41
- package/dist-cjs/commands/CreateBackendAuthCommand.js +18 -41
- package/dist-cjs/commands/CreateBackendCommand.js +18 -41
- package/dist-cjs/commands/CreateBackendConfigCommand.js +18 -41
- package/dist-cjs/commands/CreateBackendStorageCommand.js +18 -41
- package/dist-cjs/commands/CreateTokenCommand.js +18 -41
- package/dist-cjs/commands/DeleteBackendAPICommand.js +18 -41
- package/dist-cjs/commands/DeleteBackendAuthCommand.js +18 -41
- package/dist-cjs/commands/DeleteBackendCommand.js +18 -41
- package/dist-cjs/commands/DeleteBackendStorageCommand.js +18 -41
- package/dist-cjs/commands/DeleteTokenCommand.js +18 -41
- package/dist-cjs/commands/GenerateBackendAPIModelsCommand.js +18 -41
- package/dist-cjs/commands/GetBackendAPICommand.js +18 -41
- package/dist-cjs/commands/GetBackendAPIModelsCommand.js +18 -41
- package/dist-cjs/commands/GetBackendAuthCommand.js +18 -41
- package/dist-cjs/commands/GetBackendCommand.js +18 -41
- package/dist-cjs/commands/GetBackendJobCommand.js +18 -41
- package/dist-cjs/commands/GetBackendStorageCommand.js +18 -41
- package/dist-cjs/commands/GetTokenCommand.js +18 -41
- package/dist-cjs/commands/ImportBackendAuthCommand.js +18 -41
- package/dist-cjs/commands/ImportBackendStorageCommand.js +18 -41
- package/dist-cjs/commands/ListBackendJobsCommand.js +18 -41
- package/dist-cjs/commands/ListS3BucketsCommand.js +18 -41
- package/dist-cjs/commands/RemoveAllBackendsCommand.js +18 -41
- package/dist-cjs/commands/RemoveBackendConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateBackendAPICommand.js +18 -41
- package/dist-cjs/commands/UpdateBackendAuthCommand.js +18 -41
- package/dist-cjs/commands/UpdateBackendConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateBackendJobCommand.js +18 -41
- package/dist-cjs/commands/UpdateBackendStorageCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CloneBackendCommand.js +18 -41
- package/dist-es/commands/CreateBackendAPICommand.js +18 -41
- package/dist-es/commands/CreateBackendAuthCommand.js +18 -41
- package/dist-es/commands/CreateBackendCommand.js +18 -41
- package/dist-es/commands/CreateBackendConfigCommand.js +18 -41
- package/dist-es/commands/CreateBackendStorageCommand.js +18 -41
- package/dist-es/commands/CreateTokenCommand.js +18 -41
- package/dist-es/commands/DeleteBackendAPICommand.js +18 -41
- package/dist-es/commands/DeleteBackendAuthCommand.js +18 -41
- package/dist-es/commands/DeleteBackendCommand.js +18 -41
- package/dist-es/commands/DeleteBackendStorageCommand.js +18 -41
- package/dist-es/commands/DeleteTokenCommand.js +18 -41
- package/dist-es/commands/GenerateBackendAPIModelsCommand.js +18 -41
- package/dist-es/commands/GetBackendAPICommand.js +18 -41
- package/dist-es/commands/GetBackendAPIModelsCommand.js +18 -41
- package/dist-es/commands/GetBackendAuthCommand.js +18 -41
- package/dist-es/commands/GetBackendCommand.js +18 -41
- package/dist-es/commands/GetBackendJobCommand.js +18 -41
- package/dist-es/commands/GetBackendStorageCommand.js +18 -41
- package/dist-es/commands/GetTokenCommand.js +18 -41
- package/dist-es/commands/ImportBackendAuthCommand.js +18 -41
- package/dist-es/commands/ImportBackendStorageCommand.js +18 -41
- package/dist-es/commands/ListBackendJobsCommand.js +18 -41
- package/dist-es/commands/ListS3BucketsCommand.js +18 -41
- package/dist-es/commands/RemoveAllBackendsCommand.js +18 -41
- package/dist-es/commands/RemoveBackendConfigCommand.js +18 -41
- package/dist-es/commands/UpdateBackendAPICommand.js +18 -41
- package/dist-es/commands/UpdateBackendAuthCommand.js +18 -41
- package/dist-es/commands/UpdateBackendConfigCommand.js +18 -41
- package/dist-es/commands/UpdateBackendJobCommand.js +18 -41
- package/dist-es/commands/UpdateBackendStorageCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CloneBackendCommand.d.ts +6 -21
- package/dist-types/commands/CreateBackendAPICommand.d.ts +6 -21
- package/dist-types/commands/CreateBackendAuthCommand.d.ts +6 -21
- package/dist-types/commands/CreateBackendCommand.d.ts +6 -21
- package/dist-types/commands/CreateBackendConfigCommand.d.ts +6 -21
- package/dist-types/commands/CreateBackendStorageCommand.d.ts +6 -21
- package/dist-types/commands/CreateTokenCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBackendAPICommand.d.ts +6 -21
- package/dist-types/commands/DeleteBackendAuthCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBackendCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBackendStorageCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTokenCommand.d.ts +6 -21
- package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +6 -21
- package/dist-types/commands/GetBackendAPICommand.d.ts +6 -21
- package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +6 -21
- package/dist-types/commands/GetBackendAuthCommand.d.ts +6 -21
- package/dist-types/commands/GetBackendCommand.d.ts +6 -21
- package/dist-types/commands/GetBackendJobCommand.d.ts +6 -21
- package/dist-types/commands/GetBackendStorageCommand.d.ts +6 -21
- package/dist-types/commands/GetTokenCommand.d.ts +6 -21
- package/dist-types/commands/ImportBackendAuthCommand.d.ts +6 -21
- package/dist-types/commands/ImportBackendStorageCommand.d.ts +6 -21
- package/dist-types/commands/ListBackendJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListS3BucketsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveAllBackendsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveBackendConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBackendAPICommand.d.ts +6 -21
- package/dist-types/commands/UpdateBackendAuthCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBackendConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBackendJobCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBackendStorageCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListS3BucketsCommand, se_ListS3BucketsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListS3BucketsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "ListS3BucketsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "ListS3Buckets",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListS3BucketsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListS3BucketsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListS3BucketsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "ListS3Buckets", {})
|
|
19
|
+
.n("AmplifyBackendClient", "ListS3BucketsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListS3BucketsCommand)
|
|
22
|
+
.de(de_ListS3BucketsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RemoveAllBackendsCommand, se_RemoveAllBackendsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RemoveAllBackendsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "RemoveAllBackendsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "RemoveAllBackends",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RemoveAllBackendsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RemoveAllBackendsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RemoveAllBackendsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "RemoveAllBackends", {})
|
|
19
|
+
.n("AmplifyBackendClient", "RemoveAllBackendsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RemoveAllBackendsCommand)
|
|
22
|
+
.de(de_RemoveAllBackendsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RemoveBackendConfigCommand, se_RemoveBackendConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RemoveBackendConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "RemoveBackendConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "RemoveBackendConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RemoveBackendConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RemoveBackendConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RemoveBackendConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "RemoveBackendConfig", {})
|
|
19
|
+
.n("AmplifyBackendClient", "RemoveBackendConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RemoveBackendConfigCommand)
|
|
22
|
+
.de(de_RemoveBackendConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateBackendAPICommand, se_UpdateBackendAPICommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBackendAPICommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "UpdateBackendAPICommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "UpdateBackendAPI",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateBackendAPICommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBackendAPICommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBackendAPICommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "UpdateBackendAPI", {})
|
|
19
|
+
.n("AmplifyBackendClient", "UpdateBackendAPICommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBackendAPICommand)
|
|
22
|
+
.de(de_UpdateBackendAPICommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateBackendAuthRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateBackendAuthCommand, se_UpdateBackendAuthCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateBackendAuthCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "AmplifyBackendClient";
|
|
27
|
-
const commandName = "UpdateBackendAuthCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateBackendAuthRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmplifyBackend",
|
|
36
|
-
operation: "UpdateBackendAuth",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateBackendAuthCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateBackendAuthCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateBackendAuthCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmplifyBackend", "UpdateBackendAuth", {})
|
|
20
|
+
.n("AmplifyBackendClient", "UpdateBackendAuthCommand")
|
|
21
|
+
.f(UpdateBackendAuthRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateBackendAuthCommand)
|
|
23
|
+
.de(de_UpdateBackendAuthCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateBackendConfigCommand, se_UpdateBackendConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBackendConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "UpdateBackendConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "UpdateBackendConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateBackendConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBackendConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBackendConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "UpdateBackendConfig", {})
|
|
19
|
+
.n("AmplifyBackendClient", "UpdateBackendConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBackendConfigCommand)
|
|
22
|
+
.de(de_UpdateBackendConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateBackendJobCommand, se_UpdateBackendJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBackendJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "UpdateBackendJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "UpdateBackendJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateBackendJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBackendJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBackendJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "UpdateBackendJob", {})
|
|
19
|
+
.n("AmplifyBackendClient", "UpdateBackendJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBackendJobCommand)
|
|
22
|
+
.de(de_UpdateBackendJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateBackendStorageCommand, se_UpdateBackendStorageCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateBackendStorageCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "AmplifyBackendClient";
|
|
26
|
-
const commandName = "UpdateBackendStorageCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmplifyBackend",
|
|
35
|
-
operation: "UpdateBackendStorage",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateBackendStorageCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateBackendStorageCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateBackendStorageCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmplifyBackend", "UpdateBackendStorage", {})
|
|
19
|
+
.n("AmplifyBackendClient", "UpdateBackendStorageCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateBackendStorageCommand)
|
|
22
|
+
.de(de_UpdateBackendStorageCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "amplifybackend",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
5
4
|
import { CloneBackendRequest, CloneBackendResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CloneBackendCommandInput extends CloneBackendRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CloneBackendCommandOutput extends CloneBackendResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CloneBackendCommand_base: {
|
|
24
|
+
new (input: CloneBackendCommandInput): import("@smithy/smithy-client").CommandImpl<CloneBackendCommandInput, CloneBackendCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>This operation clones an existing backend.</p>
|
|
@@ -70,23 +73,5 @@ export interface CloneBackendCommandOutput extends CloneBackendResponse, __Metad
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from AmplifyBackend service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class CloneBackendCommand extends
|
|
74
|
-
readonly input: CloneBackendCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: CloneBackendCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CloneBackendCommandInput, CloneBackendCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class CloneBackendCommand extends CloneBackendCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
5
4
|
import { CreateBackendAPIRequest, CreateBackendAPIResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateBackendAPICommandInput extends CreateBackendAPIRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateBackendAPICommandOutput extends CreateBackendAPIResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateBackendAPICommand_base: {
|
|
24
|
+
new (input: CreateBackendAPICommandInput): import("@smithy/smithy-client").CommandImpl<CreateBackendAPICommandInput, CreateBackendAPICommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new backend API resource.</p>
|
|
@@ -106,23 +109,5 @@ export interface CreateBackendAPICommandOutput extends CreateBackendAPIResponse,
|
|
|
106
109
|
* <p>Base exception class for all service exceptions from AmplifyBackend service.</p>
|
|
107
110
|
*
|
|
108
111
|
*/
|
|
109
|
-
export declare class CreateBackendAPICommand extends
|
|
110
|
-
readonly input: CreateBackendAPICommandInput;
|
|
111
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
constructor(input: CreateBackendAPICommandInput);
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBackendAPICommandInput, CreateBackendAPICommandOutput>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private serialize;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private deserialize;
|
|
112
|
+
export declare class CreateBackendAPICommand extends CreateBackendAPICommand_base {
|
|
128
113
|
}
|