@aws-sdk/client-amplify 3.588.0 → 3.590.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-types/AmplifyClient.d.ts +4 -4
- package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +30 -7
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AmplifyClient.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +4 -4
|
@@ -127,15 +127,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
127
127
|
* Enables FIPS compatible endpoints.
|
|
128
128
|
*/
|
|
129
129
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* The AWS region to which this client will send requests
|
|
132
|
+
*/
|
|
133
|
+
region?: string | __Provider<string>;
|
|
130
134
|
/**
|
|
131
135
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
132
136
|
* @internal
|
|
133
137
|
*/
|
|
134
138
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
135
|
-
/**
|
|
136
|
-
* The AWS region to which this client will send requests
|
|
137
|
-
*/
|
|
138
|
-
region?: string | __Provider<string>;
|
|
139
139
|
/**
|
|
140
140
|
* Default credentials provider; Not available in browser runtime.
|
|
141
141
|
* @deprecated
|
|
@@ -29,8 +29,8 @@ declare const CreateBackendEnvironmentCommand_base: {
|
|
|
29
29
|
* <p>Creates a new backend environment for an Amplify app. </p>
|
|
30
30
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
31
31
|
* backend is created using Amplify Studio or the Amplify
|
|
32
|
-
* command line interface (CLI). This API isn’t available to
|
|
33
|
-
*
|
|
32
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2 applications.
|
|
33
|
+
* When you deploy an application with
|
|
34
34
|
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
35
35
|
* code.</p>
|
|
36
36
|
* @example
|
|
@@ -28,9 +28,9 @@ declare const DeleteBackendEnvironmentCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Deletes a backend environment for an Amplify app. </p>
|
|
30
30
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
31
|
-
* backend
|
|
32
|
-
* command line interface (CLI). This API isn’t available to
|
|
33
|
-
*
|
|
31
|
+
* backend is created using Amplify Studio or the Amplify
|
|
32
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2 applications.
|
|
33
|
+
* When you deploy an application with
|
|
34
34
|
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
35
35
|
* code.</p>
|
|
36
36
|
* @example
|
|
@@ -28,9 +28,9 @@ declare const GetBackendEnvironmentCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Returns a backend environment for an Amplify app. </p>
|
|
30
30
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
31
|
-
* backend
|
|
32
|
-
* command line interface (CLI). This API isn’t available to
|
|
33
|
-
*
|
|
31
|
+
* backend is created using Amplify Studio or the Amplify
|
|
32
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2 applications.
|
|
33
|
+
* When you deploy an application with
|
|
34
34
|
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
35
35
|
* code.</p>
|
|
36
36
|
* @example
|
|
@@ -28,9 +28,9 @@ declare const ListBackendEnvironmentsCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Lists the backend environments for an Amplify app. </p>
|
|
30
30
|
* <p>This API is available only to Amplify Gen 1 applications where the
|
|
31
|
-
* backend
|
|
32
|
-
* command line interface (CLI). This API isn’t available to
|
|
33
|
-
*
|
|
31
|
+
* backend is created using Amplify Studio or the Amplify
|
|
32
|
+
* command line interface (CLI). This API isn’t available to Amplify Gen 2 applications.
|
|
33
|
+
* When you deploy an application with
|
|
34
34
|
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
35
35
|
* code.</p>
|
|
36
36
|
* @example
|
|
@@ -553,7 +553,10 @@ export interface CreateBackendEnvironmentRequest {
|
|
|
553
553
|
deploymentArtifacts?: string;
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
|
-
* <p>Describes the backend environment
|
|
556
|
+
* <p>Describes the backend environment associated with a <code>Branch</code> of a Gen 1
|
|
557
|
+
* Amplify app. Amplify Gen 1 applications are created
|
|
558
|
+
* using Amplify Studio or the Amplify command line
|
|
559
|
+
* interface (CLI).</p>
|
|
557
560
|
* @public
|
|
558
561
|
*/
|
|
559
562
|
export interface BackendEnvironment {
|
|
@@ -615,8 +618,11 @@ export declare class NotFoundException extends __BaseException {
|
|
|
615
618
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
616
619
|
}
|
|
617
620
|
/**
|
|
618
|
-
* <p>Describes the backend
|
|
621
|
+
* <p>Describes the backend associated with an Amplify
|
|
619
622
|
* <code>Branch</code>.</p>
|
|
623
|
+
* <p>This property is available to Amplify Gen 2 apps only. When you deploy an application with
|
|
624
|
+
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
625
|
+
* code.</p>
|
|
620
626
|
* @public
|
|
621
627
|
*/
|
|
622
628
|
export interface Backend {
|
|
@@ -722,14 +728,20 @@ export interface CreateBranchRequest {
|
|
|
722
728
|
*/
|
|
723
729
|
pullRequestEnvironmentName?: string;
|
|
724
730
|
/**
|
|
725
|
-
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of
|
|
731
|
+
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify
|
|
726
732
|
* app. </p>
|
|
733
|
+
* <p>This field is available to Amplify Gen 1 apps only where the
|
|
734
|
+
* backend is created using Amplify Studio or the Amplify
|
|
735
|
+
* command line interface (CLI).</p>
|
|
727
736
|
* @public
|
|
728
737
|
*/
|
|
729
738
|
backendEnvironmentArn?: string;
|
|
730
739
|
/**
|
|
731
740
|
* <p>The backend for a <code>Branch</code> of an Amplify app. Use for a
|
|
732
741
|
* backend created from an CloudFormation stack.</p>
|
|
742
|
+
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with
|
|
743
|
+
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
744
|
+
* code.</p>
|
|
733
745
|
* @public
|
|
734
746
|
*/
|
|
735
747
|
backend?: Backend;
|
|
@@ -876,14 +888,19 @@ export interface Branch {
|
|
|
876
888
|
*/
|
|
877
889
|
sourceBranch?: string;
|
|
878
890
|
/**
|
|
879
|
-
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify
|
|
880
|
-
*
|
|
891
|
+
* <p> The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. </p>
|
|
892
|
+
* <p>This property is available to Amplify Gen 1 apps only. When you deploy an application with
|
|
893
|
+
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
894
|
+
* code.</p>
|
|
881
895
|
* @public
|
|
882
896
|
*/
|
|
883
897
|
backendEnvironmentArn?: string;
|
|
884
898
|
/**
|
|
885
|
-
* <p>Describes the backend
|
|
899
|
+
* <p>Describes the backend associated with an Amplify
|
|
886
900
|
* <code>Branch</code>.</p>
|
|
901
|
+
* <p>This property is available to Amplify Gen 2 apps only. When you deploy an application with
|
|
902
|
+
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
903
|
+
* code.</p>
|
|
887
904
|
* @public
|
|
888
905
|
*/
|
|
889
906
|
backend?: Backend;
|
|
@@ -2633,14 +2650,20 @@ export interface UpdateBranchRequest {
|
|
|
2633
2650
|
*/
|
|
2634
2651
|
pullRequestEnvironmentName?: string;
|
|
2635
2652
|
/**
|
|
2636
|
-
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of
|
|
2653
|
+
* <p>The Amazon Resource Name (ARN) for a backend environment that is part of a Gen 1 Amplify
|
|
2637
2654
|
* app. </p>
|
|
2655
|
+
* <p>This field is available to Amplify Gen 1 apps only where the
|
|
2656
|
+
* backend is created using Amplify Studio or the Amplify
|
|
2657
|
+
* command line interface (CLI).</p>
|
|
2638
2658
|
* @public
|
|
2639
2659
|
*/
|
|
2640
2660
|
backendEnvironmentArn?: string;
|
|
2641
2661
|
/**
|
|
2642
2662
|
* <p>The backend for a <code>Branch</code> of an Amplify app. Use for a
|
|
2643
2663
|
* backend created from an CloudFormation stack.</p>
|
|
2664
|
+
* <p>This field is available to Amplify Gen 2 apps only. When you deploy an application with
|
|
2665
|
+
* Amplify Gen 2, you provision the app's backend infrastructure using Typescript
|
|
2666
|
+
* code.</p>
|
|
2644
2667
|
* @public
|
|
2645
2668
|
*/
|
|
2646
2669
|
backend?: Backend;
|
|
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
-
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
22
21
|
region: string | import("@smithy/types").Provider<any>;
|
|
22
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -292,8 +292,8 @@ export interface ClientDefaults
|
|
|
292
292
|
serviceId?: string;
|
|
293
293
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
294
294
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
295
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
296
295
|
region?: string | __Provider<string>;
|
|
296
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
297
297
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
298
298
|
maxAttempts?: number | __Provider<number>;
|
|
299
299
|
retryMode?: string | __Provider<string>;
|
|
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: AmplifyClientConfig) => {
|
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
23
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
24
25
|
import("@smithy/types").UserAgent
|
|
25
26
|
>;
|
|
26
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
credentialDefaultProvider: (
|
|
28
28
|
input: any
|
|
29
29
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
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.
|
|
4
|
+
"version": "3.590.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
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-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.590.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.590.0",
|
|
25
25
|
"@aws-sdk/core": "3.588.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.590.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|