Skip to content

Commit 1f4441e

Browse files
authored
feat(clients): update clients as of 10/07/2021 (#2879)
* 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
1 parent 7f5567b commit 1f4441e

File tree

196 files changed

+31640
-15545
lines changed

Some content is hidden

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

196 files changed

+31640
-15545
lines changed

Diff for: clients/client-amplifybackend/src/models/models_0.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,11 @@ export namespace GetBackendRequest {
14631463
}
14641464

14651465
export interface GetBackendResponse {
1466+
/**
1467+
* <p>A stringified version of the cli.json file for your Amplify project.</p>
1468+
*/
1469+
AmplifyFeatureFlags?: string;
1470+
14661471
/**
14671472
* <p>A stringified version of the current configs for your Amplify project.</p>
14681473
*/

Diff for: clients/client-amplifybackend/src/protocols/Aws_restJson1.ts

+4
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,7 @@ export const deserializeAws_restJson1GetBackendCommand = async (
21912191
}
21922192
const contents: GetBackendCommandOutput = {
21932193
$metadata: deserializeMetadata(output),
2194+
AmplifyFeatureFlags: undefined,
21942195
AmplifyMetaConfig: undefined,
21952196
AppId: undefined,
21962197
AppName: undefined,
@@ -2199,6 +2200,9 @@ export const deserializeAws_restJson1GetBackendCommand = async (
21992200
Error: undefined,
22002201
};
22012202
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2203+
if (data.amplifyFeatureFlags !== undefined && data.amplifyFeatureFlags !== null) {
2204+
contents.AmplifyFeatureFlags = __expectString(data.amplifyFeatureFlags);
2205+
}
22022206
if (data.amplifyMetaConfig !== undefined && data.amplifyMetaConfig !== null) {
22032207
contents.AmplifyMetaConfig = __expectString(data.amplifyMetaConfig);
22042208
}

Diff for: clients/client-application-auto-scaling/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ resources:</p>
4141
<p>Amazon Managed Streaming for Apache Kafka broker storage</p>
4242
</li>
4343
<li>
44+
<p>Amazon Neptune clusters</p>
45+
</li>
46+
<li>
4447
<p>Amazon SageMaker endpoint variants</p>
4548
</li>
4649
<li>
47-
<p>Spot Fleet (Amazon EC2) requests</p>
50+
<p>Spot Fleets (Amazon EC2)</p>
4851
</li>
4952
<li>
5053
<p>Custom resources provided by your own applications or services</p>

Diff for: clients/client-application-auto-scaling/src/ApplicationAutoScaling.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,13 @@ import {
8787
* <p>Amazon Managed Streaming for Apache Kafka broker storage</p>
8888
* </li>
8989
* <li>
90+
* <p>Amazon Neptune clusters</p>
91+
* </li>
92+
* <li>
9093
* <p>Amazon SageMaker endpoint variants</p>
9194
* </li>
9295
* <li>
93-
* <p>Spot Fleet (Amazon EC2) requests</p>
96+
* <p>Spot Fleets (Amazon EC2)</p>
9497
* </li>
9598
* <li>
9699
* <p>Custom resources provided by your own applications or services</p>
@@ -491,6 +494,13 @@ export class ApplicationAutoScaling extends ApplicationAutoScalingClient {
491494
* <p>To update a scalable target, specify the parameters that you want to change. Include the
492495
* parameters that identify the scalable target: resource ID, scalable dimension, and
493496
* namespace. Any parameters that you don't specify are not changed by this update request. </p>
497+
* <note>
498+
* <p>If you call the <code>RegisterScalableTarget</code> API to update an existing
499+
* scalable target, Application Auto Scaling retrieves the current capacity of the resource. If it is below
500+
* the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the capacity of the
501+
* scalable target to place it within these bounds, even if you don't include the
502+
* <code>MinCapacity</code> or <code>MaxCapacity</code> request parameters.</p>
503+
* </note>
494504
*/
495505
public registerScalableTarget(
496506
args: RegisterScalableTargetCommandInput,

Diff for: clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,13 @@ export interface ApplicationAutoScalingClientResolvedConfig extends ApplicationA
282282
* <p>Amazon Managed Streaming for Apache Kafka broker storage</p>
283283
* </li>
284284
* <li>
285+
* <p>Amazon Neptune clusters</p>
286+
* </li>
287+
* <li>
285288
* <p>Amazon SageMaker endpoint variants</p>
286289
* </li>
287290
* <li>
288-
* <p>Spot Fleet (Amazon EC2) requests</p>
291+
* <p>Spot Fleets (Amazon EC2)</p>
289292
* </li>
290293
* <li>
291294
* <p>Custom resources provided by your own applications or services</p>

Diff for: clients/client-application-auto-scaling/src/commands/RegisterScalableTargetCommand.ts

+7
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ export interface RegisterScalableTargetCommandOutput extends RegisterScalableTar
4141
* <p>To update a scalable target, specify the parameters that you want to change. Include the
4242
* parameters that identify the scalable target: resource ID, scalable dimension, and
4343
* namespace. Any parameters that you don't specify are not changed by this update request. </p>
44+
* <note>
45+
* <p>If you call the <code>RegisterScalableTarget</code> API to update an existing
46+
* scalable target, Application Auto Scaling retrieves the current capacity of the resource. If it is below
47+
* the minimum capacity or above the maximum capacity, Application Auto Scaling adjusts the capacity of the
48+
* scalable target to place it within these bounds, even if you don't include the
49+
* <code>MinCapacity</code> or <code>MaxCapacity</code> request parameters.</p>
50+
* </note>
4451
* @example
4552
* Use a bare-bones client and the command you need to make an API call.
4653
* ```javascript

0 commit comments

Comments
 (0)