@aws-sdk/client-amplify 3.294.0 → 3.295.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 (79) hide show
  1. package/dist-cjs/commands/CreateAppCommand.js +4 -4
  2. package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +4 -4
  3. package/dist-cjs/commands/CreateBranchCommand.js +4 -4
  4. package/dist-cjs/commands/CreateDeploymentCommand.js +4 -4
  5. package/dist-cjs/commands/CreateDomainAssociationCommand.js +4 -4
  6. package/dist-cjs/commands/CreateWebhookCommand.js +4 -4
  7. package/dist-cjs/commands/DeleteAppCommand.js +4 -4
  8. package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteBranchCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteDomainAssociationCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteJobCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteWebhookCommand.js +4 -4
  13. package/dist-cjs/commands/GenerateAccessLogsCommand.js +4 -4
  14. package/dist-cjs/commands/GetAppCommand.js +4 -4
  15. package/dist-cjs/commands/GetArtifactUrlCommand.js +4 -4
  16. package/dist-cjs/commands/GetBackendEnvironmentCommand.js +4 -4
  17. package/dist-cjs/commands/GetBranchCommand.js +4 -4
  18. package/dist-cjs/commands/GetDomainAssociationCommand.js +4 -4
  19. package/dist-cjs/commands/GetJobCommand.js +4 -4
  20. package/dist-cjs/commands/GetWebhookCommand.js +4 -4
  21. package/dist-cjs/commands/ListAppsCommand.js +4 -4
  22. package/dist-cjs/commands/ListArtifactsCommand.js +4 -4
  23. package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +4 -4
  24. package/dist-cjs/commands/ListBranchesCommand.js +4 -4
  25. package/dist-cjs/commands/ListDomainAssociationsCommand.js +4 -4
  26. package/dist-cjs/commands/ListJobsCommand.js +4 -4
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  28. package/dist-cjs/commands/ListWebhooksCommand.js +4 -4
  29. package/dist-cjs/commands/StartDeploymentCommand.js +4 -4
  30. package/dist-cjs/commands/StartJobCommand.js +4 -4
  31. package/dist-cjs/commands/StopJobCommand.js +4 -4
  32. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  33. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  34. package/dist-cjs/commands/UpdateAppCommand.js +4 -4
  35. package/dist-cjs/commands/UpdateBranchCommand.js +4 -4
  36. package/dist-cjs/commands/UpdateDomainAssociationCommand.js +4 -4
  37. package/dist-cjs/commands/UpdateWebhookCommand.js +4 -4
  38. package/dist-es/commands/CreateAppCommand.js +4 -4
  39. package/dist-es/commands/CreateBackendEnvironmentCommand.js +4 -4
  40. package/dist-es/commands/CreateBranchCommand.js +4 -4
  41. package/dist-es/commands/CreateDeploymentCommand.js +4 -4
  42. package/dist-es/commands/CreateDomainAssociationCommand.js +4 -4
  43. package/dist-es/commands/CreateWebhookCommand.js +4 -4
  44. package/dist-es/commands/DeleteAppCommand.js +4 -4
  45. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +4 -4
  46. package/dist-es/commands/DeleteBranchCommand.js +4 -4
  47. package/dist-es/commands/DeleteDomainAssociationCommand.js +4 -4
  48. package/dist-es/commands/DeleteJobCommand.js +4 -4
  49. package/dist-es/commands/DeleteWebhookCommand.js +4 -4
  50. package/dist-es/commands/GenerateAccessLogsCommand.js +4 -4
  51. package/dist-es/commands/GetAppCommand.js +4 -4
  52. package/dist-es/commands/GetArtifactUrlCommand.js +4 -4
  53. package/dist-es/commands/GetBackendEnvironmentCommand.js +4 -4
  54. package/dist-es/commands/GetBranchCommand.js +4 -4
  55. package/dist-es/commands/GetDomainAssociationCommand.js +4 -4
  56. package/dist-es/commands/GetJobCommand.js +4 -4
  57. package/dist-es/commands/GetWebhookCommand.js +4 -4
  58. package/dist-es/commands/ListAppsCommand.js +4 -4
  59. package/dist-es/commands/ListArtifactsCommand.js +4 -4
  60. package/dist-es/commands/ListBackendEnvironmentsCommand.js +4 -4
  61. package/dist-es/commands/ListBranchesCommand.js +4 -4
  62. package/dist-es/commands/ListDomainAssociationsCommand.js +4 -4
  63. package/dist-es/commands/ListJobsCommand.js +4 -4
  64. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  65. package/dist-es/commands/ListWebhooksCommand.js +4 -4
  66. package/dist-es/commands/StartDeploymentCommand.js +4 -4
  67. package/dist-es/commands/StartJobCommand.js +4 -4
  68. package/dist-es/commands/StopJobCommand.js +4 -4
  69. package/dist-es/commands/TagResourceCommand.js +4 -4
  70. package/dist-es/commands/UntagResourceCommand.js +4 -4
  71. package/dist-es/commands/UpdateAppCommand.js +4 -4
  72. package/dist-es/commands/UpdateBranchCommand.js +4 -4
  73. package/dist-es/commands/UpdateDomainAssociationCommand.js +4 -4
  74. package/dist-es/commands/UpdateWebhookCommand.js +4 -4
  75. package/dist-types/AmplifyClient.d.ts +4 -4
  76. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  77. package/dist-types/ts3.4/AmplifyClient.d.ts +4 -4
  78. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  79. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetWebhookRequestFilterSensitiveLog, GetWebhookResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetWebhookCommand, serializeAws_restJson1GetWebhookCommand, } from "../protocols/Aws_restJson1";
6
6
  export class GetWebhookCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class GetWebhookCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, GetWebhookCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAppsRequestFilterSensitiveLog, ListAppsResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAppsCommand, serializeAws_restJson1ListAppsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListAppsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAppsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAppsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListArtifactsRequestFilterSensitiveLog, ListArtifactsResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListArtifactsCommand, serializeAws_restJson1ListArtifactsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListArtifactsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListArtifactsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListArtifactsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListBackendEnvironmentsRequestFilterSensitiveLog, ListBackendEnvironmentsResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListBackendEnvironmentsCommand, serializeAws_restJson1ListBackendEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListBackendEnvironmentsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListBackendEnvironmentsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListBackendEnvironmentsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListBranchesRequestFilterSensitiveLog, ListBranchesResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListBranchesCommand, serializeAws_restJson1ListBranchesCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListBranchesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListBranchesCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListBranchesCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListDomainAssociationsRequestFilterSensitiveLog, ListDomainAssociationsResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListDomainAssociationsCommand, serializeAws_restJson1ListDomainAssociationsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListDomainAssociationsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListDomainAssociationsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListDomainAssociationsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListJobsRequestFilterSensitiveLog, ListJobsResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListJobsCommand, serializeAws_restJson1ListJobsCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListJobsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListJobsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListJobsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListWebhooksRequestFilterSensitiveLog, ListWebhooksResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListWebhooksCommand, serializeAws_restJson1ListWebhooksCommand, } from "../protocols/Aws_restJson1";
6
6
  export class ListWebhooksCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListWebhooksCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListWebhooksCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StartDeploymentRequestFilterSensitiveLog, StartDeploymentResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StartDeploymentCommand, serializeAws_restJson1StartDeploymentCommand, } from "../protocols/Aws_restJson1";
6
6
  export class StartDeploymentCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class StartDeploymentCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, StartDeploymentCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StartJobRequestFilterSensitiveLog, StartJobResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StartJobCommand, serializeAws_restJson1StartJobCommand, } from "../protocols/Aws_restJson1";
6
6
  export class StartJobCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class StartJobCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, StartJobCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { StopJobRequestFilterSensitiveLog, StopJobResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StopJobCommand, serializeAws_restJson1StopJobCommand, } from "../protocols/Aws_restJson1";
6
6
  export class StopJobCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class StopJobCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, StopJobCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateAppRequestFilterSensitiveLog, UpdateAppResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateAppCommand, serializeAws_restJson1UpdateAppCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateAppCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateAppCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateBranchRequestFilterSensitiveLog, UpdateBranchResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateBranchCommand, serializeAws_restJson1UpdateBranchCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateBranchCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateBranchCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateBranchCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateDomainAssociationRequestFilterSensitiveLog, UpdateDomainAssociationResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateDomainAssociationCommand, serializeAws_restJson1UpdateDomainAssociationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateDomainAssociationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateDomainAssociationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDomainAssociationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateWebhookRequestFilterSensitiveLog, UpdateWebhookResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateWebhookCommand, serializeAws_restJson1UpdateWebhookCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateWebhookCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateWebhookCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWebhookCommand.getEndpointParameterInstructions()));
@@ -45,8 +45,8 @@ import { UpdateBranchCommandInput, UpdateBranchCommandOutput } from "./commands/
45
45
  import { UpdateDomainAssociationCommandInput, UpdateDomainAssociationCommandOutput } from "./commands/UpdateDomainAssociationCommand";
46
46
  import { UpdateWebhookCommandInput, UpdateWebhookCommandOutput } from "./commands/UpdateWebhookCommand";
47
47
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
48
- export declare type ServiceInputTypes = CreateAppCommandInput | CreateBackendEnvironmentCommandInput | CreateBranchCommandInput | CreateDeploymentCommandInput | CreateDomainAssociationCommandInput | CreateWebhookCommandInput | DeleteAppCommandInput | DeleteBackendEnvironmentCommandInput | DeleteBranchCommandInput | DeleteDomainAssociationCommandInput | DeleteJobCommandInput | DeleteWebhookCommandInput | GenerateAccessLogsCommandInput | GetAppCommandInput | GetArtifactUrlCommandInput | GetBackendEnvironmentCommandInput | GetBranchCommandInput | GetDomainAssociationCommandInput | GetJobCommandInput | GetWebhookCommandInput | ListAppsCommandInput | ListArtifactsCommandInput | ListBackendEnvironmentsCommandInput | ListBranchesCommandInput | ListDomainAssociationsCommandInput | ListJobsCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | StartDeploymentCommandInput | StartJobCommandInput | StopJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppCommandInput | UpdateBranchCommandInput | UpdateDomainAssociationCommandInput | UpdateWebhookCommandInput;
49
- export declare type ServiceOutputTypes = CreateAppCommandOutput | CreateBackendEnvironmentCommandOutput | CreateBranchCommandOutput | CreateDeploymentCommandOutput | CreateDomainAssociationCommandOutput | CreateWebhookCommandOutput | DeleteAppCommandOutput | DeleteBackendEnvironmentCommandOutput | DeleteBranchCommandOutput | DeleteDomainAssociationCommandOutput | DeleteJobCommandOutput | DeleteWebhookCommandOutput | GenerateAccessLogsCommandOutput | GetAppCommandOutput | GetArtifactUrlCommandOutput | GetBackendEnvironmentCommandOutput | GetBranchCommandOutput | GetDomainAssociationCommandOutput | GetJobCommandOutput | GetWebhookCommandOutput | ListAppsCommandOutput | ListArtifactsCommandOutput | ListBackendEnvironmentsCommandOutput | ListBranchesCommandOutput | ListDomainAssociationsCommandOutput | ListJobsCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | StartDeploymentCommandOutput | StartJobCommandOutput | StopJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppCommandOutput | UpdateBranchCommandOutput | UpdateDomainAssociationCommandOutput | UpdateWebhookCommandOutput;
48
+ export type ServiceInputTypes = CreateAppCommandInput | CreateBackendEnvironmentCommandInput | CreateBranchCommandInput | CreateDeploymentCommandInput | CreateDomainAssociationCommandInput | CreateWebhookCommandInput | DeleteAppCommandInput | DeleteBackendEnvironmentCommandInput | DeleteBranchCommandInput | DeleteDomainAssociationCommandInput | DeleteJobCommandInput | DeleteWebhookCommandInput | GenerateAccessLogsCommandInput | GetAppCommandInput | GetArtifactUrlCommandInput | GetBackendEnvironmentCommandInput | GetBranchCommandInput | GetDomainAssociationCommandInput | GetJobCommandInput | GetWebhookCommandInput | ListAppsCommandInput | ListArtifactsCommandInput | ListBackendEnvironmentsCommandInput | ListBranchesCommandInput | ListDomainAssociationsCommandInput | ListJobsCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | StartDeploymentCommandInput | StartJobCommandInput | StopJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppCommandInput | UpdateBranchCommandInput | UpdateDomainAssociationCommandInput | UpdateWebhookCommandInput;
49
+ export type ServiceOutputTypes = CreateAppCommandOutput | CreateBackendEnvironmentCommandOutput | CreateBranchCommandOutput | CreateDeploymentCommandOutput | CreateDomainAssociationCommandOutput | CreateWebhookCommandOutput | DeleteAppCommandOutput | DeleteBackendEnvironmentCommandOutput | DeleteBranchCommandOutput | DeleteDomainAssociationCommandOutput | DeleteJobCommandOutput | DeleteWebhookCommandOutput | GenerateAccessLogsCommandOutput | GetAppCommandOutput | GetArtifactUrlCommandOutput | GetBackendEnvironmentCommandOutput | GetBranchCommandOutput | GetDomainAssociationCommandOutput | GetJobCommandOutput | GetWebhookCommandOutput | ListAppsCommandOutput | ListArtifactsCommandOutput | ListBackendEnvironmentsCommandOutput | ListBranchesCommandOutput | ListDomainAssociationsCommandOutput | ListJobsCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | StartDeploymentCommandOutput | StartJobCommandOutput | StopJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppCommandOutput | UpdateBranchCommandOutput | UpdateDomainAssociationCommandOutput | UpdateWebhookCommandOutput;
50
50
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
51
  /**
52
52
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -147,13 +147,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
147
147
  */
148
148
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
149
149
  }
150
- declare type AmplifyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
150
+ type AmplifyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
151
151
  /**
152
152
  * The configuration interface of AmplifyClient class constructor that set the region, credentials and other options.
153
153
  */
154
154
  export interface AmplifyClientConfig extends AmplifyClientConfigType {
155
155
  }
156
- declare type AmplifyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
156
+ type AmplifyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
157
157
  /**
158
158
  * The resolved configuration interface of AmplifyClient class. This is resolved and normalized from the {@link AmplifyClientConfig | constructor configuration interface}.
159
159
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -197,7 +197,7 @@ import {
197
197
  ClientResolvedEndpointParameters,
198
198
  EndpointParameters,
199
199
  } from "./endpoint/EndpointParameters";
200
- export declare type ServiceInputTypes =
200
+ export type ServiceInputTypes =
201
201
  | CreateAppCommandInput
202
202
  | CreateBackendEnvironmentCommandInput
203
203
  | CreateBranchCommandInput
@@ -235,7 +235,7 @@ export declare type ServiceInputTypes =
235
235
  | UpdateBranchCommandInput
236
236
  | UpdateDomainAssociationCommandInput
237
237
  | UpdateWebhookCommandInput;
238
- export declare type ServiceOutputTypes =
238
+ export type ServiceOutputTypes =
239
239
  | CreateAppCommandOutput
240
240
  | CreateBackendEnvironmentCommandOutput
241
241
  | CreateBranchCommandOutput
@@ -297,7 +297,7 @@ export interface ClientDefaults
297
297
  logger?: __Logger;
298
298
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
299
299
  }
300
- declare type AmplifyClientConfigType = Partial<
300
+ type AmplifyClientConfigType = Partial<
301
301
  __SmithyConfiguration<__HttpHandlerOptions>
302
302
  > &
303
303
  ClientDefaults &
@@ -309,7 +309,7 @@ declare type AmplifyClientConfigType = Partial<
309
309
  UserAgentInputConfig &
310
310
  ClientInputEndpointParameters;
311
311
  export interface AmplifyClientConfig extends AmplifyClientConfigType {}
312
- declare type AmplifyClientResolvedConfigType =
312
+ type AmplifyClientResolvedConfigType =
313
313
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
314
314
  Required<ClientDefaults> &
315
315
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
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.294.0",
4
+ "version": "3.295.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",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"