Skip to content

Commit

Permalink
feat(clients): update clients as of 10/07/2021 (#2879)
Browse files Browse the repository at this point in the history
* chore(model): update service models as of 10/07/2021

* chore(model): update endpoints model as of 10/07/2021

* feat(clients): update clients as of 10/07/2021
  • Loading branch information
AllanZhengYP committed Oct 7, 2021
1 parent 7f5567b commit 1f4441e
Show file tree
Hide file tree
Showing 196 changed files with 31,640 additions and 15,545 deletions.
5 changes: 5 additions & 0 deletions clients/client-amplifybackend/src/models/models_0.ts
Expand Up @@ -1463,6 +1463,11 @@ export namespace GetBackendRequest {
}

export interface GetBackendResponse {
/**
* <p>A stringified version of the cli.json file for your Amplify project.</p>
*/
AmplifyFeatureFlags?: string;

/**
* <p>A stringified version of the current configs for your Amplify project.</p>
*/
Expand Down
4 changes: 4 additions & 0 deletions clients/client-amplifybackend/src/protocols/Aws_restJson1.ts
Expand Up @@ -2191,6 +2191,7 @@ export const deserializeAws_restJson1GetBackendCommand = async (
}
const contents: GetBackendCommandOutput = {
$metadata: deserializeMetadata(output),
AmplifyFeatureFlags: undefined,
AmplifyMetaConfig: undefined,
AppId: undefined,
AppName: undefined,
Expand All @@ -2199,6 +2200,9 @@ export const deserializeAws_restJson1GetBackendCommand = async (
Error: undefined,
};
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
if (data.amplifyFeatureFlags !== undefined && data.amplifyFeatureFlags !== null) {
contents.AmplifyFeatureFlags = __expectString(data.amplifyFeatureFlags);
}
if (data.amplifyMetaConfig !== undefined && data.amplifyMetaConfig !== null) {
contents.AmplifyMetaConfig = __expectString(data.amplifyMetaConfig);
}
Expand Down
5 changes: 4 additions & 1 deletion clients/client-application-auto-scaling/README.md
Expand Up @@ -41,10 +41,13 @@ resources:</p>
<p>Amazon Managed Streaming for Apache Kafka broker storage</p>
</li>
<li>
<p>Amazon Neptune clusters</p>
</li>
<li>
<p>Amazon SageMaker endpoint variants</p>
</li>
<li>
<p>Spot Fleet (Amazon EC2) requests</p>
<p>Spot Fleets (Amazon EC2)</p>
</li>
<li>
<p>Custom resources provided by your own applications or services</p>
Expand Down
Expand Up @@ -87,10 +87,13 @@ import {
* <p>Amazon Managed Streaming for Apache Kafka broker storage</p>
* </li>
* <li>
* <p>Amazon Neptune clusters</p>
* </li>
* <li>
* <p>Amazon SageMaker endpoint variants</p>
* </li>
* <li>
* <p>Spot Fleet (Amazon EC2) requests</p>
* <p>Spot Fleets (Amazon EC2)</p>
* </li>
* <li>
* <p>Custom resources provided by your own applications or services</p>
Expand Down Expand Up @@ -491,6 +494,13 @@ export class ApplicationAutoScaling extends ApplicationAutoScalingClient {
* <p>To update a scalable target, specify the parameters that you want to change. Include the
* parameters that identify the scalable target: resource ID, scalable dimension, and
* namespace. Any parameters that you don't specify are not changed by this update request. </p>
* <note>
* <p>If you call the <code>RegisterScalableTarget</code> API to update an existing
* scalable target, Application Auto Scaling retrieves the current capacity of the resource. If it is below
* the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the capacity of the
* scalable target to place it within these bounds, even if you don't include the
* <code>MinCapacity</code> or <code>MaxCapacity</code> request parameters.</p>
* </note>
*/
public registerScalableTarget(
args: RegisterScalableTargetCommandInput,
Expand Down
Expand Up @@ -282,10 +282,13 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
* <p>Amazon Managed Streaming for Apache Kafka broker storage</p>
* </li>
* <li>
* <p>Amazon Neptune clusters</p>
* </li>
* <li>
* <p>Amazon SageMaker endpoint variants</p>
* </li>
* <li>
* <p>Spot Fleet (Amazon EC2) requests</p>
* <p>Spot Fleets (Amazon EC2)</p>
* </li>
* <li>
* <p>Custom resources provided by your own applications or services</p>
Expand Down
Expand Up @@ -41,6 +41,13 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
* <p>To update a scalable target, specify the parameters that you want to change. Include the
* parameters that identify the scalable target: resource ID, scalable dimension, and
* namespace. Any parameters that you don't specify are not changed by this update request. </p>
* <note>
* <p>If you call the <code>RegisterScalableTarget</code> API to update an existing
* scalable target, Application Auto Scaling retrieves the current capacity of the resource. If it is below
* the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the capacity of the
* scalable target to place it within these bounds, even if you don't include the
* <code>MinCapacity</code> or <code>MaxCapacity</code> request parameters.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down

0 comments on commit 1f4441e

Please sign in to comment.