Skip to content

feat(clients): update clients as of 10/07/2021 #2879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions clients/client-amplifybackend/src/models/models_0.ts
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading