@aws-sdk/client-amplifybackend 3.1076.0 → 3.1078.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 +42 -315
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CloneBackendCommand.js +2 -14
- package/dist-es/commands/CreateBackendAPICommand.js +2 -14
- package/dist-es/commands/CreateBackendAuthCommand.js +2 -14
- package/dist-es/commands/CreateBackendCommand.js +2 -14
- package/dist-es/commands/CreateBackendConfigCommand.js +2 -14
- package/dist-es/commands/CreateBackendStorageCommand.js +2 -14
- package/dist-es/commands/CreateTokenCommand.js +2 -14
- package/dist-es/commands/DeleteBackendAPICommand.js +2 -14
- package/dist-es/commands/DeleteBackendAuthCommand.js +2 -14
- package/dist-es/commands/DeleteBackendCommand.js +2 -14
- package/dist-es/commands/DeleteBackendStorageCommand.js +2 -14
- package/dist-es/commands/DeleteTokenCommand.js +2 -14
- package/dist-es/commands/GenerateBackendAPIModelsCommand.js +2 -14
- package/dist-es/commands/GetBackendAPICommand.js +2 -14
- package/dist-es/commands/GetBackendAPIModelsCommand.js +2 -14
- package/dist-es/commands/GetBackendAuthCommand.js +2 -14
- package/dist-es/commands/GetBackendCommand.js +2 -14
- package/dist-es/commands/GetBackendJobCommand.js +2 -14
- package/dist-es/commands/GetBackendStorageCommand.js +2 -14
- package/dist-es/commands/GetTokenCommand.js +2 -14
- package/dist-es/commands/ImportBackendAuthCommand.js +2 -14
- package/dist-es/commands/ImportBackendStorageCommand.js +2 -14
- package/dist-es/commands/ListBackendJobsCommand.js +2 -14
- package/dist-es/commands/ListS3BucketsCommand.js +2 -14
- package/dist-es/commands/RemoveAllBackendsCommand.js +2 -14
- package/dist-es/commands/RemoveBackendConfigCommand.js +2 -14
- package/dist-es/commands/UpdateBackendAPICommand.js +2 -14
- package/dist-es/commands/UpdateBackendAuthCommand.js +2 -14
- package/dist-es/commands/UpdateBackendConfigCommand.js +2 -14
- package/dist-es/commands/UpdateBackendJobCommand.js +2 -14
- package/dist-es/commands/UpdateBackendStorageCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CloneBackendCommand.d.ts +3 -8
- package/dist-types/commands/CreateBackendAPICommand.d.ts +3 -8
- package/dist-types/commands/CreateBackendAuthCommand.d.ts +3 -8
- package/dist-types/commands/CreateBackendCommand.d.ts +3 -8
- package/dist-types/commands/CreateBackendConfigCommand.d.ts +3 -8
- package/dist-types/commands/CreateBackendStorageCommand.d.ts +3 -8
- package/dist-types/commands/CreateTokenCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBackendAPICommand.d.ts +3 -8
- package/dist-types/commands/DeleteBackendAuthCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBackendCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBackendStorageCommand.d.ts +3 -8
- package/dist-types/commands/DeleteTokenCommand.d.ts +3 -8
- package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +3 -8
- package/dist-types/commands/GetBackendAPICommand.d.ts +3 -8
- package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +3 -8
- package/dist-types/commands/GetBackendAuthCommand.d.ts +3 -8
- package/dist-types/commands/GetBackendCommand.d.ts +3 -8
- package/dist-types/commands/GetBackendJobCommand.d.ts +3 -8
- package/dist-types/commands/GetBackendStorageCommand.d.ts +3 -8
- package/dist-types/commands/GetTokenCommand.d.ts +3 -8
- package/dist-types/commands/ImportBackendAuthCommand.d.ts +3 -8
- package/dist-types/commands/ImportBackendStorageCommand.d.ts +3 -8
- package/dist-types/commands/ListBackendJobsCommand.d.ts +3 -8
- package/dist-types/commands/ListS3BucketsCommand.d.ts +3 -8
- package/dist-types/commands/RemoveAllBackendsCommand.d.ts +3 -8
- package/dist-types/commands/RemoveBackendConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdateBackendAPICommand.d.ts +3 -8
- package/dist-types/commands/UpdateBackendAuthCommand.d.ts +3 -8
- package/dist-types/commands/UpdateBackendConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdateBackendJobCommand.d.ts +3 -8
- package/dist-types/commands/UpdateBackendStorageCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteBackendStorage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteBackendStorageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "DeleteBackendStorage", {})
|
|
13
|
-
.n("AmplifyBackendClient", "DeleteBackendStorageCommand")
|
|
14
|
-
.sc(DeleteBackendStorage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteBackendStorageCommand extends command(_ep0, _mw0, "DeleteBackendStorage", DeleteBackendStorage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "DeleteToken", {})
|
|
13
|
-
.n("AmplifyBackendClient", "DeleteTokenCommand")
|
|
14
|
-
.sc(DeleteToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteTokenCommand extends command(_ep0, _mw0, "DeleteToken", DeleteToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GenerateBackendAPIModels$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GenerateBackendAPIModelsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GenerateBackendAPIModels", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GenerateBackendAPIModelsCommand")
|
|
14
|
-
.sc(GenerateBackendAPIModels$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GenerateBackendAPIModelsCommand extends command(_ep0, _mw0, "GenerateBackendAPIModels", GenerateBackendAPIModels$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackendAPI$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendAPICommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackendAPI", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendAPICommand")
|
|
14
|
-
.sc(GetBackendAPI$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendAPICommand extends command(_ep0, _mw0, "GetBackendAPI", GetBackendAPI$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackendAPIModels$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendAPIModelsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackendAPIModels", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendAPIModelsCommand")
|
|
14
|
-
.sc(GetBackendAPIModels$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendAPIModelsCommand extends command(_ep0, _mw0, "GetBackendAPIModels", GetBackendAPIModels$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackendAuth$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendAuthCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackendAuth", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendAuthCommand")
|
|
14
|
-
.sc(GetBackendAuth$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendAuthCommand extends command(_ep0, _mw0, "GetBackendAuth", GetBackendAuth$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackend$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackend", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendCommand")
|
|
14
|
-
.sc(GetBackend$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendCommand extends command(_ep0, _mw0, "GetBackend", GetBackend$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackendJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackendJob", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendJobCommand")
|
|
14
|
-
.sc(GetBackendJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendJobCommand extends command(_ep0, _mw0, "GetBackendJob", GetBackendJob$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetBackendStorage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetBackendStorageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetBackendStorage", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetBackendStorageCommand")
|
|
14
|
-
.sc(GetBackendStorage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetBackendStorageCommand extends command(_ep0, _mw0, "GetBackendStorage", GetBackendStorage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetToken$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetTokenCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "GetToken", {})
|
|
13
|
-
.n("AmplifyBackendClient", "GetTokenCommand")
|
|
14
|
-
.sc(GetToken$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetTokenCommand extends command(_ep0, _mw0, "GetToken", GetToken$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ImportBackendAuth$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportBackendAuthCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "ImportBackendAuth", {})
|
|
13
|
-
.n("AmplifyBackendClient", "ImportBackendAuthCommand")
|
|
14
|
-
.sc(ImportBackendAuth$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportBackendAuthCommand extends command(_ep0, _mw0, "ImportBackendAuth", ImportBackendAuth$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ImportBackendStorage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportBackendStorageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "ImportBackendStorage", {})
|
|
13
|
-
.n("AmplifyBackendClient", "ImportBackendStorageCommand")
|
|
14
|
-
.sc(ImportBackendStorage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportBackendStorageCommand extends command(_ep0, _mw0, "ImportBackendStorage", ImportBackendStorage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListBackendJobs$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListBackendJobsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "ListBackendJobs", {})
|
|
13
|
-
.n("AmplifyBackendClient", "ListBackendJobsCommand")
|
|
14
|
-
.sc(ListBackendJobs$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListBackendJobsCommand extends command(_ep0, _mw0, "ListBackendJobs", ListBackendJobs$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListS3Buckets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListS3BucketsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "ListS3Buckets", {})
|
|
13
|
-
.n("AmplifyBackendClient", "ListS3BucketsCommand")
|
|
14
|
-
.sc(ListS3Buckets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListS3BucketsCommand extends command(_ep0, _mw0, "ListS3Buckets", ListS3Buckets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveAllBackends$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveAllBackendsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "RemoveAllBackends", {})
|
|
13
|
-
.n("AmplifyBackendClient", "RemoveAllBackendsCommand")
|
|
14
|
-
.sc(RemoveAllBackends$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveAllBackendsCommand extends command(_ep0, _mw0, "RemoveAllBackends", RemoveAllBackends$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveBackendConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveBackendConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "RemoveBackendConfig", {})
|
|
13
|
-
.n("AmplifyBackendClient", "RemoveBackendConfigCommand")
|
|
14
|
-
.sc(RemoveBackendConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveBackendConfigCommand extends command(_ep0, _mw0, "RemoveBackendConfig", RemoveBackendConfig$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateBackendAPI$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateBackendAPICommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "UpdateBackendAPI", {})
|
|
13
|
-
.n("AmplifyBackendClient", "UpdateBackendAPICommand")
|
|
14
|
-
.sc(UpdateBackendAPI$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateBackendAPICommand extends command(_ep0, _mw0, "UpdateBackendAPI", UpdateBackendAPI$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateBackendAuth$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateBackendAuthCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "UpdateBackendAuth", {})
|
|
13
|
-
.n("AmplifyBackendClient", "UpdateBackendAuthCommand")
|
|
14
|
-
.sc(UpdateBackendAuth$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateBackendAuthCommand extends command(_ep0, _mw0, "UpdateBackendAuth", UpdateBackendAuth$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateBackendConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateBackendConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "UpdateBackendConfig", {})
|
|
13
|
-
.n("AmplifyBackendClient", "UpdateBackendConfigCommand")
|
|
14
|
-
.sc(UpdateBackendConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateBackendConfigCommand extends command(_ep0, _mw0, "UpdateBackendConfig", UpdateBackendConfig$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateBackendJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateBackendJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "UpdateBackendJob", {})
|
|
13
|
-
.n("AmplifyBackendClient", "UpdateBackendJobCommand")
|
|
14
|
-
.sc(UpdateBackendJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateBackendJobCommand extends command(_ep0, _mw0, "UpdateBackendJob", UpdateBackendJob$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateBackendStorage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateBackendStorageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmplifyBackend", "UpdateBackendStorage", {})
|
|
13
|
-
.n("AmplifyBackendClient", "UpdateBackendStorageCommand")
|
|
14
|
-
.sc(UpdateBackendStorage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateBackendStorageCommand extends command(_ep0, _mw0, "UpdateBackendStorage", UpdateBackendStorage$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AmplifyBackendClient";
|
|
2
2
|
export * from "./AmplifyBackend";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AmplifyBackend",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "AmplifyBackend",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AmplifyBackendClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
4
2
|
import type { CloneBackendRequest, CloneBackendResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CloneBackendCommandInput extends CloneBackendRequest {
|
|
|
22
19
|
export interface CloneBackendCommandOutput extends CloneBackendResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CloneBackendCommand_base: {
|
|
25
|
-
new (input: CloneBackendCommandInput): import("@smithy/core/client").CommandImpl<CloneBackendCommandInput, CloneBackendCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CloneBackendCommandInput): import("@smithy/core/client").CommandImpl<CloneBackendCommandInput, CloneBackendCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CloneBackendCommandInput): import("@smithy/core/client").CommandImpl<CloneBackendCommandInput, CloneBackendCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CloneBackendCommandInput): import("@smithy/core/client").CommandImpl<CloneBackendCommandInput, CloneBackendCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>This operation clones an existing backend.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
4
2
|
import type { CreateBackendAPIRequest, CreateBackendAPIResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateBackendAPICommandInput extends CreateBackendAPIRequest {
|
|
|
22
19
|
export interface CreateBackendAPICommandOutput extends CreateBackendAPIResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateBackendAPICommand_base: {
|
|
25
|
-
new (input: CreateBackendAPICommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAPICommandInput, CreateBackendAPICommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateBackendAPICommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAPICommandInput, CreateBackendAPICommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateBackendAPICommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAPICommandInput, CreateBackendAPICommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateBackendAPICommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAPICommandInput, CreateBackendAPICommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new backend API resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
4
2
|
import type { CreateBackendAuthRequest, CreateBackendAuthResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateBackendAuthCommandInput extends CreateBackendAuthRequest
|
|
|
22
19
|
export interface CreateBackendAuthCommandOutput extends CreateBackendAuthResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateBackendAuthCommand_base: {
|
|
25
|
-
new (input: CreateBackendAuthCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateBackendAuthCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateBackendAuthCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateBackendAuthCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new backend authentication resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
|
|
4
2
|
import type { CreateBackendRequest, CreateBackendResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateBackendCommandInput extends CreateBackendRequest {
|
|
|
22
19
|
export interface CreateBackendCommandOutput extends CreateBackendResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateBackendCommand_base: {
|
|
25
|
-
new (input: CreateBackendCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendCommandInput, CreateBackendCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateBackendCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendCommandInput, CreateBackendCommandOutput, AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateBackendCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendCommandInput, CreateBackendCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateBackendCommandInput): import("@smithy/core/client").CommandImpl<CreateBackendCommandInput, CreateBackendCommandOutput, import("..").AmplifyBackendClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>This operation creates a backend for an Amplify app. Backends are automatically created at the time of app creation.</p>
|