@aws-sdk/client-amplify 3.928.0 → 3.930.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 +1635 -1779
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AmplifyClient.js +2 -0
- package/dist-es/commands/CreateAppCommand.js +3 -10
- package/dist-es/commands/CreateBackendEnvironmentCommand.js +3 -9
- package/dist-es/commands/CreateBranchCommand.js +3 -10
- package/dist-es/commands/CreateDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateDomainAssociationCommand.js +3 -9
- package/dist-es/commands/CreateWebhookCommand.js +3 -9
- package/dist-es/commands/DeleteAppCommand.js +3 -10
- package/dist-es/commands/DeleteBackendEnvironmentCommand.js +3 -9
- package/dist-es/commands/DeleteBranchCommand.js +3 -10
- package/dist-es/commands/DeleteDomainAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteJobCommand.js +3 -9
- package/dist-es/commands/DeleteWebhookCommand.js +3 -9
- package/dist-es/commands/GenerateAccessLogsCommand.js +3 -9
- package/dist-es/commands/GetAppCommand.js +3 -10
- package/dist-es/commands/GetArtifactUrlCommand.js +3 -9
- package/dist-es/commands/GetBackendEnvironmentCommand.js +3 -9
- package/dist-es/commands/GetBranchCommand.js +3 -10
- package/dist-es/commands/GetDomainAssociationCommand.js +3 -9
- package/dist-es/commands/GetJobCommand.js +3 -9
- package/dist-es/commands/GetWebhookCommand.js +3 -9
- package/dist-es/commands/ListAppsCommand.js +3 -10
- package/dist-es/commands/ListArtifactsCommand.js +3 -9
- package/dist-es/commands/ListBackendEnvironmentsCommand.js +3 -9
- package/dist-es/commands/ListBranchesCommand.js +3 -10
- package/dist-es/commands/ListDomainAssociationsCommand.js +3 -9
- package/dist-es/commands/ListJobsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWebhooksCommand.js +3 -9
- package/dist-es/commands/StartDeploymentCommand.js +3 -9
- package/dist-es/commands/StartJobCommand.js +3 -9
- package/dist-es/commands/StopJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAppCommand.js +3 -10
- package/dist-es/commands/UpdateBranchCommand.js +3 -10
- package/dist-es/commands/UpdateDomainAssociationCommand.js +3 -9
- package/dist-es/commands/UpdateWebhookCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -89
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1553 -0
- package/dist-types/AmplifyClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- 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 +1 -0
- package/dist-types/schemas/schemas_0.d.ts +166 -0
- package/dist-types/ts3.4/AmplifyClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -45
- 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 +172 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1399
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
|
@@ -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 { ListBackendEnvironments } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListBackendEnvironmentsCommand 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("Amplify", "ListBackendEnvironments", {})
|
|
17
13
|
.n("AmplifyClient", "ListBackendEnvironmentsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListBackendEnvironmentsCommand)
|
|
20
|
-
.de(de_ListBackendEnvironmentsCommand)
|
|
14
|
+
.sc(ListBackendEnvironments)
|
|
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_ListBranchesCommand, se_ListBranchesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListBranches } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListBranchesCommand 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("Amplify", "ListBranches", {})
|
|
18
13
|
.n("AmplifyClient", "ListBranchesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ListBranchesCommand)
|
|
21
|
-
.de(de_ListBranchesCommand)
|
|
14
|
+
.sc(ListBranches)
|
|
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 { ListDomainAssociations } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListDomainAssociationsCommand 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("Amplify", "ListDomainAssociations", {})
|
|
17
13
|
.n("AmplifyClient", "ListDomainAssociationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListDomainAssociationsCommand)
|
|
20
|
-
.de(de_ListDomainAssociationsCommand)
|
|
14
|
+
.sc(ListDomainAssociations)
|
|
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 { ListJobs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListJobsCommand 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("Amplify", "ListJobs", {})
|
|
17
13
|
.n("AmplifyClient", "ListJobsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListJobsCommand)
|
|
20
|
-
.de(de_ListJobsCommand)
|
|
14
|
+
.sc(ListJobs)
|
|
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 { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand 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("Amplify", "ListTagsForResource", {})
|
|
17
13
|
.n("AmplifyClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
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 { ListWebhooks } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListWebhooksCommand 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("Amplify", "ListWebhooks", {})
|
|
17
13
|
.n("AmplifyClient", "ListWebhooksCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListWebhooksCommand)
|
|
20
|
-
.de(de_ListWebhooksCommand)
|
|
14
|
+
.sc(ListWebhooks)
|
|
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 { StartDeployment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartDeploymentCommand 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("Amplify", "StartDeployment", {})
|
|
17
13
|
.n("AmplifyClient", "StartDeploymentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartDeploymentCommand)
|
|
20
|
-
.de(de_StartDeploymentCommand)
|
|
14
|
+
.sc(StartDeployment)
|
|
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 { StartJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartJobCommand 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("Amplify", "StartJob", {})
|
|
17
13
|
.n("AmplifyClient", "StartJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartJobCommand)
|
|
20
|
-
.de(de_StartJobCommand)
|
|
14
|
+
.sc(StartJob)
|
|
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 { StopJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopJobCommand 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("Amplify", "StopJob", {})
|
|
17
13
|
.n("AmplifyClient", "StopJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopJobCommand)
|
|
20
|
-
.de(de_StopJobCommand)
|
|
14
|
+
.sc(StopJob)
|
|
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 { 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("Amplify", "TagResource", {})
|
|
17
13
|
.n("AmplifyClient", "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("Amplify", "UntagResource", {})
|
|
17
13
|
.n("AmplifyClient", "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_UpdateAppCommand, se_UpdateAppCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateApp } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateAppCommand 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("Amplify", "UpdateApp", {})
|
|
18
13
|
.n("AmplifyClient", "UpdateAppCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateAppCommand)
|
|
21
|
-
.de(de_UpdateAppCommand)
|
|
14
|
+
.sc(UpdateApp)
|
|
22
15
|
.build() {
|
|
23
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_UpdateBranchCommand, se_UpdateBranchCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateBranch } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateBranchCommand 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("Amplify", "UpdateBranch", {})
|
|
18
13
|
.n("AmplifyClient", "UpdateBranchCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateBranchCommand)
|
|
21
|
-
.de(de_UpdateBranchCommand)
|
|
14
|
+
.sc(UpdateBranch)
|
|
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 { UpdateDomainAssociation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDomainAssociationCommand 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("Amplify", "UpdateDomainAssociation", {})
|
|
17
13
|
.n("AmplifyClient", "UpdateDomainAssociationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDomainAssociationCommand)
|
|
20
|
-
.de(de_UpdateDomainAssociationCommand)
|
|
14
|
+
.sc(UpdateDomainAssociation)
|
|
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 { UpdateWebhook } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateWebhookCommand 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("Amplify", "UpdateWebhook", {})
|
|
17
13
|
.n("AmplifyClient", "UpdateWebhookCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateWebhookCommand)
|
|
20
|
-
.de(de_UpdateWebhookCommand)
|
|
14
|
+
.sc(UpdateWebhook)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
|
|
3
2
|
export class BadRequestException extends __BaseException {
|
|
4
3
|
name = "BadRequestException";
|
|
@@ -164,91 +163,3 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
164
163
|
this.code = opts.code;
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
|
-
export const AutoBranchCreationConfigFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
170
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
171
|
-
});
|
|
172
|
-
export const CreateAppRequestFilterSensitiveLog = (obj) => ({
|
|
173
|
-
...obj,
|
|
174
|
-
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
|
|
175
|
-
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
176
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
177
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
178
|
-
...(obj.autoBranchCreationConfig && {
|
|
179
|
-
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig),
|
|
180
|
-
}),
|
|
181
|
-
});
|
|
182
|
-
export const AppFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
185
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
186
|
-
...(obj.autoBranchCreationConfig && {
|
|
187
|
-
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig),
|
|
188
|
-
}),
|
|
189
|
-
});
|
|
190
|
-
export const CreateAppResultFilterSensitiveLog = (obj) => ({
|
|
191
|
-
...obj,
|
|
192
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
193
|
-
});
|
|
194
|
-
export const CreateBranchRequestFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
197
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
198
|
-
});
|
|
199
|
-
export const BranchFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
202
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
203
|
-
});
|
|
204
|
-
export const CreateBranchResultFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
...(obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }),
|
|
207
|
-
});
|
|
208
|
-
export const DeleteAppResultFilterSensitiveLog = (obj) => ({
|
|
209
|
-
...obj,
|
|
210
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
211
|
-
});
|
|
212
|
-
export const DeleteBranchResultFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
...(obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }),
|
|
215
|
-
});
|
|
216
|
-
export const GetAppResultFilterSensitiveLog = (obj) => ({
|
|
217
|
-
...obj,
|
|
218
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
219
|
-
});
|
|
220
|
-
export const GetBranchResultFilterSensitiveLog = (obj) => ({
|
|
221
|
-
...obj,
|
|
222
|
-
...(obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }),
|
|
223
|
-
});
|
|
224
|
-
export const ListAppsResultFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
...(obj.apps && { apps: obj.apps.map((item) => AppFilterSensitiveLog(item)) }),
|
|
227
|
-
});
|
|
228
|
-
export const ListBranchesResultFilterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
...(obj.branches && { branches: obj.branches.map((item) => BranchFilterSensitiveLog(item)) }),
|
|
231
|
-
});
|
|
232
|
-
export const UpdateAppRequestFilterSensitiveLog = (obj) => ({
|
|
233
|
-
...obj,
|
|
234
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
235
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
236
|
-
...(obj.autoBranchCreationConfig && {
|
|
237
|
-
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig),
|
|
238
|
-
}),
|
|
239
|
-
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
|
|
240
|
-
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
241
|
-
});
|
|
242
|
-
export const UpdateAppResultFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
...(obj.app && { app: AppFilterSensitiveLog(obj.app) }),
|
|
245
|
-
});
|
|
246
|
-
export const UpdateBranchRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
|
|
249
|
-
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
|
|
250
|
-
});
|
|
251
|
-
export const UpdateBranchResultFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
...(obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }),
|
|
254
|
-
});
|
|
@@ -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.amplify" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Amplify",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|