Skip to content

Commit

Permalink
feat(clients): update clients as of 2022/03/10 (#3411)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AllanZhengYP authored Mar 10, 2022
1 parent 11c4a7b commit 8fa517a
Show file tree
Hide file tree
Showing 318 changed files with 23,925 additions and 3,005 deletions.
73 changes: 59 additions & 14 deletions clients/client-amplify/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export interface AutoBranchCreationConfig {
environmentVariables?: { [key: string]: string };

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

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

/**
* <p>Enables performance mode for the branch.</p>
* <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>
* <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>
*/
enablePerformanceMode?: boolean;

Expand All @@ -93,6 +97,7 @@ export namespace AutoBranchCreationConfig {
export const filterSensitiveLog = (obj: AutoBranchCreationConfig): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
});
}

Expand Down Expand Up @@ -120,7 +125,8 @@ export interface CustomRule {
* </dd>
* <dt>301</dt>
* <dd>
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. </p>
* <p>Represents a 301 (moved pemanently) redirect rule. This and all future
* requests should be directed to the target URL. </p>
* </dd>
* <dt>302</dt>
* <dd>
Expand Down Expand Up @@ -155,6 +161,7 @@ export namespace CustomRule {

export enum Platform {
WEB = "WEB",
WEB_DYNAMIC = "WEB_DYNAMIC",
}

/**
Expand Down Expand Up @@ -223,7 +230,9 @@ export interface CreateAppRequest {
enableBasicAuth?: boolean;

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

Expand Down Expand Up @@ -272,6 +281,7 @@ export namespace CreateAppRequest {
...(obj.oauthToken && { oauthToken: SENSITIVE_STRING }),
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
...(obj.autoBranchCreationConfig && {
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
}),
Expand Down Expand Up @@ -312,6 +322,12 @@ export namespace ProductionBranch {
});
}

export enum RepositoryCloneMethod {
SIGV4 = "SIGV4",
SSH = "SSH",
TOKEN = "TOKEN",
}

/**
* <p> Represents the different branches of a repository for building, deploying, and
* hosting an Amplify app. </p>
Expand Down Expand Up @@ -343,7 +359,7 @@ export interface App {
description: string | undefined;

/**
* <p> The repository for the Amplify app. </p>
* <p> The Git repository for the Amplify app. </p>
*/
repository: string | undefined;

Expand Down Expand Up @@ -395,7 +411,9 @@ export interface App {
enableBasicAuth: boolean | undefined;

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

Expand Down Expand Up @@ -434,6 +452,14 @@ export interface App {
* <p> Describes the automated branch creation configuration for the Amplify app. </p>
*/
autoBranchCreationConfig?: AutoBranchCreationConfig;

/**
* <p>The authentication protocol to use to access the Git repository for an Amplify app.
* For a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,
* specify <code>SIGV4</code>. For GitLab and Bitbucket repositories, specify
* <code>SSH</code>.</p>
*/
repositoryCloneMethod?: RepositoryCloneMethod | string;
}

export namespace App {
Expand All @@ -443,6 +469,7 @@ export namespace App {
export const filterSensitiveLog = (obj: App): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
...(obj.autoBranchCreationConfig && {
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
}),
Expand Down Expand Up @@ -707,7 +734,9 @@ export interface CreateBranchRequest {
environmentVariables?: { [key: string]: string };

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

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

/**
* <p>Enables performance mode for the branch.</p>
* <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>
* <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>
*/
enablePerformanceMode?: boolean;

Expand Down Expand Up @@ -766,6 +797,7 @@ export namespace CreateBranchRequest {
export const filterSensitiveLog = (obj: CreateBranchRequest): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
});
}

Expand Down Expand Up @@ -855,7 +887,9 @@ export interface Branch {

/**
* <p>Enables performance mode for the branch.</p>
* <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>
* <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>
*/
enablePerformanceMode?: boolean;

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

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

Expand Down Expand Up @@ -919,6 +955,7 @@ export namespace Branch {
export const filterSensitiveLog = (obj: Branch): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
});
}

Expand Down Expand Up @@ -2867,7 +2904,9 @@ export interface UpdateAppRequest {
enableBasicAuth?: boolean;

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

Expand Down Expand Up @@ -2928,6 +2967,7 @@ export namespace UpdateAppRequest {
export const filterSensitiveLog = (obj: UpdateAppRequest): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
...(obj.autoBranchCreationConfig && {
autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
}),
Expand Down Expand Up @@ -3001,7 +3041,9 @@ export interface UpdateBranchRequest {
environmentVariables?: { [key: string]: string };

/**
* <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>
* <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>
*/
basicAuthCredentials?: string;

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

/**
* <p>Enables performance mode for the branch.</p>
* <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>
* <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>
*/
enablePerformanceMode?: boolean;

Expand Down Expand Up @@ -3055,6 +3099,7 @@ export namespace UpdateBranchRequest {
export const filterSensitiveLog = (obj: UpdateBranchRequest): any => ({
...obj,
...(obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }),
...(obj.buildSpec && { buildSpec: SENSITIVE_STRING }),
});
}

Expand Down Expand Up @@ -3100,7 +3145,7 @@ export interface UpdateDomainAssociationRequest {
/**
* <p> Describes the settings for the subdomain. </p>
*/
subDomainSettings: SubDomainSetting[] | undefined;
subDomainSettings?: SubDomainSetting[];

/**
* <p> Sets the branch patterns for automatic subdomain creation. </p>
Expand Down
1 change: 1 addition & 0 deletions clients/client-amplify/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3939,6 +3939,7 @@ const deserializeAws_restJson1App = (output: any, context: __SerdeContext): App
? deserializeAws_restJson1ProductionBranch(output.productionBranch, context)
: undefined,
repository: __expectString(output.repository),
repositoryCloneMethod: __expectString(output.repositoryCloneMethod),
tags:
output.tags !== undefined && output.tags !== null
? deserializeAws_restJson1TagMap(output.tags, context)
Expand Down
17 changes: 8 additions & 9 deletions clients/client-amplifyuibuilder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@

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

<p>The Amplify UI Builder API provides a programmatic interface for creating 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 backend Amazon Web Services
resources.</p>
<p>You can also use the Amplify Studio visual designer to create UI components and model data
for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
<p>The Amplify UI Builder API provides a programmatic interface for creating
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
backend Amazon Web Services resources.</p>
<p>You can also use the Amplify Studio visual designer to create UI components
and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
<i>Amplify Docs</i>.</p>
<p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
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>
<p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
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>

## Installing

Expand Down
29 changes: 14 additions & 15 deletions clients/client-amplifyuibuilder/src/AmplifyUIBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@ import {
import { UpdateThemeCommand, UpdateThemeCommandInput, UpdateThemeCommandOutput } from "./commands/UpdateThemeCommand";

/**
* <p>The Amplify UI Builder API provides a programmatic interface for creating 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 backend Amazon Web Services
* resources.</p>
* <p>You can also use the Amplify Studio visual designer to create UI components and model data
* for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
* <p>The Amplify UI Builder API provides a programmatic interface for creating
* 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
* backend Amazon Web Services resources.</p>
* <p>You can also use the Amplify Studio visual designer to create UI components
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
* <i>Amplify Docs</i>.</p>
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
* 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>
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
* 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>
*/
export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
/**
Expand Down Expand Up @@ -214,8 +213,7 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
}

/**
* <p>Exports component configurations to code that is ready to integrate into an Amplify
* app.</p>
* <p>Exports component configurations to code that is ready to integrate into an Amplify app.</p>
*/
public exportComponents(
args: ExportComponentsCommandInput,
Expand Down Expand Up @@ -247,8 +245,7 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
}

/**
* <p>Exports theme configurations to code that is ready to integrate into an Amplify
* app.</p>
* <p>Exports theme configurations to code that is ready to integrate into an Amplify app.</p>
*/
public exportThemes(
args: ExportThemesCommandInput,
Expand Down Expand Up @@ -332,7 +329,8 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
}

/**
* <p>Retrieves a list of components for a specified Amplify app and backend environment.</p>
* <p>Retrieves a list of components for a specified Amplify app and backend
* environment.</p>
*/
public listComponents(
args: ListComponentsCommandInput,
Expand Down Expand Up @@ -364,7 +362,8 @@ export class AmplifyUIBuilder extends AmplifyUIBuilderClient {
}

/**
* <p>Retrieves a list of themes for a specified Amplify app and backend environment.</p>
* <p>Retrieves a list of themes for a specified Amplify app and backend
* environment.</p>
*/
public listThemes(args: ListThemesCommandInput, options?: __HttpHandlerOptions): Promise<ListThemesCommandOutput>;
public listThemes(args: ListThemesCommandInput, cb: (err: any, data?: ListThemesCommandOutput) => void): void;
Expand Down
17 changes: 8 additions & 9 deletions clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,16 +256,15 @@ type AmplifyUIBuilderClientResolvedConfigType = __SmithyResolvedConfiguration<__
export interface AmplifyUIBuilderClientResolvedConfig extends AmplifyUIBuilderClientResolvedConfigType {}

/**
* <p>The Amplify UI Builder API provides a programmatic interface for creating 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 backend Amazon Web Services
* resources.</p>
* <p>You can also use the Amplify Studio visual designer to create UI components and model data
* for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
* <p>The Amplify UI Builder API provides a programmatic interface for creating
* 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
* backend Amazon Web Services resources.</p>
* <p>You can also use the Amplify Studio visual designer to create UI components
* and model data for an app. For more information, see <a href="https://docs.amplify.aws/console/adminui/intro">Introduction</a> in the
* <i>Amplify Docs</i>.</p>
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation
* for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
* 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>
* <p>The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and
* documentation for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework</a>. For more information about
* 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>
*/
export class AmplifyUIBuilderClient extends __Client<
__HttpHandlerOptions,
Expand Down
Loading

0 comments on commit 8fa517a

Please sign in to comment.