Skip to content

Commit a227791

Browse files
authored
feat(clients): bump smithy to 1.16.3 (#3236)
1 parent f8db067 commit a227791

27 files changed

+1237
-186
lines changed

private/aws-protocoltests-json-10/src/commands/EmptyInputAndEmptyOutputCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
15-
import { EmptyInputAndEmptyOutputInput } from "../models/models_0";
15+
import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0";
1616
import {
1717
deserializeAws_json1_0EmptyInputAndEmptyOutputCommand,
1818
serializeAws_json1_0EmptyInputAndEmptyOutputCommand,
1919
} from "../protocols/Aws_json1_0";
2020

2121
export interface EmptyInputAndEmptyOutputCommandInput extends EmptyInputAndEmptyOutputInput {}
22-
export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmptyOutputInput, __MetadataBearer {}
22+
export interface EmptyInputAndEmptyOutputCommandOutput extends EmptyInputAndEmptyOutputOutput, __MetadataBearer {}
2323

2424
/**
2525
* The example tests how requests and responses are serialized when there's
@@ -75,7 +75,7 @@ export class EmptyInputAndEmptyOutputCommand extends $Command<
7575
clientName,
7676
commandName,
7777
inputFilterSensitiveLog: EmptyInputAndEmptyOutputInput.filterSensitiveLog,
78-
outputFilterSensitiveLog: EmptyInputAndEmptyOutputInput.filterSensitiveLog,
78+
outputFilterSensitiveLog: EmptyInputAndEmptyOutputOutput.filterSensitiveLog,
7979
};
8080
const { requestHandler } = configuration;
8181
return stack.resolve(

private/aws-protocoltests-json-10/src/commands/EndpointWithHostLabelOperationCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
15-
import { HostLabelInput } from "../models/models_0";
15+
import { EndpointWithHostLabelOperationInput } from "../models/models_0";
1616
import {
1717
deserializeAws_json1_0EndpointWithHostLabelOperationCommand,
1818
serializeAws_json1_0EndpointWithHostLabelOperationCommand,
1919
} from "../protocols/Aws_json1_0";
2020

21-
export interface EndpointWithHostLabelOperationCommandInput extends HostLabelInput {}
21+
export interface EndpointWithHostLabelOperationCommandInput extends EndpointWithHostLabelOperationInput {}
2222
export interface EndpointWithHostLabelOperationCommandOutput extends __MetadataBearer {}
2323

2424
export class EndpointWithHostLabelOperationCommand extends $Command<
@@ -54,7 +54,7 @@ export class EndpointWithHostLabelOperationCommand extends $Command<
5454
logger,
5555
clientName,
5656
commandName,
57-
inputFilterSensitiveLog: HostLabelInput.filterSensitiveLog,
57+
inputFilterSensitiveLog: EndpointWithHostLabelOperationInput.filterSensitiveLog,
5858
outputFilterSensitiveLog: (output: any) => output,
5959
};
6060
const { requestHandler } = configuration;

private/aws-protocoltests-json-10/src/commands/GreetingWithErrorsCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
15-
import { GreetingWithErrorsOutput } from "../models/models_0";
15+
import { GreetingWithErrorsInput, GreetingWithErrorsOutput } from "../models/models_0";
1616
import {
1717
deserializeAws_json1_0GreetingWithErrorsCommand,
1818
serializeAws_json1_0GreetingWithErrorsCommand,
1919
} from "../protocols/Aws_json1_0";
2020

21-
export interface GreetingWithErrorsCommandInput {}
21+
export interface GreetingWithErrorsCommandInput extends GreetingWithErrorsInput {}
2222
export interface GreetingWithErrorsCommandOutput extends GreetingWithErrorsOutput, __MetadataBearer {}
2323

2424
/**
@@ -78,7 +78,7 @@ export class GreetingWithErrorsCommand extends $Command<
7878
logger,
7979
clientName,
8080
commandName,
81-
inputFilterSensitiveLog: (input: any) => input,
81+
inputFilterSensitiveLog: GreetingWithErrorsInput.filterSensitiveLog,
8282
outputFilterSensitiveLog: GreetingWithErrorsOutput.filterSensitiveLog,
8383
};
8484
const { requestHandler } = configuration;

private/aws-protocoltests-json-10/src/commands/JsonUnionsCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
15-
import { UnionInputOutput } from "../models/models_0";
15+
import { JsonUnionsInput, JsonUnionsOutput } from "../models/models_0";
1616
import {
1717
deserializeAws_json1_0JsonUnionsCommand,
1818
serializeAws_json1_0JsonUnionsCommand,
1919
} from "../protocols/Aws_json1_0";
2020

21-
export interface JsonUnionsCommandInput extends UnionInputOutput {}
22-
export interface JsonUnionsCommandOutput extends UnionInputOutput, __MetadataBearer {}
21+
export interface JsonUnionsCommandInput extends JsonUnionsInput {}
22+
export interface JsonUnionsCommandOutput extends JsonUnionsOutput, __MetadataBearer {}
2323

2424
/**
2525
* This operation uses unions for inputs and outputs.
@@ -71,8 +71,8 @@ export class JsonUnionsCommand extends $Command<
7171
logger,
7272
clientName,
7373
commandName,
74-
inputFilterSensitiveLog: UnionInputOutput.filterSensitiveLog,
75-
outputFilterSensitiveLog: UnionInputOutput.filterSensitiveLog,
74+
inputFilterSensitiveLog: JsonUnionsInput.filterSensitiveLog,
75+
outputFilterSensitiveLog: JsonUnionsOutput.filterSensitiveLog,
7676
};
7777
const { requestHandler } = configuration;
7878
return stack.resolve(

private/aws-protocoltests-json-10/src/commands/SimpleScalarPropertiesCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { JSONRPC10ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../JSONRPC10Client";
15-
import { SimpleScalarPropertiesInputOutput } from "../models/models_0";
15+
import { SimpleScalarPropertiesInput, SimpleScalarPropertiesOutput } from "../models/models_0";
1616
import {
1717
deserializeAws_json1_0SimpleScalarPropertiesCommand,
1818
serializeAws_json1_0SimpleScalarPropertiesCommand,
1919
} from "../protocols/Aws_json1_0";
2020

21-
export interface SimpleScalarPropertiesCommandInput extends SimpleScalarPropertiesInputOutput {}
22-
export interface SimpleScalarPropertiesCommandOutput extends SimpleScalarPropertiesInputOutput, __MetadataBearer {}
21+
export interface SimpleScalarPropertiesCommandInput extends SimpleScalarPropertiesInput {}
22+
export interface SimpleScalarPropertiesCommandOutput extends SimpleScalarPropertiesOutput, __MetadataBearer {}
2323

2424
export class SimpleScalarPropertiesCommand extends $Command<
2525
SimpleScalarPropertiesCommandInput,
@@ -54,8 +54,8 @@ export class SimpleScalarPropertiesCommand extends $Command<
5454
logger,
5555
clientName,
5656
commandName,
57-
inputFilterSensitiveLog: SimpleScalarPropertiesInputOutput.filterSensitiveLog,
58-
outputFilterSensitiveLog: SimpleScalarPropertiesInputOutput.filterSensitiveLog,
57+
inputFilterSensitiveLog: SimpleScalarPropertiesInput.filterSensitiveLog,
58+
outputFilterSensitiveLog: SimpleScalarPropertiesOutput.filterSensitiveLog,
5959
};
6060
const { requestHandler } = configuration;
6161
return stack.resolve(

private/aws-protocoltests-json-10/src/models/models_0.ts

Lines changed: 64 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,26 @@ export namespace EmptyInputAndEmptyOutputInput {
3434
});
3535
}
3636

37-
export interface HostLabelInput {
37+
export interface EmptyInputAndEmptyOutputOutput {}
38+
39+
export namespace EmptyInputAndEmptyOutputOutput {
40+
/**
41+
* @internal
42+
*/
43+
export const filterSensitiveLog = (obj: EmptyInputAndEmptyOutputOutput): any => ({
44+
...obj,
45+
});
46+
}
47+
48+
export interface EndpointWithHostLabelOperationInput {
3849
label: string | undefined;
3950
}
4051

41-
export namespace HostLabelInput {
52+
export namespace EndpointWithHostLabelOperationInput {
4253
/**
4354
* @internal
4455
*/
45-
export const filterSensitiveLog = (obj: HostLabelInput): any => ({
56+
export const filterSensitiveLog = (obj: EndpointWithHostLabelOperationInput): any => ({
4657
...obj,
4758
});
4859
}
@@ -56,6 +67,19 @@ export interface FooError extends __SmithyException, $MetadataBearer {
5667
$fault: "server";
5768
}
5869

70+
export interface GreetingWithErrorsInput {
71+
greeting?: string;
72+
}
73+
74+
export namespace GreetingWithErrorsInput {
75+
/**
76+
* @internal
77+
*/
78+
export const filterSensitiveLog = (obj: GreetingWithErrorsInput): any => ({
79+
...obj,
80+
});
81+
}
82+
5983
export interface GreetingWithErrorsOutput {
6084
greeting?: string;
6185
}
@@ -289,21 +313,35 @@ export namespace MyUnion {
289313
};
290314
}
291315

292-
/**
293-
* A shared structure that contains a single union member.
294-
*/
295-
export interface UnionInputOutput {
316+
export interface JsonUnionsInput {
296317
/**
297318
* A union with a representative set of types for members.
298319
*/
299320
contents?: MyUnion;
300321
}
301322

302-
export namespace UnionInputOutput {
323+
export namespace JsonUnionsInput {
303324
/**
304325
* @internal
305326
*/
306-
export const filterSensitiveLog = (obj: UnionInputOutput): any => ({
327+
export const filterSensitiveLog = (obj: JsonUnionsInput): any => ({
328+
...obj,
329+
...(obj.contents && { contents: MyUnion.filterSensitiveLog(obj.contents) }),
330+
});
331+
}
332+
333+
export interface JsonUnionsOutput {
334+
/**
335+
* A union with a representative set of types for members.
336+
*/
337+
contents?: MyUnion;
338+
}
339+
340+
export namespace JsonUnionsOutput {
341+
/**
342+
* @internal
343+
*/
344+
export const filterSensitiveLog = (obj: JsonUnionsOutput): any => ({
307345
...obj,
308346
...(obj.contents && { contents: MyUnion.filterSensitiveLog(obj.contents) }),
309347
});
@@ -320,16 +358,30 @@ export namespace NoInputAndOutputOutput {
320358
});
321359
}
322360

323-
export interface SimpleScalarPropertiesInputOutput {
361+
export interface SimpleScalarPropertiesInput {
362+
floatValue?: number;
363+
doubleValue?: number;
364+
}
365+
366+
export namespace SimpleScalarPropertiesInput {
367+
/**
368+
* @internal
369+
*/
370+
export const filterSensitiveLog = (obj: SimpleScalarPropertiesInput): any => ({
371+
...obj,
372+
});
373+
}
374+
375+
export interface SimpleScalarPropertiesOutput {
324376
floatValue?: number;
325377
doubleValue?: number;
326378
}
327379

328-
export namespace SimpleScalarPropertiesInputOutput {
380+
export namespace SimpleScalarPropertiesOutput {
329381
/**
330382
* @internal
331383
*/
332-
export const filterSensitiveLog = (obj: SimpleScalarPropertiesInputOutput): any => ({
384+
export const filterSensitiveLog = (obj: SimpleScalarPropertiesOutput): any => ({
333385
...obj,
334386
});
335387
}

0 commit comments

Comments
 (0)