@aws-sdk/client-amplify 3.767.0 → 3.772.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 CHANGED
@@ -1947,6 +1947,7 @@ var de_Steps = /* @__PURE__ */ __name((output, context) => {
1947
1947
  }, "de_Steps");
1948
1948
  var de_Webhook = /* @__PURE__ */ __name((output, context) => {
1949
1949
  return (0, import_smithy_client.take)(output, {
1950
+ appId: import_smithy_client.expectString,
1950
1951
  branchName: import_smithy_client.expectString,
1951
1952
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
1952
1953
  description: import_smithy_client.expectString,
@@ -1365,6 +1365,7 @@ const de_Steps = (output, context) => {
1365
1365
  };
1366
1366
  const de_Webhook = (output, context) => {
1367
1367
  return take(output, {
1368
+ appId: __expectString,
1368
1369
  branchName: __expectString,
1369
1370
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1370
1371
  description: __expectString,
@@ -46,6 +46,7 @@ declare const CreateWebhookCommand_base: {
46
46
  * // webhookArn: "STRING_VALUE", // required
47
47
  * // webhookId: "STRING_VALUE", // required
48
48
  * // webhookUrl: "STRING_VALUE", // required
49
+ * // appId: "STRING_VALUE",
49
50
  * // branchName: "STRING_VALUE", // required
50
51
  * // description: "STRING_VALUE", // required
51
52
  * // createTime: new Date("TIMESTAMP"), // required
@@ -44,6 +44,7 @@ declare const DeleteWebhookCommand_base: {
44
44
  * // webhookArn: "STRING_VALUE", // required
45
45
  * // webhookId: "STRING_VALUE", // required
46
46
  * // webhookUrl: "STRING_VALUE", // required
47
+ * // appId: "STRING_VALUE",
47
48
  * // branchName: "STRING_VALUE", // required
48
49
  * // description: "STRING_VALUE", // required
49
50
  * // createTime: new Date("TIMESTAMP"), // required
@@ -44,6 +44,7 @@ declare const GetWebhookCommand_base: {
44
44
  * // webhookArn: "STRING_VALUE", // required
45
45
  * // webhookId: "STRING_VALUE", // required
46
46
  * // webhookUrl: "STRING_VALUE", // required
47
+ * // appId: "STRING_VALUE",
47
48
  * // branchName: "STRING_VALUE", // required
48
49
  * // description: "STRING_VALUE", // required
49
50
  * // createTime: new Date("TIMESTAMP"), // required
@@ -27,7 +27,11 @@ declare const ListArtifactsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of artifacts for a specified app, branch, and job. </p>
30
+ * <p>Returns a list of end-to-end testing artifacts for a specified app, branch, and job.</p>
31
+ * <p>To return the build artifacts, use the <a href="https://docs.aws.amazon.com/amplify/latest/APIReference/API_GetJob.html">GetJob</a>
32
+ * API.</p>
33
+ * <p>For more information about Amplify testing support, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/running-tests.html">Setting up end-to-end Cypress tests for your Amplify application</a> in the <i>Amplify Hosting User
34
+ * Guide</i>. </p>
31
35
  * @example
32
36
  * Use a bare-bones client and the command you need to make an API call.
33
37
  * ```javascript
@@ -47,6 +47,7 @@ declare const ListWebhooksCommand_base: {
47
47
  * // webhookArn: "STRING_VALUE", // required
48
48
  * // webhookId: "STRING_VALUE", // required
49
49
  * // webhookUrl: "STRING_VALUE", // required
50
+ * // appId: "STRING_VALUE",
50
51
  * // branchName: "STRING_VALUE", // required
51
52
  * // description: "STRING_VALUE", // required
52
53
  * // createTime: new Date("TIMESTAMP"), // required
@@ -46,6 +46,7 @@ declare const UpdateWebhookCommand_base: {
46
46
  * // webhookArn: "STRING_VALUE", // required
47
47
  * // webhookId: "STRING_VALUE", // required
48
48
  * // webhookUrl: "STRING_VALUE", // required
49
+ * // appId: "STRING_VALUE",
49
50
  * // branchName: "STRING_VALUE", // required
50
51
  * // description: "STRING_VALUE", // required
51
52
  * // createTime: new Date("TIMESTAMP"), // required
@@ -1475,6 +1475,11 @@ export interface Webhook {
1475
1475
  * @public
1476
1476
  */
1477
1477
  webhookUrl: string | undefined;
1478
+ /**
1479
+ * <p>The unique ID of an Amplify app.</p>
1480
+ * @public
1481
+ */
1482
+ appId?: string | undefined;
1478
1483
  /**
1479
1484
  * <p>The name for a branch that is part of an Amplify app. </p>
1480
1485
  * @public
@@ -1999,7 +2004,7 @@ export interface Step {
1999
2004
  */
2000
2005
  logUrl?: string | undefined;
2001
2006
  /**
2002
- * <p> The URL to the artifact for the execution step. </p>
2007
+ * <p> The URL to the build artifact for the execution step. </p>
2003
2008
  * @public
2004
2009
  */
2005
2010
  artifactsUrl?: string | undefined;
@@ -335,6 +335,7 @@ export interface Webhook {
335
335
  webhookArn: string | undefined;
336
336
  webhookId: string | undefined;
337
337
  webhookUrl: string | undefined;
338
+ appId?: string | undefined;
338
339
  branchName: string | undefined;
339
340
  description: string | undefined;
340
341
  createTime: Date | undefined;
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.767.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amplify",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",