Skip to content

Commit 8fa517a

Browse files
authored
feat(clients): update clients as of 2022/03/10 (#3411)
* chore(models): update models as of 2022/03/10 * chore(endpoints): update endpoints model as of 03/10/2022 * feat(clients): update clients as of 03/10/2022 * test(functional): update autoscaling endpoint test case
1 parent 11c4a7b commit 8fa517a

File tree

318 files changed

+23925
-3005
lines changed

Some content is hidden

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

318 files changed

+23925
-3005
lines changed

clients/client-amplify/src/models/models_0.ts

+59-14
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ export interface AutoBranchCreationConfig {
5555
environmentVariables?: { [key: string]: string };
5656

5757
/**
58-
* <p> The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
58+
* <p> The basic authorization credentials for the autocreated branch. You must
59+
* base64-encode the authorization credentials and provide them in the format
60+
* <code>user:password</code>.</p>
5961
*/
6062
basicAuthCredentials?: string;
6163

@@ -66,7 +68,9 @@ export interface AutoBranchCreationConfig {
6668

6769
/**
6870
* <p>Enables performance mode for the branch.</p>
69-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
71+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
72+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
73+
* or code changes can take up to 10 minutes to roll out. </p>
7074
*/
7175
enablePerformanceMode?: boolean;
7276

@@ -93,6 +97,7 @@ export namespace AutoBranchCreationConfig {
9397
export const filterSensitiveLog = (obj: AutoBranchCreationConfig): any => ({
9498
...obj,
9599
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
100+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
96101
});
97102
}
98103

@@ -120,7 +125,8 @@ export interface CustomRule {
120125
* </dd>
121126
* <dt>301</dt>
122127
* <dd>
123-
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. </p>
128+
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future
129+
* requests should be directed to the target URL. </p>
124130
* </dd>
125131
* <dt>302</dt>
126132
* <dd>
@@ -155,6 +161,7 @@ export namespace CustomRule {
155161

156162
export enum Platform {
157163
WEB = "WEB",
164+
WEB_DYNAMIC = "WEB_DYNAMIC",
158165
}
159166

160167
/**
@@ -223,7 +230,9 @@ export interface CreateAppRequest {
223230
enableBasicAuth?: boolean;
224231

225232
/**
226-
* <p> The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
233+
* <p> The credentials for basic authorization for an Amplify app. You must base64-encode
234+
* the authorization credentials and provide them in the format
235+
* <code>user:password</code>.</p>
227236
*/
228237
basicAuthCredentials?: string;
229238

@@ -272,6 +281,7 @@ export namespace CreateAppRequest {
272281
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
273282
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
274283
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
284+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
275285
...(obj.autoBranchCreationConfig && {
276286
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
277287
}),
@@ -312,6 +322,12 @@ export namespace ProductionBranch {
312322
});
313323
}
314324

325+
export enum RepositoryCloneMethod {
326+
SIGV4 = "SIGV4",
327+
SSH = "SSH",
328+
TOKEN = "TOKEN",
329+
}
330+
315331
/**
316332
* <p> Represents the different branches of a repository for building, deploying, and
317333
* hosting an Amplify app. </p>
@@ -343,7 +359,7 @@ export interface App {
343359
description: string | undefined;
344360

345361
/**
346-
* <p> The repository for the Amplify app. </p>
362+
* <p> The Git repository for the Amplify app. </p>
347363
*/
348364
repository: string | undefined;
349365

@@ -395,7 +411,9 @@ export interface App {
395411
enableBasicAuth: boolean | undefined;
396412

397413
/**
398-
* <p> The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
414+
* <p> The basic authorization credentials for branches for the Amplify app. You must
415+
* base64-encode the authorization credentials and provide them in the format
416+
* <code>user:password</code>.</p>
399417
*/
400418
basicAuthCredentials?: string;
401419

@@ -434,6 +452,14 @@ export interface App {
434452
* <p> Describes the automated branch creation configuration for the Amplify app. </p>
435453
*/
436454
autoBranchCreationConfig?: AutoBranchCreationConfig;
455+
456+
/**
457+
* <p>The authentication protocol to use to access the Git repository for an Amplify app.
458+
* For a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,
459+
* specify <code>SIGV4</code>. For GitLab and Bitbucket repositories, specify
460+
* <code>SSH</code>.</p>
461+
*/
462+
repositoryCloneMethod?: RepositoryCloneMethod | string;
437463
}
438464

439465
export namespace App {
@@ -443,6 +469,7 @@ export namespace App {
443469
export const filterSensitiveLog = (obj: App): any => ({
444470
...obj,
445471
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
472+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
446473
...(obj.autoBranchCreationConfig && {
447474
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
448475
}),
@@ -707,7 +734,9 @@ export interface CreateBranchRequest {
707734
environmentVariables?: { [key: string]: string };
708735

709736
/**
710-
* <p> The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
737+
* <p> The basic authorization credentials for the branch. You must base64-encode the
738+
* authorization credentials and provide them in the format
739+
* <code>user:password</code>.</p>
711740
*/
712741
basicAuthCredentials?: string;
713742

@@ -718,7 +747,9 @@ export interface CreateBranchRequest {
718747

719748
/**
720749
* <p>Enables performance mode for the branch.</p>
721-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
750+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
751+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
752+
* or code changes can take up to 10 minutes to roll out. </p>
722753
*/
723754
enablePerformanceMode?: boolean;
724755

@@ -766,6 +797,7 @@ export namespace CreateBranchRequest {
766797
export const filterSensitiveLog = (obj: CreateBranchRequest): any => ({
767798
...obj,
768799
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
800+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
769801
});
770802
}
771803

@@ -855,7 +887,9 @@ export interface Branch {
855887

856888
/**
857889
* <p>Enables performance mode for the branch.</p>
858-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
890+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
891+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
892+
* or code changes can take up to 10 minutes to roll out. </p>
859893
*/
860894
enablePerformanceMode?: boolean;
861895

@@ -865,7 +899,9 @@ export interface Branch {
865899
thumbnailUrl?: string;
866900

867901
/**
868-
* <p> The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
902+
* <p> The basic authorization credentials for a branch of an Amplify app. You must
903+
* base64-encode the authorization credentials and provide them in the format
904+
* <code>user:password</code>.</p>
869905
*/
870906
basicAuthCredentials?: string;
871907

@@ -919,6 +955,7 @@ export namespace Branch {
919955
export const filterSensitiveLog = (obj: Branch): any => ({
920956
...obj,
921957
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
958+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
922959
});
923960
}
924961

@@ -2867,7 +2904,9 @@ export interface UpdateAppRequest {
28672904
enableBasicAuth?: boolean;
28682905

28692906
/**
2870-
* <p> The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
2907+
* <p> The basic authorization credentials for an Amplify app. You must base64-encode the
2908+
* authorization credentials and provide them in the format
2909+
* <code>user:password</code>.</p>
28712910
*/
28722911
basicAuthCredentials?: string;
28732912

@@ -2928,6 +2967,7 @@ export namespace UpdateAppRequest {
29282967
export const filterSensitiveLog = (obj: UpdateAppRequest): any => ({
29292968
...obj,
29302969
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
2970+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
29312971
...(obj.autoBranchCreationConfig && {
29322972
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
29332973
}),
@@ -3001,7 +3041,9 @@ export interface UpdateBranchRequest {
30013041
environmentVariables?: { [key: string]: string };
30023042

30033043
/**
3004-
* <p> The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format <code>user:password</code>.</p>
3044+
* <p> The basic authorization credentials for the branch. You must base64-encode the
3045+
* authorization credentials and provide them in the format
3046+
* <code>user:password</code>.</p>
30053047
*/
30063048
basicAuthCredentials?: string;
30073049

@@ -3012,7 +3054,9 @@ export interface UpdateBranchRequest {
30123054

30133055
/**
30143056
* <p>Enables performance mode for the branch.</p>
3015-
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. </p>
3057+
* <p>Performance mode optimizes for faster hosting performance by keeping content cached at
3058+
* the edge for a longer interval. When performance mode is enabled, hosting configuration
3059+
* or code changes can take up to 10 minutes to roll out. </p>
30163060
*/
30173061
enablePerformanceMode?: boolean;
30183062

@@ -3055,6 +3099,7 @@ export namespace UpdateBranchRequest {
30553099
export const filterSensitiveLog = (obj: UpdateBranchRequest): any => ({
30563100
...obj,
30573101
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
3102+
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
30583103
});
30593104
}
30603105

@@ -3100,7 +3145,7 @@ export interface UpdateDomainAssociationRequest {
31003145
/**
31013146
* <p> Describes the settings for the subdomain. </p>
31023147
*/
3103-
subDomainSettings: SubDomainSetting[] | undefined;
3148+
subDomainSettings?: SubDomainSetting[];
31043149

31053150
/**
31063151
* <p> Sets the branch patterns for automatic subdomain creation. </p>

clients/client-amplify/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3939,6 +3939,7 @@ const deserializeAws_restJson1App = (output: any, context: __SerdeContext): App
39393939
? deserializeAws_restJson1ProductionBranch(output.productionBranch, context)
39403940
: undefined,
39413941
repository: __expectString(output.repository),
3942+
repositoryCloneMethod: __expectString(output.repositoryCloneMethod),
39423943
tags:
39433944
output.tags !== undefined && output.tags !== null
39443945
? deserializeAws_restJson1TagMap(output.tags, context)

clients/client-amplifyuibuilder/README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@
77

88
AWS SDK for JavaScript AmplifyUIBuilder Client for Node.js, Browser and React Native.
99

10-
<p>The Amplify UI Builder API provides a programmatic interface for creating and configuring
11-
user interface (UI) component libraries and themes for use in your Amplify applications. You
12-
can then connect these UI components to an application's backend Amazon Web Services
13-
resources.</p>
14-
<p>You can also use the Amplify Studio visual designer to create UI components and model data
15-
for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
10+
<p>The Amplify UI Builder API provides a programmatic interface for creating
11+
and configuring user interface (UI) component libraries and themes for use in your Amplify applications. You can then connect these UI components to an application's
12+
backend Amazon Web Services resources.</p>
13+
<p>You can also use the Amplify Studio visual designer to create UI components
14+
and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
1615
<i>Amplify Docs</i>.</p>
17-
<p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
18-
for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
19-
deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>.</p>
16+
<p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
17+
documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
18+
deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify User Guide</a>.</p>
2019

2120
## Installing
2221

clients/client-amplifyuibuilder/src/AmplifyUIBuilder.ts

+14-15
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,15 @@ import {
5353
import { UpdateThemeCommand, UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";
5454

5555
/**
56-
* <p>The Amplify UI Builder API provides a programmatic interface for creating and configuring
57-
* user interface (UI) component libraries and themes for use in your Amplify applications. You
58-
* can then connect these UI components to an application's backend Amazon Web Services
59-
* resources.</p>
60-
* <p>You can also use the Amplify Studio visual designer to create UI components and model data
61-
* for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
56+
* <p>The Amplify UI Builder API provides a programmatic interface for creating
57+
* and configuring user interface (UI) component libraries and themes for use in your Amplify applications. You can then connect these UI components to an application's
58+
* backend Amazon Web Services resources.</p>
59+
* <p>You can also use the Amplify Studio visual designer to create UI components
60+
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
6261
* <i>Amplify Docs</i>.</p>
63-
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
64-
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
65-
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>.</p>
62+
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
63+
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
64+
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify User Guide</a>.</p>
6665
*/
6766
export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
6867
/**
@@ -214,8 +213,7 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
214213
}
215214

216215
/**
217-
* <p>Exports component configurations to code that is ready to integrate into an Amplify
218-
* app.</p>
216+
* <p>Exports component configurations to code that is ready to integrate into an Amplify app.</p>
219217
*/
220218
public exportComponents(
221219
args: ExportComponentsCommandInput,
@@ -247,8 +245,7 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
247245
}
248246

249247
/**
250-
* <p>Exports theme configurations to code that is ready to integrate into an Amplify
251-
* app.</p>
248+
* <p>Exports theme configurations to code that is ready to integrate into an Amplify app.</p>
252249
*/
253250
public exportThemes(
254251
args: ExportThemesCommandInput,
@@ -332,7 +329,8 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
332329
}
333330

334331
/**
335-
* <p>Retrieves a list of components for a specified Amplify app and backend environment.</p>
332+
* <p>Retrieves a list of components for a specified Amplify app and backend
333+
* environment.</p>
336334
*/
337335
public listComponents(
338336
args: ListComponentsCommandInput,
@@ -364,7 +362,8 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
364362
}
365363

366364
/**
367-
* <p>Retrieves a list of themes for a specified Amplify app and backend environment.</p>
365+
* <p>Retrieves a list of themes for a specified Amplify app and backend
366+
* environment.</p>
368367
*/
369368
public listThemes(args: ListThemesCommandInput, options?: __HttpHandlerOptions): Promise<ListThemesCommandOutput>;
370369
public listThemes(args: ListThemesCommandInput, cb: (err: any, data?: ListThemesCommandOutput) => void): void;

clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts

+8-9
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,15 @@ type AmplifyUIBuilderClientResolvedConfigType = __SmithyResolvedConfiguration<__
256256
export interface AmplifyUIBuilderClientResolvedConfig extends AmplifyUIBuilderClientResolvedConfigType {}
257257

258258
/**
259-
* <p>The Amplify UI Builder API provides a programmatic interface for creating and configuring
260-
* user interface (UI) component libraries and themes for use in your Amplify applications. You
261-
* can then connect these UI components to an application's backend Amazon Web Services
262-
* resources.</p>
263-
* <p>You can also use the Amplify Studio visual designer to create UI components and model data
264-
* for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
259+
* <p>The Amplify UI Builder API provides a programmatic interface for creating
260+
* and configuring user interface (UI) component libraries and themes for use in your Amplify applications. You can then connect these UI components to an application's
261+
* backend Amazon Web Services resources.</p>
262+
* <p>You can also use the Amplify Studio visual designer to create UI components
263+
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
265264
* <i>Amplify Docs</i>.</p>
266-
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
267-
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
268-
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Console User Guide</a>.</p>
265+
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
266+
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
267+
* deploying an Amplify application to Amazon Web Services, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify User Guide</a>.</p>
269268
*/
270269
export class AmplifyUIBuilderClient extends __Client<
271270
__HttpHandlerOptions,

0 commit comments

Comments
 (0)