Skip to content

Commit df2f16b

Browse files
author
awstools
committed
feat(client-amplify): Add backend field to CreateBranch and UpdateBranch requests. Add pagination support for ListApps, ListDomainAssociations, ListBranches, and ListJobs
1 parent 1c2b78d commit df2f16b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1053
-710
lines changed

Diff for: clients/client-amplify/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native.
88

99
<p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
10-
The Amplify Console provides a continuous delivery and hosting service for web
11-
applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
10+
Amplify Hosting provides a continuous delivery and hosting service for web
11+
applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
1212
Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
1313
for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
1414
</p>

Diff for: clients/client-amplify/src/Amplify.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ export interface Amplify {
667667
/**
668668
* @public
669669
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
670-
* The Amplify Console provides a continuous delivery and hosting service for web
671-
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
670+
* Amplify Hosting provides a continuous delivery and hosting service for web
671+
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
672672
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
673673
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
674674
* </p>

Diff for: clients/client-amplify/src/AmplifyClient.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ export interface AmplifyClientResolvedConfig extends AmplifyClientResolvedConfig
385385
/**
386386
* @public
387387
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
388-
* The Amplify Console provides a continuous delivery and hosting service for web
389-
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>. The
388+
* Amplify Hosting provides a continuous delivery and hosting service for web
389+
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
390390
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
391391
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>
392392
* </p>

Diff for: clients/client-amplify/src/commands/CreateAppCommand.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
4242

4343
/**
4444
* @public
45-
* <p> Creates a new Amplify app. </p>
45+
* <p>Creates a new Amplify app. </p>
4646
* @example
4747
* Use a bare-bones client and the command you need to make an API call.
4848
* ```javascript
@@ -167,19 +167,19 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
167167
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
168168
*
169169
* @throws {@link BadRequestException} (client fault)
170-
* <p> A request contains unexpected data. </p>
170+
* <p>A request contains unexpected data. </p>
171171
*
172172
* @throws {@link DependentServiceFailureException} (server fault)
173-
* <p> An operation failed because a dependent service threw an exception. </p>
173+
* <p>An operation failed because a dependent service threw an exception. </p>
174174
*
175175
* @throws {@link InternalFailureException} (server fault)
176-
* <p> The service failed to perform an operation due to an internal issue. </p>
176+
* <p>The service failed to perform an operation due to an internal issue. </p>
177177
*
178178
* @throws {@link LimitExceededException} (client fault)
179-
* <p> A resource could not be created because service quotas were exceeded. </p>
179+
* <p>A resource could not be created because service quotas were exceeded. </p>
180180
*
181181
* @throws {@link UnauthorizedException} (client fault)
182-
* <p> An operation failed due to a lack of access. </p>
182+
* <p>An operation failed due to a lack of access. </p>
183183
*
184184
* @throws {@link AmplifyServiceException}
185185
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/CreateBackendEnvironmentCommand.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
3737

3838
/**
3939
* @public
40-
* <p> Creates a new backend environment for an Amplify app. </p>
40+
* <p>Creates a new backend environment for an Amplify app. </p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript
@@ -72,19 +72,19 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
7272
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
7373
*
7474
* @throws {@link BadRequestException} (client fault)
75-
* <p> A request contains unexpected data. </p>
75+
* <p>A request contains unexpected data. </p>
7676
*
7777
* @throws {@link InternalFailureException} (server fault)
78-
* <p> The service failed to perform an operation due to an internal issue. </p>
78+
* <p>The service failed to perform an operation due to an internal issue. </p>
7979
*
8080
* @throws {@link LimitExceededException} (client fault)
81-
* <p> A resource could not be created because service quotas were exceeded. </p>
81+
* <p>A resource could not be created because service quotas were exceeded. </p>
8282
*
8383
* @throws {@link NotFoundException} (client fault)
84-
* <p> An entity was not found during an operation. </p>
84+
* <p>An entity was not found during an operation. </p>
8585
*
8686
* @throws {@link UnauthorizedException} (client fault)
87-
* <p> An operation failed due to a lack of access. </p>
87+
* <p>An operation failed due to a lack of access. </p>
8888
*
8989
* @throws {@link AmplifyServiceException}
9090
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/CreateBranchCommand.ts

+12-6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
7272
* enablePullRequestPreview: true || false,
7373
* pullRequestEnvironmentName: "STRING_VALUE",
7474
* backendEnvironmentArn: "STRING_VALUE",
75+
* backend: { // Backend
76+
* stackArn: "STRING_VALUE",
77+
* },
7578
* };
7679
* const command = new CreateBranchCommand(input);
7780
* const response = await client.send(command);
@@ -112,6 +115,9 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
112115
* // destinationBranch: "STRING_VALUE",
113116
* // sourceBranch: "STRING_VALUE",
114117
* // backendEnvironmentArn: "STRING_VALUE",
118+
* // backend: { // Backend
119+
* // stackArn: "STRING_VALUE",
120+
* // },
115121
* // },
116122
* // };
117123
*
@@ -124,22 +130,22 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
124130
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
125131
*
126132
* @throws {@link BadRequestException} (client fault)
127-
* <p> A request contains unexpected data. </p>
133+
* <p>A request contains unexpected data. </p>
128134
*
129135
* @throws {@link DependentServiceFailureException} (server fault)
130-
* <p> An operation failed because a dependent service threw an exception. </p>
136+
* <p>An operation failed because a dependent service threw an exception. </p>
131137
*
132138
* @throws {@link InternalFailureException} (server fault)
133-
* <p> The service failed to perform an operation due to an internal issue. </p>
139+
* <p>The service failed to perform an operation due to an internal issue. </p>
134140
*
135141
* @throws {@link LimitExceededException} (client fault)
136-
* <p> A resource could not be created because service quotas were exceeded. </p>
142+
* <p>A resource could not be created because service quotas were exceeded. </p>
137143
*
138144
* @throws {@link NotFoundException} (client fault)
139-
* <p> An entity was not found during an operation. </p>
145+
* <p>An entity was not found during an operation. </p>
140146
*
141147
* @throws {@link UnauthorizedException} (client fault)
142-
* <p> An operation failed due to a lack of access. </p>
148+
* <p>An operation failed due to a lack of access. </p>
143149
*
144150
* @throws {@link AmplifyServiceException}
145151
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/CreateDeploymentCommand.ts

+9-5
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
3737

3838
/**
3939
* @public
40-
* <p> Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
40+
* <p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
4141
* not connected to a repository. </p>
42+
* <p>The maximum duration between the <code>CreateDeployment</code> call and the
43+
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the
44+
* <code>StartDeployment</code> call and the associated <code>Job</code> will
45+
* fail.</p>
4246
* @example
4347
* Use a bare-bones client and the command you need to make an API call.
4448
* ```javascript
@@ -71,16 +75,16 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
7175
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
7276
*
7377
* @throws {@link BadRequestException} (client fault)
74-
* <p> A request contains unexpected data. </p>
78+
* <p>A request contains unexpected data. </p>
7579
*
7680
* @throws {@link InternalFailureException} (server fault)
77-
* <p> The service failed to perform an operation due to an internal issue. </p>
81+
* <p>The service failed to perform an operation due to an internal issue. </p>
7882
*
7983
* @throws {@link LimitExceededException} (client fault)
80-
* <p> A resource could not be created because service quotas were exceeded. </p>
84+
* <p>A resource could not be created because service quotas were exceeded. </p>
8185
*
8286
* @throws {@link UnauthorizedException} (client fault)
83-
* <p> An operation failed due to a lack of access. </p>
87+
* <p>An operation failed due to a lack of access. </p>
8488
*
8589
* @throws {@link AmplifyServiceException}
8690
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/CreateDomainAssociationCommand.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -96,22 +96,22 @@ export interface CreateDomainAssociationCommandOutput extends CreateDomainAssoci
9696
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
9797
*
9898
* @throws {@link BadRequestException} (client fault)
99-
* <p> A request contains unexpected data. </p>
99+
* <p>A request contains unexpected data. </p>
100100
*
101101
* @throws {@link DependentServiceFailureException} (server fault)
102-
* <p> An operation failed because a dependent service threw an exception. </p>
102+
* <p>An operation failed because a dependent service threw an exception. </p>
103103
*
104104
* @throws {@link InternalFailureException} (server fault)
105-
* <p> The service failed to perform an operation due to an internal issue. </p>
105+
* <p>The service failed to perform an operation due to an internal issue. </p>
106106
*
107107
* @throws {@link LimitExceededException} (client fault)
108-
* <p> A resource could not be created because service quotas were exceeded. </p>
108+
* <p>A resource could not be created because service quotas were exceeded. </p>
109109
*
110110
* @throws {@link NotFoundException} (client fault)
111-
* <p> An entity was not found during an operation. </p>
111+
* <p>An entity was not found during an operation. </p>
112112
*
113113
* @throws {@link UnauthorizedException} (client fault)
114-
* <p> An operation failed due to a lack of access. </p>
114+
* <p>An operation failed due to a lack of access. </p>
115115
*
116116
* @throws {@link AmplifyServiceException}
117117
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/CreateWebhookCommand.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
3737

3838
/**
3939
* @public
40-
* <p> Creates a new webhook on an Amplify app. </p>
40+
* <p>Creates a new webhook on an Amplify app. </p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript
@@ -72,22 +72,22 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
7272
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
7373
*
7474
* @throws {@link BadRequestException} (client fault)
75-
* <p> A request contains unexpected data. </p>
75+
* <p>A request contains unexpected data. </p>
7676
*
7777
* @throws {@link DependentServiceFailureException} (server fault)
78-
* <p> An operation failed because a dependent service threw an exception. </p>
78+
* <p>An operation failed because a dependent service threw an exception. </p>
7979
*
8080
* @throws {@link InternalFailureException} (server fault)
81-
* <p> The service failed to perform an operation due to an internal issue. </p>
81+
* <p>The service failed to perform an operation due to an internal issue. </p>
8282
*
8383
* @throws {@link LimitExceededException} (client fault)
84-
* <p> A resource could not be created because service quotas were exceeded. </p>
84+
* <p>A resource could not be created because service quotas were exceeded. </p>
8585
*
8686
* @throws {@link NotFoundException} (client fault)
87-
* <p> An entity was not found during an operation. </p>
87+
* <p>An entity was not found during an operation. </p>
8888
*
8989
* @throws {@link UnauthorizedException} (client fault)
90-
* <p> An operation failed due to a lack of access. </p>
90+
* <p>An operation failed due to a lack of access. </p>
9191
*
9292
* @throws {@link AmplifyServiceException}
9393
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/DeleteAppCommand.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
3737

3838
/**
3939
* @public
40-
* <p> Deletes an existing Amplify app specified by an app ID. </p>
40+
* <p>Deletes an existing Amplify app specified by an app ID. </p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript
@@ -118,19 +118,19 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
118118
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
119119
*
120120
* @throws {@link BadRequestException} (client fault)
121-
* <p> A request contains unexpected data. </p>
121+
* <p>A request contains unexpected data. </p>
122122
*
123123
* @throws {@link DependentServiceFailureException} (server fault)
124-
* <p> An operation failed because a dependent service threw an exception. </p>
124+
* <p>An operation failed because a dependent service threw an exception. </p>
125125
*
126126
* @throws {@link InternalFailureException} (server fault)
127-
* <p> The service failed to perform an operation due to an internal issue. </p>
127+
* <p>The service failed to perform an operation due to an internal issue. </p>
128128
*
129129
* @throws {@link NotFoundException} (client fault)
130-
* <p> An entity was not found during an operation. </p>
130+
* <p>An entity was not found during an operation. </p>
131131
*
132132
* @throws {@link UnauthorizedException} (client fault)
133-
* <p> An operation failed due to a lack of access. </p>
133+
* <p>An operation failed due to a lack of access. </p>
134134
*
135135
* @throws {@link AmplifyServiceException}
136136
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/DeleteBackendEnvironmentCommand.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface DeleteBackendEnvironmentCommandOutput extends DeleteBackendEnvi
3737

3838
/**
3939
* @public
40-
* <p> Deletes a backend environment for an Amplify app. </p>
40+
* <p>Deletes a backend environment for an Amplify app. </p>
4141
* @example
4242
* Use a bare-bones client and the command you need to make an API call.
4343
* ```javascript
@@ -70,19 +70,19 @@ export interface DeleteBackendEnvironmentCommandOutput extends DeleteBackendEnvi
7070
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
7171
*
7272
* @throws {@link BadRequestException} (client fault)
73-
* <p> A request contains unexpected data. </p>
73+
* <p>A request contains unexpected data. </p>
7474
*
7575
* @throws {@link DependentServiceFailureException} (server fault)
76-
* <p> An operation failed because a dependent service threw an exception. </p>
76+
* <p>An operation failed because a dependent service threw an exception. </p>
7777
*
7878
* @throws {@link InternalFailureException} (server fault)
79-
* <p> The service failed to perform an operation due to an internal issue. </p>
79+
* <p>The service failed to perform an operation due to an internal issue. </p>
8080
*
8181
* @throws {@link NotFoundException} (client fault)
82-
* <p> An entity was not found during an operation. </p>
82+
* <p>An entity was not found during an operation. </p>
8383
*
8484
* @throws {@link UnauthorizedException} (client fault)
85-
* <p> An operation failed due to a lack of access. </p>
85+
* <p>An operation failed due to a lack of access. </p>
8686
*
8787
* @throws {@link AmplifyServiceException}
8888
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/DeleteBranchCommand.ts

+8-5
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ export interface DeleteBranchCommandOutput extends DeleteBranchResult, __Metadat
8787
* // destinationBranch: "STRING_VALUE",
8888
* // sourceBranch: "STRING_VALUE",
8989
* // backendEnvironmentArn: "STRING_VALUE",
90+
* // backend: { // Backend
91+
* // stackArn: "STRING_VALUE",
92+
* // },
9093
* // },
9194
* // };
9295
*
@@ -99,19 +102,19 @@ export interface DeleteBranchCommandOutput extends DeleteBranchResult, __Metadat
99102
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
100103
*
101104
* @throws {@link BadRequestException} (client fault)
102-
* <p> A request contains unexpected data. </p>
105+
* <p>A request contains unexpected data. </p>
103106
*
104107
* @throws {@link DependentServiceFailureException} (server fault)
105-
* <p> An operation failed because a dependent service threw an exception. </p>
108+
* <p>An operation failed because a dependent service threw an exception. </p>
106109
*
107110
* @throws {@link InternalFailureException} (server fault)
108-
* <p> The service failed to perform an operation due to an internal issue. </p>
111+
* <p>The service failed to perform an operation due to an internal issue. </p>
109112
*
110113
* @throws {@link NotFoundException} (client fault)
111-
* <p> An entity was not found during an operation. </p>
114+
* <p>An entity was not found during an operation. </p>
112115
*
113116
* @throws {@link UnauthorizedException} (client fault)
114-
* <p> An operation failed due to a lack of access. </p>
117+
* <p>An operation failed due to a lack of access. </p>
115118
*
116119
* @throws {@link AmplifyServiceException}
117120
* <p>Base exception class for all service exceptions from Amplify service.</p>

Diff for: clients/client-amplify/src/commands/DeleteDomainAssociationCommand.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ export interface DeleteDomainAssociationCommandOutput extends DeleteDomainAssoci
8484
* @see {@link AmplifyClientResolvedConfig | config} for AmplifyClient's `config` shape.
8585
*
8686
* @throws {@link BadRequestException} (client fault)
87-
* <p> A request contains unexpected data. </p>
87+
* <p>A request contains unexpected data. </p>
8888
*
8989
* @throws {@link DependentServiceFailureException} (server fault)
90-
* <p> An operation failed because a dependent service threw an exception. </p>
90+
* <p>An operation failed because a dependent service threw an exception. </p>
9191
*
9292
* @throws {@link InternalFailureException} (server fault)
93-
* <p> The service failed to perform an operation due to an internal issue. </p>
93+
* <p>The service failed to perform an operation due to an internal issue. </p>
9494
*
9595
* @throws {@link NotFoundException} (client fault)
96-
* <p> An entity was not found during an operation. </p>
96+
* <p>An entity was not found during an operation. </p>
9797
*
9898
* @throws {@link UnauthorizedException} (client fault)
99-
* <p> An operation failed due to a lack of access. </p>
99+
* <p>An operation failed due to a lack of access. </p>
100100
*
101101
* @throws {@link AmplifyServiceException}
102102
* <p>Base exception class for all service exceptions from Amplify service.</p>

0 commit comments

Comments
 (0)