@aws-sdk/client-amplify 3.299.0 → 3.301.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.
Files changed (38) hide show
  1. package/dist-types/commands/CreateAppCommand.d.ts +47 -0
  2. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateBranchCommand.d.ts +24 -0
  4. package/dist-types/commands/CreateDeploymentCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +15 -0
  6. package/dist-types/commands/CreateWebhookCommand.d.ts +5 -0
  7. package/dist-types/commands/DeleteAppCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteBranchCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteJobCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteWebhookCommand.d.ts +3 -0
  13. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +6 -0
  14. package/dist-types/commands/GetAppCommand.d.ts +3 -0
  15. package/dist-types/commands/GetArtifactUrlCommand.d.ts +3 -0
  16. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +4 -0
  17. package/dist-types/commands/GetBranchCommand.d.ts +4 -0
  18. package/dist-types/commands/GetDomainAssociationCommand.d.ts +4 -0
  19. package/dist-types/commands/GetJobCommand.d.ts +5 -0
  20. package/dist-types/commands/GetWebhookCommand.d.ts +3 -0
  21. package/dist-types/commands/ListAppsCommand.d.ts +4 -0
  22. package/dist-types/commands/ListArtifactsCommand.d.ts +7 -0
  23. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +6 -0
  24. package/dist-types/commands/ListBranchesCommand.d.ts +5 -0
  25. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +5 -0
  26. package/dist-types/commands/ListJobsCommand.d.ts +6 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  28. package/dist-types/commands/ListWebhooksCommand.d.ts +5 -0
  29. package/dist-types/commands/StartDeploymentCommand.d.ts +6 -0
  30. package/dist-types/commands/StartJobCommand.d.ts +10 -0
  31. package/dist-types/commands/StopJobCommand.d.ts +5 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  33. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  34. package/dist-types/commands/UpdateAppCommand.d.ts +45 -0
  35. package/dist-types/commands/UpdateBranchCommand.d.ts +21 -0
  36. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +15 -0
  37. package/dist-types/commands/UpdateWebhookCommand.d.ts +5 -0
  38. package/package.json +8 -8
@@ -26,6 +26,53 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
26
26
  * import { AmplifyClient, CreateAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, CreateAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // CreateAppRequest
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * repository: "STRING_VALUE",
33
+ * platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE",
34
+ * iamServiceRoleArn: "STRING_VALUE",
35
+ * oauthToken: "STRING_VALUE",
36
+ * accessToken: "STRING_VALUE",
37
+ * environmentVariables: { // EnvironmentVariables
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * enableBranchAutoBuild: true || false,
41
+ * enableBranchAutoDeletion: true || false,
42
+ * enableBasicAuth: true || false,
43
+ * basicAuthCredentials: "STRING_VALUE",
44
+ * customRules: [ // CustomRules
45
+ * { // CustomRule
46
+ * source: "STRING_VALUE", // required
47
+ * target: "STRING_VALUE", // required
48
+ * status: "STRING_VALUE",
49
+ * condition: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * tags: { // TagMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * buildSpec: "STRING_VALUE",
56
+ * customHeaders: "STRING_VALUE",
57
+ * enableAutoBranchCreation: true || false,
58
+ * autoBranchCreationPatterns: [ // AutoBranchCreationPatterns
59
+ * "STRING_VALUE",
60
+ * ],
61
+ * autoBranchCreationConfig: { // AutoBranchCreationConfig
62
+ * stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
63
+ * framework: "STRING_VALUE",
64
+ * enableAutoBuild: true || false,
65
+ * environmentVariables: {
66
+ * "<keys>": "STRING_VALUE",
67
+ * },
68
+ * basicAuthCredentials: "STRING_VALUE",
69
+ * enableBasicAuth: true || false,
70
+ * enablePerformanceMode: true || false,
71
+ * buildSpec: "STRING_VALUE",
72
+ * enablePullRequestPreview: true || false,
73
+ * pullRequestEnvironmentName: "STRING_VALUE",
74
+ * },
75
+ * };
29
76
  * const command = new CreateAppCommand(input);
30
77
  * const response = await client.send(command);
31
78
  * ```
@@ -26,6 +26,12 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
26
26
  * import { AmplifyClient, CreateBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, CreateBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // CreateBackendEnvironmentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * stackName: "STRING_VALUE",
33
+ * deploymentArtifacts: "STRING_VALUE",
34
+ * };
29
35
  * const command = new CreateBackendEnvironmentCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,30 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
26
26
  * import { AmplifyClient, CreateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, CreateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // CreateBranchRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
34
+ * framework: "STRING_VALUE",
35
+ * enableNotification: true || false,
36
+ * enableAutoBuild: true || false,
37
+ * environmentVariables: { // EnvironmentVariables
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * basicAuthCredentials: "STRING_VALUE",
41
+ * enableBasicAuth: true || false,
42
+ * enablePerformanceMode: true || false,
43
+ * tags: { // TagMap
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * buildSpec: "STRING_VALUE",
47
+ * ttl: "STRING_VALUE",
48
+ * displayName: "STRING_VALUE",
49
+ * enablePullRequestPreview: true || false,
50
+ * pullRequestEnvironmentName: "STRING_VALUE",
51
+ * backendEnvironmentArn: "STRING_VALUE",
52
+ * };
29
53
  * const command = new CreateBranchCommand(input);
30
54
  * const response = await client.send(command);
31
55
  * ```
@@ -27,6 +27,13 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
27
27
  * import { AmplifyClient, CreateDeploymentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
28
28
  * // const { AmplifyClient, CreateDeploymentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
29
29
  * const client = new AmplifyClient(config);
30
+ * const input = { // CreateDeploymentRequest
31
+ * appId: "STRING_VALUE", // required
32
+ * branchName: "STRING_VALUE", // required
33
+ * fileMap: { // FileMap
34
+ * "<keys>": "STRING_VALUE",
35
+ * },
36
+ * };
30
37
  * const command = new CreateDeploymentCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -27,6 +27,21 @@ export interface CreateDomainAssociationCommandOutput extends CreateDomainAssoci
27
27
  * import { AmplifyClient, CreateDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
28
28
  * // const { AmplifyClient, CreateDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
29
29
  * const client = new AmplifyClient(config);
30
+ * const input = { // CreateDomainAssociationRequest
31
+ * appId: "STRING_VALUE", // required
32
+ * domainName: "STRING_VALUE", // required
33
+ * enableAutoSubDomain: true || false,
34
+ * subDomainSettings: [ // SubDomainSettings // required
35
+ * { // SubDomainSetting
36
+ * prefix: "STRING_VALUE", // required
37
+ * branchName: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * autoSubDomainCreationPatterns: [ // AutoSubDomainCreationPatterns
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * autoSubDomainIAMRole: "STRING_VALUE",
44
+ * };
30
45
  * const command = new CreateDomainAssociationCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -26,6 +26,11 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
26
26
  * import { AmplifyClient, CreateWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, CreateWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // CreateWebhookRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * };
29
34
  * const command = new CreateWebhookCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
26
26
  * import { AmplifyClient, DeleteAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteAppRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteAppCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DeleteBackendEnvironmentCommandOutput extends DeleteBackendEnvi
26
26
  * import { AmplifyClient, DeleteBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteBackendEnvironmentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteBackendEnvironmentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface DeleteBranchCommandOutput extends DeleteBranchResult, __Metadat
26
26
  * import { AmplifyClient, DeleteBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteBranchRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteBranchCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface DeleteDomainAssociationCommandOutput extends DeleteDomainAssoci
26
26
  * import { AmplifyClient, DeleteDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteDomainAssociationRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * domainName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteDomainAssociationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface DeleteJobCommandOutput extends DeleteJobResult, __MetadataBeare
26
26
  * import { AmplifyClient, DeleteJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteJobRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * jobId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteJobCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface DeleteWebhookCommandOutput extends DeleteWebhookResult, __Metad
26
26
  * import { AmplifyClient, DeleteWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, DeleteWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // DeleteWebhookRequest
30
+ * webhookId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteWebhookCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,12 @@ export interface GenerateAccessLogsCommandOutput extends GenerateAccessLogsResul
27
27
  * import { AmplifyClient, GenerateAccessLogsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
28
28
  * // const { AmplifyClient, GenerateAccessLogsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
29
29
  * const client = new AmplifyClient(config);
30
+ * const input = { // GenerateAccessLogsRequest
31
+ * startTime: new Date("TIMESTAMP"),
32
+ * endTime: new Date("TIMESTAMP"),
33
+ * domainName: "STRING_VALUE", // required
34
+ * appId: "STRING_VALUE", // required
35
+ * };
30
36
  * const command = new GenerateAccessLogsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,9 @@ export interface GetAppCommandOutput extends GetAppResult, __MetadataBearer {
26
26
  * import { AmplifyClient, GetAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetAppRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetAppCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetArtifactUrlCommandOutput extends GetArtifactUrlResult, __Met
26
26
  * import { AmplifyClient, GetArtifactUrlCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetArtifactUrlCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetArtifactUrlRequest
30
+ * artifactId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetArtifactUrlCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetBackendEnvironmentCommandOutput extends GetBackendEnvironmen
26
26
  * import { AmplifyClient, GetBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetBackendEnvironmentRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetBackendEnvironmentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetBranchCommandOutput extends GetBranchResult, __MetadataBeare
26
26
  * import { AmplifyClient, GetBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetBranchRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetBranchCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetDomainAssociationCommandOutput extends GetDomainAssociationR
26
26
  * import { AmplifyClient, GetDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetDomainAssociationRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * domainName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetDomainAssociationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {
26
26
  * import { AmplifyClient, GetJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetJobRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * jobId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetJobCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetWebhookCommandOutput extends GetWebhookResult, __MetadataBea
26
26
  * import { AmplifyClient, GetWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, GetWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // GetWebhookRequest
30
+ * webhookId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetWebhookCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface ListAppsCommandOutput extends ListAppsResult, __MetadataBearer
26
26
  * import { AmplifyClient, ListAppsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListAppsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListAppsRequest
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListAppsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,13 @@ export interface ListArtifactsCommandOutput extends ListArtifactsResult, __Metad
26
26
  * import { AmplifyClient, ListArtifactsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListArtifactsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListArtifactsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * jobId: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
29
36
  * const command = new ListArtifactsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,12 @@ export interface ListBackendEnvironmentsCommandOutput extends ListBackendEnviron
26
26
  * import { AmplifyClient, ListBackendEnvironmentsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListBackendEnvironmentsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListBackendEnvironmentsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * environmentName: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListBackendEnvironmentsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface ListBranchesCommandOutput extends ListBranchesResult, __Metadat
26
26
  * import { AmplifyClient, ListBranchesCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListBranchesCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListBranchesRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListBranchesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListDomainAssociationsCommandOutput extends ListDomainAssociati
26
26
  * import { AmplifyClient, ListDomainAssociationsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListDomainAssociationsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListDomainAssociationsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListDomainAssociationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
26
26
  * import { AmplifyClient, ListJobsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListJobsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListJobsRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListJobsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { AmplifyClient, ListTagsForResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListTagsForResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListWebhooksCommandOutput extends ListWebhooksResult, __Metadat
26
26
  * import { AmplifyClient, ListWebhooksCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, ListWebhooksCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // ListWebhooksRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListWebhooksCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface StartDeploymentCommandOutput extends StartDeploymentResult, __M
27
27
  * import { AmplifyClient, StartDeploymentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
28
28
  * // const { AmplifyClient, StartDeploymentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
29
29
  * const client = new AmplifyClient(config);
30
+ * const input = { // StartDeploymentRequest
31
+ * appId: "STRING_VALUE", // required
32
+ * branchName: "STRING_VALUE", // required
33
+ * jobId: "STRING_VALUE",
34
+ * sourceUrl: "STRING_VALUE",
35
+ * };
30
36
  * const command = new StartDeploymentCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,16 @@ export interface StartJobCommandOutput extends StartJobResult, __MetadataBearer
26
26
  * import { AmplifyClient, StartJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, StartJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // StartJobRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * jobId: "STRING_VALUE",
33
+ * jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
34
+ * jobReason: "STRING_VALUE",
35
+ * commitId: "STRING_VALUE",
36
+ * commitMessage: "STRING_VALUE",
37
+ * commitTime: new Date("TIMESTAMP"),
38
+ * };
29
39
  * const command = new StartJobCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,11 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {
26
26
  * import { AmplifyClient, StopJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, StopJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // StopJobRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * jobId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new StopJobCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { AmplifyClient, TagResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, TagResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: { // TagMap // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { AmplifyClient, UntagResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, UntagResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,51 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
26
26
  * import { AmplifyClient, UpdateAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, UpdateAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // UpdateAppRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE",
32
+ * description: "STRING_VALUE",
33
+ * platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE",
34
+ * iamServiceRoleArn: "STRING_VALUE",
35
+ * environmentVariables: { // EnvironmentVariables
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * enableBranchAutoBuild: true || false,
39
+ * enableBranchAutoDeletion: true || false,
40
+ * enableBasicAuth: true || false,
41
+ * basicAuthCredentials: "STRING_VALUE",
42
+ * customRules: [ // CustomRules
43
+ * { // CustomRule
44
+ * source: "STRING_VALUE", // required
45
+ * target: "STRING_VALUE", // required
46
+ * status: "STRING_VALUE",
47
+ * condition: "STRING_VALUE",
48
+ * },
49
+ * ],
50
+ * buildSpec: "STRING_VALUE",
51
+ * customHeaders: "STRING_VALUE",
52
+ * enableAutoBranchCreation: true || false,
53
+ * autoBranchCreationPatterns: [ // AutoBranchCreationPatterns
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * autoBranchCreationConfig: { // AutoBranchCreationConfig
57
+ * stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
58
+ * framework: "STRING_VALUE",
59
+ * enableAutoBuild: true || false,
60
+ * environmentVariables: {
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * basicAuthCredentials: "STRING_VALUE",
64
+ * enableBasicAuth: true || false,
65
+ * enablePerformanceMode: true || false,
66
+ * buildSpec: "STRING_VALUE",
67
+ * enablePullRequestPreview: true || false,
68
+ * pullRequestEnvironmentName: "STRING_VALUE",
69
+ * },
70
+ * repository: "STRING_VALUE",
71
+ * oauthToken: "STRING_VALUE",
72
+ * accessToken: "STRING_VALUE",
73
+ * };
29
74
  * const command = new UpdateAppCommand(input);
30
75
  * const response = await client.send(command);
31
76
  * ```
@@ -26,6 +26,27 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
26
26
  * import { AmplifyClient, UpdateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, UpdateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // UpdateBranchRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * framework: "STRING_VALUE",
34
+ * stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
35
+ * enableNotification: true || false,
36
+ * enableAutoBuild: true || false,
37
+ * environmentVariables: { // EnvironmentVariables
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * basicAuthCredentials: "STRING_VALUE",
41
+ * enableBasicAuth: true || false,
42
+ * enablePerformanceMode: true || false,
43
+ * buildSpec: "STRING_VALUE",
44
+ * ttl: "STRING_VALUE",
45
+ * displayName: "STRING_VALUE",
46
+ * enablePullRequestPreview: true || false,
47
+ * pullRequestEnvironmentName: "STRING_VALUE",
48
+ * backendEnvironmentArn: "STRING_VALUE",
49
+ * };
29
50
  * const command = new UpdateBranchCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -26,6 +26,21 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
26
26
  * import { AmplifyClient, UpdateDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, UpdateDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // UpdateDomainAssociationRequest
30
+ * appId: "STRING_VALUE", // required
31
+ * domainName: "STRING_VALUE", // required
32
+ * enableAutoSubDomain: true || false,
33
+ * subDomainSettings: [ // SubDomainSettings
34
+ * { // SubDomainSetting
35
+ * prefix: "STRING_VALUE", // required
36
+ * branchName: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * autoSubDomainCreationPatterns: [ // AutoSubDomainCreationPatterns
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * autoSubDomainIAMRole: "STRING_VALUE",
43
+ * };
29
44
  * const command = new UpdateDomainAssociationCommand(input);
30
45
  * const response = await client.send(command);
31
46
  * ```
@@ -26,6 +26,11 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
26
26
  * import { AmplifyClient, UpdateWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
27
27
  * // const { AmplifyClient, UpdateWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
28
28
  * const client = new AmplifyClient(config);
29
+ * const input = { // UpdateWebhookRequest
30
+ * webhookId: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE",
32
+ * description: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateWebhookCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplify",
3
3
  "description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },