@aws-sdk/client-amplify 3.212.0 → 3.215.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.
@@ -29,6 +29,7 @@ var Stage;
29
29
  var Platform;
30
30
  (function (Platform) {
31
31
  Platform["WEB"] = "WEB";
32
+ Platform["WEB_COMPUTE"] = "WEB_COMPUTE";
32
33
  Platform["WEB_DYNAMIC"] = "WEB_DYNAMIC";
33
34
  })(Platform = exports.Platform || (exports.Platform = {}));
34
35
  var RepositoryCloneMethod;
@@ -23,6 +23,7 @@ export var Stage;
23
23
  export var Platform;
24
24
  (function (Platform) {
25
25
  Platform["WEB"] = "WEB";
26
+ Platform["WEB_COMPUTE"] = "WEB_COMPUTE";
26
27
  Platform["WEB_DYNAMIC"] = "WEB_DYNAMIC";
27
28
  })(Platform || (Platform = {}));
28
29
  export var RepositoryCloneMethod;
@@ -115,6 +115,7 @@ export interface CustomRule {
115
115
  }
116
116
  export declare enum Platform {
117
117
  WEB = "WEB",
118
+ WEB_COMPUTE = "WEB_COMPUTE",
118
119
  WEB_DYNAMIC = "WEB_DYNAMIC"
119
120
  }
120
121
  /**
@@ -134,7 +135,10 @@ export interface CreateAppRequest {
134
135
  */
135
136
  repository?: string;
136
137
  /**
137
- * <p> The platform or framework for an Amplify app. </p>
138
+ * <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
139
+ * For a dynamic server-side rendered (SSR) app, set the platform type to
140
+ * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
141
+ * <code>WEB_DYNAMIC</code>.</p>
138
142
  */
139
143
  platform?: Platform | string;
140
144
  /**
@@ -279,7 +283,10 @@ export interface App {
279
283
  */
280
284
  repository: string | undefined;
281
285
  /**
282
- * <p> The platform for the Amplify app. </p>
286
+ * <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
287
+ * For a dynamic server-side rendered (SSR) app, set the platform type to
288
+ * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
289
+ * <code>WEB_DYNAMIC</code>.</p>
283
290
  */
284
291
  platform: Platform | string | undefined;
285
292
  /**
@@ -1793,7 +1800,10 @@ export interface UpdateAppRequest {
1793
1800
  */
1794
1801
  description?: string;
1795
1802
  /**
1796
- * <p> The platform for an Amplify app. </p>
1803
+ * <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
1804
+ * For a dynamic server-side rendered (SSR) app, set the platform type to
1805
+ * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
1806
+ * <code>WEB_DYNAMIC</code>.</p>
1797
1807
  */
1798
1808
  platform?: Platform | string;
1799
1809
  /**
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
31
31
  }) => import("@aws-sdk/types").EndpointV2;
32
32
  tls?: boolean | undefined;
33
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
34
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
35
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
36
  signingEscapePath?: boolean | undefined;
37
37
  systemClockOffset?: number | undefined;
@@ -34,6 +34,7 @@ export interface CustomRule {
34
34
  }
35
35
  export declare enum Platform {
36
36
  WEB = "WEB",
37
+ WEB_COMPUTE = "WEB_COMPUTE",
37
38
  WEB_DYNAMIC = "WEB_DYNAMIC",
38
39
  }
39
40
  export interface CreateAppRequest {
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
64
64
  tls?: boolean | undefined;
65
65
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
66
  credentials?:
67
- | import("@aws-sdk/types").Credentials
68
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
69
71
  | undefined;
70
72
  signer?:
71
73
  | import("@aws-sdk/types").RequestSigner
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
64
64
  tls?: boolean | undefined;
65
65
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
66
  credentials?:
67
- | import("@aws-sdk/types").Credentials
68
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
69
71
  | undefined;
70
72
  signer?:
71
73
  | import("@aws-sdk/types").RequestSigner
@@ -53,8 +53,10 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
53
53
  tls?: boolean | undefined;
54
54
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
55
55
  credentials?:
56
- | import("@aws-sdk/types").Credentials
57
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
56
+ | import("@aws-sdk/types").AwsCredentialIdentity
57
+ | import("@aws-sdk/types").Provider<
58
+ import("@aws-sdk/types").AwsCredentialIdentity
59
+ >
58
60
  | undefined;
59
61
  signer?:
60
62
  | import("@aws-sdk/types").RequestSigner
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.212.0",
4
+ "version": "3.215.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",
@@ -19,36 +19,36 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.212.0",
23
- "@aws-sdk/config-resolver": "3.212.0",
24
- "@aws-sdk/credential-provider-node": "3.212.0",
25
- "@aws-sdk/fetch-http-handler": "3.212.0",
26
- "@aws-sdk/hash-node": "3.212.0",
27
- "@aws-sdk/invalid-dependency": "3.212.0",
28
- "@aws-sdk/middleware-content-length": "3.212.0",
29
- "@aws-sdk/middleware-endpoint": "3.212.0",
30
- "@aws-sdk/middleware-host-header": "3.212.0",
31
- "@aws-sdk/middleware-logger": "3.212.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
- "@aws-sdk/middleware-retry": "3.212.0",
34
- "@aws-sdk/middleware-serde": "3.212.0",
35
- "@aws-sdk/middleware-signing": "3.212.0",
36
- "@aws-sdk/middleware-stack": "3.212.0",
37
- "@aws-sdk/middleware-user-agent": "3.212.0",
38
- "@aws-sdk/node-config-provider": "3.212.0",
39
- "@aws-sdk/node-http-handler": "3.212.0",
40
- "@aws-sdk/protocol-http": "3.212.0",
41
- "@aws-sdk/smithy-client": "3.212.0",
42
- "@aws-sdk/types": "3.212.0",
43
- "@aws-sdk/url-parser": "3.212.0",
22
+ "@aws-sdk/client-sts": "3.215.0",
23
+ "@aws-sdk/config-resolver": "3.215.0",
24
+ "@aws-sdk/credential-provider-node": "3.215.0",
25
+ "@aws-sdk/fetch-http-handler": "3.215.0",
26
+ "@aws-sdk/hash-node": "3.215.0",
27
+ "@aws-sdk/invalid-dependency": "3.215.0",
28
+ "@aws-sdk/middleware-content-length": "3.215.0",
29
+ "@aws-sdk/middleware-endpoint": "3.215.0",
30
+ "@aws-sdk/middleware-host-header": "3.215.0",
31
+ "@aws-sdk/middleware-logger": "3.215.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
+ "@aws-sdk/middleware-retry": "3.215.0",
34
+ "@aws-sdk/middleware-serde": "3.215.0",
35
+ "@aws-sdk/middleware-signing": "3.215.0",
36
+ "@aws-sdk/middleware-stack": "3.215.0",
37
+ "@aws-sdk/middleware-user-agent": "3.215.0",
38
+ "@aws-sdk/node-config-provider": "3.215.0",
39
+ "@aws-sdk/node-http-handler": "3.215.0",
40
+ "@aws-sdk/protocol-http": "3.215.0",
41
+ "@aws-sdk/smithy-client": "3.215.0",
42
+ "@aws-sdk/types": "3.215.0",
43
+ "@aws-sdk/url-parser": "3.215.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
- "@aws-sdk/util-endpoints": "3.212.0",
50
- "@aws-sdk/util-user-agent-browser": "3.212.0",
51
- "@aws-sdk/util-user-agent-node": "3.212.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
+ "@aws-sdk/util-endpoints": "3.215.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.215.0",
51
+ "@aws-sdk/util-user-agent-node": "3.215.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1"