diff --git a/clients/client-dynamodb/src/DynamoDBClient.ts b/clients/client-dynamodb/src/DynamoDBClient.ts index 76261aa6da78..a8928fba11d9 100644 --- a/clients/client-dynamodb/src/DynamoDBClient.ts +++ b/clients/client-dynamodb/src/DynamoDBClient.ts @@ -30,6 +30,7 @@ import { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { getContentLengthPlugin } from "@smithy/middleware-content-length"; import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint"; import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; @@ -570,6 +571,7 @@ export class DynamoDBClient extends __Client< const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []); super(_config_10); this.config = _config_10; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts b/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts index be355cd59574..cf987a694cc5 100644 --- a/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0"; -import { de_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_json1_0"; +import { BatchExecuteStatement } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -223,16 +222,12 @@ export class BatchExecuteStatementCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "BatchExecuteStatement", {}) .n("DynamoDBClient", "BatchExecuteStatementCommand") .f(void 0, void 0) - .ser(se_BatchExecuteStatementCommand) - .de(de_BatchExecuteStatementCommand) + .sc(BatchExecuteStatement) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts b/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts index c7df20280040..be72452d8e56 100644 --- a/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0"; -import { de_BatchGetItemCommand, se_BatchGetItemCommand } from "../protocols/Aws_json1_0"; +import { BatchGetItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -351,16 +350,12 @@ export class BatchGetItemCommand extends $Command ResourceArnList: { type: "operationContextParams", get: (input?: any) => Object.keys(input?.RequestItems ?? {}) }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "BatchGetItem", {}) .n("DynamoDBClient", "BatchGetItemCommand") .f(void 0, void 0) - .ser(se_BatchGetItemCommand) - .de(de_BatchGetItemCommand) + .sc(BatchGetItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts b/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts index d3c2048814f7..33f69cc8fb5e 100644 --- a/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0"; -import { de_BatchWriteItemCommand, se_BatchWriteItemCommand } from "../protocols/Aws_json1_0"; +import { BatchWriteItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -397,16 +396,12 @@ export class BatchWriteItemCommand extends $Command ResourceArnList: { type: "operationContextParams", get: (input?: any) => Object.keys(input?.RequestItems ?? {}) }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "BatchWriteItem", {}) .n("DynamoDBClient", "BatchWriteItemCommand") .f(void 0, void 0) - .ser(se_BatchWriteItemCommand) - .de(de_BatchWriteItemCommand) + .sc(BatchWriteItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/CreateBackupCommand.ts b/clients/client-dynamodb/src/commands/CreateBackupCommand.ts index 47658ba31398..8dec0b36802e 100644 --- a/clients/client-dynamodb/src/commands/CreateBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateBackupCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateBackupInput, CreateBackupOutput } from "../models/models_0"; -import { de_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws_json1_0"; +import { CreateBackup } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -144,16 +143,12 @@ export class CreateBackupCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "CreateBackup", {}) .n("DynamoDBClient", "CreateBackupCommand") .f(void 0, void 0) - .ser(se_CreateBackupCommand) - .de(de_CreateBackupCommand) + .sc(CreateBackup) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts index 28a92c565a10..1e93678f5b6e 100644 --- a/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0"; -import { de_CreateGlobalTableCommand, se_CreateGlobalTableCommand } from "../protocols/Aws_json1_0"; +import { CreateGlobalTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -203,16 +202,12 @@ export class CreateGlobalTableCommand extends $Command ResourceArn: { type: "contextParams", name: "GlobalTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "CreateGlobalTable", {}) .n("DynamoDBClient", "CreateGlobalTableCommand") .f(void 0, void 0) - .ser(se_CreateGlobalTableCommand) - .de(de_CreateGlobalTableCommand) + .sc(CreateGlobalTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/CreateTableCommand.ts b/clients/client-dynamodb/src/commands/CreateTableCommand.ts index 2cf136f425d3..2027be9ef4d1 100644 --- a/clients/client-dynamodb/src/commands/CreateTableCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateTableInput, CreateTableOutput } from "../models/models_0"; -import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_json1_0"; +import { CreateTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -446,16 +445,12 @@ export class CreateTableCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "CreateTable", {}) .n("DynamoDBClient", "CreateTableCommand") .f(void 0, void 0) - .ser(se_CreateTableCommand) - .de(de_CreateTableCommand) + .sc(CreateTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts b/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts index d547108a3947..3b4d5f1d403a 100644 --- a/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0"; -import { de_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws_json1_0"; +import { DeleteBackup } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -191,16 +190,12 @@ export class DeleteBackupCommand extends $Command ResourceArn: { type: "contextParams", name: "BackupArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DeleteBackup", {}) .n("DynamoDBClient", "DeleteBackupCommand") .f(void 0, void 0) - .ser(se_DeleteBackupCommand) - .de(de_DeleteBackupCommand) + .sc(DeleteBackup) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DeleteItemCommand.ts b/clients/client-dynamodb/src/commands/DeleteItemCommand.ts index f7422ab5f376..2d78f89422b3 100644 --- a/clients/client-dynamodb/src/commands/DeleteItemCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteItemInput, DeleteItemOutput } from "../models/models_0"; -import { de_DeleteItemCommand, se_DeleteItemCommand } from "../protocols/Aws_json1_0"; +import { DeleteItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -285,16 +284,12 @@ export class DeleteItemCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DeleteItem", {}) .n("DynamoDBClient", "DeleteItemCommand") .f(void 0, void 0) - .ser(se_DeleteItemCommand) - .de(de_DeleteItemCommand) + .sc(DeleteItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DeleteResourcePolicyCommand.ts b/clients/client-dynamodb/src/commands/DeleteResourcePolicyCommand.ts index 582aa45dcddd..ed3df01344f2 100644 --- a/clients/client-dynamodb/src/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteResourcePolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteResourcePolicyInput, DeleteResourcePolicyOutput } from "../models/models_0"; -import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_0"; +import { DeleteResourcePolicy } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -136,16 +135,12 @@ export class DeleteResourcePolicyCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DeleteResourcePolicy", {}) .n("DynamoDBClient", "DeleteResourcePolicyCommand") .f(void 0, void 0) - .ser(se_DeleteResourcePolicyCommand) - .de(de_DeleteResourcePolicyCommand) + .sc(DeleteResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DeleteTableCommand.ts b/clients/client-dynamodb/src/commands/DeleteTableCommand.ts index 0033c7467493..e8fa142dad09 100644 --- a/clients/client-dynamodb/src/commands/DeleteTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteTableInput, DeleteTableOutput } from "../models/models_0"; -import { de_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_json1_0"; +import { DeleteTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -327,16 +326,12 @@ export class DeleteTableCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DeleteTable", {}) .n("DynamoDBClient", "DeleteTableCommand") .f(void 0, void 0) - .ser(se_DeleteTableCommand) - .de(de_DeleteTableCommand) + .sc(DeleteTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts b/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts index dbf1690e3f68..11d8bb66b8f6 100644 --- a/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0"; -import { de_DescribeBackupCommand, se_DescribeBackupCommand } from "../protocols/Aws_json1_0"; +import { DescribeBackup } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -171,16 +170,12 @@ export class DescribeBackupCommand extends $Command ResourceArn: { type: "contextParams", name: "BackupArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeBackup", {}) .n("DynamoDBClient", "DescribeBackupCommand") .f(void 0, void 0) - .ser(se_DescribeBackupCommand) - .de(de_DescribeBackupCommand) + .sc(DescribeBackup) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts index b66e64434011..07f0b20ee70d 100644 --- a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from "../models/models_0"; -import { de_DescribeContinuousBackupsCommand, se_DescribeContinuousBackupsCommand } from "../protocols/Aws_json1_0"; +import { DescribeContinuousBackups } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -98,16 +97,12 @@ export class DescribeContinuousBackupsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeContinuousBackups", {}) .n("DynamoDBClient", "DescribeContinuousBackupsCommand") .f(void 0, void 0) - .ser(se_DescribeContinuousBackupsCommand) - .de(de_DescribeContinuousBackupsCommand) + .sc(DescribeContinuousBackups) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts index ce01c95fe8e3..d2a3a0b2e31d 100644 --- a/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeContributorInsightsInput, DescribeContributorInsightsOutput } from "../models/models_0"; -import { de_DescribeContributorInsightsCommand, se_DescribeContributorInsightsCommand } from "../protocols/Aws_json1_0"; +import { DescribeContributorInsights } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -89,16 +88,12 @@ export class DescribeContributorInsightsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeContributorInsights", {}) .n("DynamoDBClient", "DescribeContributorInsightsCommand") .f(void 0, void 0) - .ser(se_DescribeContributorInsightsCommand) - .de(de_DescribeContributorInsightsCommand) + .sc(DescribeContributorInsights) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeEndpointsCommand.ts b/clients/client-dynamodb/src/commands/DescribeEndpointsCommand.ts index 8a4690b7ce7f..3ee4036bf1b1 100644 --- a/clients/client-dynamodb/src/commands/DescribeEndpointsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeEndpointsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0"; -import { de_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_json1_0"; +import { DescribeEndpoints } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -71,16 +70,12 @@ export class DescribeEndpointsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeEndpoints", {}) .n("DynamoDBClient", "DescribeEndpointsCommand") .f(void 0, void 0) - .ser(se_DescribeEndpointsCommand) - .de(de_DescribeEndpointsCommand) + .sc(DescribeEndpoints) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeExportCommand.ts b/clients/client-dynamodb/src/commands/DescribeExportCommand.ts index 2c72695ec687..d893551d2dc3 100644 --- a/clients/client-dynamodb/src/commands/DescribeExportCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeExportCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeExportInput, DescribeExportOutput } from "../models/models_0"; -import { de_DescribeExportCommand, se_DescribeExportCommand } from "../protocols/Aws_json1_0"; +import { DescribeExport } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -118,16 +117,12 @@ export class DescribeExportCommand extends $Command ResourceArn: { type: "contextParams", name: "ExportArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeExport", {}) .n("DynamoDBClient", "DescribeExportCommand") .f(void 0, void 0) - .ser(se_DescribeExportCommand) - .de(de_DescribeExportCommand) + .sc(DescribeExport) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts index fd694a59a13a..f266fb6f21f6 100644 --- a/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeGlobalTableInput, DescribeGlobalTableOutput } from "../models/models_0"; -import { de_DescribeGlobalTableCommand, se_DescribeGlobalTableCommand } from "../protocols/Aws_json1_0"; +import { DescribeGlobalTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -128,16 +127,12 @@ export class DescribeGlobalTableCommand extends $Command ResourceArn: { type: "contextParams", name: "GlobalTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeGlobalTable", {}) .n("DynamoDBClient", "DescribeGlobalTableCommand") .f(void 0, void 0) - .ser(se_DescribeGlobalTableCommand) - .de(de_DescribeGlobalTableCommand) + .sc(DescribeGlobalTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts b/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts index 336c784ddc99..982c4ef91979 100644 --- a/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeGlobalTableSettingsInput, DescribeGlobalTableSettingsOutput } from "../models/models_0"; -import { de_DescribeGlobalTableSettingsCommand, se_DescribeGlobalTableSettingsCommand } from "../protocols/Aws_json1_0"; +import { DescribeGlobalTableSettings } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -174,16 +173,12 @@ export class DescribeGlobalTableSettingsCommand extends $Command ResourceArn: { type: "contextParams", name: "GlobalTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {}) .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand") .f(void 0, void 0) - .ser(se_DescribeGlobalTableSettingsCommand) - .de(de_DescribeGlobalTableSettingsCommand) + .sc(DescribeGlobalTableSettings) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeImportCommand.ts b/clients/client-dynamodb/src/commands/DescribeImportCommand.ts index 789b83985e20..8df6a0cbb8d1 100644 --- a/clients/client-dynamodb/src/commands/DescribeImportCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeImportCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeImportInput, DescribeImportOutput } from "../models/models_0"; -import { de_DescribeImportCommand, se_DescribeImportCommand } from "../protocols/Aws_json1_0"; +import { DescribeImport } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -163,16 +162,12 @@ export class DescribeImportCommand extends $Command ResourceArn: { type: "contextParams", name: "ImportArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeImport", {}) .n("DynamoDBClient", "DescribeImportCommand") .f(void 0, void 0) - .ser(se_DescribeImportCommand) - .de(de_DescribeImportCommand) + .sc(DescribeImport) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/src/commands/DescribeKinesisStreamingDestinationCommand.ts index b25d64cd915b..a13ae46489bf 100644 --- a/clients/client-dynamodb/src/commands/DescribeKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeKinesisStreamingDestinationCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,10 +9,7 @@ import { DescribeKinesisStreamingDestinationInput, DescribeKinesisStreamingDestinationOutput, } from "../models/models_0"; -import { - de_DescribeKinesisStreamingDestinationCommand, - se_DescribeKinesisStreamingDestinationCommand, -} from "../protocols/Aws_json1_0"; +import { DescribeKinesisStreamingDestination } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -95,16 +91,12 @@ export class DescribeKinesisStreamingDestinationCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {}) .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand") .f(void 0, void 0) - .ser(se_DescribeKinesisStreamingDestinationCommand) - .de(de_DescribeKinesisStreamingDestinationCommand) + .sc(DescribeKinesisStreamingDestination) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts b/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts index 89e9286b213a..8f0b008dda3f 100644 --- a/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0"; -import { de_DescribeLimitsCommand, se_DescribeLimitsCommand } from "../protocols/Aws_json1_0"; +import { DescribeLimits } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -159,16 +158,12 @@ export class DescribeLimitsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeLimits", {}) .n("DynamoDBClient", "DescribeLimitsCommand") .f(void 0, void 0) - .ser(se_DescribeLimitsCommand) - .de(de_DescribeLimitsCommand) + .sc(DescribeLimits) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeTableCommand.ts b/clients/client-dynamodb/src/commands/DescribeTableCommand.ts index e582a929714b..44faee033975 100644 --- a/clients/client-dynamodb/src/commands/DescribeTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeTableInput, DescribeTableOutput } from "../models/models_0"; -import { de_DescribeTableCommand, se_DescribeTableCommand } from "../protocols/Aws_json1_0"; +import { DescribeTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -308,16 +307,12 @@ export class DescribeTableCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeTable", {}) .n("DynamoDBClient", "DescribeTableCommand") .f(void 0, void 0) - .ser(se_DescribeTableCommand) - .de(de_DescribeTableCommand) + .sc(DescribeTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts index 2653f1517017..f24343d03ad3 100644 --- a/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeTableReplicaAutoScalingInput, DescribeTableReplicaAutoScalingOutput } from "../models/models_0"; -import { - de_DescribeTableReplicaAutoScalingCommand, - se_DescribeTableReplicaAutoScalingCommand, -} from "../protocols/Aws_json1_0"; +import { DescribeTableReplicaAutoScaling } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -169,16 +165,12 @@ export class DescribeTableReplicaAutoScalingCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {}) .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand") .f(void 0, void 0) - .ser(se_DescribeTableReplicaAutoScalingCommand) - .de(de_DescribeTableReplicaAutoScalingCommand) + .sc(DescribeTableReplicaAutoScaling) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DescribeTimeToLiveCommand.ts b/clients/client-dynamodb/src/commands/DescribeTimeToLiveCommand.ts index 15c8dc6f8ea4..5fd3cfe85efd 100644 --- a/clients/client-dynamodb/src/commands/DescribeTimeToLiveCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeTimeToLiveCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeTimeToLiveInput, DescribeTimeToLiveOutput } from "../models/models_0"; -import { de_DescribeTimeToLiveCommand, se_DescribeTimeToLiveCommand } from "../protocols/Aws_json1_0"; +import { DescribeTimeToLive } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -82,16 +81,12 @@ export class DescribeTimeToLiveCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DescribeTimeToLive", {}) .n("DynamoDBClient", "DescribeTimeToLiveCommand") .f(void 0, void 0) - .ser(se_DescribeTimeToLiveCommand) - .de(de_DescribeTimeToLiveCommand) + .sc(DescribeTimeToLive) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/DisableKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/src/commands/DisableKinesisStreamingDestinationCommand.ts index d929d7ac4b35..c7cdb419c66a 100644 --- a/clients/client-dynamodb/src/commands/DisableKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/src/commands/DisableKinesisStreamingDestinationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { KinesisStreamingDestinationInput, KinesisStreamingDestinationOutput } from "../models/models_0"; -import { - de_DisableKinesisStreamingDestinationCommand, - se_DisableKinesisStreamingDestinationCommand, -} from "../protocols/Aws_json1_0"; +import { DisableKinesisStreamingDestination } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -125,16 +121,12 @@ export class DisableKinesisStreamingDestinationCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {}) .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand") .f(void 0, void 0) - .ser(se_DisableKinesisStreamingDestinationCommand) - .de(de_DisableKinesisStreamingDestinationCommand) + .sc(DisableKinesisStreamingDestination) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts index 9a743a9085bd..3d16f74fcd28 100644 --- a/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { KinesisStreamingDestinationInput, KinesisStreamingDestinationOutput } from "../models/models_0"; -import { - de_EnableKinesisStreamingDestinationCommand, - se_EnableKinesisStreamingDestinationCommand, -} from "../protocols/Aws_json1_0"; +import { EnableKinesisStreamingDestination } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -127,16 +123,12 @@ export class EnableKinesisStreamingDestinationCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {}) .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand") .f(void 0, void 0) - .ser(se_EnableKinesisStreamingDestinationCommand) - .de(de_EnableKinesisStreamingDestinationCommand) + .sc(EnableKinesisStreamingDestination) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts b/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts index 76676e20b9db..14ab1b80d665 100644 --- a/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts +++ b/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0"; -import { de_ExecuteStatementCommand, se_ExecuteStatementCommand } from "../protocols/Aws_json1_0"; +import { ExecuteStatement } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -237,16 +236,12 @@ export class ExecuteStatementCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ExecuteStatement", {}) .n("DynamoDBClient", "ExecuteStatementCommand") .f(void 0, void 0) - .ser(se_ExecuteStatementCommand) - .de(de_ExecuteStatementCommand) + .sc(ExecuteStatement) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts b/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts index aeec81ba68e3..f7c0bb3677d7 100644 --- a/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts +++ b/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ExecuteTransactionInput, ExecuteTransactionOutput } from "../models/models_0"; -import { de_ExecuteTransactionCommand, se_ExecuteTransactionCommand } from "../protocols/Aws_json1_0"; +import { ExecuteTransaction } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -528,16 +527,12 @@ export class ExecuteTransactionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ExecuteTransaction", {}) .n("DynamoDBClient", "ExecuteTransactionCommand") .f(void 0, void 0) - .ser(se_ExecuteTransactionCommand) - .de(de_ExecuteTransactionCommand) + .sc(ExecuteTransaction) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ExportTableToPointInTimeCommand.ts b/clients/client-dynamodb/src/commands/ExportTableToPointInTimeCommand.ts index 07abd87996d3..1a73b0c424eb 100644 --- a/clients/client-dynamodb/src/commands/ExportTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/src/commands/ExportTableToPointInTimeCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ExportTableToPointInTimeInput, ExportTableToPointInTimeOutput } from "../models/models_0"; -import { de_ExportTableToPointInTimeCommand, se_ExportTableToPointInTimeCommand } from "../protocols/Aws_json1_0"; +import { ExportTableToPointInTime } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -145,16 +144,12 @@ export class ExportTableToPointInTimeCommand extends $Command ResourceArn: { type: "contextParams", name: "TableArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ExportTableToPointInTime", {}) .n("DynamoDBClient", "ExportTableToPointInTimeCommand") .f(void 0, void 0) - .ser(se_ExportTableToPointInTimeCommand) - .de(de_ExportTableToPointInTimeCommand) + .sc(ExportTableToPointInTime) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/GetItemCommand.ts b/clients/client-dynamodb/src/commands/GetItemCommand.ts index 3b3b38ceb000..56c3fde269c1 100644 --- a/clients/client-dynamodb/src/commands/GetItemCommand.ts +++ b/clients/client-dynamodb/src/commands/GetItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetItemInput, GetItemOutput } from "../models/models_0"; -import { de_GetItemCommand, se_GetItemCommand } from "../protocols/Aws_json1_0"; +import { GetItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -254,16 +253,12 @@ export class GetItemCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "GetItem", {}) .n("DynamoDBClient", "GetItemCommand") .f(void 0, void 0) - .ser(se_GetItemCommand) - .de(de_GetItemCommand) + .sc(GetItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/GetResourcePolicyCommand.ts b/clients/client-dynamodb/src/commands/GetResourcePolicyCommand.ts index 6ff5e8348c9e..181681639a95 100644 --- a/clients/client-dynamodb/src/commands/GetResourcePolicyCommand.ts +++ b/clients/client-dynamodb/src/commands/GetResourcePolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0"; -import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_0"; +import { GetResourcePolicy } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -119,16 +118,12 @@ export class GetResourcePolicyCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "GetResourcePolicy", {}) .n("DynamoDBClient", "GetResourcePolicyCommand") .f(void 0, void 0) - .ser(se_GetResourcePolicyCommand) - .de(de_GetResourcePolicyCommand) + .sc(GetResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ImportTableCommand.ts b/clients/client-dynamodb/src/commands/ImportTableCommand.ts index 27d263f5441b..eb47745d330b 100644 --- a/clients/client-dynamodb/src/commands/ImportTableCommand.ts +++ b/clients/client-dynamodb/src/commands/ImportTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ImportTableInput, ImportTableOutput } from "../models/models_0"; -import { de_ImportTableCommand, se_ImportTableCommand } from "../protocols/Aws_json1_0"; +import { ImportTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -269,16 +268,12 @@ export class ImportTableCommand extends $Command ResourceArn: { type: "operationContextParams", get: (input?: any) => input?.TableCreationParameters?.TableName }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ImportTable", {}) .n("DynamoDBClient", "ImportTableCommand") .f(void 0, void 0) - .ser(se_ImportTableCommand) - .de(de_ImportTableCommand) + .sc(ImportTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListBackupsCommand.ts b/clients/client-dynamodb/src/commands/ListBackupsCommand.ts index 466dae0a00e8..6b9b59674f49 100644 --- a/clients/client-dynamodb/src/commands/ListBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListBackupsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListBackupsInput, ListBackupsOutput } from "../models/models_0"; -import { de_ListBackupsCommand, se_ListBackupsCommand } from "../protocols/Aws_json1_0"; +import { ListBackups } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -105,16 +104,12 @@ export class ListBackupsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListBackups", {}) .n("DynamoDBClient", "ListBackupsCommand") .f(void 0, void 0) - .ser(se_ListBackupsCommand) - .de(de_ListBackupsCommand) + .sc(ListBackups) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts index 5664947ed5fe..fca532488670 100644 --- a/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListContributorInsightsInput, ListContributorInsightsOutput } from "../models/models_0"; -import { de_ListContributorInsightsCommand, se_ListContributorInsightsCommand } from "../protocols/Aws_json1_0"; +import { ListContributorInsights } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -87,16 +86,12 @@ export class ListContributorInsightsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListContributorInsights", {}) .n("DynamoDBClient", "ListContributorInsightsCommand") .f(void 0, void 0) - .ser(se_ListContributorInsightsCommand) - .de(de_ListContributorInsightsCommand) + .sc(ListContributorInsights) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListExportsCommand.ts b/clients/client-dynamodb/src/commands/ListExportsCommand.ts index c4acb8d4ce4d..f453eea63ace 100644 --- a/clients/client-dynamodb/src/commands/ListExportsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListExportsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListExportsInput, ListExportsOutput } from "../models/models_0"; -import { de_ListExportsCommand, se_ListExportsCommand } from "../protocols/Aws_json1_0"; +import { ListExports } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -98,16 +97,12 @@ export class ListExportsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListExports", {}) .n("DynamoDBClient", "ListExportsCommand") .f(void 0, void 0) - .ser(se_ListExportsCommand) - .de(de_ListExportsCommand) + .sc(ListExports) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts b/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts index d08c47b7cb85..77a977ca18a3 100644 --- a/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts +++ b/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListGlobalTablesInput, ListGlobalTablesOutput } from "../models/models_0"; -import { de_ListGlobalTablesCommand, se_ListGlobalTablesCommand } from "../protocols/Aws_json1_0"; +import { ListGlobalTables } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -88,16 +87,12 @@ export class ListGlobalTablesCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListGlobalTables", {}) .n("DynamoDBClient", "ListGlobalTablesCommand") .f(void 0, void 0) - .ser(se_ListGlobalTablesCommand) - .de(de_ListGlobalTablesCommand) + .sc(ListGlobalTables) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListImportsCommand.ts b/clients/client-dynamodb/src/commands/ListImportsCommand.ts index 139d516065c6..4a1f1efd3208 100644 --- a/clients/client-dynamodb/src/commands/ListImportsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListImportsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListImportsInput, ListImportsOutput } from "../models/models_0"; -import { de_ListImportsCommand, se_ListImportsCommand } from "../protocols/Aws_json1_0"; +import { ListImports } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -104,16 +103,12 @@ export class ListImportsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListImports", {}) .n("DynamoDBClient", "ListImportsCommand") .f(void 0, void 0) - .ser(se_ListImportsCommand) - .de(de_ListImportsCommand) + .sc(ListImports) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListTablesCommand.ts b/clients/client-dynamodb/src/commands/ListTablesCommand.ts index 260172ef2387..7d11c3842d8b 100644 --- a/clients/client-dynamodb/src/commands/ListTablesCommand.ts +++ b/clients/client-dynamodb/src/commands/ListTablesCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListTablesInput, ListTablesOutput } from "../models/models_0"; -import { de_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_json1_0"; +import { ListTables } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -97,16 +96,12 @@ export class ListTablesCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListTables", {}) .n("DynamoDBClient", "ListTablesCommand") .f(void 0, void 0) - .ser(se_ListTablesCommand) - .de(de_ListTablesCommand) + .sc(ListTables) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts b/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts index bb65e90b8985..f9196ffa2f32 100644 --- a/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListTagsOfResourceInput, ListTagsOfResourceOutput } from "../models/models_0"; -import { de_ListTagsOfResourceCommand, se_ListTagsOfResourceCommand } from "../protocols/Aws_json1_0"; +import { ListTagsOfResource } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -89,16 +88,12 @@ export class ListTagsOfResourceCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "ListTagsOfResource", {}) .n("DynamoDBClient", "ListTagsOfResourceCommand") .f(void 0, void 0) - .ser(se_ListTagsOfResourceCommand) - .de(de_ListTagsOfResourceCommand) + .sc(ListTagsOfResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/PutItemCommand.ts b/clients/client-dynamodb/src/commands/PutItemCommand.ts index 7b48e506b5f9..98f4bfa9efbc 100644 --- a/clients/client-dynamodb/src/commands/PutItemCommand.ts +++ b/clients/client-dynamodb/src/commands/PutItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutItemInput, PutItemOutput } from "../models/models_0"; -import { de_PutItemCommand, se_PutItemCommand } from "../protocols/Aws_json1_0"; +import { PutItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -299,16 +298,12 @@ export class PutItemCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "PutItem", {}) .n("DynamoDBClient", "PutItemCommand") .f(void 0, void 0) - .ser(se_PutItemCommand) - .de(de_PutItemCommand) + .sc(PutItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/PutResourcePolicyCommand.ts b/clients/client-dynamodb/src/commands/PutResourcePolicyCommand.ts index 631964a8128f..7b6cdbd354b5 100644 --- a/clients/client-dynamodb/src/commands/PutResourcePolicyCommand.ts +++ b/clients/client-dynamodb/src/commands/PutResourcePolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutResourcePolicyInput, PutResourcePolicyOutput } from "../models/models_0"; -import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_0"; +import { PutResourcePolicy } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -138,16 +137,12 @@ export class PutResourcePolicyCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "PutResourcePolicy", {}) .n("DynamoDBClient", "PutResourcePolicyCommand") .f(void 0, void 0) - .ser(se_PutResourcePolicyCommand) - .de(de_PutResourcePolicyCommand) + .sc(PutResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/QueryCommand.ts b/clients/client-dynamodb/src/commands/QueryCommand.ts index bf5305946eb9..8483d7d34d70 100644 --- a/clients/client-dynamodb/src/commands/QueryCommand.ts +++ b/clients/client-dynamodb/src/commands/QueryCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { QueryInput, QueryOutput } from "../models/models_0"; -import { de_QueryCommand, se_QueryCommand } from "../protocols/Aws_json1_0"; +import { Query } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -328,16 +327,12 @@ export class QueryCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "Query", {}) .n("DynamoDBClient", "QueryCommand") .f(void 0, void 0) - .ser(se_QueryCommand) - .de(de_QueryCommand) + .sc(Query) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts b/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts index 58fc831530ec..08e94333f3c7 100644 --- a/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestoreTableFromBackupInput, RestoreTableFromBackupOutput } from "../models/models_0"; -import { de_RestoreTableFromBackupCommand, se_RestoreTableFromBackupCommand } from "../protocols/Aws_json1_0"; +import { RestoreTableFromBackup } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -359,16 +358,12 @@ export class RestoreTableFromBackupCommand extends $Command ResourceArn: { type: "contextParams", name: "TargetTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "RestoreTableFromBackup", {}) .n("DynamoDBClient", "RestoreTableFromBackupCommand") .f(void 0, void 0) - .ser(se_RestoreTableFromBackupCommand) - .de(de_RestoreTableFromBackupCommand) + .sc(RestoreTableFromBackup) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts index c0b59ea176ef..124287647c1e 100644 --- a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from "../models/models_0"; -import { de_RestoreTableToPointInTimeCommand, se_RestoreTableToPointInTimeCommand } from "../protocols/Aws_json1_0"; +import { RestoreTableToPointInTime } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -391,16 +390,12 @@ export class RestoreTableToPointInTimeCommand extends $Command ResourceArn: { type: "contextParams", name: "TargetTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "RestoreTableToPointInTime", {}) .n("DynamoDBClient", "RestoreTableToPointInTimeCommand") .f(void 0, void 0) - .ser(se_RestoreTableToPointInTimeCommand) - .de(de_RestoreTableToPointInTimeCommand) + .sc(RestoreTableToPointInTime) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/ScanCommand.ts b/clients/client-dynamodb/src/commands/ScanCommand.ts index b929bb0beb1e..bee731a2cc9f 100644 --- a/clients/client-dynamodb/src/commands/ScanCommand.ts +++ b/clients/client-dynamodb/src/commands/ScanCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { ScanInput, ScanOutput } from "../models/models_0"; -import { de_ScanCommand, se_ScanCommand } from "../protocols/Aws_json1_0"; +import { Scan } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -327,16 +326,12 @@ export class ScanCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "Scan", {}) .n("DynamoDBClient", "ScanCommand") .f(void 0, void 0) - .ser(se_ScanCommand) - .de(de_ScanCommand) + .sc(Scan) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/TagResourceCommand.ts b/clients/client-dynamodb/src/commands/TagResourceCommand.ts index 165ae29cfd72..bf52c5a19713 100644 --- a/clients/client-dynamodb/src/commands/TagResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/TagResourceCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { TagResourceInput } from "../models/models_0"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0"; +import { TagResource } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -128,16 +127,12 @@ export class TagResourceCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "TagResource", {}) .n("DynamoDBClient", "TagResourceCommand") .f(void 0, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) + .sc(TagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts b/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts index 8b1286665978..d66cb286a81c 100644 --- a/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts +++ b/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { TransactGetItemsInput, TransactGetItemsOutput } from "../models/models_0"; -import { de_TransactGetItemsCommand, se_TransactGetItemsCommand } from "../protocols/Aws_json1_0"; +import { TransactGetItems } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -490,16 +489,12 @@ export class TransactGetItemsCommand extends $Command }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "TransactGetItems", {}) .n("DynamoDBClient", "TransactGetItemsCommand") .f(void 0, void 0) - .ser(se_TransactGetItemsCommand) - .de(de_TransactGetItemsCommand) + .sc(TransactGetItems) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts b/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts index 264ae9c8b480..02d74e6d2638 100644 --- a/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts +++ b/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { TransactWriteItemsInput, TransactWriteItemsOutput } from "../models/models_0"; -import { de_TransactWriteItemsCommand, se_TransactWriteItemsCommand } from "../protocols/Aws_json1_0"; +import { TransactWriteItems } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -653,16 +652,12 @@ export class TransactWriteItemsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "TransactWriteItems", {}) .n("DynamoDBClient", "TransactWriteItemsCommand") .f(void 0, void 0) - .ser(se_TransactWriteItemsCommand) - .de(de_TransactWriteItemsCommand) + .sc(TransactWriteItems) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UntagResourceCommand.ts b/clients/client-dynamodb/src/commands/UntagResourceCommand.ts index 0031c99a0132..85718b798bb3 100644 --- a/clients/client-dynamodb/src/commands/UntagResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/UntagResourceCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UntagResourceInput } from "../models/models_0"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0"; +import { UntagResource } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -123,16 +122,12 @@ export class UntagResourceCommand extends $Command ResourceArn: { type: "contextParams", name: "ResourceArn" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UntagResource", {}) .n("DynamoDBClient", "UntagResourceCommand") .f(void 0, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) + .sc(UntagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts index 4eede960b070..2005ab2e8bb2 100644 --- a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateContinuousBackupsInput, UpdateContinuousBackupsOutput } from "../models/models_0"; -import { de_UpdateContinuousBackupsCommand, se_UpdateContinuousBackupsCommand } from "../protocols/Aws_json1_0"; +import { UpdateContinuousBackups } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -105,16 +104,12 @@ export class UpdateContinuousBackupsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateContinuousBackups", {}) .n("DynamoDBClient", "UpdateContinuousBackupsCommand") .f(void 0, void 0) - .ser(se_UpdateContinuousBackupsCommand) - .de(de_UpdateContinuousBackupsCommand) + .sc(UpdateContinuousBackups) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts index a23a5daf7773..c4931e655d55 100644 --- a/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateContributorInsightsInput, UpdateContributorInsightsOutput } from "../models/models_0"; -import { de_UpdateContributorInsightsCommand, se_UpdateContributorInsightsCommand } from "../protocols/Aws_json1_0"; +import { UpdateContributorInsights } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -87,16 +86,12 @@ export class UpdateContributorInsightsCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateContributorInsights", {}) .n("DynamoDBClient", "UpdateContributorInsightsCommand") .f(void 0, void 0) - .ser(se_UpdateContributorInsightsCommand) - .de(de_UpdateContributorInsightsCommand) + .sc(UpdateContributorInsights) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts index 387850721033..6b642a192e3f 100644 --- a/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateGlobalTableInput, UpdateGlobalTableOutput } from "../models/models_0"; -import { de_UpdateGlobalTableCommand, se_UpdateGlobalTableCommand } from "../protocols/Aws_json1_0"; +import { UpdateGlobalTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -174,16 +173,12 @@ export class UpdateGlobalTableCommand extends $Command ResourceArn: { type: "contextParams", name: "GlobalTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateGlobalTable", {}) .n("DynamoDBClient", "UpdateGlobalTableCommand") .f(void 0, void 0) - .ser(se_UpdateGlobalTableCommand) - .de(de_UpdateGlobalTableCommand) + .sc(UpdateGlobalTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateGlobalTableSettingsCommand.ts b/clients/client-dynamodb/src/commands/UpdateGlobalTableSettingsCommand.ts index 1d96e3d6ef55..e684d140a1d5 100644 --- a/clients/client-dynamodb/src/commands/UpdateGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateGlobalTableSettingsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateGlobalTableSettingsInput, UpdateGlobalTableSettingsOutput } from "../models/models_0"; -import { de_UpdateGlobalTableSettingsCommand, se_UpdateGlobalTableSettingsCommand } from "../protocols/Aws_json1_0"; +import { UpdateGlobalTableSettings } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -278,16 +277,12 @@ export class UpdateGlobalTableSettingsCommand extends $Command ResourceArn: { type: "contextParams", name: "GlobalTableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {}) .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand") .f(void 0, void 0) - .ser(se_UpdateGlobalTableSettingsCommand) - .de(de_UpdateGlobalTableSettingsCommand) + .sc(UpdateGlobalTableSettings) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateItemCommand.ts b/clients/client-dynamodb/src/commands/UpdateItemCommand.ts index 36780efc5b95..70784f5ebe67 100644 --- a/clients/client-dynamodb/src/commands/UpdateItemCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateItemCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateItemInput, UpdateItemOutput } from "../models/models_0"; -import { de_UpdateItemCommand, se_UpdateItemCommand } from "../protocols/Aws_json1_0"; +import { UpdateItem } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -312,16 +311,12 @@ export class UpdateItemCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateItem", {}) .n("DynamoDBClient", "UpdateItemCommand") .f(void 0, void 0) - .ser(se_UpdateItemCommand) - .de(de_UpdateItemCommand) + .sc(UpdateItem) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/src/commands/UpdateKinesisStreamingDestinationCommand.ts index 04fccf477d50..bf24a3564808 100644 --- a/clients/client-dynamodb/src/commands/UpdateKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateKinesisStreamingDestinationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateKinesisStreamingDestinationInput, UpdateKinesisStreamingDestinationOutput } from "../models/models_0"; -import { - de_UpdateKinesisStreamingDestinationCommand, - se_UpdateKinesisStreamingDestinationCommand, -} from "../protocols/Aws_json1_0"; +import { UpdateKinesisStreamingDestination } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -124,16 +120,12 @@ export class UpdateKinesisStreamingDestinationCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {}) .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand") .f(void 0, void 0) - .ser(se_UpdateKinesisStreamingDestinationCommand) - .de(de_UpdateKinesisStreamingDestinationCommand) + .sc(UpdateKinesisStreamingDestination) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateTableCommand.ts b/clients/client-dynamodb/src/commands/UpdateTableCommand.ts index f291cf2937ff..482b3f07cda4 100644 --- a/clients/client-dynamodb/src/commands/UpdateTableCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTableCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateTableInput, UpdateTableOutput } from "../models/models_0"; -import { de_UpdateTableCommand, se_UpdateTableCommand } from "../protocols/Aws_json1_0"; +import { UpdateTable } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -487,16 +486,12 @@ export class UpdateTableCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateTable", {}) .n("DynamoDBClient", "UpdateTableCommand") .f(void 0, void 0) - .ser(se_UpdateTableCommand) - .de(de_UpdateTableCommand) + .sc(UpdateTable) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts index 352e13029ad6..bfbaf657d662 100644 --- a/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateTableReplicaAutoScalingInput, UpdateTableReplicaAutoScalingOutput } from "../models/models_0"; -import { - de_UpdateTableReplicaAutoScalingCommand, - se_UpdateTableReplicaAutoScalingCommand, -} from "../protocols/Aws_json1_0"; +import { UpdateTableReplicaAutoScaling } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -247,16 +243,12 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {}) .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand") .f(void 0, void 0) - .ser(se_UpdateTableReplicaAutoScalingCommand) - .de(de_UpdateTableReplicaAutoScalingCommand) + .sc(UpdateTableReplicaAutoScaling) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts b/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts index 13835dfef47d..32545d429a9e 100644 --- a/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateTimeToLiveInput, UpdateTimeToLiveOutput } from "../models/models_0"; -import { de_UpdateTimeToLiveCommand, se_UpdateTimeToLiveCommand } from "../protocols/Aws_json1_0"; +import { UpdateTimeToLive } from "../schemas/com.amazonaws.dynamodb"; /** * @public @@ -141,16 +140,12 @@ export class UpdateTimeToLiveCommand extends $Command ResourceArn: { type: "contextParams", name: "TableName" }, }) .m(function (this: any, Command: any, cs: any, config: DynamoDBClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("DynamoDB_20120810", "UpdateTimeToLive", {}) .n("DynamoDBClient", "UpdateTimeToLiveCommand") .f(void 0, void 0) - .ser(se_UpdateTimeToLiveCommand) - .de(de_UpdateTimeToLiveCommand) + .sc(UpdateTimeToLive) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-dynamodb/src/schemas/com.amazonaws.dynamodb.ts b/clients/client-dynamodb/src/schemas/com.amazonaws.dynamodb.ts new file mode 100644 index 000000000000..e13fd97121a5 --- /dev/null +++ b/clients/client-dynamodb/src/schemas/com.amazonaws.dynamodb.ts @@ -0,0 +1,2557 @@ +const _A = "Action"; +const _AA = "AttributeAction"; +const _ABA = "ArchivalBackupArn"; +const _ACDTP = "ApproximateCreationDateTimePrecision"; +const _AD = "AttributeDefinition"; +const _ADT = "ArchivalDateTime"; +const _ADt = "AttributeDefinitions"; +const _AM = "AttributeMap"; +const _AMRCU = "AccountMaxReadCapacityUnits"; +const _AMWCU = "AccountMaxWriteCapacityUnits"; +const _AN = "AttributeName"; +const _ANL = "AttributeNameList"; +const _AR = "ArchivalReason"; +const _AS = "ArchivalSummary"; +const _ASD = "AutoScalingDisabled"; +const _ASPD = "AutoScalingPolicyDescription"; +const _ASPDL = "AutoScalingPolicyDescriptionList"; +const _ASPN = "AutoScalingPolicyName"; +const _ASPU = "AutoScalingPolicyUpdate"; +const _ASRA = "AutoScalingRoleArn"; +const _ASSD = "AutoScalingSettingsDescription"; +const _ASSU = "AutoScalingSettingsUpdate"; +const _ASTTSPCD = "AutoScalingTargetTrackingScalingPolicyConfigurationDescription"; +const _ASTTSPCU = "AutoScalingTargetTrackingScalingPolicyConfigurationUpdate"; +const _AT = "AttributeType"; +const _ATG = "AttributesToGet"; +const _AU = "AttributeUpdates"; +const _AV = "AttributeValue"; +const _AVL = "AttributeValueList"; +const _AVU = "AttributeValueUpdate"; +const _Ad = "Address"; +const _At = "Attributes"; +const _B = "Backfilling"; +const _BA = "BackupArn"; +const _BAV = "BinaryAttributeValue"; +const _BAVo = "BooleanAttributeValue"; +const _BCDT = "BackupCreationDateTime"; +const _BD = "BackupDescription"; +const _BDa = "BackupDetails"; +const _BEDT = "BackupExpiryDateTime"; +const _BES = "BatchExecuteStatement"; +const _BESI = "BatchExecuteStatementInput"; +const _BESO = "BatchExecuteStatementOutput"; +const _BGI = "BatchGetItem"; +const _BGII = "BatchGetItemInput"; +const _BGIO = "BatchGetItemOutput"; +const _BGRM = "BatchGetRequestMap"; +const _BGRMa = "BatchGetResponseMap"; +const _BIL = "BackupsInputLimit"; +const _BIUE = "BackupInUseException"; +const _BM = "BillingMode"; +const _BMO = "BillingModeOverride"; +const _BMS = "BillingModeSummary"; +const _BN = "BackupName"; +const _BNFE = "BackupNotFoundException"; +const _BO = "BooleanObject"; +const _BOOL = "BOOL"; +const _BS = "BackupStatus"; +const _BSAV = "BinarySetAttributeValue"; +const _BSB = "BackupSizeBytes"; +const _BSBi = "BilledSizeBytes"; +const _BSE = "BatchStatementError"; +const _BSECE = "BatchStatementErrorCodeEnum"; +const _BSR = "BatchStatementRequest"; +const _BSRa = "BatchStatementResponse"; +const _BS_ = "BS"; +const _BSa = "BackupSummary"; +const _BSac = "BackupSummaries"; +const _BT = "BackupType"; +const _BTF = "BackupTypeFilter"; +const _BWI = "BatchWriteItem"; +const _BWII = "BatchWriteItemInput"; +const _BWIO = "BatchWriteItemOutput"; +const _BWIRM = "BatchWriteItemRequestMap"; +const _B_ = "B"; +const _C = "Code"; +const _CB = "CreateBackup"; +const _CBD = "ContinuousBackupsDescription"; +const _CBI = "CreateBackupInput"; +const _CBO = "CreateBackupOutput"; +const _CBS = "ContinuousBackupsStatus"; +const _CBUE = "ContinuousBackupsUnavailableException"; +const _CC = "ConsumedCapacity"; +const _CCFE = "ConditionalCheckFailedException"; +const _CCM = "ConsumedCapacityMultiple"; +const _CCU = "ConsumedCapacityUnits"; +const _CCo = "ConditionCheck"; +const _CD = "CsvDelimiter"; +const _CDT = "CreationDateTime"; +const _CE = "ConditionExpression"; +const _CGSIA = "CreateGlobalSecondaryIndexAction"; +const _CGT = "CreateGlobalTable"; +const _CGTI = "CreateGlobalTableInput"; +const _CGTO = "CreateGlobalTableOutput"; +const _CH = "CsvHeader"; +const _CHL = "CsvHeaderList"; +const _CIA = "ContributorInsightsAction"; +const _CIR = "ContributorInsightsRule"; +const _CIRL = "ContributorInsightsRuleList"; +const _CIS = "ContributorInsightsStatus"; +const _CISo = "ContributorInsightsSummary"; +const _CISon = "ContributorInsightsSummaries"; +const _CO = "ConditionalOperator"; +const _COo = "ComparisonOperator"; +const _COs = "CsvOptions"; +const _CPIM = "CachePeriodInMinutes"; +const _CR = "ConsistentRead"; +const _CRA = "CreateReplicaAction"; +const _CRGMA = "CreateReplicationGroupMemberAction"; +const _CRL = "CancellationReasonList"; +const _CRSRA = "ConfirmRemoveSelfResourceAccess"; +const _CRT = "ClientRequestToken"; +const _CRa = "CancellationReason"; +const _CRan = "CancellationReasons"; +const _CT = "ClientToken"; +const _CTI = "CreateTableInput"; +const _CTO = "CreateTableOutput"; +const _CTr = "CreateTable"; +const _CU = "CapacityUnits"; +const _CWLGA = "CloudWatchLogGroupArn"; +const _Ca = "Capacity"; +const _Co = "Condition"; +const _Cou = "Count"; +const _Cr = "Create"; +const _Cs = "Csv"; +const _D = "Date"; +const _DB = "DeleteBackup"; +const _DBI = "DeleteBackupInput"; +const _DBIe = "DescribeBackupInput"; +const _DBO = "DeleteBackupOutput"; +const _DBOe = "DescribeBackupOutput"; +const _DBe = "DescribeBackup"; +const _DCB = "DescribeContinuousBackups"; +const _DCBI = "DescribeContinuousBackupsInput"; +const _DCBO = "DescribeContinuousBackupsOutput"; +const _DCI = "DescribeContributorInsights"; +const _DCII = "DescribeContributorInsightsInput"; +const _DCIO = "DescribeContributorInsightsOutput"; +const _DE = "DescribeEndpoints"; +const _DEI = "DescribeExportInput"; +const _DEO = "DescribeExportOutput"; +const _DER = "DescribeEndpointsRequest"; +const _DERe = "DescribeEndpointsResponse"; +const _DEe = "DescribeExport"; +const _DGSIA = "DeleteGlobalSecondaryIndexAction"; +const _DGT = "DescribeGlobalTable"; +const _DGTI = "DescribeGlobalTableInput"; +const _DGTO = "DescribeGlobalTableOutput"; +const _DGTS = "DescribeGlobalTableSettings"; +const _DGTSI = "DescribeGlobalTableSettingsInput"; +const _DGTSO = "DescribeGlobalTableSettingsOutput"; +const _DI = "DeleteItem"; +const _DIE = "DuplicateItemException"; +const _DII = "DeleteItemInput"; +const _DIIe = "DescribeImportInput"; +const _DIO = "DeleteItemOutput"; +const _DIOe = "DescribeImportOutput"; +const _DIe = "DescribeImport"; +const _DKSD = "DescribeKinesisStreamingDestination"; +const _DKSDI = "DescribeKinesisStreamingDestinationInput"; +const _DKSDO = "DescribeKinesisStreamingDestinationOutput"; +const _DKSDi = "DisableKinesisStreamingDestination"; +const _DL = "DescribeLimits"; +const _DLI = "DescribeLimitsInput"; +const _DLO = "DescribeLimitsOutput"; +const _DO = "DoubleObject"; +const _DPE = "DeletionProtectionEnabled"; +const _DR = "DeleteRequest"; +const _DRA = "DeleteReplicaAction"; +const _DRGMA = "DeleteReplicationGroupMemberAction"; +const _DRP = "DeleteResourcePolicy"; +const _DRPI = "DeleteResourcePolicyInput"; +const _DRPO = "DeleteResourcePolicyOutput"; +const _DS = "DestinationStatus"; +const _DSD = "DestinationStatusDescription"; +const _DSI = "DisableScaleIn"; +const _DT = "DeleteTable"; +const _DTI = "DeleteTableInput"; +const _DTIe = "DescribeTableInput"; +const _DTO = "DeleteTableOutput"; +const _DTOe = "DescribeTableOutput"; +const _DTRAS = "DescribeTableReplicaAutoScaling"; +const _DTRASI = "DescribeTableReplicaAutoScalingInput"; +const _DTRASO = "DescribeTableReplicaAutoScalingOutput"; +const _DTTL = "DescribeTimeToLive"; +const _DTTLI = "DescribeTimeToLiveInput"; +const _DTTLO = "DescribeTimeToLiveOutput"; +const _DTe = "DescribeTable"; +const _De = "Delimiter"; +const _Del = "Delete"; +const _E = "Error"; +const _EA = "ExportArn"; +const _EAM = "ExpectedAttributeMap"; +const _EAN = "ExpressionAttributeNames"; +const _EANM = "ExpressionAttributeNameMap"; +const _EANV = "ExpressionAttributeNameVariable"; +const _EAV = "ExpressionAttributeValues"; +const _EAVM = "ExpressionAttributeValueMap"; +const _EAVV = "ExpressionAttributeValueVariable"; +const _EAVx = "ExpectedAttributeValue"; +const _EC = "ErrorCount"; +const _ECE = "ExportConflictException"; +const _ED = "ExceptionDescription"; +const _EDx = "ExportDescription"; +const _EET = "ExportEndTime"; +const _EF = "ExportFormat"; +const _EFT = "ExportFromTime"; +const _EKSC = "EnableKinesisStreamingConfiguration"; +const _EKSD = "EnableKinesisStreamingDestination"; +const _EM = "ErrorMessage"; +const _EMx = "ExportManifest"; +const _EN = "ExceptionName"; +const _ENFE = "ExportNotFoundException"; +const _ENT = "ExportNextToken"; +const _ERDT = "EarliestRestorableDateTime"; +const _ERI = "ExpectedRevisionId"; +const _ES = "ExportStatus"; +const _ESBA = "ExclusiveStartBackupArn"; +const _ESGTN = "ExclusiveStartGlobalTableName"; +const _ESI = "ExecuteStatementInput"; +const _ESK = "ExclusiveStartKey"; +const _ESO = "ExecuteStatementOutput"; +const _EST = "ExportStartTime"; +const _ESTN = "ExclusiveStartTableName"; +const _ESx = "ExportSummary"; +const _ESxe = "ExecuteStatement"; +const _ESxp = "ExportSummaries"; +const _ET = "ExportTime"; +const _ETI = "ExecuteTransactionInput"; +const _ETO = "ExecuteTransactionOutput"; +const _ETT = "ExportToTime"; +const _ETTPIT = "ExportTableToPointInTime"; +const _ETTPITI = "ExportTableToPointInTimeInput"; +const _ETTPITO = "ExportTableToPointInTimeOutput"; +const _ETn = "EndTime"; +const _ETx = "ExportType"; +const _ETxe = "ExecuteTransaction"; +const _EVT = "ExportViewType"; +const _En = "Endpoints"; +const _Ena = "Enabled"; +const _End = "Endpoint"; +const _Ex = "Expected"; +const _Exi = "Exists"; +const _FC = "FailureCode"; +const _FCM = "FilterConditionMap"; +const _FE = "FailureException"; +const _FEi = "FilterExpression"; +const _FM = "FailureMessage"; +const _G = "Get"; +const _GI = "GetItem"; +const _GII = "GetItemInput"; +const _GIO = "GetItemOutput"; +const _GRP = "GetResourcePolicy"; +const _GRPI = "GetResourcePolicyInput"; +const _GRPO = "GetResourcePolicyOutput"; +const _GSI = "GlobalSecondaryIndexes"; +const _GSIASU = "GlobalSecondaryIndexAutoScalingUpdate"; +const _GSIASUL = "GlobalSecondaryIndexAutoScalingUpdateList"; +const _GSID = "GlobalSecondaryIndexDescription"; +const _GSIDL = "GlobalSecondaryIndexDescriptionList"; +const _GSII = "GlobalSecondaryIndexInfo"; +const _GSIL = "GlobalSecondaryIndexList"; +const _GSIO = "GlobalSecondaryIndexOverride"; +const _GSIU = "GlobalSecondaryIndexUpdate"; +const _GSIUL = "GlobalSecondaryIndexUpdateList"; +const _GSIUl = "GlobalSecondaryIndexUpdates"; +const _GSIWTD = "GlobalSecondaryIndexWarmThroughputDescription"; +const _GSIl = "GlobalSecondaryIndex"; +const _GT = "GlobalTable"; +const _GTA = "GlobalTableArn"; +const _GTAEE = "GlobalTableAlreadyExistsException"; +const _GTAS = "GlobalTableArnString"; +const _GTBM = "GlobalTableBillingMode"; +const _GTD = "GlobalTableDescription"; +const _GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate"; +const _GTGSISUL = "GlobalTableGlobalSecondaryIndexSettingsUpdateList"; +const _GTL = "GlobalTableList"; +const _GTN = "GlobalTableName"; +const _GTNFE = "GlobalTableNotFoundException"; +const _GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate"; +const _GTPWCU = "GlobalTableProvisionedWriteCapacityUnits"; +const _GTS = "GlobalTableStatus"; +const _GTV = "GlobalTableVersion"; +const _GTl = "GlobalTables"; +const _HL = "HeaderList"; +const _I = "Integer"; +const _IA = "ImportArn"; +const _IAn = "IndexArn"; +const _IC = "ItemCount"; +const _ICE = "ImportConflictException"; +const _ICK = "ItemCollectionKey"; +const _ICKAM = "ItemCollectionKeyAttributeMap"; +const _ICM = "ItemCollectionMetrics"; +const _ICMM = "ItemCollectionMetricsMultiple"; +const _ICMPT = "ItemCollectionMetricsPerTable"; +const _ICSEB = "ItemCollectionSizeEstimateBound"; +const _ICSER = "ItemCollectionSizeEstimateRange"; +const _ICSLEE = "ItemCollectionSizeLimitExceededException"; +const _ICT = "InputCompressionType"; +const _IEDT = "InaccessibleEncryptionDateTime"; +const _IEE = "InvalidEndpointException"; +const _IES = "IncrementalExportSpecification"; +const _IET = "ImportEndTime"; +const _IETE = "InvalidExportTimeException"; +const _IF = "InputFormat"; +const _IFO = "InputFormatOptions"; +const _IIC = "ImportedItemCount"; +const _IL = "ItemList"; +const _IN = "IndexName"; +const _INFE = "ImportNotFoundException"; +const _INFEn = "IndexNotFoundException"; +const _INT = "ImportNextToken"; +const _IO = "IntegerObject"; +const _IPME = "IdempotentParameterMismatchException"; +const _IR = "ItemResponse"; +const _IRL = "ItemResponseList"; +const _IRTE = "InvalidRestoreTimeException"; +const _IS = "IndexStatus"; +const _ISB = "IndexSizeBytes"; +const _ISE = "InternalServerError"; +const _ISL = "ImportSummaryList"; +const _IST = "ImportStartTime"; +const _ISm = "ImportStatus"; +const _ISmp = "ImportSummary"; +const _IT = "ImportTable"; +const _ITD = "ImportTableDescription"; +const _ITI = "ImportTableInput"; +const _ITO = "ImportTableOutput"; +const _It = "Item"; +const _Ite = "Items"; +const _K = "Key"; +const _KAA = "KeysAndAttributes"; +const _KC = "KeyConditions"; +const _KCE = "KeyConditionExpression"; +const _KDSD = "KinesisDataStreamDestinations"; +const _KDSDi = "KinesisDataStreamDestination"; +const _KE = "KeyExpression"; +const _KL = "KeyList"; +const _KMSMKA = "KMSMasterKeyArn"; +const _KMSMKI = "KMSMasterKeyId"; +const _KS = "KeySchema"; +const _KSAN = "KeySchemaAttributeName"; +const _KSDI = "KinesisStreamingDestinationInput"; +const _KSDO = "KinesisStreamingDestinationOutput"; +const _KSE = "KeySchemaElement"; +const _KT = "KeyType"; +const _Ke = "Keys"; +const _L = "Long"; +const _LAV = "ListAttributeValue"; +const _LB = "ListBackups"; +const _LBI = "ListBackupsInput"; +const _LBO = "ListBackupsOutput"; +const _LCI = "ListContributorInsights"; +const _LCII = "ListContributorInsightsInput"; +const _LCIL = "ListContributorInsightsLimit"; +const _LCIO = "ListContributorInsightsOutput"; +const _LDDT = "LastDecreaseDateTime"; +const _LE = "ListExports"; +const _LEBA = "LastEvaluatedBackupArn"; +const _LEE = "LimitExceededException"; +const _LEGTN = "LastEvaluatedGlobalTableName"; +const _LEI = "ListExportsInput"; +const _LEK = "LastEvaluatedKey"; +const _LEML = "ListExportsMaxLimit"; +const _LEO = "ListExportsOutput"; +const _LETN = "LastEvaluatedTableName"; +const _LGT = "ListGlobalTables"; +const _LGTI = "ListGlobalTablesInput"; +const _LGTO = "ListGlobalTablesOutput"; +const _LI = "ListImports"; +const _LIDT = "LastIncreaseDateTime"; +const _LII = "ListImportsInput"; +const _LIML = "ListImportsMaxLimit"; +const _LIO = "ListImportsOutput"; +const _LO = "LongObject"; +const _LRDT = "LatestRestorableDateTime"; +const _LSA = "LatestStreamArn"; +const _LSI = "LocalSecondaryIndexes"; +const _LSID = "LocalSecondaryIndexDescription"; +const _LSIDL = "LocalSecondaryIndexDescriptionList"; +const _LSII = "LocalSecondaryIndexInfo"; +const _LSIL = "LocalSecondaryIndexList"; +const _LSIO = "LocalSecondaryIndexOverride"; +const _LSIo = "LocalSecondaryIndex"; +const _LSL = "LatestStreamLabel"; +const _LT = "ListTables"; +const _LTI = "ListTablesInput"; +const _LTIL = "ListTablesInputLimit"; +const _LTO = "ListTablesOutput"; +const _LTOR = "ListTagsOfResource"; +const _LTORI = "ListTagsOfResourceInput"; +const _LTORO = "ListTagsOfResourceOutput"; +const _LUDT = "LastUpdateDateTime"; +const _LUTPPRDT = "LastUpdateToPayPerRequestDateTime"; +const _L_ = "L"; +const _Li = "Limit"; +const _M = "Message"; +const _MAV = "MapAttributeValue"; +const _MR = "MaxResults"; +const _MRC = "MultiRegionConsistency"; +const _MRRU = "MaxReadRequestUnits"; +const _MU = "MinimumUnits"; +const _MUa = "MaximumUnits"; +const _MWRU = "MaxWriteRequestUnits"; +const _M_ = "M"; +const _N = "N"; +const _NAV = "NumberAttributeValue"; +const _NAVu = "NullAttributeValue"; +const _NKA = "NonKeyAttributes"; +const _NKAN = "NonKeyAttributeName"; +const _NKANL = "NonKeyAttributeNameList"; +const _NNLO = "NonNegativeLongObject"; +const _NODT = "NumberOfDecreasesToday"; +const _NS = "NS"; +const _NSAV = "NumberSetAttributeValue"; +const _NT = "NextToken"; +const _NTS = "NextTokenString"; +const _NULL = "NULL"; +const _ODT = "OnDemandThroughput"; +const _ODTO = "OnDemandThroughputOverride"; +const _P = "Parameters"; +const _PE = "ProjectionExpression"; +const _PI = "PutItem"; +const _PIC = "ProcessedItemCount"; +const _PII = "PutItemInput"; +const _PIIAM = "PutItemInputAttributeMap"; +const _PIO = "PositiveIntegerObject"; +const _PIOu = "PutItemOutput"; +const _PITRD = "PointInTimeRecoveryDescription"; +const _PITRE = "PointInTimeRecoveryEnabled"; +const _PITRS = "PointInTimeRecoveryStatus"; +const _PITRSo = "PointInTimeRecoverySpecification"; +const _PITRUE = "PointInTimeRecoveryUnavailableException"; +const _PLO = "PositiveLongObject"; +const _PN = "PolicyName"; +const _PNFE = "PolicyNotFoundException"; +const _PQLBR = "PartiQLBatchRequest"; +const _PQLBRa = "PartiQLBatchResponse"; +const _PQLNT = "PartiQLNextToken"; +const _PQLS = "PartiQLStatement"; +const _PR = "PutRequest"; +const _PRCASS = "ProvisionedReadCapacityAutoScalingSettings"; +const _PRCASSU = "ProvisionedReadCapacityAutoScalingSettingsUpdate"; +const _PRCASU = "ProvisionedReadCapacityAutoScalingUpdate"; +const _PRCU = "ProvisionedReadCapacityUnits"; +const _PRI = "PolicyRevisionId"; +const _PRP = "PutResourcePolicy"; +const _PRPI = "PutResourcePolicyInput"; +const _PRPO = "PutResourcePolicyOutput"; +const _PS = "PageSize"; +const _PSB = "ProcessedSizeBytes"; +const _PSP = "PreparedStatementParameters"; +const _PSa = "ParameterizedStatement"; +const _PSar = "ParameterizedStatements"; +const _PT = "ProjectionType"; +const _PTD = "ProvisionedThroughputDescription"; +const _PTEE = "ProvisionedThroughputExceededException"; +const _PTO = "ProvisionedThroughputOverride"; +const _PTr = "ProvisionedThroughput"; +const _PWCASS = "ProvisionedWriteCapacityAutoScalingSettings"; +const _PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate"; +const _PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate"; +const _PWCU = "ProvisionedWriteCapacityUnits"; +const _Po = "Policy"; +const _Pr = "Projection"; +const _Pu = "Put"; +const _Q = "Query"; +const _QF = "QueryFilter"; +const _QI = "QueryInput"; +const _QO = "QueryOutput"; +const _R = "Responses"; +const _RA = "ResourceArn"; +const _RAEE = "ReplicaAlreadyExistsException"; +const _RAS = "ResourceArnString"; +const _RASD = "ReplicaAutoScalingDescription"; +const _RASDL = "ReplicaAutoScalingDescriptionList"; +const _RASU = "ReplicaAutoScalingUpdate"; +const _RASUL = "ReplicaAutoScalingUpdateList"; +const _RBMS = "ReplicaBillingModeSummary"; +const _RCC = "ReturnConsumedCapacity"; +const _RCU = "ReadCapacityUnits"; +const _RD = "ReplicaDescription"; +const _RDL = "ReplicaDescriptionList"; +const _RDT = "RestoreDateTime"; +const _RG = "ReplicationGroup"; +const _RGSI = "ReplicaGlobalSecondaryIndex"; +const _RGSIASD = "ReplicaGlobalSecondaryIndexAutoScalingDescription"; +const _RGSIASDL = "ReplicaGlobalSecondaryIndexAutoScalingDescriptionList"; +const _RGSIASU = "ReplicaGlobalSecondaryIndexAutoScalingUpdate"; +const _RGSIASUL = "ReplicaGlobalSecondaryIndexAutoScalingUpdateList"; +const _RGSID = "ReplicaGlobalSecondaryIndexDescription"; +const _RGSIDL = "ReplicaGlobalSecondaryIndexDescriptionList"; +const _RGSIL = "ReplicaGlobalSecondaryIndexList"; +const _RGSIS = "ReplicaGlobalSecondaryIndexSettings"; +const _RGSISD = "ReplicaGlobalSecondaryIndexSettingsDescription"; +const _RGSISDL = "ReplicaGlobalSecondaryIndexSettingsDescriptionList"; +const _RGSISU = "ReplicaGlobalSecondaryIndexSettingsUpdate"; +const _RGSISUL = "ReplicaGlobalSecondaryIndexSettingsUpdateList"; +const _RGSIU = "ReplicaGlobalSecondaryIndexUpdates"; +const _RGU = "ReplicationGroupUpdate"; +const _RGUL = "ReplicationGroupUpdateList"; +const _RI = "RequestItems"; +const _RICM = "ReturnItemCollectionMetrics"; +const _RIDT = "ReplicaInaccessibleDateTime"; +const _RIP = "RestoreInProgress"; +const _RIUE = "ResourceInUseException"; +const _RIe = "RevisionId"; +const _RL = "ReplicaList"; +const _RLE = "RequestLimitExceeded"; +const _RN = "RegionName"; +const _RNFE = "ReplicaNotFoundException"; +const _RNFEe = "ResourceNotFoundException"; +const _RP = "ResourcePolicy"; +const _RPID = "RecoveryPeriodInDays"; +const _RPRCASS = "ReplicaProvisionedReadCapacityAutoScalingSettings"; +const _RPRCASSU = "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"; +const _RPRCASU = "ReplicaProvisionedReadCapacityAutoScalingUpdate"; +const _RPRCU = "ReplicaProvisionedReadCapacityUnits"; +const _RPWCASS = "ReplicaProvisionedWriteCapacityAutoScalingSettings"; +const _RPWCU = "ReplicaProvisionedWriteCapacityUnits"; +const _RS = "ReplicaStatus"; +const _RSD = "ReplicaStatusDescription"; +const _RSDL = "ReplicaSettingsDescriptionList"; +const _RSDe = "ReplicaSettingsDescription"; +const _RSPP = "ReplicaStatusPercentProgress"; +const _RSU = "ReplicaSettingsUpdate"; +const _RSUL = "ReplicaSettingsUpdateList"; +const _RSe = "ReplicaSettings"; +const _RSes = "RestoreSummary"; +const _RTC = "ReplicaTableClass"; +const _RTCS = "ReplicaTableClassSummary"; +const _RTFB = "RestoreTableFromBackup"; +const _RTFBI = "RestoreTableFromBackupInput"; +const _RTFBO = "RestoreTableFromBackupOutput"; +const _RTTPIT = "RestoreTableToPointInTime"; +const _RTTPITI = "RestoreTableToPointInTimeInput"; +const _RTTPITO = "RestoreTableToPointInTimeOutput"; +const _RU = "ReplicaUpdate"; +const _RUL = "ReplicaUpdateList"; +const _RUPS = "ReadUnitsPerSecond"; +const _RUe = "ReplicaUpdates"; +const _RV = "ReturnValue"; +const _RVOCCF = "ReturnValuesOnConditionCheckFailure"; +const _RVe = "ReturnValues"; +const _RWCE = "ReplicatedWriteConflictException"; +const _Re = "Replica"; +const _Rep = "Replicas"; +const _S = "String"; +const _SA = "StreamArn"; +const _SAT = "ScalarAttributeType"; +const _SAV = "StringAttributeValue"; +const _SB = "S3Bucket"; +const _SBA = "SourceBackupArn"; +const _SBO = "S3BucketOwner"; +const _SBS = "S3BucketSource"; +const _SC = "ScannedCount"; +const _SD = "StreamDescription"; +const _SE = "StreamEnabled"; +const _SERGB = "SizeEstimateRangeGB"; +const _SF = "ScanFilter"; +const _SI = "ScanInput"; +const _SIC = "ScaleInCooldown"; +const _SICM = "SecondaryIndexesCapacityMap"; +const _SIF = "ScanIndexForward"; +const _SKP = "S3KeyPrefix"; +const _SO = "ScanOutput"; +const _SOC = "ScaleOutCooldown"; +const _SP = "S3Prefix"; +const _SPU = "ScalingPolicyUpdate"; +const _SPc = "ScalingPolicies"; +const _SS = "ScanSegment"; +const _SSA = "S3SseAlgorithm"; +const _SSAV = "StringSetAttributeValue"; +const _SSED = "SSEDescription"; +const _SSEE = "SSEEnabled"; +const _SSES = "SSEStatus"; +const _SSESO = "SSESpecificationOverride"; +const _SSESp = "SSESpecification"; +const _SSET = "SSEType"; +const _SSKKI = "S3SseKmsKeyId"; +const _SS_ = "SS"; +const _SSt = "StreamSpecification"; +const _ST = "StartTime"; +const _STA = "SourceTableArn"; +const _STD = "SourceTableDetails"; +const _STFD = "SourceTableFeatureDetails"; +const _STN = "SourceTableName"; +const _STS = "ScanTotalSegments"; +const _SVT = "StreamViewType"; +const _S_ = "S"; +const _Sc = "Scan"; +const _Se = "Select"; +const _Seg = "Segment"; +const _St = "Statements"; +const _Sta = "Statement"; +const _Stat = "Status"; +const _T = "Table"; +const _TA = "TableArn"; +const _TAEE = "TableAlreadyExistsException"; +const _TASD = "TableAutoScalingDescription"; +const _TC = "TableClass"; +const _TCDT = "TableCreationDateTime"; +const _TCE = "TransactionCanceledException"; +const _TCEr = "TransactionConflictException"; +const _TCO = "TableClassOverride"; +const _TCP = "TableCreationParameters"; +const _TCS = "TableClassSummary"; +const _TD = "TableDescription"; +const _TGI = "TransactGetItem"; +const _TGII = "TransactGetItemsInput"; +const _TGIL = "TransactGetItemList"; +const _TGIO = "TransactGetItemsOutput"; +const _TGIr = "TransactGetItems"; +const _TI = "TableId"; +const _TIPE = "TransactionInProgressException"; +const _TIUE = "TableInUseException"; +const _TIr = "TransactItems"; +const _TK = "TagKeys"; +const _TKL = "TagKeyList"; +const _TKS = "TagKeyString"; +const _TL = "TagList"; +const _TMRCU = "TableMaxReadCapacityUnits"; +const _TMWCU = "TableMaxWriteCapacityUnits"; +const _TN = "TableName"; +const _TNFE = "TableNotFoundException"; +const _TNL = "TableNameList"; +const _TNa = "TableNames"; +const _TR = "TagResource"; +const _TRI = "TagResourceInput"; +const _TRLB = "TimeRangeLowerBound"; +const _TRUB = "TimeRangeUpperBound"; +const _TS = "TableStatus"; +const _TSB = "TableSizeBytes"; +const _TSo = "TotalSegments"; +const _TSr = "TransactStatements"; +const _TTLAN = "TimeToLiveAttributeName"; +const _TTLD = "TimeToLiveDescription"; +const _TTLE = "TimeToLiveEnabled"; +const _TTLS = "TimeToLiveStatus"; +const _TTLSi = "TimeToLiveSpecification"; +const _TTN = "TargetTableName"; +const _TTSPC = "TargetTrackingScalingPolicyConfiguration"; +const _TV = "TargetValue"; +const _TVS = "TagValueString"; +const _TWI = "TransactWriteItem"; +const _TWII = "TransactWriteItemsInput"; +const _TWIL = "TransactWriteItemList"; +const _TWIO = "TransactWriteItemsOutput"; +const _TWIr = "TransactWriteItems"; +const _TWTD = "TableWarmThroughputDescription"; +const _Ta = "Tags"; +const _Tag = "Tag"; +const _U = "Update"; +const _UCB = "UpdateContinuousBackups"; +const _UCBI = "UpdateContinuousBackupsInput"; +const _UCBO = "UpdateContinuousBackupsOutput"; +const _UCI = "UpdateContributorInsights"; +const _UCII = "UpdateContributorInsightsInput"; +const _UCIO = "UpdateContributorInsightsOutput"; +const _UE = "UpdateExpression"; +const _UGSIA = "UpdateGlobalSecondaryIndexAction"; +const _UGT = "UpdateGlobalTable"; +const _UGTI = "UpdateGlobalTableInput"; +const _UGTO = "UpdateGlobalTableOutput"; +const _UGTS = "UpdateGlobalTableSettings"; +const _UGTSI = "UpdateGlobalTableSettingsInput"; +const _UGTSO = "UpdateGlobalTableSettingsOutput"; +const _UI = "UnprocessedItems"; +const _UII = "UpdateItemInput"; +const _UIO = "UpdateItemOutput"; +const _UIp = "UpdateItem"; +const _UK = "UnprocessedKeys"; +const _UKSC = "UpdateKinesisStreamingConfiguration"; +const _UKSD = "UpdateKinesisStreamingDestination"; +const _UKSDI = "UpdateKinesisStreamingDestinationInput"; +const _UKSDO = "UpdateKinesisStreamingDestinationOutput"; +const _ULRT = "UseLatestRestorableTime"; +const _UR = "UntagResource"; +const _URGMA = "UpdateReplicationGroupMemberAction"; +const _URI = "UntagResourceInput"; +const _UT = "UpdateTable"; +const _UTI = "UpdateTableInput"; +const _UTO = "UpdateTableOutput"; +const _UTRAS = "UpdateTableReplicaAutoScaling"; +const _UTRASI = "UpdateTableReplicaAutoScalingInput"; +const _UTRASO = "UpdateTableReplicaAutoScalingOutput"; +const _UTTL = "UpdateTimeToLive"; +const _UTTLI = "UpdateTimeToLiveInput"; +const _UTTLO = "UpdateTimeToLiveOutput"; +const _V = "Value"; +const _WCU = "WriteCapacityUnits"; +const _WR = "WriteRequest"; +const _WRr = "WriteRequests"; +const _WT = "WarmThroughput"; +const _WUPS = "WriteUnitsPerSecond"; +const _c = "client"; +const _e = "error"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _iT = "idempotencyToken"; +const _m = "message"; +const _s = "server"; +const _xacrsra = "x-amz-confirm-remove-self-resource-access"; + +// smithy-typescript generated code +import { + error as __error, + list as __list, + map as __map, + op as __op, + struct as __struct, + struct as __uni, + TypeRegistry, +} from "@smithy/core/schema"; + +import { + BackupInUseException as __BackupInUseException, + BackupNotFoundException as __BackupNotFoundException, + ConditionalCheckFailedException as __ConditionalCheckFailedException, + ContinuousBackupsUnavailableException as __ContinuousBackupsUnavailableException, + DuplicateItemException as __DuplicateItemException, + ExportConflictException as __ExportConflictException, + ExportNotFoundException as __ExportNotFoundException, + GlobalTableAlreadyExistsException as __GlobalTableAlreadyExistsException, + GlobalTableNotFoundException as __GlobalTableNotFoundException, + IdempotentParameterMismatchException as __IdempotentParameterMismatchException, + ImportConflictException as __ImportConflictException, + ImportNotFoundException as __ImportNotFoundException, + IndexNotFoundException as __IndexNotFoundException, + InternalServerError as __InternalServerError, + InvalidEndpointException as __InvalidEndpointException, + InvalidExportTimeException as __InvalidExportTimeException, + InvalidRestoreTimeException as __InvalidRestoreTimeException, + ItemCollectionSizeLimitExceededException as __ItemCollectionSizeLimitExceededException, + LimitExceededException as __LimitExceededException, + PointInTimeRecoveryUnavailableException as __PointInTimeRecoveryUnavailableException, + PolicyNotFoundException as __PolicyNotFoundException, + ProvisionedThroughputExceededException as __ProvisionedThroughputExceededException, + ReplicaAlreadyExistsException as __ReplicaAlreadyExistsException, + ReplicaNotFoundException as __ReplicaNotFoundException, + ReplicatedWriteConflictException as __ReplicatedWriteConflictException, + RequestLimitExceeded as __RequestLimitExceeded, + ResourceInUseException as __ResourceInUseException, + ResourceNotFoundException as __ResourceNotFoundException, + TableAlreadyExistsException as __TableAlreadyExistsException, + TableInUseException as __TableInUseException, + TableNotFoundException as __TableNotFoundException, + TransactionCanceledException as __TransactionCanceledException, + TransactionConflictException as __TransactionConflictException, + TransactionInProgressException as __TransactionInProgressException, +} from "../models/index"; +import { Unit } from "./smithy.api"; + +/* eslint no-var: 0 */ + +export const com_amazonaws_dynamodbRegistry = TypeRegistry.for("com.amazonaws.dynamodb"); +com_amazonaws_dynamodbRegistry.startCapture(); +export var ArchivalSummary = __struct(_AS, {}, [_ADT, _AR, _ABA], [4, 0, 0]); +export var AttributeDefinition = __struct(_AD, {}, [_AN, _AT], [0, 0]); +export var AttributeValueUpdate = __struct(_AVU, {}, [_V, _A], [() => AttributeValue, 0]); +export var AutoScalingPolicyDescription = __struct( + _ASPD, + {}, + [_PN, _TTSPC], + [0, () => AutoScalingTargetTrackingScalingPolicyConfigurationDescription] +); +export var AutoScalingPolicyUpdate = __struct( + _ASPU, + {}, + [_PN, _TTSPC], + [0, () => AutoScalingTargetTrackingScalingPolicyConfigurationUpdate] +); +export var AutoScalingSettingsDescription = __struct( + _ASSD, + {}, + [_MU, _MUa, _ASD, _ASRA, _SPc], + [1, 1, 2, 0, () => AutoScalingPolicyDescriptionList] +); +export var AutoScalingSettingsUpdate = __struct( + _ASSU, + {}, + [_MU, _MUa, _ASD, _ASRA, _SPU], + [1, 1, 2, 0, () => AutoScalingPolicyUpdate] +); +export var AutoScalingTargetTrackingScalingPolicyConfigurationDescription = __struct( + _ASTTSPCD, + {}, + [_DSI, _SIC, _SOC, _TV], + [2, 1, 1, 1] +); +export var AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = __struct( + _ASTTSPCU, + {}, + [_DSI, _SIC, _SOC, _TV], + [2, 1, 1, 1] +); +export var BackupDescription = __struct( + _BD, + {}, + [_BDa, _STD, _STFD], + [() => BackupDetails, () => SourceTableDetails, () => SourceTableFeatureDetails] +); +export var BackupDetails = __struct(_BDa, {}, [_BA, _BN, _BSB, _BS, _BT, _BCDT, _BEDT], [0, 0, 1, 0, 0, 4, 4]); +export var BackupInUseException = __error( + _BIUE, + { + [_e]: _c, + }, + [_m], + [0], + + __BackupInUseException +); +export var BackupNotFoundException = __error( + _BNFE, + { + [_e]: _c, + }, + [_m], + [0], + + __BackupNotFoundException +); +export var BackupSummary = __struct( + _BSa, + {}, + [_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB], + [0, 0, 0, 0, 0, 4, 4, 0, 0, 1] +); +export var BatchExecuteStatementInput = __struct(_BESI, {}, [_St, _RCC], [() => PartiQLBatchRequest, 0]); +export var BatchExecuteStatementOutput = __struct( + _BESO, + {}, + [_R, _CC], + [() => PartiQLBatchResponse, () => ConsumedCapacityMultiple] +); +export var BatchGetItemInput = __struct(_BGII, {}, [_RI, _RCC], [() => BatchGetRequestMap, 0]); +export var BatchGetItemOutput = __struct( + _BGIO, + {}, + [_R, _UK, _CC], + [() => BatchGetResponseMap, () => BatchGetRequestMap, () => ConsumedCapacityMultiple] +); +export var BatchStatementError = __struct(_BSE, {}, [_C, _M, _It], [0, 0, () => AttributeMap]); +export var BatchStatementRequest = __struct( + _BSR, + {}, + [_Sta, _P, _CR, _RVOCCF], + [0, () => PreparedStatementParameters, 2, 0] +); +export var BatchStatementResponse = __struct( + _BSRa, + {}, + [_E, _TN, _It], + [() => BatchStatementError, 0, () => AttributeMap] +); +export var BatchWriteItemInput = __struct(_BWII, {}, [_RI, _RCC, _RICM], [() => BatchWriteItemRequestMap, 0, 0]); +export var BatchWriteItemOutput = __struct( + _BWIO, + {}, + [_UI, _ICM, _CC], + [() => BatchWriteItemRequestMap, () => ItemCollectionMetricsPerTable, () => ConsumedCapacityMultiple] +); +export var BillingModeSummary = __struct(_BMS, {}, [_BM, _LUTPPRDT], [0, 4]); +export var CancellationReason = __struct(_CRa, {}, [_It, _C, _M], [() => AttributeMap, 0, 0]); +export var Capacity = __struct(_Ca, {}, [_RCU, _WCU, _CU], [1, 1, 1]); +export var Condition = __struct(_Co, {}, [_AVL, _COo], [() => AttributeValueList, 0]); +export var ConditionalCheckFailedException = __error( + _CCFE, + { + [_e]: _c, + }, + [_m, _It], + [0, () => AttributeMap], + + __ConditionalCheckFailedException +); +export var ConditionCheck = __struct( + _CCo, + {}, + [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], + [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0] +); +export var ConsumedCapacity = __struct( + _CC, + {}, + [_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI], + [0, 1, 1, 1, () => Capacity, () => SecondaryIndexesCapacityMap, () => SecondaryIndexesCapacityMap] +); +export var ContinuousBackupsDescription = __struct(_CBD, {}, [_CBS, _PITRD], [0, () => PointInTimeRecoveryDescription]); +export var ContinuousBackupsUnavailableException = __error( + _CBUE, + { + [_e]: _c, + }, + [_m], + [0], + + __ContinuousBackupsUnavailableException +); +export var ContributorInsightsSummary = __struct(_CISo, {}, [_TN, _IN, _CIS], [0, 0, 0]); +export var CreateBackupInput = __struct(_CBI, {}, [_TN, _BN], [0, 0]); +export var CreateBackupOutput = __struct(_CBO, {}, [_BDa], [() => BackupDetails]); +export var CreateGlobalSecondaryIndexAction = __struct( + _CGSIA, + {}, + [_IN, _KS, _Pr, _PTr, _ODT, _WT], + [0, () => KeySchema, () => Projection, () => ProvisionedThroughput, () => OnDemandThroughput, () => WarmThroughput] +); +export var CreateGlobalTableInput = __struct(_CGTI, {}, [_GTN, _RG], [0, () => ReplicaList]); +export var CreateGlobalTableOutput = __struct(_CGTO, {}, [_GTD], [() => GlobalTableDescription]); +export var CreateReplicaAction = __struct(_CRA, {}, [_RN], [0]); +export var CreateReplicationGroupMemberAction = __struct( + _CRGMA, + {}, + [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], + [ + 0, + 0, + () => ProvisionedThroughputOverride, + () => OnDemandThroughputOverride, + () => ReplicaGlobalSecondaryIndexList, + 0, + ] +); +export var CreateTableInput = __struct( + _CTI, + {}, + [_ADt, _TN, _KS, _LSI, _GSI, _BM, _PTr, _SSt, _SSESp, _Ta, _TC, _DPE, _WT, _RP, _ODT], + [ + () => AttributeDefinitions, + 0, + () => KeySchema, + () => LocalSecondaryIndexList, + () => GlobalSecondaryIndexList, + 0, + () => ProvisionedThroughput, + () => StreamSpecification, + () => SSESpecification, + () => TagList, + 0, + 2, + () => WarmThroughput, + 0, + () => OnDemandThroughput, + ] +); +export var CreateTableOutput = __struct(_CTO, {}, [_TD], [() => TableDescription]); +export var CsvOptions = __struct(_COs, {}, [_De, _HL], [0, 64 | 0]); +export var Delete = __struct( + _Del, + {}, + [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], + [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0] +); +export var DeleteBackupInput = __struct(_DBI, {}, [_BA], [0]); +export var DeleteBackupOutput = __struct(_DBO, {}, [_BD], [() => BackupDescription]); +export var DeleteGlobalSecondaryIndexAction = __struct(_DGSIA, {}, [_IN], [0]); +export var DeleteItemInput = __struct( + _DII, + {}, + [_TN, _K, _Ex, _CO, _RVe, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF], + [0, () => Key, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0] +); +export var DeleteItemOutput = __struct( + _DIO, + {}, + [_At, _CC, _ICM], + [() => AttributeMap, () => ConsumedCapacity, () => ItemCollectionMetrics] +); +export var DeleteReplicaAction = __struct(_DRA, {}, [_RN], [0]); +export var DeleteReplicationGroupMemberAction = __struct(_DRGMA, {}, [_RN], [0]); +export var DeleteRequest = __struct(_DR, {}, [_K], [() => Key]); +export var DeleteResourcePolicyInput = __struct(_DRPI, {}, [_RA, _ERI], [0, 0]); +export var DeleteResourcePolicyOutput = __struct(_DRPO, {}, [_RIe], [0]); +export var DeleteTableInput = __struct(_DTI, {}, [_TN], [0]); +export var DeleteTableOutput = __struct(_DTO, {}, [_TD], [() => TableDescription]); +export var DescribeBackupInput = __struct(_DBIe, {}, [_BA], [0]); +export var DescribeBackupOutput = __struct(_DBOe, {}, [_BD], [() => BackupDescription]); +export var DescribeContinuousBackupsInput = __struct(_DCBI, {}, [_TN], [0]); +export var DescribeContinuousBackupsOutput = __struct(_DCBO, {}, [_CBD], [() => ContinuousBackupsDescription]); +export var DescribeContributorInsightsInput = __struct(_DCII, {}, [_TN, _IN], [0, 0]); +export var DescribeContributorInsightsOutput = __struct( + _DCIO, + {}, + [_TN, _IN, _CIRL, _CIS, _LUDT, _FE], + [0, 0, 64 | 0, 0, 4, () => FailureException] +); +export var DescribeEndpointsRequest = __struct(_DER, {}, [], []); +export var DescribeEndpointsResponse = __struct(_DERe, {}, [_En], [() => Endpoints]); +export var DescribeExportInput = __struct(_DEI, {}, [_EA], [0]); +export var DescribeExportOutput = __struct(_DEO, {}, [_EDx], [() => ExportDescription]); +export var DescribeGlobalTableInput = __struct(_DGTI, {}, [_GTN], [0]); +export var DescribeGlobalTableOutput = __struct(_DGTO, {}, [_GTD], [() => GlobalTableDescription]); +export var DescribeGlobalTableSettingsInput = __struct(_DGTSI, {}, [_GTN], [0]); +export var DescribeGlobalTableSettingsOutput = __struct( + _DGTSO, + {}, + [_GTN, _RSe], + [0, () => ReplicaSettingsDescriptionList] +); +export var DescribeImportInput = __struct(_DIIe, {}, [_IA], [0]); +export var DescribeImportOutput = __struct(_DIOe, {}, [_ITD], [() => ImportTableDescription]); +export var DescribeKinesisStreamingDestinationInput = __struct(_DKSDI, {}, [_TN], [0]); +export var DescribeKinesisStreamingDestinationOutput = __struct( + _DKSDO, + {}, + [_TN, _KDSD], + [0, () => KinesisDataStreamDestinations] +); +export var DescribeLimitsInput = __struct(_DLI, {}, [], []); +export var DescribeLimitsOutput = __struct(_DLO, {}, [_AMRCU, _AMWCU, _TMRCU, _TMWCU], [1, 1, 1, 1]); +export var DescribeTableInput = __struct(_DTIe, {}, [_TN], [0]); +export var DescribeTableOutput = __struct(_DTOe, {}, [_T], [() => TableDescription]); +export var DescribeTableReplicaAutoScalingInput = __struct(_DTRASI, {}, [_TN], [0]); +export var DescribeTableReplicaAutoScalingOutput = __struct(_DTRASO, {}, [_TASD], [() => TableAutoScalingDescription]); +export var DescribeTimeToLiveInput = __struct(_DTTLI, {}, [_TN], [0]); +export var DescribeTimeToLiveOutput = __struct(_DTTLO, {}, [_TTLD], [() => TimeToLiveDescription]); +export var DuplicateItemException = __error( + _DIE, + { + [_e]: _c, + }, + [_m], + [0], + + __DuplicateItemException +); +export var EnableKinesisStreamingConfiguration = __struct(_EKSC, {}, [_ACDTP], [0]); +export var Endpoint = __struct(_End, {}, [_Ad, _CPIM], [0, 1]); +export var ExecuteStatementInput = __struct( + _ESI, + {}, + [_Sta, _P, _CR, _NT, _RCC, _Li, _RVOCCF], + [0, () => PreparedStatementParameters, 2, 0, 0, 1, 0] +); +export var ExecuteStatementOutput = __struct( + _ESO, + {}, + [_Ite, _NT, _CC, _LEK], + [() => ItemList, 0, () => ConsumedCapacity, () => Key] +); +export var ExecuteTransactionInput = __struct( + _ETI, + {}, + [_TSr, _CRT, _RCC], + [ + () => ParameterizedStatements, + [ + 0, + { + [_iT]: 1, + }, + ], + 0, + ] +); +export var ExecuteTransactionOutput = __struct( + _ETO, + {}, + [_R, _CC], + [() => ItemResponseList, () => ConsumedCapacityMultiple] +); +export var ExpectedAttributeValue = __struct( + _EAVx, + {}, + [_V, _Exi, _COo, _AVL], + [() => AttributeValue, 2, 0, () => AttributeValueList] +); +export var ExportConflictException = __error( + _ECE, + { + [_e]: _c, + }, + [_m], + [0], + + __ExportConflictException +); +export var ExportDescription = __struct( + _EDx, + {}, + [_EA, _ES, _ST, _ETn, _EMx, _TA, _TI, _ET, _CT, _SB, _SBO, _SP, _SSA, _SSKKI, _FC, _FM, _EF, _BSBi, _IC, _ETx, _IES], + [0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, () => IncrementalExportSpecification] +); +export var ExportNotFoundException = __error( + _ENFE, + { + [_e]: _c, + }, + [_m], + [0], + + __ExportNotFoundException +); +export var ExportSummary = __struct(_ESx, {}, [_EA, _ES, _ETx], [0, 0, 0]); +export var ExportTableToPointInTimeInput = __struct( + _ETTPITI, + {}, + [_TA, _ET, _CT, _SB, _SBO, _SP, _SSA, _SSKKI, _EF, _ETx, _IES], + [ + 0, + 4, + [ + 0, + { + [_iT]: 1, + }, + ], + 0, + 0, + 0, + 0, + 0, + 0, + 0, + () => IncrementalExportSpecification, + ] +); +export var ExportTableToPointInTimeOutput = __struct(_ETTPITO, {}, [_EDx], [() => ExportDescription]); +export var FailureException = __struct(_FE, {}, [_EN, _ED], [0, 0]); +export var Get = __struct(_G, {}, [_K, _TN, _PE, _EAN], [() => Key, 0, 0, 128 | 0]); +export var GetItemInput = __struct( + _GII, + {}, + [_TN, _K, _ATG, _CR, _RCC, _PE, _EAN], + [0, () => Key, 64 | 0, 2, 0, 0, 128 | 0] +); +export var GetItemOutput = __struct(_GIO, {}, [_It, _CC], [() => AttributeMap, () => ConsumedCapacity]); +export var GetResourcePolicyInput = __struct(_GRPI, {}, [_RA], [0]); +export var GetResourcePolicyOutput = __struct(_GRPO, {}, [_Po, _RIe], [0, 0]); +export var GlobalSecondaryIndex = __struct( + _GSIl, + {}, + [_IN, _KS, _Pr, _PTr, _ODT, _WT], + [0, () => KeySchema, () => Projection, () => ProvisionedThroughput, () => OnDemandThroughput, () => WarmThroughput] +); +export var GlobalSecondaryIndexAutoScalingUpdate = __struct( + _GSIASU, + {}, + [_IN, _PWCASU], + [0, () => AutoScalingSettingsUpdate] +); +export var GlobalSecondaryIndexDescription = __struct( + _GSID, + {}, + [_IN, _KS, _Pr, _IS, _B, _PTr, _ISB, _IC, _IAn, _ODT, _WT], + [ + 0, + () => KeySchema, + () => Projection, + 0, + 2, + () => ProvisionedThroughputDescription, + 1, + 1, + 0, + () => OnDemandThroughput, + () => GlobalSecondaryIndexWarmThroughputDescription, + ] +); +export var GlobalSecondaryIndexInfo = __struct( + _GSII, + {}, + [_IN, _KS, _Pr, _PTr, _ODT], + [0, () => KeySchema, () => Projection, () => ProvisionedThroughput, () => OnDemandThroughput] +); +export var GlobalSecondaryIndexUpdate = __struct( + _GSIU, + {}, + [_U, _Cr, _Del], + [ + () => UpdateGlobalSecondaryIndexAction, + () => CreateGlobalSecondaryIndexAction, + () => DeleteGlobalSecondaryIndexAction, + ] +); +export var GlobalSecondaryIndexWarmThroughputDescription = __struct(_GSIWTD, {}, [_RUPS, _WUPS, _Stat], [1, 1, 0]); +export var GlobalTable = __struct(_GT, {}, [_GTN, _RG], [0, () => ReplicaList]); +export var GlobalTableAlreadyExistsException = __error( + _GTAEE, + { + [_e]: _c, + }, + [_m], + [0], + + __GlobalTableAlreadyExistsException +); +export var GlobalTableDescription = __struct( + _GTD, + {}, + [_RG, _GTA, _CDT, _GTS, _GTN], + [() => ReplicaDescriptionList, 0, 4, 0, 0] +); +export var GlobalTableGlobalSecondaryIndexSettingsUpdate = __struct( + _GTGSISU, + {}, + [_IN, _PWCU, _PWCASSU], + [0, 1, () => AutoScalingSettingsUpdate] +); +export var GlobalTableNotFoundException = __error( + _GTNFE, + { + [_e]: _c, + }, + [_m], + [0], + + __GlobalTableNotFoundException +); +export var IdempotentParameterMismatchException = __error( + _IPME, + { + [_e]: _c, + }, + [_M], + [0], + + __IdempotentParameterMismatchException +); +export var ImportConflictException = __error( + _ICE, + { + [_e]: _c, + }, + [_m], + [0], + + __ImportConflictException +); +export var ImportNotFoundException = __error( + _INFE, + { + [_e]: _c, + }, + [_m], + [0], + + __ImportNotFoundException +); +export var ImportSummary = __struct( + _ISmp, + {}, + [_IA, _ISm, _TA, _SBS, _CWLGA, _IF, _ST, _ETn], + [0, 0, 0, () => S3BucketSource, 0, 0, 4, 4] +); +export var ImportTableDescription = __struct( + _ITD, + {}, + [_IA, _ISm, _TA, _TI, _CT, _SBS, _EC, _CWLGA, _IF, _IFO, _ICT, _TCP, _ST, _ETn, _PSB, _PIC, _IIC, _FC, _FM], + [ + 0, + 0, + 0, + 0, + 0, + () => S3BucketSource, + 1, + 0, + 0, + () => InputFormatOptions, + 0, + () => TableCreationParameters, + 4, + 4, + 1, + 1, + 1, + 0, + 0, + ] +); +export var ImportTableInput = __struct( + _ITI, + {}, + [_CT, _SBS, _IF, _IFO, _ICT, _TCP], + [ + [ + 0, + { + [_iT]: 1, + }, + ], + () => S3BucketSource, + 0, + () => InputFormatOptions, + 0, + () => TableCreationParameters, + ] +); +export var ImportTableOutput = __struct(_ITO, {}, [_ITD], [() => ImportTableDescription]); +export var IncrementalExportSpecification = __struct(_IES, {}, [_EFT, _ETT, _EVT], [4, 4, 0]); +export var IndexNotFoundException = __error( + _INFEn, + { + [_e]: _c, + }, + [_m], + [0], + + __IndexNotFoundException +); +export var InputFormatOptions = __struct(_IFO, {}, [_Cs], [() => CsvOptions]); +export var InternalServerError = __error( + _ISE, + { + [_e]: _s, + }, + [_m], + [0], + + __InternalServerError +); +export var InvalidEndpointException = __error( + _IEE, + { + [_e]: _c, + [_hE]: 421, + }, + [_M], + [0], + + __InvalidEndpointException +); +export var InvalidExportTimeException = __error( + _IETE, + { + [_e]: _c, + }, + [_m], + [0], + + __InvalidExportTimeException +); +export var InvalidRestoreTimeException = __error( + _IRTE, + { + [_e]: _c, + }, + [_m], + [0], + + __InvalidRestoreTimeException +); +export var ItemCollectionMetrics = __struct(_ICM, {}, [_ICK, _SERGB], [() => ItemCollectionKeyAttributeMap, 64 | 1]); +export var ItemCollectionSizeLimitExceededException = __error( + _ICSLEE, + { + [_e]: _c, + }, + [_m], + [0], + + __ItemCollectionSizeLimitExceededException +); +export var ItemResponse = __struct(_IR, {}, [_It], [() => AttributeMap]); +export var KeysAndAttributes = __struct(_KAA, {}, [_Ke, _ATG, _CR, _PE, _EAN], [() => KeyList, 64 | 0, 2, 0, 128 | 0]); +export var KeySchemaElement = __struct(_KSE, {}, [_AN, _KT], [0, 0]); +export var KinesisDataStreamDestination = __struct(_KDSDi, {}, [_SA, _DS, _DSD, _ACDTP], [0, 0, 0, 0]); +export var KinesisStreamingDestinationInput = __struct( + _KSDI, + {}, + [_TN, _SA, _EKSC], + [0, 0, () => EnableKinesisStreamingConfiguration] +); +export var KinesisStreamingDestinationOutput = __struct( + _KSDO, + {}, + [_TN, _SA, _DS, _EKSC], + [0, 0, 0, () => EnableKinesisStreamingConfiguration] +); +export var LimitExceededException = __error( + _LEE, + { + [_e]: _c, + }, + [_m], + [0], + + __LimitExceededException +); +export var ListBackupsInput = __struct(_LBI, {}, [_TN, _Li, _TRLB, _TRUB, _ESBA, _BT], [0, 1, 4, 4, 0, 0]); +export var ListBackupsOutput = __struct(_LBO, {}, [_BSac, _LEBA], [() => BackupSummaries, 0]); +export var ListContributorInsightsInput = __struct(_LCII, {}, [_TN, _NT, _MR], [0, 0, 1]); +export var ListContributorInsightsOutput = __struct(_LCIO, {}, [_CISon, _NT], [() => ContributorInsightsSummaries, 0]); +export var ListExportsInput = __struct(_LEI, {}, [_TA, _MR, _NT], [0, 1, 0]); +export var ListExportsOutput = __struct(_LEO, {}, [_ESxp, _NT], [() => ExportSummaries, 0]); +export var ListGlobalTablesInput = __struct(_LGTI, {}, [_ESGTN, _Li, _RN], [0, 1, 0]); +export var ListGlobalTablesOutput = __struct(_LGTO, {}, [_GTl, _LEGTN], [() => GlobalTableList, 0]); +export var ListImportsInput = __struct(_LII, {}, [_TA, _PS, _NT], [0, 1, 0]); +export var ListImportsOutput = __struct(_LIO, {}, [_ISL, _NT], [() => ImportSummaryList, 0]); +export var ListTablesInput = __struct(_LTI, {}, [_ESTN, _Li], [0, 1]); +export var ListTablesOutput = __struct(_LTO, {}, [_TNa, _LETN], [64 | 0, 0]); +export var ListTagsOfResourceInput = __struct(_LTORI, {}, [_RA, _NT], [0, 0]); +export var ListTagsOfResourceOutput = __struct(_LTORO, {}, [_Ta, _NT], [() => TagList, 0]); +export var LocalSecondaryIndex = __struct(_LSIo, {}, [_IN, _KS, _Pr], [0, () => KeySchema, () => Projection]); +export var LocalSecondaryIndexDescription = __struct( + _LSID, + {}, + [_IN, _KS, _Pr, _ISB, _IC, _IAn], + [0, () => KeySchema, () => Projection, 1, 1, 0] +); +export var LocalSecondaryIndexInfo = __struct(_LSII, {}, [_IN, _KS, _Pr], [0, () => KeySchema, () => Projection]); +export var OnDemandThroughput = __struct(_ODT, {}, [_MRRU, _MWRU], [1, 1]); +export var OnDemandThroughputOverride = __struct(_ODTO, {}, [_MRRU], [1]); +export var ParameterizedStatement = __struct(_PSa, {}, [_Sta, _P, _RVOCCF], [0, () => PreparedStatementParameters, 0]); +export var PointInTimeRecoveryDescription = __struct(_PITRD, {}, [_PITRS, _RPID, _ERDT, _LRDT], [0, 1, 4, 4]); +export var PointInTimeRecoverySpecification = __struct(_PITRSo, {}, [_PITRE, _RPID], [2, 1]); +export var PointInTimeRecoveryUnavailableException = __error( + _PITRUE, + { + [_e]: _c, + }, + [_m], + [0], + + __PointInTimeRecoveryUnavailableException +); +export var PolicyNotFoundException = __error( + _PNFE, + { + [_e]: _c, + }, + [_m], + [0], + + __PolicyNotFoundException +); +export var Projection = __struct(_Pr, {}, [_PT, _NKA], [0, 64 | 0]); +export var ProvisionedThroughput = __struct(_PTr, {}, [_RCU, _WCU], [1, 1]); +export var ProvisionedThroughputDescription = __struct(_PTD, {}, [_LIDT, _LDDT, _NODT, _RCU, _WCU], [4, 4, 1, 1, 1]); +export var ProvisionedThroughputExceededException = __error( + _PTEE, + { + [_e]: _c, + }, + [_m], + [0], + + __ProvisionedThroughputExceededException +); +export var ProvisionedThroughputOverride = __struct(_PTO, {}, [_RCU], [1]); +export var Put = __struct( + _Pu, + {}, + [_It, _TN, _CE, _EAN, _EAV, _RVOCCF], + [() => PutItemInputAttributeMap, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0] +); +export var PutItemInput = __struct( + _PII, + {}, + [_TN, _It, _Ex, _RVe, _RCC, _RICM, _CO, _CE, _EAN, _EAV, _RVOCCF], + [ + 0, + () => PutItemInputAttributeMap, + () => ExpectedAttributeMap, + 0, + 0, + 0, + 0, + 0, + 128 | 0, + () => ExpressionAttributeValueMap, + 0, + ] +); +export var PutItemOutput = __struct( + _PIOu, + {}, + [_At, _CC, _ICM], + [() => AttributeMap, () => ConsumedCapacity, () => ItemCollectionMetrics] +); +export var PutRequest = __struct(_PR, {}, [_It], [() => PutItemInputAttributeMap]); +export var PutResourcePolicyInput = __struct( + _PRPI, + {}, + [_RA, _Po, _ERI, _CRSRA], + [ + 0, + 0, + 0, + [ + 2, + { + [_hH]: _xacrsra, + }, + ], + ] +); +export var PutResourcePolicyOutput = __struct(_PRPO, {}, [_RIe], [0]); +export var QueryInput = __struct( + _QI, + {}, + [_TN, _IN, _Se, _ATG, _Li, _CR, _KC, _QF, _CO, _SIF, _ESK, _RCC, _PE, _FEi, _KCE, _EAN, _EAV], + [ + 0, + 0, + 0, + 64 | 0, + 1, + 2, + () => KeyConditions, + () => FilterConditionMap, + 0, + 2, + () => Key, + 0, + 0, + 0, + 0, + 128 | 0, + () => ExpressionAttributeValueMap, + ] +); +export var QueryOutput = __struct( + _QO, + {}, + [_Ite, _Cou, _SC, _LEK, _CC], + [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity] +); +export var Replica = __struct(_Re, {}, [_RN], [0]); +export var ReplicaAlreadyExistsException = __error( + _RAEE, + { + [_e]: _c, + }, + [_m], + [0], + + __ReplicaAlreadyExistsException +); +export var ReplicaAutoScalingDescription = __struct( + _RASD, + {}, + [_RN, _GSI, _RPRCASS, _RPWCASS, _RS], + [ + 0, + () => ReplicaGlobalSecondaryIndexAutoScalingDescriptionList, + () => AutoScalingSettingsDescription, + () => AutoScalingSettingsDescription, + 0, + ] +); +export var ReplicaAutoScalingUpdate = __struct( + _RASU, + {}, + [_RN, _RGSIU, _RPRCASU], + [0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdateList, () => AutoScalingSettingsUpdate] +); +export var ReplicaDescription = __struct( + _RD, + {}, + [_RN, _RS, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS], + [ + 0, + 0, + 0, + 0, + 0, + () => ProvisionedThroughputOverride, + () => OnDemandThroughputOverride, + () => TableWarmThroughputDescription, + () => ReplicaGlobalSecondaryIndexDescriptionList, + 4, + () => TableClassSummary, + ] +); +export var ReplicaGlobalSecondaryIndex = __struct( + _RGSI, + {}, + [_IN, _PTO, _ODTO], + [0, () => ProvisionedThroughputOverride, () => OnDemandThroughputOverride] +); +export var ReplicaGlobalSecondaryIndexAutoScalingDescription = __struct( + _RGSIASD, + {}, + [_IN, _IS, _PRCASS, _PWCASS], + [0, 0, () => AutoScalingSettingsDescription, () => AutoScalingSettingsDescription] +); +export var ReplicaGlobalSecondaryIndexAutoScalingUpdate = __struct( + _RGSIASU, + {}, + [_IN, _PRCASU], + [0, () => AutoScalingSettingsUpdate] +); +export var ReplicaGlobalSecondaryIndexDescription = __struct( + _RGSID, + {}, + [_IN, _PTO, _ODTO, _WT], + [ + 0, + () => ProvisionedThroughputOverride, + () => OnDemandThroughputOverride, + () => GlobalSecondaryIndexWarmThroughputDescription, + ] +); +export var ReplicaGlobalSecondaryIndexSettingsDescription = __struct( + _RGSISD, + {}, + [_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS], + [0, 0, 1, () => AutoScalingSettingsDescription, 1, () => AutoScalingSettingsDescription] +); +export var ReplicaGlobalSecondaryIndexSettingsUpdate = __struct( + _RGSISU, + {}, + [_IN, _PRCU, _PRCASSU], + [0, 1, () => AutoScalingSettingsUpdate] +); +export var ReplicaNotFoundException = __error( + _RNFE, + { + [_e]: _c, + }, + [_m], + [0], + + __ReplicaNotFoundException +); +export var ReplicaSettingsDescription = __struct( + _RSDe, + {}, + [_RN, _RS, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS], + [ + 0, + 0, + () => BillingModeSummary, + 1, + () => AutoScalingSettingsDescription, + 1, + () => AutoScalingSettingsDescription, + () => ReplicaGlobalSecondaryIndexSettingsDescriptionList, + () => TableClassSummary, + ] +); +export var ReplicaSettingsUpdate = __struct( + _RSU, + {}, + [_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC], + [0, 1, () => AutoScalingSettingsUpdate, () => ReplicaGlobalSecondaryIndexSettingsUpdateList, 0] +); +export var ReplicatedWriteConflictException = __error( + _RWCE, + { + [_e]: _c, + }, + [_m], + [0], + + __ReplicatedWriteConflictException +); +export var ReplicationGroupUpdate = __struct( + _RGU, + {}, + [_Cr, _U, _Del], + [ + () => CreateReplicationGroupMemberAction, + () => UpdateReplicationGroupMemberAction, + () => DeleteReplicationGroupMemberAction, + ] +); +export var ReplicaUpdate = __struct(_RU, {}, [_Cr, _Del], [() => CreateReplicaAction, () => DeleteReplicaAction]); +export var RequestLimitExceeded = __error( + _RLE, + { + [_e]: _c, + }, + [_m], + [0], + + __RequestLimitExceeded +); +export var ResourceInUseException = __error( + _RIUE, + { + [_e]: _c, + }, + [_m], + [0], + + __ResourceInUseException +); +export var ResourceNotFoundException = __error( + _RNFEe, + { + [_e]: _c, + }, + [_m], + [0], + + __ResourceNotFoundException +); +export var RestoreSummary = __struct(_RSes, {}, [_SBA, _STA, _RDT, _RIP], [0, 0, 4, 2]); +export var RestoreTableFromBackupInput = __struct( + _RTFBI, + {}, + [_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], + [ + 0, + 0, + 0, + () => GlobalSecondaryIndexList, + () => LocalSecondaryIndexList, + () => ProvisionedThroughput, + () => OnDemandThroughput, + () => SSESpecification, + ] +); +export var RestoreTableFromBackupOutput = __struct(_RTFBO, {}, [_TD], [() => TableDescription]); +export var RestoreTableToPointInTimeInput = __struct( + _RTTPITI, + {}, + [_STA, _STN, _TTN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], + [ + 0, + 0, + 0, + 2, + 4, + 0, + () => GlobalSecondaryIndexList, + () => LocalSecondaryIndexList, + () => ProvisionedThroughput, + () => OnDemandThroughput, + () => SSESpecification, + ] +); +export var RestoreTableToPointInTimeOutput = __struct(_RTTPITO, {}, [_TD], [() => TableDescription]); +export var S3BucketSource = __struct(_SBS, {}, [_SBO, _SB, _SKP], [0, 0, 0]); +export var ScanInput = __struct( + _SI, + {}, + [_TN, _IN, _ATG, _Li, _Se, _SF, _CO, _ESK, _RCC, _TSo, _Seg, _PE, _FEi, _EAN, _EAV, _CR], + [ + 0, + 0, + 64 | 0, + 1, + 0, + () => FilterConditionMap, + 0, + () => Key, + 0, + 1, + 1, + 0, + 0, + 128 | 0, + () => ExpressionAttributeValueMap, + 2, + ] +); +export var ScanOutput = __struct( + _SO, + {}, + [_Ite, _Cou, _SC, _LEK, _CC], + [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity] +); +export var SourceTableDetails = __struct( + _STD, + {}, + [_TN, _TI, _TA, _TSB, _KS, _TCDT, _PTr, _ODT, _IC, _BM], + [0, 0, 0, 1, () => KeySchema, 4, () => ProvisionedThroughput, () => OnDemandThroughput, 1, 0] +); +export var SourceTableFeatureDetails = __struct( + _STFD, + {}, + [_LSI, _GSI, _SD, _TTLD, _SSED], + [ + () => LocalSecondaryIndexes, + () => GlobalSecondaryIndexes, + () => StreamSpecification, + () => TimeToLiveDescription, + () => SSEDescription, + ] +); +export var SSEDescription = __struct(_SSED, {}, [_Stat, _SSET, _KMSMKA, _IEDT], [0, 0, 0, 4]); +export var SSESpecification = __struct(_SSESp, {}, [_Ena, _SSET, _KMSMKI], [2, 0, 0]); +export var StreamSpecification = __struct(_SSt, {}, [_SE, _SVT], [2, 0]); +export var TableAlreadyExistsException = __error( + _TAEE, + { + [_e]: _c, + }, + [_m], + [0], + + __TableAlreadyExistsException +); +export var TableAutoScalingDescription = __struct( + _TASD, + {}, + [_TN, _TS, _Rep], + [0, 0, () => ReplicaAutoScalingDescriptionList] +); +export var TableClassSummary = __struct(_TCS, {}, [_TC, _LUDT], [0, 4]); +export var TableCreationParameters = __struct( + _TCP, + {}, + [_TN, _ADt, _KS, _BM, _PTr, _ODT, _SSESp, _GSI], + [ + 0, + () => AttributeDefinitions, + () => KeySchema, + 0, + () => ProvisionedThroughput, + () => OnDemandThroughput, + () => SSESpecification, + () => GlobalSecondaryIndexList, + ] +); +export var TableDescription = __struct( + _TD, + {}, + [ + _ADt, + _TN, + _KS, + _TS, + _CDT, + _PTr, + _TSB, + _IC, + _TA, + _TI, + _BMS, + _LSI, + _GSI, + _SSt, + _LSL, + _LSA, + _GTV, + _Rep, + _RSes, + _SSED, + _AS, + _TCS, + _DPE, + _ODT, + _WT, + _MRC, + ], + [ + () => AttributeDefinitions, + 0, + () => KeySchema, + 0, + 4, + () => ProvisionedThroughputDescription, + 1, + 1, + 0, + 0, + () => BillingModeSummary, + () => LocalSecondaryIndexDescriptionList, + () => GlobalSecondaryIndexDescriptionList, + () => StreamSpecification, + 0, + 0, + 0, + () => ReplicaDescriptionList, + () => RestoreSummary, + () => SSEDescription, + () => ArchivalSummary, + () => TableClassSummary, + 2, + () => OnDemandThroughput, + () => TableWarmThroughputDescription, + 0, + ] +); +export var TableInUseException = __error( + _TIUE, + { + [_e]: _c, + }, + [_m], + [0], + + __TableInUseException +); +export var TableNotFoundException = __error( + _TNFE, + { + [_e]: _c, + }, + [_m], + [0], + + __TableNotFoundException +); +export var TableWarmThroughputDescription = __struct(_TWTD, {}, [_RUPS, _WUPS, _Stat], [1, 1, 0]); +export var Tag = __struct(_Tag, {}, [_K, _V], [0, 0]); +export var TagResourceInput = __struct(_TRI, {}, [_RA, _Ta], [0, () => TagList]); +export var TimeToLiveDescription = __struct(_TTLD, {}, [_TTLS, _AN], [0, 0]); +export var TimeToLiveSpecification = __struct(_TTLSi, {}, [_Ena, _AN], [2, 0]); +export var TransactGetItem = __struct(_TGI, {}, [_G], [() => Get]); +export var TransactGetItemsInput = __struct(_TGII, {}, [_TIr, _RCC], [() => TransactGetItemList, 0]); +export var TransactGetItemsOutput = __struct( + _TGIO, + {}, + [_CC, _R], + [() => ConsumedCapacityMultiple, () => ItemResponseList] +); +export var TransactionCanceledException = __error( + _TCE, + { + [_e]: _c, + }, + [_M, _CRan], + [0, () => CancellationReasonList], + + __TransactionCanceledException +); +export var TransactionConflictException = __error( + _TCEr, + { + [_e]: _c, + }, + [_m], + [0], + + __TransactionConflictException +); +export var TransactionInProgressException = __error( + _TIPE, + { + [_e]: _c, + }, + [_M], + [0], + + __TransactionInProgressException +); +export var TransactWriteItem = __struct( + _TWI, + {}, + [_CCo, _Pu, _Del, _U], + [() => ConditionCheck, () => Put, () => Delete, () => Update] +); +export var TransactWriteItemsInput = __struct( + _TWII, + {}, + [_TIr, _RCC, _RICM, _CRT], + [ + () => TransactWriteItemList, + 0, + 0, + [ + 0, + { + [_iT]: 1, + }, + ], + ] +); +export var TransactWriteItemsOutput = __struct( + _TWIO, + {}, + [_CC, _ICM], + [() => ConsumedCapacityMultiple, () => ItemCollectionMetricsPerTable] +); +export var UntagResourceInput = __struct(_URI, {}, [_RA, _TK], [0, 64 | 0]); +export var Update = __struct( + _U, + {}, + [_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF], + [() => Key, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0] +); +export var UpdateContinuousBackupsInput = __struct( + _UCBI, + {}, + [_TN, _PITRSo], + [0, () => PointInTimeRecoverySpecification] +); +export var UpdateContinuousBackupsOutput = __struct(_UCBO, {}, [_CBD], [() => ContinuousBackupsDescription]); +export var UpdateContributorInsightsInput = __struct(_UCII, {}, [_TN, _IN, _CIA], [0, 0, 0]); +export var UpdateContributorInsightsOutput = __struct(_UCIO, {}, [_TN, _IN, _CIS], [0, 0, 0]); +export var UpdateGlobalSecondaryIndexAction = __struct( + _UGSIA, + {}, + [_IN, _PTr, _ODT, _WT], + [0, () => ProvisionedThroughput, () => OnDemandThroughput, () => WarmThroughput] +); +export var UpdateGlobalTableInput = __struct(_UGTI, {}, [_GTN, _RUe], [0, () => ReplicaUpdateList]); +export var UpdateGlobalTableOutput = __struct(_UGTO, {}, [_GTD], [() => GlobalTableDescription]); +export var UpdateGlobalTableSettingsInput = __struct( + _UGTSI, + {}, + [_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU], + [ + 0, + 0, + 1, + () => AutoScalingSettingsUpdate, + () => GlobalTableGlobalSecondaryIndexSettingsUpdateList, + () => ReplicaSettingsUpdateList, + ] +); +export var UpdateGlobalTableSettingsOutput = __struct( + _UGTSO, + {}, + [_GTN, _RSe], + [0, () => ReplicaSettingsDescriptionList] +); +export var UpdateItemInput = __struct( + _UII, + {}, + [_TN, _K, _AU, _Ex, _CO, _RVe, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF], + [ + 0, + () => Key, + () => AttributeUpdates, + () => ExpectedAttributeMap, + 0, + 0, + 0, + 0, + 0, + 0, + 128 | 0, + () => ExpressionAttributeValueMap, + 0, + ] +); +export var UpdateItemOutput = __struct( + _UIO, + {}, + [_At, _CC, _ICM], + [() => AttributeMap, () => ConsumedCapacity, () => ItemCollectionMetrics] +); +export var UpdateKinesisStreamingConfiguration = __struct(_UKSC, {}, [_ACDTP], [0]); +export var UpdateKinesisStreamingDestinationInput = __struct( + _UKSDI, + {}, + [_TN, _SA, _UKSC], + [0, 0, () => UpdateKinesisStreamingConfiguration] +); +export var UpdateKinesisStreamingDestinationOutput = __struct( + _UKSDO, + {}, + [_TN, _SA, _DS, _UKSC], + [0, 0, 0, () => UpdateKinesisStreamingConfiguration] +); +export var UpdateReplicationGroupMemberAction = __struct( + _URGMA, + {}, + [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], + [ + 0, + 0, + () => ProvisionedThroughputOverride, + () => OnDemandThroughputOverride, + () => ReplicaGlobalSecondaryIndexList, + 0, + ] +); +export var UpdateTableInput = __struct( + _UTI, + {}, + [_ADt, _TN, _BM, _PTr, _GSIUl, _SSt, _SSESp, _RUe, _TC, _DPE, _MRC, _ODT, _WT], + [ + () => AttributeDefinitions, + 0, + 0, + () => ProvisionedThroughput, + () => GlobalSecondaryIndexUpdateList, + () => StreamSpecification, + () => SSESpecification, + () => ReplicationGroupUpdateList, + 0, + 2, + 0, + () => OnDemandThroughput, + () => WarmThroughput, + ] +); +export var UpdateTableOutput = __struct(_UTO, {}, [_TD], [() => TableDescription]); +export var UpdateTableReplicaAutoScalingInput = __struct( + _UTRASI, + {}, + [_GSIUl, _TN, _PWCASU, _RUe], + [ + () => GlobalSecondaryIndexAutoScalingUpdateList, + 0, + () => AutoScalingSettingsUpdate, + () => ReplicaAutoScalingUpdateList, + ] +); +export var UpdateTableReplicaAutoScalingOutput = __struct(_UTRASO, {}, [_TASD], [() => TableAutoScalingDescription]); +export var UpdateTimeToLiveInput = __struct(_UTTLI, {}, [_TN, _TTLSi], [0, () => TimeToLiveSpecification]); +export var UpdateTimeToLiveOutput = __struct(_UTTLO, {}, [_TTLSi], [() => TimeToLiveSpecification]); +export var WarmThroughput = __struct(_WT, {}, [_RUPS, _WUPS], [1, 1]); +export var WriteRequest = __struct(_WR, {}, [_PR, _DR], [() => PutRequest, () => DeleteRequest]); +export var AttributeDefinitions = __list(_ADt, {}, () => AttributeDefinition); +export var AttributeNameList = 64 | 0; + +export var AttributeValueList = __list(_AVL, {}, () => AttributeValue); +export var AutoScalingPolicyDescriptionList = __list(_ASPDL, {}, () => AutoScalingPolicyDescription); +export var BackupSummaries = __list(_BSac, {}, () => BackupSummary); +export var BinarySetAttributeValue = 64 | 21; + +export var CancellationReasonList = __list(_CRL, {}, () => CancellationReason); +export var ConsumedCapacityMultiple = __list(_CCM, {}, () => ConsumedCapacity); +export var ContributorInsightsRuleList = 64 | 0; + +export var ContributorInsightsSummaries = __list(_CISon, {}, () => ContributorInsightsSummary); +export var CsvHeaderList = 64 | 0; + +export var Endpoints = __list(_En, {}, () => Endpoint); +export var ExportSummaries = __list(_ESxp, {}, () => ExportSummary); +export var GlobalSecondaryIndexAutoScalingUpdateList = __list( + _GSIASUL, + {}, + () => GlobalSecondaryIndexAutoScalingUpdate +); +export var GlobalSecondaryIndexDescriptionList = __list(_GSIDL, {}, () => GlobalSecondaryIndexDescription); +export var GlobalSecondaryIndexes = __list(_GSI, {}, () => GlobalSecondaryIndexInfo); +export var GlobalSecondaryIndexList = __list(_GSIL, {}, () => GlobalSecondaryIndex); +export var GlobalSecondaryIndexUpdateList = __list(_GSIUL, {}, () => GlobalSecondaryIndexUpdate); +export var GlobalTableGlobalSecondaryIndexSettingsUpdateList = __list( + _GTGSISUL, + {}, + () => GlobalTableGlobalSecondaryIndexSettingsUpdate +); +export var GlobalTableList = __list(_GTL, {}, () => GlobalTable); +export var ImportSummaryList = __list(_ISL, {}, () => ImportSummary); +export var ItemCollectionMetricsMultiple = __list(_ICMM, {}, () => ItemCollectionMetrics); +export var ItemCollectionSizeEstimateRange = 64 | 1; + +export var ItemList = __list(_IL, {}, () => AttributeMap); +export var ItemResponseList = __list(_IRL, {}, () => ItemResponse); +export var KeyList = __list(_KL, {}, () => Key); +export var KeySchema = __list(_KS, {}, () => KeySchemaElement); +export var KinesisDataStreamDestinations = __list(_KDSD, {}, () => KinesisDataStreamDestination); +export var ListAttributeValue = __list(_LAV, {}, () => AttributeValue); +export var LocalSecondaryIndexDescriptionList = __list(_LSIDL, {}, () => LocalSecondaryIndexDescription); +export var LocalSecondaryIndexes = __list(_LSI, {}, () => LocalSecondaryIndexInfo); +export var LocalSecondaryIndexList = __list(_LSIL, {}, () => LocalSecondaryIndex); +export var NonKeyAttributeNameList = 64 | 0; + +export var NumberSetAttributeValue = 64 | 0; + +export var ParameterizedStatements = __list(_PSar, {}, () => ParameterizedStatement); +export var PartiQLBatchRequest = __list(_PQLBR, {}, () => BatchStatementRequest); +export var PartiQLBatchResponse = __list(_PQLBRa, {}, () => BatchStatementResponse); +export var PreparedStatementParameters = __list(_PSP, {}, () => AttributeValue); +export var ReplicaAutoScalingDescriptionList = __list(_RASDL, {}, () => ReplicaAutoScalingDescription); +export var ReplicaAutoScalingUpdateList = __list(_RASUL, {}, () => ReplicaAutoScalingUpdate); +export var ReplicaDescriptionList = __list(_RDL, {}, () => ReplicaDescription); +export var ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = __list( + _RGSIASDL, + {}, + () => ReplicaGlobalSecondaryIndexAutoScalingDescription +); +export var ReplicaGlobalSecondaryIndexAutoScalingUpdateList = __list( + _RGSIASUL, + {}, + () => ReplicaGlobalSecondaryIndexAutoScalingUpdate +); +export var ReplicaGlobalSecondaryIndexDescriptionList = __list( + _RGSIDL, + {}, + () => ReplicaGlobalSecondaryIndexDescription +); +export var ReplicaGlobalSecondaryIndexList = __list(_RGSIL, {}, () => ReplicaGlobalSecondaryIndex); +export var ReplicaGlobalSecondaryIndexSettingsDescriptionList = __list( + _RGSISDL, + {}, + () => ReplicaGlobalSecondaryIndexSettingsDescription +); +export var ReplicaGlobalSecondaryIndexSettingsUpdateList = __list( + _RGSISUL, + {}, + () => ReplicaGlobalSecondaryIndexSettingsUpdate +); +export var ReplicaList = __list(_RL, {}, () => Replica); +export var ReplicaSettingsDescriptionList = __list(_RSDL, {}, () => ReplicaSettingsDescription); +export var ReplicaSettingsUpdateList = __list(_RSUL, {}, () => ReplicaSettingsUpdate); +export var ReplicationGroupUpdateList = __list(_RGUL, {}, () => ReplicationGroupUpdate); +export var ReplicaUpdateList = __list(_RUL, {}, () => ReplicaUpdate); +export var StringSetAttributeValue = 64 | 0; + +export var TableNameList = 64 | 0; + +export var TagKeyList = 64 | 0; + +export var TagList = __list(_TL, {}, () => Tag); +export var TransactGetItemList = __list(_TGIL, {}, () => TransactGetItem); +export var TransactWriteItemList = __list(_TWIL, {}, () => TransactWriteItem); +export var WriteRequests = __list(_WRr, {}, () => WriteRequest); +export var AttributeMap = __map(_AM, {}, () => AttributeValue); +export var AttributeUpdates = __map(_AU, {}, () => AttributeValueUpdate); +export var BatchGetRequestMap = __map(_BGRM, {}, () => KeysAndAttributes); +export var BatchGetResponseMap = __map(_BGRMa, {}, () => ItemList); +export var BatchWriteItemRequestMap = __map(_BWIRM, {}, () => WriteRequests); +export var ExpectedAttributeMap = __map(_EAM, {}, () => ExpectedAttributeValue); +export var ExpressionAttributeNameMap = 128 | 0; + +export var ExpressionAttributeValueMap = __map(_EAVM, {}, () => AttributeValue); +export var FilterConditionMap = __map(_FCM, {}, () => Condition); +export var ItemCollectionKeyAttributeMap = __map(_ICKAM, {}, () => AttributeValue); +export var ItemCollectionMetricsPerTable = __map(_ICMPT, {}, () => ItemCollectionMetricsMultiple); +export var Key = __map(_K, {}, () => AttributeValue); +export var KeyConditions = __map(_KC, {}, () => Condition); +export var MapAttributeValue = __map(_MAV, {}, () => AttributeValue); +export var PutItemInputAttributeMap = __map(_PIIAM, {}, () => AttributeValue); +export var SecondaryIndexesCapacityMap = __map(_SICM, {}, () => Capacity); +export var AttributeValue = __uni( + _AV, + {}, + [_S_, _N, _B_, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL], + [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2] +); +export var BatchExecuteStatement = __op( + _BES, + {}, + () => BatchExecuteStatementInput, + () => BatchExecuteStatementOutput +); +export var BatchGetItem = __op( + _BGI, + {}, + () => BatchGetItemInput, + () => BatchGetItemOutput +); +export var BatchWriteItem = __op( + _BWI, + {}, + () => BatchWriteItemInput, + () => BatchWriteItemOutput +); +export var CreateBackup = __op( + _CB, + {}, + () => CreateBackupInput, + () => CreateBackupOutput +); +export var CreateGlobalTable = __op( + _CGT, + {}, + () => CreateGlobalTableInput, + () => CreateGlobalTableOutput +); +export var CreateTable = __op( + _CTr, + {}, + () => CreateTableInput, + () => CreateTableOutput +); +export var DeleteBackup = __op( + _DB, + {}, + () => DeleteBackupInput, + () => DeleteBackupOutput +); +export var DeleteItem = __op( + _DI, + {}, + () => DeleteItemInput, + () => DeleteItemOutput +); +export var DeleteResourcePolicy = __op( + _DRP, + {}, + () => DeleteResourcePolicyInput, + () => DeleteResourcePolicyOutput +); +export var DeleteTable = __op( + _DT, + {}, + () => DeleteTableInput, + () => DeleteTableOutput +); +export var DescribeBackup = __op( + _DBe, + {}, + () => DescribeBackupInput, + () => DescribeBackupOutput +); +export var DescribeContinuousBackups = __op( + _DCB, + {}, + () => DescribeContinuousBackupsInput, + () => DescribeContinuousBackupsOutput +); +export var DescribeContributorInsights = __op( + _DCI, + {}, + () => DescribeContributorInsightsInput, + () => DescribeContributorInsightsOutput +); +export var DescribeEndpoints = __op( + _DE, + {}, + () => DescribeEndpointsRequest, + () => DescribeEndpointsResponse +); +export var DescribeExport = __op( + _DEe, + {}, + () => DescribeExportInput, + () => DescribeExportOutput +); +export var DescribeGlobalTable = __op( + _DGT, + {}, + () => DescribeGlobalTableInput, + () => DescribeGlobalTableOutput +); +export var DescribeGlobalTableSettings = __op( + _DGTS, + {}, + () => DescribeGlobalTableSettingsInput, + () => DescribeGlobalTableSettingsOutput +); +export var DescribeImport = __op( + _DIe, + {}, + () => DescribeImportInput, + () => DescribeImportOutput +); +export var DescribeKinesisStreamingDestination = __op( + _DKSD, + {}, + () => DescribeKinesisStreamingDestinationInput, + () => DescribeKinesisStreamingDestinationOutput +); +export var DescribeLimits = __op( + _DL, + {}, + () => DescribeLimitsInput, + () => DescribeLimitsOutput +); +export var DescribeTable = __op( + _DTe, + {}, + () => DescribeTableInput, + () => DescribeTableOutput +); +export var DescribeTableReplicaAutoScaling = __op( + _DTRAS, + {}, + () => DescribeTableReplicaAutoScalingInput, + () => DescribeTableReplicaAutoScalingOutput +); +export var DescribeTimeToLive = __op( + _DTTL, + {}, + () => DescribeTimeToLiveInput, + () => DescribeTimeToLiveOutput +); +export var DisableKinesisStreamingDestination = __op( + _DKSDi, + {}, + () => KinesisStreamingDestinationInput, + () => KinesisStreamingDestinationOutput +); +export var EnableKinesisStreamingDestination = __op( + _EKSD, + {}, + () => KinesisStreamingDestinationInput, + () => KinesisStreamingDestinationOutput +); +export var ExecuteStatement = __op( + _ESxe, + {}, + () => ExecuteStatementInput, + () => ExecuteStatementOutput +); +export var ExecuteTransaction = __op( + _ETxe, + {}, + () => ExecuteTransactionInput, + () => ExecuteTransactionOutput +); +export var ExportTableToPointInTime = __op( + _ETTPIT, + {}, + () => ExportTableToPointInTimeInput, + () => ExportTableToPointInTimeOutput +); +export var GetItem = __op( + _GI, + {}, + () => GetItemInput, + () => GetItemOutput +); +export var GetResourcePolicy = __op( + _GRP, + {}, + () => GetResourcePolicyInput, + () => GetResourcePolicyOutput +); +export var ImportTable = __op( + _IT, + {}, + () => ImportTableInput, + () => ImportTableOutput +); +export var ListBackups = __op( + _LB, + {}, + () => ListBackupsInput, + () => ListBackupsOutput +); +export var ListContributorInsights = __op( + _LCI, + {}, + () => ListContributorInsightsInput, + () => ListContributorInsightsOutput +); +export var ListExports = __op( + _LE, + {}, + () => ListExportsInput, + () => ListExportsOutput +); +export var ListGlobalTables = __op( + _LGT, + {}, + () => ListGlobalTablesInput, + () => ListGlobalTablesOutput +); +export var ListImports = __op( + _LI, + {}, + () => ListImportsInput, + () => ListImportsOutput +); +export var ListTables = __op( + _LT, + {}, + () => ListTablesInput, + () => ListTablesOutput +); +export var ListTagsOfResource = __op( + _LTOR, + {}, + () => ListTagsOfResourceInput, + () => ListTagsOfResourceOutput +); +export var PutItem = __op( + _PI, + {}, + () => PutItemInput, + () => PutItemOutput +); +export var PutResourcePolicy = __op( + _PRP, + {}, + () => PutResourcePolicyInput, + () => PutResourcePolicyOutput +); +export var Query = __op( + _Q, + {}, + () => QueryInput, + () => QueryOutput +); +export var RestoreTableFromBackup = __op( + _RTFB, + {}, + () => RestoreTableFromBackupInput, + () => RestoreTableFromBackupOutput +); +export var RestoreTableToPointInTime = __op( + _RTTPIT, + {}, + () => RestoreTableToPointInTimeInput, + () => RestoreTableToPointInTimeOutput +); +export var Scan = __op( + _Sc, + {}, + () => ScanInput, + () => ScanOutput +); +export var TagResource = __op( + _TR, + {}, + () => TagResourceInput, + () => Unit +); +export var TransactGetItems = __op( + _TGIr, + {}, + () => TransactGetItemsInput, + () => TransactGetItemsOutput +); +export var TransactWriteItems = __op( + _TWIr, + {}, + () => TransactWriteItemsInput, + () => TransactWriteItemsOutput +); +export var UntagResource = __op( + _UR, + {}, + () => UntagResourceInput, + () => Unit +); +export var UpdateContinuousBackups = __op( + _UCB, + {}, + () => UpdateContinuousBackupsInput, + () => UpdateContinuousBackupsOutput +); +export var UpdateContributorInsights = __op( + _UCI, + {}, + () => UpdateContributorInsightsInput, + () => UpdateContributorInsightsOutput +); +export var UpdateGlobalTable = __op( + _UGT, + {}, + () => UpdateGlobalTableInput, + () => UpdateGlobalTableOutput +); +export var UpdateGlobalTableSettings = __op( + _UGTS, + {}, + () => UpdateGlobalTableSettingsInput, + () => UpdateGlobalTableSettingsOutput +); +export var UpdateItem = __op( + _UIp, + {}, + () => UpdateItemInput, + () => UpdateItemOutput +); +export var UpdateKinesisStreamingDestination = __op( + _UKSD, + {}, + () => UpdateKinesisStreamingDestinationInput, + () => UpdateKinesisStreamingDestinationOutput +); +export var UpdateTable = __op( + _UT, + {}, + () => UpdateTableInput, + () => UpdateTableOutput +); +export var UpdateTableReplicaAutoScaling = __op( + _UTRAS, + {}, + () => UpdateTableReplicaAutoScalingInput, + () => UpdateTableReplicaAutoScalingOutput +); +export var UpdateTimeToLive = __op( + _UTTL, + {}, + () => UpdateTimeToLiveInput, + () => UpdateTimeToLiveOutput +); +com_amazonaws_dynamodbRegistry.stopCapture(); diff --git a/clients/client-dynamodb/src/schemas/index.ts b/clients/client-dynamodb/src/schemas/index.ts new file mode 100644 index 000000000000..f289904ac6cb --- /dev/null +++ b/clients/client-dynamodb/src/schemas/index.ts @@ -0,0 +1,4 @@ +export * from "./com.amazonaws.dynamodb"; + +// smithy-typescript generated code +export * from "./smithy.api"; diff --git a/clients/client-dynamodb/src/schemas/smithy.api.ts b/clients/client-dynamodb/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..0bbca91b5138 --- /dev/null +++ b/clients/client-dynamodb/src/schemas/smithy.api.ts @@ -0,0 +1,10 @@ +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit"; + +smithy_apiRegistry.stopCapture(); diff --git a/clients/client-lambda/src/LambdaClient.ts b/clients/client-lambda/src/LambdaClient.ts index 4c5ab2fe8f03..7149da926c32 100644 --- a/clients/client-lambda/src/LambdaClient.ts +++ b/clients/client-lambda/src/LambdaClient.ts @@ -19,6 +19,7 @@ import { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig, @@ -705,6 +706,7 @@ export class LambdaClient extends __Client< const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []); super(_config_9); this.config = _config_9; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/clients/client-lambda/src/commands/AddLayerVersionPermissionCommand.ts b/clients/client-lambda/src/commands/AddLayerVersionPermissionCommand.ts index 88d38f359f1c..58b597a301dd 100644 --- a/clients/client-lambda/src/commands/AddLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/src/commands/AddLayerVersionPermissionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { AddLayerVersionPermissionRequest, AddLayerVersionPermissionResponse } from "../models/models_0"; -import { de_AddLayerVersionPermissionCommand, se_AddLayerVersionPermissionCommand } from "../protocols/Aws_restJson1"; +import { AddLayerVersionPermission } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -131,16 +130,12 @@ export class AddLayerVersionPermissionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "AddLayerVersionPermission", {}) .n("LambdaClient", "AddLayerVersionPermissionCommand") .f(void 0, void 0) - .ser(se_AddLayerVersionPermissionCommand) - .de(de_AddLayerVersionPermissionCommand) + .sc(AddLayerVersionPermission) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/AddPermissionCommand.ts b/clients/client-lambda/src/commands/AddPermissionCommand.ts index 11889e4ead2a..d59779a39ae8 100644 --- a/clients/client-lambda/src/commands/AddPermissionCommand.ts +++ b/clients/client-lambda/src/commands/AddPermissionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { AddPermissionRequest, AddPermissionResponse } from "../models/models_0"; -import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_restJson1"; +import { AddPermission } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -160,16 +159,12 @@ export class AddPermissionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "AddPermission", {}) .n("LambdaClient", "AddPermissionCommand") .f(void 0, void 0) - .ser(se_AddPermissionCommand) - .de(de_AddPermissionCommand) + .sc(AddPermission) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/CreateAliasCommand.ts b/clients/client-lambda/src/commands/CreateAliasCommand.ts index bfdc2cf01287..f1811234a739 100644 --- a/clients/client-lambda/src/commands/CreateAliasCommand.ts +++ b/clients/client-lambda/src/commands/CreateAliasCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { AliasConfiguration, CreateAliasRequest } from "../models/models_0"; -import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_restJson1"; +import { CreateAlias } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -127,16 +126,12 @@ export class CreateAliasCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "CreateAlias", {}) .n("LambdaClient", "CreateAliasCommand") .f(void 0, void 0) - .ser(se_CreateAliasCommand) - .de(de_CreateAliasCommand) + .sc(CreateAlias) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/CreateCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/CreateCodeSigningConfigCommand.ts index f20ba5bdf78e..34c46cccedb8 100644 --- a/clients/client-lambda/src/commands/CreateCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/CreateCodeSigningConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0"; -import { de_CreateCodeSigningConfigCommand, se_CreateCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { CreateCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -99,16 +98,12 @@ export class CreateCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "CreateCodeSigningConfig", {}) .n("LambdaClient", "CreateCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_CreateCodeSigningConfigCommand) - .de(de_CreateCodeSigningConfigCommand) + .sc(CreateCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/CreateEventSourceMappingCommand.ts b/clients/client-lambda/src/commands/CreateEventSourceMappingCommand.ts index f9b5b1df1163..3997a5cd0e25 100644 --- a/clients/client-lambda/src/commands/CreateEventSourceMappingCommand.ts +++ b/clients/client-lambda/src/commands/CreateEventSourceMappingCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0"; -import { de_CreateEventSourceMappingCommand, se_CreateEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { CreateEventSourceMapping } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -379,16 +378,12 @@ export class CreateEventSourceMappingCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "CreateEventSourceMapping", {}) .n("LambdaClient", "CreateEventSourceMappingCommand") .f(void 0, void 0) - .ser(se_CreateEventSourceMappingCommand) - .de(de_CreateEventSourceMappingCommand) + .sc(CreateEventSourceMapping) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/CreateFunctionCommand.ts b/clients/client-lambda/src/commands/CreateFunctionCommand.ts index 3de730149f3e..0ec001787bfb 100644 --- a/clients/client-lambda/src/commands/CreateFunctionCommand.ts +++ b/clients/client-lambda/src/commands/CreateFunctionCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,7 +11,7 @@ import { FunctionConfiguration, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0"; -import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1"; +import { CreateFunction } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -376,16 +375,12 @@ export class CreateFunctionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "CreateFunction", {}) .n("LambdaClient", "CreateFunctionCommand") .f(CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog) - .ser(se_CreateFunctionCommand) - .de(de_CreateFunctionCommand) + .sc(CreateFunction) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/CreateFunctionUrlConfigCommand.ts b/clients/client-lambda/src/commands/CreateFunctionUrlConfigCommand.ts index e143bcde447c..507e691259d3 100644 --- a/clients/client-lambda/src/commands/CreateFunctionUrlConfigCommand.ts +++ b/clients/client-lambda/src/commands/CreateFunctionUrlConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { CreateFunctionUrlConfigRequest, CreateFunctionUrlConfigResponse } from "../models/models_0"; -import { de_CreateFunctionUrlConfigCommand, se_CreateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { CreateFunctionUrlConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -122,16 +121,12 @@ export class CreateFunctionUrlConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "CreateFunctionUrlConfig", {}) .n("LambdaClient", "CreateFunctionUrlConfigCommand") .f(void 0, void 0) - .ser(se_CreateFunctionUrlConfigCommand) - .de(de_CreateFunctionUrlConfigCommand) + .sc(CreateFunctionUrlConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteAliasCommand.ts b/clients/client-lambda/src/commands/DeleteAliasCommand.ts index 228b6f7e2538..7caaf1eb1729 100644 --- a/clients/client-lambda/src/commands/DeleteAliasCommand.ts +++ b/clients/client-lambda/src/commands/DeleteAliasCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteAliasRequest } from "../models/models_0"; -import { de_DeleteAliasCommand, se_DeleteAliasCommand } from "../protocols/Aws_restJson1"; +import { DeleteAlias } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -90,16 +89,12 @@ export class DeleteAliasCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteAlias", {}) .n("LambdaClient", "DeleteAliasCommand") .f(void 0, void 0) - .ser(se_DeleteAliasCommand) - .de(de_DeleteAliasCommand) + .sc(DeleteAlias) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/DeleteCodeSigningConfigCommand.ts index 56c04ac1ab5e..35441889a3d7 100644 --- a/clients/client-lambda/src/commands/DeleteCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/DeleteCodeSigningConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteCodeSigningConfigRequest, DeleteCodeSigningConfigResponse } from "../models/models_0"; -import { de_DeleteCodeSigningConfigCommand, se_DeleteCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { DeleteCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -78,16 +77,12 @@ export class DeleteCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteCodeSigningConfig", {}) .n("LambdaClient", "DeleteCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_DeleteCodeSigningConfigCommand) - .de(de_DeleteCodeSigningConfigCommand) + .sc(DeleteCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteEventSourceMappingCommand.ts b/clients/client-lambda/src/commands/DeleteEventSourceMappingCommand.ts index c68fc09ccb2f..7202d9ff144e 100644 --- a/clients/client-lambda/src/commands/DeleteEventSourceMappingCommand.ts +++ b/clients/client-lambda/src/commands/DeleteEventSourceMappingCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0"; -import { de_DeleteEventSourceMappingCommand, se_DeleteEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { DeleteEventSourceMapping } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -192,16 +191,12 @@ export class DeleteEventSourceMappingCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteEventSourceMapping", {}) .n("LambdaClient", "DeleteEventSourceMappingCommand") .f(void 0, void 0) - .ser(se_DeleteEventSourceMappingCommand) - .de(de_DeleteEventSourceMappingCommand) + .sc(DeleteEventSourceMapping) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/DeleteFunctionCodeSigningConfigCommand.ts index 708af938e485..839ae1cd7dfb 100644 --- a/clients/client-lambda/src/commands/DeleteFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/DeleteFunctionCodeSigningConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteFunctionCodeSigningConfigRequest } from "../models/models_0"; -import { - de_DeleteFunctionCodeSigningConfigCommand, - se_DeleteFunctionCodeSigningConfigCommand, -} from "../protocols/Aws_restJson1"; +import { DeleteFunctionCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -86,16 +82,12 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteFunctionCodeSigningConfig", {}) .n("LambdaClient", "DeleteFunctionCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_DeleteFunctionCodeSigningConfigCommand) - .de(de_DeleteFunctionCodeSigningConfigCommand) + .sc(DeleteFunctionCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteFunctionCommand.ts b/clients/client-lambda/src/commands/DeleteFunctionCommand.ts index b174dc0248c8..876a2b4a82c9 100644 --- a/clients/client-lambda/src/commands/DeleteFunctionCommand.ts +++ b/clients/client-lambda/src/commands/DeleteFunctionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteFunctionRequest } from "../models/models_0"; -import { de_DeleteFunctionCommand, se_DeleteFunctionCommand } from "../protocols/Aws_restJson1"; +import { DeleteFunction } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -97,16 +96,12 @@ export class DeleteFunctionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteFunction", {}) .n("LambdaClient", "DeleteFunctionCommand") .f(void 0, void 0) - .ser(se_DeleteFunctionCommand) - .de(de_DeleteFunctionCommand) + .sc(DeleteFunction) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteFunctionConcurrencyCommand.ts b/clients/client-lambda/src/commands/DeleteFunctionConcurrencyCommand.ts index 512df50ac136..cefd2fde3497 100644 --- a/clients/client-lambda/src/commands/DeleteFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/src/commands/DeleteFunctionConcurrencyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteFunctionConcurrencyRequest } from "../models/models_0"; -import { de_DeleteFunctionConcurrencyCommand, se_DeleteFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; +import { DeleteFunctionConcurrency } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -91,16 +90,12 @@ export class DeleteFunctionConcurrencyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteFunctionConcurrency", {}) .n("LambdaClient", "DeleteFunctionConcurrencyCommand") .f(void 0, void 0) - .ser(se_DeleteFunctionConcurrencyCommand) - .de(de_DeleteFunctionConcurrencyCommand) + .sc(DeleteFunctionConcurrency) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/src/commands/DeleteFunctionEventInvokeConfigCommand.ts index 253b7e976c83..69d535e7a6ad 100644 --- a/clients/client-lambda/src/commands/DeleteFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/src/commands/DeleteFunctionEventInvokeConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteFunctionEventInvokeConfigRequest } from "../models/models_0"; -import { - de_DeleteFunctionEventInvokeConfigCommand, - se_DeleteFunctionEventInvokeConfigCommand, -} from "../protocols/Aws_restJson1"; +import { DeleteFunctionEventInvokeConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -97,16 +93,12 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteFunctionEventInvokeConfig", {}) .n("LambdaClient", "DeleteFunctionEventInvokeConfigCommand") .f(void 0, void 0) - .ser(se_DeleteFunctionEventInvokeConfigCommand) - .de(de_DeleteFunctionEventInvokeConfigCommand) + .sc(DeleteFunctionEventInvokeConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteFunctionUrlConfigCommand.ts b/clients/client-lambda/src/commands/DeleteFunctionUrlConfigCommand.ts index bb7edbedab82..a95dc7c9ae9d 100644 --- a/clients/client-lambda/src/commands/DeleteFunctionUrlConfigCommand.ts +++ b/clients/client-lambda/src/commands/DeleteFunctionUrlConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteFunctionUrlConfigRequest } from "../models/models_0"; -import { de_DeleteFunctionUrlConfigCommand, se_DeleteFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { DeleteFunctionUrlConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -79,16 +78,12 @@ export class DeleteFunctionUrlConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteFunctionUrlConfig", {}) .n("LambdaClient", "DeleteFunctionUrlConfigCommand") .f(void 0, void 0) - .ser(se_DeleteFunctionUrlConfigCommand) - .de(de_DeleteFunctionUrlConfigCommand) + .sc(DeleteFunctionUrlConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteLayerVersionCommand.ts b/clients/client-lambda/src/commands/DeleteLayerVersionCommand.ts index 8de89cd75568..70ddc4cb84f6 100644 --- a/clients/client-lambda/src/commands/DeleteLayerVersionCommand.ts +++ b/clients/client-lambda/src/commands/DeleteLayerVersionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteLayerVersionRequest } from "../models/models_0"; -import { de_DeleteLayerVersionCommand, se_DeleteLayerVersionCommand } from "../protocols/Aws_restJson1"; +import { DeleteLayerVersion } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -86,16 +85,12 @@ export class DeleteLayerVersionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteLayerVersion", {}) .n("LambdaClient", "DeleteLayerVersionCommand") .f(void 0, void 0) - .ser(se_DeleteLayerVersionCommand) - .de(de_DeleteLayerVersionCommand) + .sc(DeleteLayerVersion) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts index ff4587864250..ede3f7d6f5cb 100644 --- a/clients/client-lambda/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { DeleteProvisionedConcurrencyConfigRequest } from "../models/models_0"; -import { - de_DeleteProvisionedConcurrencyConfigCommand, - se_DeleteProvisionedConcurrencyConfigCommand, -} from "../protocols/Aws_restJson1"; +import { DeleteProvisionedConcurrencyConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -96,16 +92,12 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "DeleteProvisionedConcurrencyConfig", {}) .n("LambdaClient", "DeleteProvisionedConcurrencyConfigCommand") .f(void 0, void 0) - .ser(se_DeleteProvisionedConcurrencyConfigCommand) - .de(de_DeleteProvisionedConcurrencyConfigCommand) + .sc(DeleteProvisionedConcurrencyConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetAccountSettingsCommand.ts b/clients/client-lambda/src/commands/GetAccountSettingsCommand.ts index 782b81120329..7dc800a2b8b0 100644 --- a/clients/client-lambda/src/commands/GetAccountSettingsCommand.ts +++ b/clients/client-lambda/src/commands/GetAccountSettingsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0"; -import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1"; +import { GetAccountSettings } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -105,16 +104,12 @@ export class GetAccountSettingsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetAccountSettings", {}) .n("LambdaClient", "GetAccountSettingsCommand") .f(void 0, void 0) - .ser(se_GetAccountSettingsCommand) - .de(de_GetAccountSettingsCommand) + .sc(GetAccountSettings) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetAliasCommand.ts b/clients/client-lambda/src/commands/GetAliasCommand.ts index f7b2a149508e..4ade0ede28bb 100644 --- a/clients/client-lambda/src/commands/GetAliasCommand.ts +++ b/clients/client-lambda/src/commands/GetAliasCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { AliasConfiguration, GetAliasRequest } from "../models/models_0"; -import { de_GetAliasCommand, se_GetAliasCommand } from "../protocols/Aws_restJson1"; +import { GetAlias } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -110,16 +109,12 @@ export class GetAliasCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetAlias", {}) .n("LambdaClient", "GetAliasCommand") .f(void 0, void 0) - .ser(se_GetAliasCommand) - .de(de_GetAliasCommand) + .sc(GetAlias) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/GetCodeSigningConfigCommand.ts index faa2a89053bb..88ab0cbe13ee 100644 --- a/clients/client-lambda/src/commands/GetCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetCodeSigningConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetCodeSigningConfigRequest, GetCodeSigningConfigResponse } from "../models/models_0"; -import { de_GetCodeSigningConfigCommand, se_GetCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { GetCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -89,16 +88,12 @@ export class GetCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetCodeSigningConfig", {}) .n("LambdaClient", "GetCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_GetCodeSigningConfigCommand) - .de(de_GetCodeSigningConfigCommand) + .sc(GetCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetEventSourceMappingCommand.ts b/clients/client-lambda/src/commands/GetEventSourceMappingCommand.ts index 4c9abe543c86..a6af263b1209 100644 --- a/clients/client-lambda/src/commands/GetEventSourceMappingCommand.ts +++ b/clients/client-lambda/src/commands/GetEventSourceMappingCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { EventSourceMappingConfiguration, GetEventSourceMappingRequest } from "../models/models_0"; -import { de_GetEventSourceMappingCommand, se_GetEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { GetEventSourceMapping } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -188,16 +187,12 @@ export class GetEventSourceMappingCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetEventSourceMapping", {}) .n("LambdaClient", "GetEventSourceMappingCommand") .f(void 0, void 0) - .ser(se_GetEventSourceMappingCommand) - .de(de_GetEventSourceMappingCommand) + .sc(GetEventSourceMapping) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/GetFunctionCodeSigningConfigCommand.ts index 159e70faa13d..5b97809ab0fb 100644 --- a/clients/client-lambda/src/commands/GetFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionCodeSigningConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetFunctionCodeSigningConfigRequest, GetFunctionCodeSigningConfigResponse } from "../models/models_0"; -import { - de_GetFunctionCodeSigningConfigCommand, - se_GetFunctionCodeSigningConfigCommand, -} from "../protocols/Aws_restJson1"; +import { GetFunctionCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -85,16 +81,12 @@ export class GetFunctionCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionCodeSigningConfig", {}) .n("LambdaClient", "GetFunctionCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_GetFunctionCodeSigningConfigCommand) - .de(de_GetFunctionCodeSigningConfigCommand) + .sc(GetFunctionCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionCommand.ts b/clients/client-lambda/src/commands/GetFunctionCommand.ts index 40795c1f5e23..f0976c6dd1cd 100644 --- a/clients/client-lambda/src/commands/GetFunctionCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetFunctionRequest, GetFunctionResponse, GetFunctionResponseFilterSensitiveLog } from "../models/models_0"; -import { de_GetFunctionCommand, se_GetFunctionCommand } from "../protocols/Aws_restJson1"; +import { GetFunction } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -251,16 +250,12 @@ export class GetFunctionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunction", {}) .n("LambdaClient", "GetFunctionCommand") .f(void 0, GetFunctionResponseFilterSensitiveLog) - .ser(se_GetFunctionCommand) - .de(de_GetFunctionCommand) + .sc(GetFunction) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionConcurrencyCommand.ts b/clients/client-lambda/src/commands/GetFunctionConcurrencyCommand.ts index 338213c66453..cb7553dd4a9e 100644 --- a/clients/client-lambda/src/commands/GetFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionConcurrencyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetFunctionConcurrencyRequest, GetFunctionConcurrencyResponse } from "../models/models_0"; -import { de_GetFunctionConcurrencyCommand, se_GetFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; +import { GetFunctionConcurrency } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -96,16 +95,12 @@ export class GetFunctionConcurrencyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionConcurrency", {}) .n("LambdaClient", "GetFunctionConcurrencyCommand") .f(void 0, void 0) - .ser(se_GetFunctionConcurrencyCommand) - .de(de_GetFunctionConcurrencyCommand) + .sc(GetFunctionConcurrency) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts b/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts index d2c5d6056c69..24ca13460aa2 100644 --- a/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,7 +10,7 @@ import { FunctionConfigurationFilterSensitiveLog, GetFunctionConfigurationRequest, } from "../models/models_0"; -import { de_GetFunctionConfigurationCommand, se_GetFunctionConfigurationCommand } from "../protocols/Aws_restJson1"; +import { GetFunctionConfiguration } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -227,16 +226,12 @@ export class GetFunctionConfigurationCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionConfiguration", {}) .n("LambdaClient", "GetFunctionConfigurationCommand") .f(void 0, FunctionConfigurationFilterSensitiveLog) - .ser(se_GetFunctionConfigurationCommand) - .de(de_GetFunctionConfigurationCommand) + .sc(GetFunctionConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/src/commands/GetFunctionEventInvokeConfigCommand.ts index 570eaf0298bd..e080fbfff60b 100644 --- a/clients/client-lambda/src/commands/GetFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionEventInvokeConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { FunctionEventInvokeConfig, GetFunctionEventInvokeConfigRequest } from "../models/models_0"; -import { - de_GetFunctionEventInvokeConfigCommand, - se_GetFunctionEventInvokeConfigCommand, -} from "../protocols/Aws_restJson1"; +import { GetFunctionEventInvokeConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -121,16 +117,12 @@ export class GetFunctionEventInvokeConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionEventInvokeConfig", {}) .n("LambdaClient", "GetFunctionEventInvokeConfigCommand") .f(void 0, void 0) - .ser(se_GetFunctionEventInvokeConfigCommand) - .de(de_GetFunctionEventInvokeConfigCommand) + .sc(GetFunctionEventInvokeConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionRecursionConfigCommand.ts b/clients/client-lambda/src/commands/GetFunctionRecursionConfigCommand.ts index b7bf39a6ed21..1d98afeede9e 100644 --- a/clients/client-lambda/src/commands/GetFunctionRecursionConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionRecursionConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetFunctionRecursionConfigRequest, GetFunctionRecursionConfigResponse } from "../models/models_0"; -import { de_GetFunctionRecursionConfigCommand, se_GetFunctionRecursionConfigCommand } from "../protocols/Aws_restJson1"; +import { GetFunctionRecursionConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -80,16 +79,12 @@ export class GetFunctionRecursionConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionRecursionConfig", {}) .n("LambdaClient", "GetFunctionRecursionConfigCommand") .f(void 0, void 0) - .ser(se_GetFunctionRecursionConfigCommand) - .de(de_GetFunctionRecursionConfigCommand) + .sc(GetFunctionRecursionConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetFunctionUrlConfigCommand.ts b/clients/client-lambda/src/commands/GetFunctionUrlConfigCommand.ts index ef675bd6d508..390003e63c8b 100644 --- a/clients/client-lambda/src/commands/GetFunctionUrlConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionUrlConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetFunctionUrlConfigRequest, GetFunctionUrlConfigResponse } from "../models/models_0"; -import { de_GetFunctionUrlConfigCommand, se_GetFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { GetFunctionUrlConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -101,16 +100,12 @@ export class GetFunctionUrlConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetFunctionUrlConfig", {}) .n("LambdaClient", "GetFunctionUrlConfigCommand") .f(void 0, void 0) - .ser(se_GetFunctionUrlConfigCommand) - .de(de_GetFunctionUrlConfigCommand) + .sc(GetFunctionUrlConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts b/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts index de78a539db4a..3b9aac3afa94 100644 --- a/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts +++ b/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetLayerVersionByArnRequest, GetLayerVersionResponse } from "../models/models_0"; -import { de_GetLayerVersionByArnCommand, se_GetLayerVersionByArnCommand } from "../protocols/Aws_restJson1"; +import { GetLayerVersionByArn } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -127,16 +126,12 @@ export class GetLayerVersionByArnCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetLayerVersionByArn", {}) .n("LambdaClient", "GetLayerVersionByArnCommand") .f(void 0, void 0) - .ser(se_GetLayerVersionByArnCommand) - .de(de_GetLayerVersionByArnCommand) + .sc(GetLayerVersionByArn) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetLayerVersionCommand.ts b/clients/client-lambda/src/commands/GetLayerVersionCommand.ts index 4f5bbfad6987..345f2967d5b7 100644 --- a/clients/client-lambda/src/commands/GetLayerVersionCommand.ts +++ b/clients/client-lambda/src/commands/GetLayerVersionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetLayerVersionRequest, GetLayerVersionResponse } from "../models/models_0"; -import { de_GetLayerVersionCommand, se_GetLayerVersionCommand } from "../protocols/Aws_restJson1"; +import { GetLayerVersion } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -131,16 +130,12 @@ export class GetLayerVersionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetLayerVersion", {}) .n("LambdaClient", "GetLayerVersionCommand") .f(void 0, void 0) - .ser(se_GetLayerVersionCommand) - .de(de_GetLayerVersionCommand) + .sc(GetLayerVersion) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetLayerVersionPolicyCommand.ts b/clients/client-lambda/src/commands/GetLayerVersionPolicyCommand.ts index ee22b849e5ef..be236eda2a66 100644 --- a/clients/client-lambda/src/commands/GetLayerVersionPolicyCommand.ts +++ b/clients/client-lambda/src/commands/GetLayerVersionPolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetLayerVersionPolicyRequest, GetLayerVersionPolicyResponse } from "../models/models_0"; -import { de_GetLayerVersionPolicyCommand, se_GetLayerVersionPolicyCommand } from "../protocols/Aws_restJson1"; +import { GetLayerVersionPolicy } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -82,16 +81,12 @@ export class GetLayerVersionPolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetLayerVersionPolicy", {}) .n("LambdaClient", "GetLayerVersionPolicyCommand") .f(void 0, void 0) - .ser(se_GetLayerVersionPolicyCommand) - .de(de_GetLayerVersionPolicyCommand) + .sc(GetLayerVersionPolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetPolicyCommand.ts b/clients/client-lambda/src/commands/GetPolicyCommand.ts index 9a1e2cdb5563..383962d098eb 100644 --- a/clients/client-lambda/src/commands/GetPolicyCommand.ts +++ b/clients/client-lambda/src/commands/GetPolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0"; -import { de_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_restJson1"; +import { GetPolicy } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -99,16 +98,12 @@ export class GetPolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetPolicy", {}) .n("LambdaClient", "GetPolicyCommand") .f(void 0, void 0) - .ser(se_GetPolicyCommand) - .de(de_GetPolicyCommand) + .sc(GetPolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts index 9a6dea44d948..f1b85d7bddd0 100644 --- a/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetProvisionedConcurrencyConfigRequest, GetProvisionedConcurrencyConfigResponse } from "../models/models_0"; -import { - de_GetProvisionedConcurrencyConfigCommand, - se_GetProvisionedConcurrencyConfigCommand, -} from "../protocols/Aws_restJson1"; +import { GetProvisionedConcurrencyConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -135,16 +131,12 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetProvisionedConcurrencyConfig", {}) .n("LambdaClient", "GetProvisionedConcurrencyConfigCommand") .f(void 0, void 0) - .ser(se_GetProvisionedConcurrencyConfigCommand) - .de(de_GetProvisionedConcurrencyConfigCommand) + .sc(GetProvisionedConcurrencyConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/GetRuntimeManagementConfigCommand.ts b/clients/client-lambda/src/commands/GetRuntimeManagementConfigCommand.ts index 3b152fc32711..c4b92fec43cf 100644 --- a/clients/client-lambda/src/commands/GetRuntimeManagementConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetRuntimeManagementConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { GetRuntimeManagementConfigRequest, GetRuntimeManagementConfigResponse } from "../models/models_0"; -import { de_GetRuntimeManagementConfigCommand, se_GetRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1"; +import { GetRuntimeManagementConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -84,16 +83,12 @@ export class GetRuntimeManagementConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "GetRuntimeManagementConfig", {}) .n("LambdaClient", "GetRuntimeManagementConfigCommand") .f(void 0, void 0) - .ser(se_GetRuntimeManagementConfigCommand) - .de(de_GetRuntimeManagementConfigCommand) + .sc(GetRuntimeManagementConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/InvokeAsyncCommand.ts b/clients/client-lambda/src/commands/InvokeAsyncCommand.ts index d8d0e5376db6..3734a2e5793b 100644 --- a/clients/client-lambda/src/commands/InvokeAsyncCommand.ts +++ b/clients/client-lambda/src/commands/InvokeAsyncCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { InvokeAsyncRequest, InvokeAsyncRequestFilterSensitiveLog, InvokeAsyncResponse } from "../models/models_0"; -import { de_InvokeAsyncCommand, se_InvokeAsyncCommand } from "../protocols/Aws_restJson1"; +import { InvokeAsync } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -112,16 +111,12 @@ export class InvokeAsyncCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "InvokeAsync", {}) .n("LambdaClient", "InvokeAsyncCommand") .f(InvokeAsyncRequestFilterSensitiveLog, void 0) - .ser(se_InvokeAsyncCommand) - .de(de_InvokeAsyncCommand) + .sc(InvokeAsync) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/InvokeCommand.ts b/clients/client-lambda/src/commands/InvokeCommand.ts index 559e31b1fa3a..ace5c7da36d1 100644 --- a/clients/client-lambda/src/commands/InvokeCommand.ts +++ b/clients/client-lambda/src/commands/InvokeCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; @@ -13,7 +12,7 @@ import { InvocationResponse, InvocationResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_InvokeCommand, se_InvokeCommand } from "../protocols/Aws_restJson1"; +import { Invoke } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -265,16 +264,12 @@ export class InvokeCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "Invoke", {}) .n("LambdaClient", "InvokeCommand") .f(InvocationRequestFilterSensitiveLog, InvocationResponseFilterSensitiveLog) - .ser(se_InvokeCommand) - .de(de_InvokeCommand) + .sc(Invoke) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/InvokeWithResponseStreamCommand.ts b/clients/client-lambda/src/commands/InvokeWithResponseStreamCommand.ts index f5e67e977a23..57d28ecc8600 100644 --- a/clients/client-lambda/src/commands/InvokeWithResponseStreamCommand.ts +++ b/clients/client-lambda/src/commands/InvokeWithResponseStreamCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,7 +11,7 @@ import { InvokeWithResponseStreamResponse, InvokeWithResponseStreamResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_InvokeWithResponseStreamCommand, se_InvokeWithResponseStreamCommand } from "../protocols/Aws_restJson1"; +import { InvokeWithResponseStream } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -202,10 +201,7 @@ export class InvokeWithResponseStreamCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "InvokeWithResponseStream", { /** @@ -217,8 +213,7 @@ export class InvokeWithResponseStreamCommand extends $Command }) .n("LambdaClient", "InvokeWithResponseStreamCommand") .f(InvokeWithResponseStreamRequestFilterSensitiveLog, InvokeWithResponseStreamResponseFilterSensitiveLog) - .ser(se_InvokeWithResponseStreamCommand) - .de(de_InvokeWithResponseStreamCommand) + .sc(InvokeWithResponseStream) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListAliasesCommand.ts b/clients/client-lambda/src/commands/ListAliasesCommand.ts index b800a86c7c27..54ea67d6cbc0 100644 --- a/clients/client-lambda/src/commands/ListAliasesCommand.ts +++ b/clients/client-lambda/src/commands/ListAliasesCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListAliasesRequest, ListAliasesResponse } from "../models/models_0"; -import { de_ListAliasesCommand, se_ListAliasesCommand } from "../protocols/Aws_restJson1"; +import { ListAliases } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -133,16 +132,12 @@ export class ListAliasesCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListAliases", {}) .n("LambdaClient", "ListAliasesCommand") .f(void 0, void 0) - .ser(se_ListAliasesCommand) - .de(de_ListAliasesCommand) + .sc(ListAliases) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListCodeSigningConfigsCommand.ts b/clients/client-lambda/src/commands/ListCodeSigningConfigsCommand.ts index da07304fccc0..cd61b41841c6 100644 --- a/clients/client-lambda/src/commands/ListCodeSigningConfigsCommand.ts +++ b/clients/client-lambda/src/commands/ListCodeSigningConfigsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListCodeSigningConfigsRequest, ListCodeSigningConfigsResponse } from "../models/models_0"; -import { de_ListCodeSigningConfigsCommand, se_ListCodeSigningConfigsCommand } from "../protocols/Aws_restJson1"; +import { ListCodeSigningConfigs } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -92,16 +91,12 @@ export class ListCodeSigningConfigsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListCodeSigningConfigs", {}) .n("LambdaClient", "ListCodeSigningConfigsCommand") .f(void 0, void 0) - .ser(se_ListCodeSigningConfigsCommand) - .de(de_ListCodeSigningConfigsCommand) + .sc(ListCodeSigningConfigs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListEventSourceMappingsCommand.ts b/clients/client-lambda/src/commands/ListEventSourceMappingsCommand.ts index 2d04760676f6..5c67b65fe7e9 100644 --- a/clients/client-lambda/src/commands/ListEventSourceMappingsCommand.ts +++ b/clients/client-lambda/src/commands/ListEventSourceMappingsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListEventSourceMappingsRequest, ListEventSourceMappingsResponse } from "../models/models_0"; -import { de_ListEventSourceMappingsCommand, se_ListEventSourceMappingsCommand } from "../protocols/Aws_restJson1"; +import { ListEventSourceMappings } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -195,16 +194,12 @@ export class ListEventSourceMappingsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListEventSourceMappings", {}) .n("LambdaClient", "ListEventSourceMappingsCommand") .f(void 0, void 0) - .ser(se_ListEventSourceMappingsCommand) - .de(de_ListEventSourceMappingsCommand) + .sc(ListEventSourceMappings) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListFunctionEventInvokeConfigsCommand.ts b/clients/client-lambda/src/commands/ListFunctionEventInvokeConfigsCommand.ts index af066dd461d3..1d5ada455e58 100644 --- a/clients/client-lambda/src/commands/ListFunctionEventInvokeConfigsCommand.ts +++ b/clients/client-lambda/src/commands/ListFunctionEventInvokeConfigsCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListFunctionEventInvokeConfigsRequest, ListFunctionEventInvokeConfigsResponse } from "../models/models_0"; -import { - de_ListFunctionEventInvokeConfigsCommand, - se_ListFunctionEventInvokeConfigsCommand, -} from "../protocols/Aws_restJson1"; +import { ListFunctionEventInvokeConfigs } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -132,16 +128,12 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListFunctionEventInvokeConfigs", {}) .n("LambdaClient", "ListFunctionEventInvokeConfigsCommand") .f(void 0, void 0) - .ser(se_ListFunctionEventInvokeConfigsCommand) - .de(de_ListFunctionEventInvokeConfigsCommand) + .sc(ListFunctionEventInvokeConfigs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListFunctionUrlConfigsCommand.ts b/clients/client-lambda/src/commands/ListFunctionUrlConfigsCommand.ts index 9a82f2a84072..c21a88f692e3 100644 --- a/clients/client-lambda/src/commands/ListFunctionUrlConfigsCommand.ts +++ b/clients/client-lambda/src/commands/ListFunctionUrlConfigsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListFunctionUrlConfigsRequest, ListFunctionUrlConfigsResponse } from "../models/models_0"; -import { de_ListFunctionUrlConfigsCommand, se_ListFunctionUrlConfigsCommand } from "../protocols/Aws_restJson1"; +import { ListFunctionUrlConfigs } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -107,16 +106,12 @@ export class ListFunctionUrlConfigsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListFunctionUrlConfigs", {}) .n("LambdaClient", "ListFunctionUrlConfigsCommand") .f(void 0, void 0) - .ser(se_ListFunctionUrlConfigsCommand) - .de(de_ListFunctionUrlConfigsCommand) + .sc(ListFunctionUrlConfigs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListFunctionsByCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/ListFunctionsByCodeSigningConfigCommand.ts index 1f1cae8e91e9..1f80f1ced9ff 100644 --- a/clients/client-lambda/src/commands/ListFunctionsByCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/ListFunctionsByCodeSigningConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListFunctionsByCodeSigningConfigRequest, ListFunctionsByCodeSigningConfigResponse } from "../models/models_0"; -import { - de_ListFunctionsByCodeSigningConfigCommand, - se_ListFunctionsByCodeSigningConfigCommand, -} from "../protocols/Aws_restJson1"; +import { ListFunctionsByCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -87,16 +83,12 @@ export class ListFunctionsByCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListFunctionsByCodeSigningConfig", {}) .n("LambdaClient", "ListFunctionsByCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_ListFunctionsByCodeSigningConfigCommand) - .de(de_ListFunctionsByCodeSigningConfigCommand) + .sc(ListFunctionsByCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListFunctionsCommand.ts b/clients/client-lambda/src/commands/ListFunctionsCommand.ts index 2cfe8d674042..857282293149 100644 --- a/clients/client-lambda/src/commands/ListFunctionsCommand.ts +++ b/clients/client-lambda/src/commands/ListFunctionsCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,7 +10,7 @@ import { ListFunctionsResponse, ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_ListFunctionsCommand, se_ListFunctionsCommand } from "../protocols/Aws_restJson1"; +import { ListFunctions } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -253,16 +252,12 @@ export class ListFunctionsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListFunctions", {}) .n("LambdaClient", "ListFunctionsCommand") .f(void 0, ListFunctionsResponseFilterSensitiveLog) - .ser(se_ListFunctionsCommand) - .de(de_ListFunctionsCommand) + .sc(ListFunctions) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts b/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts index 20b4a25a2b00..bed2bae88093 100644 --- a/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts +++ b/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListLayerVersionsRequest, ListLayerVersionsResponse } from "../models/models_0"; -import { de_ListLayerVersionsCommand, se_ListLayerVersionsCommand } from "../protocols/Aws_restJson1"; +import { ListLayerVersions } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -136,16 +135,12 @@ export class ListLayerVersionsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListLayerVersions", {}) .n("LambdaClient", "ListLayerVersionsCommand") .f(void 0, void 0) - .ser(se_ListLayerVersionsCommand) - .de(de_ListLayerVersionsCommand) + .sc(ListLayerVersions) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListLayersCommand.ts b/clients/client-lambda/src/commands/ListLayersCommand.ts index 100b14879d80..52dcf9a2aa1f 100644 --- a/clients/client-lambda/src/commands/ListLayersCommand.ts +++ b/clients/client-lambda/src/commands/ListLayersCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListLayersRequest, ListLayersResponse } from "../models/models_0"; -import { de_ListLayersCommand, se_ListLayersCommand } from "../protocols/Aws_restJson1"; +import { ListLayers } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -134,16 +133,12 @@ export class ListLayersCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListLayers", {}) .n("LambdaClient", "ListLayersCommand") .f(void 0, void 0) - .ser(se_ListLayersCommand) - .de(de_ListLayersCommand) + .sc(ListLayers) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListProvisionedConcurrencyConfigsCommand.ts b/clients/client-lambda/src/commands/ListProvisionedConcurrencyConfigsCommand.ts index d25cd0116ff6..a688d5002198 100644 --- a/clients/client-lambda/src/commands/ListProvisionedConcurrencyConfigsCommand.ts +++ b/clients/client-lambda/src/commands/ListProvisionedConcurrencyConfigsCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,10 +9,7 @@ import { ListProvisionedConcurrencyConfigsRequest, ListProvisionedConcurrencyConfigsResponse, } from "../models/models_0"; -import { - de_ListProvisionedConcurrencyConfigsCommand, - se_ListProvisionedConcurrencyConfigsCommand, -} from "../protocols/Aws_restJson1"; +import { ListProvisionedConcurrencyConfigs } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -133,16 +129,12 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListProvisionedConcurrencyConfigs", {}) .n("LambdaClient", "ListProvisionedConcurrencyConfigsCommand") .f(void 0, void 0) - .ser(se_ListProvisionedConcurrencyConfigsCommand) - .de(de_ListProvisionedConcurrencyConfigsCommand) + .sc(ListProvisionedConcurrencyConfigs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListTagsCommand.ts b/clients/client-lambda/src/commands/ListTagsCommand.ts index 39b05e7d10ab..915f1baec84d 100644 --- a/clients/client-lambda/src/commands/ListTagsCommand.ts +++ b/clients/client-lambda/src/commands/ListTagsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { ListTagsRequest, ListTagsResponse } from "../models/models_0"; -import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_restJson1"; +import { ListTags } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -101,16 +100,12 @@ export class ListTagsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListTags", {}) .n("LambdaClient", "ListTagsCommand") .f(void 0, void 0) - .ser(se_ListTagsCommand) - .de(de_ListTagsCommand) + .sc(ListTags) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts b/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts index 37880e27a807..1feee9f20f23 100644 --- a/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts +++ b/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,7 +10,7 @@ import { ListVersionsByFunctionResponse, ListVersionsByFunctionResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_ListVersionsByFunctionCommand, se_ListVersionsByFunctionCommand } from "../protocols/Aws_restJson1"; +import { ListVersionsByFunction } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -258,16 +257,12 @@ export class ListVersionsByFunctionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "ListVersionsByFunction", {}) .n("LambdaClient", "ListVersionsByFunctionCommand") .f(void 0, ListVersionsByFunctionResponseFilterSensitiveLog) - .ser(se_ListVersionsByFunctionCommand) - .de(de_ListVersionsByFunctionCommand) + .sc(ListVersionsByFunction) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts b/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts index e3bd3d4a94aa..f490e3322061 100644 --- a/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts +++ b/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,7 +10,7 @@ import { PublishLayerVersionRequestFilterSensitiveLog, PublishLayerVersionResponse, } from "../models/models_0"; -import { de_PublishLayerVersionCommand, se_PublishLayerVersionCommand } from "../protocols/Aws_restJson1"; +import { PublishLayerVersion } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -161,16 +160,12 @@ export class PublishLayerVersionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PublishLayerVersion", {}) .n("LambdaClient", "PublishLayerVersionCommand") .f(PublishLayerVersionRequestFilterSensitiveLog, void 0) - .ser(se_PublishLayerVersionCommand) - .de(de_PublishLayerVersionCommand) + .sc(PublishLayerVersion) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PublishVersionCommand.ts b/clients/client-lambda/src/commands/PublishVersionCommand.ts index 27d412794462..d98292fcc021 100644 --- a/clients/client-lambda/src/commands/PublishVersionCommand.ts +++ b/clients/client-lambda/src/commands/PublishVersionCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,7 +10,7 @@ import { FunctionConfigurationFilterSensitiveLog, PublishVersionRequest, } from "../models/models_0"; -import { de_PublishVersionCommand, se_PublishVersionCommand } from "../protocols/Aws_restJson1"; +import { PublishVersion } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -253,16 +252,12 @@ export class PublishVersionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PublishVersion", {}) .n("LambdaClient", "PublishVersionCommand") .f(void 0, FunctionConfigurationFilterSensitiveLog) - .ser(se_PublishVersionCommand) - .de(de_PublishVersionCommand) + .sc(PublishVersion) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/PutFunctionCodeSigningConfigCommand.ts index be1374aed4ae..58b9db6be095 100644 --- a/clients/client-lambda/src/commands/PutFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/PutFunctionCodeSigningConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { PutFunctionCodeSigningConfigRequest, PutFunctionCodeSigningConfigResponse } from "../models/models_0"; -import { - de_PutFunctionCodeSigningConfigCommand, - se_PutFunctionCodeSigningConfigCommand, -} from "../protocols/Aws_restJson1"; +import { PutFunctionCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -93,16 +89,12 @@ export class PutFunctionCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutFunctionCodeSigningConfig", {}) .n("LambdaClient", "PutFunctionCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_PutFunctionCodeSigningConfigCommand) - .de(de_PutFunctionCodeSigningConfigCommand) + .sc(PutFunctionCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutFunctionConcurrencyCommand.ts b/clients/client-lambda/src/commands/PutFunctionConcurrencyCommand.ts index e177b59dcb79..215e4a5d6e20 100644 --- a/clients/client-lambda/src/commands/PutFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/src/commands/PutFunctionConcurrencyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { Concurrency, PutFunctionConcurrencyRequest } from "../models/models_0"; -import { de_PutFunctionConcurrencyCommand, se_PutFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; +import { PutFunctionConcurrency } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -108,16 +107,12 @@ export class PutFunctionConcurrencyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutFunctionConcurrency", {}) .n("LambdaClient", "PutFunctionConcurrencyCommand") .f(void 0, void 0) - .ser(se_PutFunctionConcurrencyCommand) - .de(de_PutFunctionConcurrencyCommand) + .sc(PutFunctionConcurrency) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/src/commands/PutFunctionEventInvokeConfigCommand.ts index 650322d9f702..460b6c361b7d 100644 --- a/clients/client-lambda/src/commands/PutFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/src/commands/PutFunctionEventInvokeConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { FunctionEventInvokeConfig, PutFunctionEventInvokeConfigRequest } from "../models/models_0"; -import { - de_PutFunctionEventInvokeConfigCommand, - se_PutFunctionEventInvokeConfigCommand, -} from "../protocols/Aws_restJson1"; +import { PutFunctionEventInvokeConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -145,16 +141,12 @@ export class PutFunctionEventInvokeConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutFunctionEventInvokeConfig", {}) .n("LambdaClient", "PutFunctionEventInvokeConfigCommand") .f(void 0, void 0) - .ser(se_PutFunctionEventInvokeConfigCommand) - .de(de_PutFunctionEventInvokeConfigCommand) + .sc(PutFunctionEventInvokeConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutFunctionRecursionConfigCommand.ts b/clients/client-lambda/src/commands/PutFunctionRecursionConfigCommand.ts index 9037dc6edf15..fc1fd131a4db 100644 --- a/clients/client-lambda/src/commands/PutFunctionRecursionConfigCommand.ts +++ b/clients/client-lambda/src/commands/PutFunctionRecursionConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { PutFunctionRecursionConfigRequest, PutFunctionRecursionConfigResponse } from "../models/models_0"; -import { de_PutFunctionRecursionConfigCommand, se_PutFunctionRecursionConfigCommand } from "../protocols/Aws_restJson1"; +import { PutFunctionRecursionConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -89,16 +88,12 @@ export class PutFunctionRecursionConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutFunctionRecursionConfig", {}) .n("LambdaClient", "PutFunctionRecursionConfigCommand") .f(void 0, void 0) - .ser(se_PutFunctionRecursionConfigCommand) - .de(de_PutFunctionRecursionConfigCommand) + .sc(PutFunctionRecursionConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/src/commands/PutProvisionedConcurrencyConfigCommand.ts index 7ff476c69bf8..cb474d06a8c9 100644 --- a/clients/client-lambda/src/commands/PutProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/src/commands/PutProvisionedConcurrencyConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { PutProvisionedConcurrencyConfigRequest, PutProvisionedConcurrencyConfigResponse } from "../models/models_0"; -import { - de_PutProvisionedConcurrencyConfigCommand, - se_PutProvisionedConcurrencyConfigCommand, -} from "../protocols/Aws_restJson1"; +import { PutProvisionedConcurrencyConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -115,16 +111,12 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutProvisionedConcurrencyConfig", {}) .n("LambdaClient", "PutProvisionedConcurrencyConfigCommand") .f(void 0, void 0) - .ser(se_PutProvisionedConcurrencyConfigCommand) - .de(de_PutProvisionedConcurrencyConfigCommand) + .sc(PutProvisionedConcurrencyConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/PutRuntimeManagementConfigCommand.ts b/clients/client-lambda/src/commands/PutRuntimeManagementConfigCommand.ts index 9afacb60b682..c5daed29dfd9 100644 --- a/clients/client-lambda/src/commands/PutRuntimeManagementConfigCommand.ts +++ b/clients/client-lambda/src/commands/PutRuntimeManagementConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { PutRuntimeManagementConfigRequest, PutRuntimeManagementConfigResponse } from "../models/models_0"; -import { de_PutRuntimeManagementConfigCommand, se_PutRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1"; +import { PutRuntimeManagementConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -88,16 +87,12 @@ export class PutRuntimeManagementConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "PutRuntimeManagementConfig", {}) .n("LambdaClient", "PutRuntimeManagementConfigCommand") .f(void 0, void 0) - .ser(se_PutRuntimeManagementConfigCommand) - .de(de_PutRuntimeManagementConfigCommand) + .sc(PutRuntimeManagementConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/RemoveLayerVersionPermissionCommand.ts b/clients/client-lambda/src/commands/RemoveLayerVersionPermissionCommand.ts index 0b2cd041b946..f3ea51d7dfbf 100644 --- a/clients/client-lambda/src/commands/RemoveLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/src/commands/RemoveLayerVersionPermissionCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { RemoveLayerVersionPermissionRequest } from "../models/models_0"; -import { - de_RemoveLayerVersionPermissionCommand, - se_RemoveLayerVersionPermissionCommand, -} from "../protocols/Aws_restJson1"; +import { RemoveLayerVersionPermission } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -111,16 +107,12 @@ export class RemoveLayerVersionPermissionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "RemoveLayerVersionPermission", {}) .n("LambdaClient", "RemoveLayerVersionPermissionCommand") .f(void 0, void 0) - .ser(se_RemoveLayerVersionPermissionCommand) - .de(de_RemoveLayerVersionPermissionCommand) + .sc(RemoveLayerVersionPermission) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/RemovePermissionCommand.ts b/clients/client-lambda/src/commands/RemovePermissionCommand.ts index 736203a79402..92f12c6853f7 100644 --- a/clients/client-lambda/src/commands/RemovePermissionCommand.ts +++ b/clients/client-lambda/src/commands/RemovePermissionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { RemovePermissionRequest } from "../models/models_0"; -import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1"; +import { RemovePermission } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -107,16 +106,12 @@ export class RemovePermissionCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "RemovePermission", {}) .n("LambdaClient", "RemovePermissionCommand") .f(void 0, void 0) - .ser(se_RemovePermissionCommand) - .de(de_RemovePermissionCommand) + .sc(RemovePermission) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/TagResourceCommand.ts b/clients/client-lambda/src/commands/TagResourceCommand.ts index 057e2b92d06c..511d35b8af68 100644 --- a/clients/client-lambda/src/commands/TagResourceCommand.ts +++ b/clients/client-lambda/src/commands/TagResourceCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { TagResourceRequest } from "../models/models_0"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; +import { TagResource } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -97,16 +96,12 @@ export class TagResourceCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "TagResource", {}) .n("LambdaClient", "TagResourceCommand") .f(void 0, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) + .sc(TagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UntagResourceCommand.ts b/clients/client-lambda/src/commands/UntagResourceCommand.ts index 536947708814..2aeb6e8ac2a2 100644 --- a/clients/client-lambda/src/commands/UntagResourceCommand.ts +++ b/clients/client-lambda/src/commands/UntagResourceCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { UntagResourceRequest } from "../models/models_0"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; +import { UntagResource } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -97,16 +96,12 @@ export class UntagResourceCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UntagResource", {}) .n("LambdaClient", "UntagResourceCommand") .f(void 0, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) + .sc(UntagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateAliasCommand.ts b/clients/client-lambda/src/commands/UpdateAliasCommand.ts index dfa91e4492ce..864e5c9c99a5 100644 --- a/clients/client-lambda/src/commands/UpdateAliasCommand.ts +++ b/clients/client-lambda/src/commands/UpdateAliasCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { AliasConfiguration, UpdateAliasRequest } from "../models/models_0"; -import { de_UpdateAliasCommand, se_UpdateAliasCommand } from "../protocols/Aws_restJson1"; +import { UpdateAlias } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -145,16 +144,12 @@ export class UpdateAliasCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateAlias", {}) .n("LambdaClient", "UpdateAliasCommand") .f(void 0, void 0) - .ser(se_UpdateAliasCommand) - .de(de_UpdateAliasCommand) + .sc(UpdateAlias) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateCodeSigningConfigCommand.ts b/clients/client-lambda/src/commands/UpdateCodeSigningConfigCommand.ts index 6e1f49d62aec..5bc9804039f0 100644 --- a/clients/client-lambda/src/commands/UpdateCodeSigningConfigCommand.ts +++ b/clients/client-lambda/src/commands/UpdateCodeSigningConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { UpdateCodeSigningConfigRequest, UpdateCodeSigningConfigResponse } from "../models/models_0"; -import { de_UpdateCodeSigningConfigCommand, se_UpdateCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { UpdateCodeSigningConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -99,16 +98,12 @@ export class UpdateCodeSigningConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateCodeSigningConfig", {}) .n("LambdaClient", "UpdateCodeSigningConfigCommand") .f(void 0, void 0) - .ser(se_UpdateCodeSigningConfigCommand) - .de(de_UpdateCodeSigningConfigCommand) + .sc(UpdateCodeSigningConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateEventSourceMappingCommand.ts b/clients/client-lambda/src/commands/UpdateEventSourceMappingCommand.ts index 8378bab35a28..d5f03e9c6f28 100644 --- a/clients/client-lambda/src/commands/UpdateEventSourceMappingCommand.ts +++ b/clients/client-lambda/src/commands/UpdateEventSourceMappingCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { EventSourceMappingConfiguration, UpdateEventSourceMappingRequest } from "../models/models_0"; -import { de_UpdateEventSourceMappingCommand, se_UpdateEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { UpdateEventSourceMapping } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -362,16 +361,12 @@ export class UpdateEventSourceMappingCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateEventSourceMapping", {}) .n("LambdaClient", "UpdateEventSourceMappingCommand") .f(void 0, void 0) - .ser(se_UpdateEventSourceMappingCommand) - .de(de_UpdateEventSourceMappingCommand) + .sc(UpdateEventSourceMapping) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts index 292cb12bef7c..ffd2110463b6 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,7 +11,7 @@ import { UpdateFunctionCodeRequest, UpdateFunctionCodeRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_UpdateFunctionCodeCommand, se_UpdateFunctionCodeCommand } from "../protocols/Aws_restJson1"; +import { UpdateFunctionCode } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -274,16 +273,12 @@ export class UpdateFunctionCodeCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateFunctionCode", {}) .n("LambdaClient", "UpdateFunctionCodeCommand") .f(UpdateFunctionCodeRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog) - .ser(se_UpdateFunctionCodeCommand) - .de(de_UpdateFunctionCodeCommand) + .sc(UpdateFunctionCode) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts index 0cc5187a95ee..425d062ae9ca 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,10 +11,7 @@ import { UpdateFunctionConfigurationRequest, UpdateFunctionConfigurationRequestFilterSensitiveLog, } from "../models/models_0"; -import { - de_UpdateFunctionConfigurationCommand, - se_UpdateFunctionConfigurationCommand, -} from "../protocols/Aws_restJson1"; +import { UpdateFunctionConfiguration } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -315,16 +311,12 @@ export class UpdateFunctionConfigurationCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateFunctionConfiguration", {}) .n("LambdaClient", "UpdateFunctionConfigurationCommand") .f(UpdateFunctionConfigurationRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog) - .ser(se_UpdateFunctionConfigurationCommand) - .de(de_UpdateFunctionConfigurationCommand) + .sc(UpdateFunctionConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionEventInvokeConfigCommand.ts index 9bc4bcfce8ab..7866226143dc 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionEventInvokeConfigCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { FunctionEventInvokeConfig, UpdateFunctionEventInvokeConfigRequest } from "../models/models_0"; -import { - de_UpdateFunctionEventInvokeConfigCommand, - se_UpdateFunctionEventInvokeConfigCommand, -} from "../protocols/Aws_restJson1"; +import { UpdateFunctionEventInvokeConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -138,16 +134,12 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateFunctionEventInvokeConfig", {}) .n("LambdaClient", "UpdateFunctionEventInvokeConfigCommand") .f(void 0, void 0) - .ser(se_UpdateFunctionEventInvokeConfigCommand) - .de(de_UpdateFunctionEventInvokeConfigCommand) + .sc(UpdateFunctionEventInvokeConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/commands/UpdateFunctionUrlConfigCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionUrlConfigCommand.ts index e5da4f52f609..5ad8b3e62f52 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionUrlConfigCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionUrlConfigCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; import { UpdateFunctionUrlConfigRequest, UpdateFunctionUrlConfigResponse } from "../models/models_0"; -import { de_UpdateFunctionUrlConfigCommand, se_UpdateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { UpdateFunctionUrlConfig } from "../schemas/com.amazonaws.lambda"; /** * @public @@ -122,16 +121,12 @@ export class UpdateFunctionUrlConfigCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: LambdaClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "UpdateFunctionUrlConfig", {}) .n("LambdaClient", "UpdateFunctionUrlConfigCommand") .f(void 0, void 0) - .ser(se_UpdateFunctionUrlConfigCommand) - .de(de_UpdateFunctionUrlConfigCommand) + .sc(UpdateFunctionUrlConfig) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-lambda/src/models/models_0.ts b/clients/client-lambda/src/models/models_0.ts index bc8393a8ebf3..09b42094df71 100644 --- a/clients/client-lambda/src/models/models_0.ts +++ b/clients/client-lambda/src/models/models_0.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; - import { StreamingBlobTypes } from "@smithy/types"; import { LambdaServiceException as __BaseException } from "./LambdaServiceException"; diff --git a/clients/client-lambda/src/schemas/com.amazonaws.lambda.ts b/clients/client-lambda/src/schemas/com.amazonaws.lambda.ts new file mode 100644 index 000000000000..5be0c9d408cf --- /dev/null +++ b/clients/client-lambda/src/schemas/com.amazonaws.lambda.ts @@ -0,0 +1,3634 @@ +const _A = "Action"; +const _AA = "AliasArn"; +const _AC = "AllowCredentials"; +const _ACl = "AliasConfiguration"; +const _AH = "AllowHeaders"; +const _AL = "ArchitecturesList"; +const _ALL = "ApplicationLogLevel"; +const _ALVP = "AddLayerVersionPermission"; +const _ALVPR = "AddLayerVersionPermissionRequest"; +const _ALVPRd = "AddLayerVersionPermissionResponse"; +const _ALc = "AccountLimit"; +const _ALl = "AliasList"; +const _AM = "AllowMethods"; +const _AMKESC = "AmazonManagedKafkaEventSourceConfig"; +const _AML = "AllowMethodsList"; +const _AO = "AllowOrigins"; +const _AOL = "AllowOriginsList"; +const _AOp = "ApplyOn"; +const _AP = "AllowedPublishers"; +const _APCE = "AvailableProvisionedConcurrentExecutions"; +const _APCEl = "AllocatedProvisionedConcurrentExecutions"; +const _APR = "AddPermissionRequest"; +const _APRd = "AddPermissionResponse"; +const _APd = "AddPermission"; +const _ARC = "AliasRoutingConfiguration"; +const _AT = "AuthType"; +const _AU = "AccountUsage"; +const _AV = "AdditionalVersion"; +const _AVW = "AdditionalVersionWeights"; +const _Al = "Alias"; +const _Ali = "Aliases"; +const _Ar = "Arn"; +const _Arc = "Architecture"; +const _Arch = "Architectures"; +const _B = "Blob"; +const _BBOFE = "BisectBatchOnFunctionError"; +const _BS = "BatchSize"; +const _BSl = "BlobStream"; +const _Bo = "Boolean"; +const _C = "Concurrency"; +const _CA = "CompatibleArchitectures"; +const _CAR = "CreateAliasRequest"; +const _CAo = "CompatibleArchitecture"; +const _CAr = "CreateAlias"; +const _CC = "ClientContext"; +const _CCSC = "CreateCodeSigningConfig"; +const _CCSCR = "CreateCodeSigningConfigRequest"; +const _CCSCRr = "CreateCodeSigningConfigResponse"; +const _CD = "CreatedDate"; +const _CE = "ConcurrentExecutions"; +const _CESM = "CreateEventSourceMapping"; +const _CESMR = "CreateEventSourceMappingRequest"; +const _CF = "CreateFunction"; +const _CFR = "CreateFunctionRequest"; +const _CFUC = "CreateFunctionUrlConfig"; +const _CFUCR = "CreateFunctionUrlConfigRequest"; +const _CFUCRr = "CreateFunctionUrlConfigResponse"; +const _CGI = "ConsumerGroupId"; +const _CN = "CollectionName"; +const _CR = "CompatibleRuntimes"; +const _CRo = "CompatibleRuntime"; +const _CS = "CodeSize"; +const _CSC = "CodeSigningConfig"; +const _CSCA = "CodeSigningConfigArn"; +const _CSCI = "CodeSigningConfigId"; +const _CSCL = "CodeSigningConfigList"; +const _CSCNFE = "CodeSigningConfigNotFoundException"; +const _CSCo = "CodeSigningConfigs"; +const _CSEE = "CodeStorageExceededException"; +const _CSP = "CodeSigningPolicy"; +const _CSPo = "CodeSigningPolicies"; +const _CSU = "CodeSizeUnzipped"; +const _CSZ = "CodeSizeZipped"; +const _CSo = "CodeSha256"; +const _CT = "CreationTime"; +const _CT_ = "Content-Type"; +const _CVFE = "CodeVerificationFailedException"; +const _Co = "Cors"; +const _Cod = "Code"; +const _Com = "Command"; +const _Con = "Configuration"; +const _Cont = "Content"; +const _D = "Description"; +const _DA = "DestinationArn"; +const _DAR = "DeleteAliasRequest"; +const _DAe = "DeleteAlias"; +const _DC = "DestinationConfig"; +const _DCSC = "DeleteCodeSigningConfig"; +const _DCSCR = "DeleteCodeSigningConfigRequest"; +const _DCSCRe = "DeleteCodeSigningConfigResponse"; +const _DDBESC = "DocumentDBEventSourceConfig"; +const _DESM = "DeleteEventSourceMapping"; +const _DESMR = "DeleteEventSourceMappingRequest"; +const _DF = "DeleteFunction"; +const _DFC = "DeleteFunctionConcurrency"; +const _DFCR = "DeleteFunctionConcurrencyRequest"; +const _DFCSC = "DeleteFunctionCodeSigningConfig"; +const _DFCSCR = "DeleteFunctionCodeSigningConfigRequest"; +const _DFEIC = "DeleteFunctionEventInvokeConfig"; +const _DFEICR = "DeleteFunctionEventInvokeConfigRequest"; +const _DFR = "DeleteFunctionRequest"; +const _DFUC = "DeleteFunctionUrlConfig"; +const _DFUCR = "DeleteFunctionUrlConfigRequest"; +const _DLC = "DeadLetterConfig"; +const _DLV = "DeleteLayerVersion"; +const _DLVR = "DeleteLayerVersionRequest"; +const _DN = "DatabaseName"; +const _DPCC = "DeleteProvisionedConcurrencyConfig"; +const _DPCCR = "DeleteProvisionedConcurrencyConfigRequest"; +const _DR = "DryRun"; +const _Da = "Date"; +const _De = "Destination"; +const _E = "Enabled"; +const _EC = "ErrorCode"; +const _ECADE = "EC2AccessDeniedException"; +const _ECEC = "EC2ErrorCode"; +const _ECTE = "EC2ThrottledException"; +const _ECUE = "EC2UnexpectedException"; +const _ED = "ErrorDetails"; +const _EE = "EnvironmentError"; +const _EFSIOE = "EFSIOException"; +const _EFSMCE = "EFSMountConnectivityException"; +const _EFSMFE = "EFSMountFailureException"; +const _EFSMTE = "EFSMountTimeoutException"; +const _EH = "ExposeHeaders"; +const _EL = "EndpointLists"; +const _ENILRE = "ENILimitReachedException"; +const _EP = "EntryPoint"; +const _EPT = "EndPointType"; +const _ER = "EnvironmentResponse"; +const _ES = "EphemeralStorage"; +const _ESA = "EventSourceArn"; +const _ESM = "EventSourceMappings"; +const _ESMA = "EventSourceMappingArn"; +const _ESMC = "EventSourceMappingConfiguration"; +const _ESML = "EventSourceMappingsList"; +const _ESMM = "EventSourceMappingMetric"; +const _ESMMC = "EventSourceMappingMetricsConfig"; +const _ESMML = "EventSourceMappingMetricList"; +const _ESP = "EventSourcePosition"; +const _ESS = "EphemeralStorageSize"; +const _EST = "EventSourceToken"; +const _ESv = "EventStream"; +const _EV = "EnvironmentVariables"; +const _EVN = "EnvironmentVariableName"; +const _EVV = "EnvironmentVariableValue"; +const _EVx = "ExecutedVersion"; +const _En = "Endpoint"; +const _End = "Endpoints"; +const _Env = "Environment"; +const _Er = "Error"; +const _F = "Filter"; +const _FA = "FunctionArn"; +const _FAL = "FunctionArnList"; +const _FAu = "FunctionArns"; +const _FC = "FunctionCount"; +const _FCE = "FilterCriteriaError"; +const _FCEC = "FilterCriteriaErrorCode"; +const _FCEM = "FilterCriteriaErrorMessage"; +const _FCL = "FunctionCodeLocation"; +const _FCi = "FilterCriteria"; +const _FCu = "FunctionCode"; +const _FCun = "FunctionConfiguration"; +const _FD = "FullDocument"; +const _FE = "FunctionError"; +const _FEIC = "FunctionEventInvokeConfig"; +const _FEICL = "FunctionEventInvokeConfigList"; +const _FEICu = "FunctionEventInvokeConfigs"; +const _FL = "FilterList"; +const _FLu = "FunctionList"; +const _FN = "FunctionName"; +const _FRT = "FunctionResponseType"; +const _FRTL = "FunctionResponseTypeList"; +const _FRTu = "FunctionResponseTypes"; +const _FSA = "FileSystemArn"; +const _FSC = "FileSystemConfigs"; +const _FSCL = "FileSystemConfigList"; +const _FSCi = "FileSystemConfig"; +const _FU = "FunctionUrl"; +const _FUAT = "FunctionUrlAuthType"; +const _FUC = "FunctionUrlConfig"; +const _FUCL = "FunctionUrlConfigList"; +const _FUCu = "FunctionUrlConfigs"; +const _FUQ = "FunctionUrlQualifier"; +const _FV = "FunctionVersion"; +const _Fi = "Filters"; +const _Fu = "Functions"; +const _GA = "GetAlias"; +const _GAR = "GetAliasRequest"; +const _GAS = "GetAccountSettings"; +const _GASR = "GetAccountSettingsRequest"; +const _GASRe = "GetAccountSettingsResponse"; +const _GCSC = "GetCodeSigningConfig"; +const _GCSCR = "GetCodeSigningConfigRequest"; +const _GCSCRe = "GetCodeSigningConfigResponse"; +const _GESM = "GetEventSourceMapping"; +const _GESMR = "GetEventSourceMappingRequest"; +const _GF = "GetFunction"; +const _GFC = "GetFunctionConcurrency"; +const _GFCR = "GetFunctionConcurrencyRequest"; +const _GFCRe = "GetFunctionConcurrencyResponse"; +const _GFCRet = "GetFunctionConfigurationRequest"; +const _GFCSC = "GetFunctionCodeSigningConfig"; +const _GFCSCR = "GetFunctionCodeSigningConfigRequest"; +const _GFCSCRe = "GetFunctionCodeSigningConfigResponse"; +const _GFCe = "GetFunctionConfiguration"; +const _GFEIC = "GetFunctionEventInvokeConfig"; +const _GFEICR = "GetFunctionEventInvokeConfigRequest"; +const _GFR = "GetFunctionRequest"; +const _GFRC = "GetFunctionRecursionConfig"; +const _GFRCR = "GetFunctionRecursionConfigRequest"; +const _GFRCRe = "GetFunctionRecursionConfigResponse"; +const _GFRe = "GetFunctionResponse"; +const _GFUC = "GetFunctionUrlConfig"; +const _GFUCR = "GetFunctionUrlConfigRequest"; +const _GFUCRe = "GetFunctionUrlConfigResponse"; +const _GLV = "GetLayerVersion"; +const _GLVBA = "GetLayerVersionByArn"; +const _GLVBAR = "GetLayerVersionByArnRequest"; +const _GLVP = "GetLayerVersionPolicy"; +const _GLVPR = "GetLayerVersionPolicyRequest"; +const _GLVPRe = "GetLayerVersionPolicyResponse"; +const _GLVR = "GetLayerVersionRequest"; +const _GLVRe = "GetLayerVersionResponse"; +const _GP = "GetPolicy"; +const _GPCC = "GetProvisionedConcurrencyConfig"; +const _GPCCR = "GetProvisionedConcurrencyConfigRequest"; +const _GPCCRe = "GetProvisionedConcurrencyConfigResponse"; +const _GPR = "GetPolicyRequest"; +const _GPRe = "GetPolicyResponse"; +const _GRMC = "GetRuntimeManagementConfig"; +const _GRMCR = "GetRuntimeManagementConfigRequest"; +const _GRMCRe = "GetRuntimeManagementConfigResponse"; +const _H = "Handler"; +const _HL = "HeadersList"; +const _HS = "HttpStatus"; +const _He = "Header"; +const _I = "Integer"; +const _IA = "InvokeArgs"; +const _IAFDS = "Ipv6AllowedForDualStack"; +const _IAR = "InvokeAsyncRequest"; +const _IARn = "InvokeAsyncResponse"; +const _IAn = "InvokeAsync"; +const _IC = "ImageConfig"; +const _ICE = "ImageConfigError"; +const _ICR = "ImageConfigResponse"; +const _ICSE = "InvalidCodeSignatureException"; +const _ICn = "InvokeComplete"; +const _IM = "InvokeMode"; +const _IPVE = "InvalidParameterValueException"; +const _IR = "InvocationRequest"; +const _IRCE = "InvalidRequestContentException"; +const _IRE = "InvalidRuntimeException"; +const _IRSU = "InvokeResponseStreamUpdate"; +const _IRn = "InvocationResponse"; +const _ISGIDE = "InvalidSecurityGroupIDException"; +const _ISIDE = "InvalidSubnetIDException"; +const _IT = "InvocationType"; +const _IU = "ImageUri"; +const _IWRS = "InvokeWithResponseStream"; +const _IWRSCE = "InvokeWithResponseStreamCompleteEvent"; +const _IWRSR = "InvokeWithResponseStreamRequest"; +const _IWRSRE = "InvokeWithResponseStreamResponseEvent"; +const _IWRSRn = "InvokeWithResponseStreamResponse"; +const _IZFE = "InvalidZipFileException"; +const _In = "Invoke"; +const _KMSADE = "KMSAccessDeniedException"; +const _KMSDE = "KMSDisabledException"; +const _KMSISE = "KMSInvalidStateException"; +const _KMSKA = "KMSKeyArn"; +const _KMSNFE = "KMSNotFoundException"; +const _L = "Long"; +const _LA = "LayerArn"; +const _LAR = "ListAliasesRequest"; +const _LARi = "ListAliasesResponse"; +const _LAi = "ListAliases"; +const _LC = "LoggingConfig"; +const _LCSC = "ListCodeSigningConfigs"; +const _LCSCR = "ListCodeSigningConfigsRequest"; +const _LCSCRi = "ListCodeSigningConfigsResponse"; +const _LESM = "ListEventSourceMappings"; +const _LESMR = "ListEventSourceMappingsRequest"; +const _LESMRi = "ListEventSourceMappingsResponse"; +const _LF = "LogFormat"; +const _LFBCSC = "ListFunctionsByCodeSigningConfig"; +const _LFBCSCR = "ListFunctionsByCodeSigningConfigRequest"; +const _LFBCSCRi = "ListFunctionsByCodeSigningConfigResponse"; +const _LFEIC = "ListFunctionEventInvokeConfigs"; +const _LFEICR = "ListFunctionEventInvokeConfigsRequest"; +const _LFEICRi = "ListFunctionEventInvokeConfigsResponse"; +const _LFR = "ListFunctionsRequest"; +const _LFRi = "ListFunctionsResponse"; +const _LFUC = "ListFunctionUrlConfigs"; +const _LFUCR = "ListFunctionUrlConfigsRequest"; +const _LFUCRi = "ListFunctionUrlConfigsResponse"; +const _LFi = "ListFunctions"; +const _LG = "LogGroup"; +const _LI = "LicenseInfo"; +const _LL = "LayerList"; +const _LLI = "LayersListItem"; +const _LLR = "ListLayersRequest"; +const _LLRi = "ListLayersResponse"; +const _LLV = "ListLayerVersions"; +const _LLVR = "ListLayerVersionsRequest"; +const _LLVRi = "ListLayerVersionsResponse"; +const _LLa = "LayersList"; +const _LLi = "ListLayers"; +const _LM = "LastModified"; +const _LMP = "LocalMountPath"; +const _LMT = "LastModifiedTime"; +const _LMV = "LatestMatchingVersion"; +const _LN = "LayerName"; +const _LPAA = "LayerPermissionAllowedAction"; +const _LPAP = "LayerPermissionAllowedPrincipal"; +const _LPCC = "ListProvisionedConcurrencyConfigs"; +const _LPCCR = "ListProvisionedConcurrencyConfigsRequest"; +const _LPCCRi = "ListProvisionedConcurrencyConfigsResponse"; +const _LPR = "LastProcessingResult"; +const _LR = "LogResult"; +const _LRL = "LayersReferenceList"; +const _LT = "LogType"; +const _LTR = "ListTagsRequest"; +const _LTRi = "ListTagsResponse"; +const _LTi = "ListTags"; +const _LUS = "LastUpdateStatus"; +const _LUSR = "LastUpdateStatusReason"; +const _LUSRC = "LastUpdateStatusReasonCode"; +const _LV = "LayerVersions"; +const _LVA = "LayerVersionArn"; +const _LVBF = "ListVersionsByFunction"; +const _LVBFR = "ListVersionsByFunctionRequest"; +const _LVBFRi = "ListVersionsByFunctionResponse"; +const _LVCI = "LayerVersionContentInput"; +const _LVCO = "LayerVersionContentOutput"; +const _LVL = "LayerVersionsList"; +const _LVLI = "LayerVersionsListItem"; +const _LVN = "LayerVersionNumber"; +const _La = "Layers"; +const _Lay = "Layer"; +const _Lo = "Location"; +const _M = "Method"; +const _MA = "MaxAge"; +const _MAa = "MasterArn"; +const _MBWIS = "MaximumBatchingWindowInSeconds"; +const _MC = "MaximumConcurrency"; +const _MCe = "MetricsConfig"; +const _MEAIS = "MaximumEventAgeInSeconds"; +const _MFEICLI = "MaxFunctionEventInvokeConfigListItems"; +const _MI = "MaxItems"; +const _MLI = "MaxListItems"; +const _MLLI = "MaxLayerListItems"; +const _MNOP = "MinimumNumberOfPollers"; +const _MNOPa = "MaximumNumberOfPollers"; +const _MP = "MinimumPollers"; +const _MPCCLI = "MaxProvisionedConcurrencyConfigListItems"; +const _MPa = "MaximumPollers"; +const _MR = "MasterRegion"; +const _MRA = "MaximumRetryAttempts"; +const _MRAESM = "MaximumRetryAttemptsEventSourceMapping"; +const _MRAIS = "MaximumRecordAgeInSeconds"; +const _MS = "MemorySize"; +const _Ma = "Marker"; +const _Me = "Message"; +const _Met = "Metrics"; +const _Mo = "Mode"; +const _N = "Name"; +const _NB = "NullableBoolean"; +const _NFN = "NamespacedFunctionName"; +const _NM = "NextMarker"; +const _NNI = "NonNegativeInteger"; +const _NSFA = "NameSpacedFunctionArn"; +const _NSI = "NamespacedStatementId"; +const _O = "Origin"; +const _OF = "OnFailure"; +const _OI = "OrganizationId"; +const _OS = "OnSuccess"; +const _OSp = "OptimizationStatus"; +const _P = "Principal"; +const _PC = "PayloadChunk"; +const _PCC = "ProvisionedConcurrencyConfigs"; +const _PCCL = "ProvisionedConcurrencyConfigList"; +const _PCCLI = "ProvisionedConcurrencyConfigListItem"; +const _PCCNFE = "ProvisionedConcurrencyConfigNotFoundException"; +const _PCE = "ProvisionedConcurrentExecutions"; +const _PCSE = "ProvisionedConcurrencyStatusEnum"; +const _PF = "ParallelizationFactor"; +const _PFC = "PutFunctionConcurrency"; +const _PFCR = "PutFunctionConcurrencyRequest"; +const _PFCSC = "PutFunctionCodeSigningConfig"; +const _PFCSCR = "PutFunctionCodeSigningConfigRequest"; +const _PFCSCRu = "PutFunctionCodeSigningConfigResponse"; +const _PFE = "PreconditionFailedException"; +const _PFEIC = "PutFunctionEventInvokeConfig"; +const _PFEICR = "PutFunctionEventInvokeConfigRequest"; +const _PFRC = "PutFunctionRecursionConfig"; +const _PFRCR = "PutFunctionRecursionConfigRequest"; +const _PFRCRu = "PutFunctionRecursionConfigResponse"; +const _PI = "PositiveInteger"; +const _PLEE = "PolicyLengthExceededException"; +const _PLV = "PublishLayerVersion"; +const _PLVR = "PublishLayerVersionRequest"; +const _PLVRu = "PublishLayerVersionResponse"; +const _POID = "PrincipalOrgID"; +const _PPC = "ProvisionedPollerConfig"; +const _PPCC = "PutProvisionedConcurrencyConfig"; +const _PPCCR = "PutProvisionedConcurrencyConfigRequest"; +const _PPCCRu = "PutProvisionedConcurrencyConfigResponse"; +const _PRMC = "PutRuntimeManagementConfig"; +const _PRMCR = "PutRuntimeManagementConfigRequest"; +const _PRMCRu = "PutRuntimeManagementConfigResponse"; +const _PT = "PackageType"; +const _PV = "PublishVersion"; +const _PVR = "PublishVersionRequest"; +const _Pa = "Pattern"; +const _Pay = "Payload"; +const _Po = "Policy"; +const _Pu = "Publish"; +const _Q = "Qualifier"; +const _Qu = "Queues"; +const _Que = "Queue"; +const _R = "Runtime"; +const _RA = "RoleArn"; +const _RA_ = "Retry-After"; +const _RAe = "ResourceArn"; +const _RC = "RoutingConfig"; +const _RCE = "ReservedConcurrentExecutions"; +const _RCEe = "ResourceConflictException"; +const _RI = "RevisionId"; +const _RIE = "RecursiveInvocationException"; +const _RIU = "ResolvedImageUri"; +const _RIUE = "ResourceInUseException"; +const _RL = "RecursiveLoop"; +const _RLVP = "RemoveLayerVersionPermission"; +const _RLVPR = "RemoveLayerVersionPermissionRequest"; +const _RNFE = "ResourceNotFoundException"; +const _RNRE = "ResourceNotReadyException"; +const _RP = "RemovePermission"; +const _RPCE = "RequestedProvisionedConcurrentExecutions"; +const _RPR = "RemovePermissionRequest"; +const _RSCT = "ResponseStreamContentType"; +const _RSIT = "ResponseStreamingInvocationType"; +const _RT = "RepositoryType"; +const _RTLE = "RequestTooLargeException"; +const _RVA = "RuntimeVersionArn"; +const _RVC = "RuntimeVersionConfig"; +const _RVE = "RuntimeVersionError"; +const _Re = "Resource"; +const _Rea = "Reason"; +const _Ro = "Role"; +const _S = "String"; +const _SA = "SourceArn"; +const _SAC = "SourceAccessConfigurations"; +const _SACo = "SourceAccessConfiguration"; +const _SAT = "SourceAccessType"; +const _SAo = "SourceAccount"; +const _SB = "S3Bucket"; +const _SC = "ScalingConfig"; +const _SCt = "StatusCode"; +const _SE = "ServiceException"; +const _SGI = "SecurityGroupIds"; +const _SGIe = "SecurityGroupId"; +const _SI = "StatementId"; +const _SIPALRE = "SubnetIPAddressLimitReachedException"; +const _SIu = "SubnetIds"; +const _SIub = "SubnetId"; +const _SJA = "SigningJobArn"; +const _SK = "S3Key"; +const _SKMSKA = "SourceKMSKeyArn"; +const _SL = "StringList"; +const _SLL = "SystemLogLevel"; +const _SMES = "SelfManagedEventSource"; +const _SMKESC = "SelfManagedKafkaEventSourceConfig"; +const _SO = "SourceOwner"; +const _SOV = "S3ObjectVersion"; +const _SP = "StartingPosition"; +const _SPT = "StartingPositionTimestamp"; +const _SPVA = "SigningProfileVersionArns"; +const _SPVAi = "SigningProfileVersionArn"; +const _SR = "StateReason"; +const _SRC = "StateReasonCode"; +const _SRt = "StatusReason"; +const _SS = "SensitiveString"; +const _SSAO = "SnapStartApplyOn"; +const _SSE = "SnapStartException"; +const _SSNRE = "SnapStartNotReadyException"; +const _SSOS = "SnapStartOptimizationStatus"; +const _SSR = "SnapStartResponse"; +const _SSTE = "SnapStartTimeoutException"; +const _SSn = "SnapStart"; +const _STR = "StateTransitionReason"; +const _Si = "Size"; +const _St = "State"; +const _Sta = "Statement"; +const _Stat = "Status"; +const _T = "Tags"; +const _TA = "TargetArn"; +const _TC = "TracingConfig"; +const _TCR = "TracingConfigResponse"; +const _TCS = "TotalCodeSize"; +const _TE = "TagsError"; +const _TEC = "TagsErrorCode"; +const _TEM = "TagsErrorMessage"; +const _TK = "TagKey"; +const _TKL = "TagKeyList"; +const _TKa = "TagKeys"; +const _TM = "TracingMode"; +const _TMRE = "TooManyRequestsException"; +const _TR = "ThrottleReason"; +const _TRR = "TagResourceRequest"; +const _TRa = "TaggableResource"; +const _TRag = "TagResource"; +const _TV = "TagValue"; +const _TWIS = "TumblingWindowInSeconds"; +const _Ti = "Timestamp"; +const _Tim = "Timeout"; +const _To = "Topics"; +const _Top = "Topic"; +const _Ty = "Type"; +const _UA = "UpdateAlias"; +const _UAOD = "UntrustedArtifactOnDeployment"; +const _UAR = "UpdateAliasRequest"; +const _UCE = "UnreservedConcurrentExecutions"; +const _UCSC = "UpdateCodeSigningConfig"; +const _UCSCR = "UpdateCodeSigningConfigRequest"; +const _UCSCRp = "UpdateCodeSigningConfigResponse"; +const _UESM = "UpdateEventSourceMapping"; +const _UESMR = "UpdateEventSourceMappingRequest"; +const _UFC = "UpdateFunctionCode"; +const _UFCR = "UpdateFunctionCodeRequest"; +const _UFCRp = "UpdateFunctionConfigurationRequest"; +const _UFCp = "UpdateFunctionConfiguration"; +const _UFEIC = "UpdateFunctionEventInvokeConfig"; +const _UFEICR = "UpdateFunctionEventInvokeConfigRequest"; +const _UFN = "UnqualifiedFunctionName"; +const _UFUC = "UpdateFunctionUrlConfig"; +const _UFUCR = "UpdateFunctionUrlConfigRequest"; +const _UFUCRp = "UpdateFunctionUrlConfigResponse"; +const _UMTE = "UnsupportedMediaTypeException"; +const _UR = "UntagResource"; +const _URI = "URI"; +const _URO = "UpdateRuntimeOn"; +const _URR = "UntagResourceRequest"; +const _UUID = "UUID"; +const _V = "Version"; +const _VC = "VpcConfig"; +const _VCR = "VpcConfigResponse"; +const _VI = "VpcId"; +const _VN = "VersionNumber"; +const _Va = "Variables"; +const _Ve = "Versions"; +const _W = "Weight"; +const _WD = "WorkingDirectory"; +const _XACC = "X-Amz-Client-Context"; +const _XAEV = "X-Amz-Executed-Version"; +const _XAFE = "X-Amz-Function-Error"; +const _XAIT = "X-Amz-Invocation-Type"; +const _XALR = "X-Amz-Log-Result"; +const _XALT = "X-Amz-Log-Type"; +const _ZF = "ZipFile"; +const _c = "client"; +const _e = "error"; +const _eP = "eventPayload"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hL = "httpLabel"; +const _hP = "httpPayload"; +const _hQ = "httpQuery"; +const _hRC = "httpResponseCode"; +const _m = "message"; +const _rAS = "retryAfterSeconds"; +const _s = "sensitive"; +const _se = "server"; +const _st = "streaming"; +const _tK = "tagKeys"; + +// smithy-typescript generated code +import { + error as __error, + list as __list, + map as __map, + op as __op, + sim as __sim, + struct as __struct, + struct as __uni, + TypeRegistry, +} from "@smithy/core/schema"; + +import { + CodeSigningConfigNotFoundException as __CodeSigningConfigNotFoundException, + CodeStorageExceededException as __CodeStorageExceededException, + CodeVerificationFailedException as __CodeVerificationFailedException, + EC2AccessDeniedException as __EC2AccessDeniedException, + EC2ThrottledException as __EC2ThrottledException, + EC2UnexpectedException as __EC2UnexpectedException, + EFSIOException as __EFSIOException, + EFSMountConnectivityException as __EFSMountConnectivityException, + EFSMountFailureException as __EFSMountFailureException, + EFSMountTimeoutException as __EFSMountTimeoutException, + ENILimitReachedException as __ENILimitReachedException, + InvalidCodeSignatureException as __InvalidCodeSignatureException, + InvalidParameterValueException as __InvalidParameterValueException, + InvalidRequestContentException as __InvalidRequestContentException, + InvalidRuntimeException as __InvalidRuntimeException, + InvalidSecurityGroupIDException as __InvalidSecurityGroupIDException, + InvalidSubnetIDException as __InvalidSubnetIDException, + InvalidZipFileException as __InvalidZipFileException, + KMSAccessDeniedException as __KMSAccessDeniedException, + KMSDisabledException as __KMSDisabledException, + KMSInvalidStateException as __KMSInvalidStateException, + KMSNotFoundException as __KMSNotFoundException, + PolicyLengthExceededException as __PolicyLengthExceededException, + PreconditionFailedException as __PreconditionFailedException, + ProvisionedConcurrencyConfigNotFoundException as __ProvisionedConcurrencyConfigNotFoundException, + RecursiveInvocationException as __RecursiveInvocationException, + RequestTooLargeException as __RequestTooLargeException, + ResourceConflictException as __ResourceConflictException, + ResourceInUseException as __ResourceInUseException, + ResourceNotFoundException as __ResourceNotFoundException, + ResourceNotReadyException as __ResourceNotReadyException, + ServiceException as __ServiceException, + SnapStartException as __SnapStartException, + SnapStartNotReadyException as __SnapStartNotReadyException, + SnapStartTimeoutException as __SnapStartTimeoutException, + SubnetIPAddressLimitReachedException as __SubnetIPAddressLimitReachedException, + TooManyRequestsException as __TooManyRequestsException, + UnsupportedMediaTypeException as __UnsupportedMediaTypeException, +} from "../models/index"; +import { Unit } from "./smithy.api"; + +/* eslint no-var: 0 */ + +export const com_amazonaws_lambdaRegistry = TypeRegistry.for("com.amazonaws.lambda"); +com_amazonaws_lambdaRegistry.startCapture(); +export var _Blob = __sim( + _B, + 21, + + { + [_s]: 1, + } +); +export var BlobStream = __sim( + _BSl, + 42, + + { + [_st]: 1, + } +); +export var EnvironmentVariableName = __sim( + _EVN, + 0, + + { + [_s]: 1, + } +); +export var EnvironmentVariableValue = __sim( + _EVV, + 0, + + { + [_s]: 1, + } +); +export var SensitiveString = __sim( + _SS, + 0, + + { + [_s]: 1, + } +); +export var AccountLimit = __struct(_ALc, {}, [_TCS, _CSU, _CSZ, _CE, _UCE], [1, 1, 1, 1, 1]); +export var AccountUsage = __struct(_AU, {}, [_TCS, _FC], [1, 1]); +export var AddLayerVersionPermissionRequest = __struct( + _ALVPR, + {}, + [_LN, _VN, _SI, _A, _P, _OI, _RI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + 0, + 0, + 0, + 0, + [ + 0, + { + [_hQ]: _RI, + }, + ], + ] +); +export var AddLayerVersionPermissionResponse = __struct(_ALVPRd, {}, [_Sta, _RI], [0, 0]); +export var AddPermissionRequest = __struct( + _APR, + {}, + [_FN, _SI, _A, _P, _SA, _SAo, _EST, _Q, _RI, _POID, _FUAT], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 0, + 0, + 0, + 0, + 0, + [ + 0, + { + [_hQ]: _Q, + }, + ], + 0, + 0, + 0, + ] +); +export var AddPermissionResponse = __struct(_APRd, {}, [_Sta], [0]); +export var AliasConfiguration = __struct( + _ACl, + {}, + [_AA, _N, _FV, _D, _RC, _RI], + [0, 0, 0, 0, () => AliasRoutingConfiguration, 0] +); +export var AliasRoutingConfiguration = __struct(_ARC, {}, [_AVW], [128 | 1]); +export var AllowedPublishers = __struct(_AP, {}, [_SPVA], [64 | 0]); +export var AmazonManagedKafkaEventSourceConfig = __struct(_AMKESC, {}, [_CGI], [0]); +export var CodeSigningConfig = __struct( + _CSC, + {}, + [_CSCI, _CSCA, _D, _AP, _CSPo, _LM], + [0, 0, 0, () => AllowedPublishers, () => CodeSigningPolicies, 0] +); +export var CodeSigningConfigNotFoundException = __error( + _CSCNFE, + { + [_e]: _c, + [_hE]: 404, + }, + [_Ty, _Me], + [0, 0], + + __CodeSigningConfigNotFoundException +); +export var CodeSigningPolicies = __struct(_CSPo, {}, [_UAOD], [0]); +export var CodeStorageExceededException = __error( + _CSEE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _m], + [0, 0], + + __CodeStorageExceededException +); +export var CodeVerificationFailedException = __error( + _CVFE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _Me], + [0, 0], + + __CodeVerificationFailedException +); +export var Concurrency = __struct(_C, {}, [_RCE], [1]); +export var Cors = __struct(_Co, {}, [_AC, _AH, _AM, _AO, _EH, _MA], [2, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 1]); +export var CreateAliasRequest = __struct( + _CAR, + {}, + [_FN, _N, _FV, _D, _RC], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 0, + 0, + () => AliasRoutingConfiguration, + ] +); +export var CreateCodeSigningConfigRequest = __struct( + _CCSCR, + {}, + [_D, _AP, _CSPo, _T], + [0, () => AllowedPublishers, () => CodeSigningPolicies, 128 | 0] +); +export var CreateCodeSigningConfigResponse = __struct(_CCSCRr, {}, [_CSC], [() => CodeSigningConfig]); +export var CreateEventSourceMappingRequest = __struct( + _CESMR, + {}, + [ + _ESA, + _FN, + _E, + _BS, + _FCi, + _MBWIS, + _PF, + _SP, + _SPT, + _DC, + _MRAIS, + _BBOFE, + _MRA, + _T, + _TWIS, + _To, + _Qu, + _SAC, + _SMES, + _FRTu, + _AMKESC, + _SMKESC, + _SC, + _DDBESC, + _KMSKA, + _MCe, + _PPC, + ], + [ + 0, + 0, + 2, + 1, + () => FilterCriteria, + 1, + 1, + 0, + 4, + () => DestinationConfig, + 1, + 2, + 1, + 128 | 0, + 1, + 64 | 0, + 64 | 0, + () => SourceAccessConfigurations, + () => SelfManagedEventSource, + 64 | 0, + () => AmazonManagedKafkaEventSourceConfig, + () => SelfManagedKafkaEventSourceConfig, + () => ScalingConfig, + () => DocumentDBEventSourceConfig, + 0, + () => EventSourceMappingMetricsConfig, + () => ProvisionedPollerConfig, + ] +); +export var CreateFunctionRequest = __struct( + _CFR, + {}, + [ + _FN, + _R, + _Ro, + _H, + _Cod, + _D, + _Tim, + _MS, + _Pu, + _VC, + _PT, + _DLC, + _Env, + _KMSKA, + _TC, + _T, + _La, + _FSC, + _IC, + _CSCA, + _Arch, + _ES, + _SSn, + _LC, + ], + [ + 0, + 0, + 0, + 0, + [() => FunctionCode, {}], + 0, + 1, + 1, + 2, + () => VpcConfig, + 0, + () => DeadLetterConfig, + [() => Environment, {}], + 0, + () => TracingConfig, + 128 | 0, + 64 | 0, + () => FileSystemConfigList, + () => ImageConfig, + 0, + 64 | 0, + () => EphemeralStorage, + () => SnapStart, + () => LoggingConfig, + ] +); +export var CreateFunctionUrlConfigRequest = __struct( + _CFUCR, + {}, + [_FN, _Q, _AT, _Co, _IM], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 0, + () => Cors, + 0, + ] +); +export var CreateFunctionUrlConfigResponse = __struct( + _CFUCRr, + {}, + [_FU, _FA, _AT, _Co, _CT, _IM], + [0, 0, 0, () => Cors, 0, 0] +); +export var DeadLetterConfig = __struct(_DLC, {}, [_TA], [0]); +export var DeleteAliasRequest = __struct( + _DAR, + {}, + [_FN, _N], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteCodeSigningConfigRequest = __struct( + _DCSCR, + {}, + [_CSCA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteCodeSigningConfigResponse = __struct(_DCSCRe, {}, [], []); +export var DeleteEventSourceMappingRequest = __struct( + _DESMR, + {}, + [_UUID], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteFunctionCodeSigningConfigRequest = __struct( + _DFCSCR, + {}, + [_FN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteFunctionConcurrencyRequest = __struct( + _DFCR, + {}, + [_FN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteFunctionEventInvokeConfigRequest = __struct( + _DFEICR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var DeleteFunctionRequest = __struct( + _DFR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var DeleteFunctionUrlConfigRequest = __struct( + _DFUCR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var DeleteLayerVersionRequest = __struct( + _DLVR, + {}, + [_LN, _VN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + ] +); +export var DeleteProvisionedConcurrencyConfigRequest = __struct( + _DPCCR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var DestinationConfig = __struct(_DC, {}, [_OS, _OF], [() => OnSuccess, () => OnFailure]); +export var DocumentDBEventSourceConfig = __struct(_DDBESC, {}, [_DN, _CN, _FD], [0, 0, 0]); +export var EC2AccessDeniedException = __error( + _ECADE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __EC2AccessDeniedException +); +export var EC2ThrottledException = __error( + _ECTE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __EC2ThrottledException +); +export var EC2UnexpectedException = __error( + _ECUE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me, _ECEC], + [0, 0, 0], + + __EC2UnexpectedException +); +export var EFSIOException = __error( + _EFSIOE, + { + [_e]: _c, + [_hE]: 410, + }, + [_Ty, _Me], + [0, 0], + + __EFSIOException +); +export var EFSMountConnectivityException = __error( + _EFSMCE, + { + [_e]: _c, + [_hE]: 408, + }, + [_Ty, _Me], + [0, 0], + + __EFSMountConnectivityException +); +export var EFSMountFailureException = __error( + _EFSMFE, + { + [_e]: _c, + [_hE]: 403, + }, + [_Ty, _Me], + [0, 0], + + __EFSMountFailureException +); +export var EFSMountTimeoutException = __error( + _EFSMTE, + { + [_e]: _c, + [_hE]: 408, + }, + [_Ty, _Me], + [0, 0], + + __EFSMountTimeoutException +); +export var ENILimitReachedException = __error( + _ENILRE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __ENILimitReachedException +); +export var Environment = __struct(_Env, {}, [_Va], [[() => EnvironmentVariables, {}]]); +export var EnvironmentError = __struct(_EE, {}, [_EC, _Me], [0, [() => SensitiveString, {}]]); +export var EnvironmentResponse = __struct( + _ER, + {}, + [_Va, _Er], + [ + [() => EnvironmentVariables, {}], + [() => EnvironmentError, {}], + ] +); +export var EphemeralStorage = __struct(_ES, {}, [_Si], [1]); +export var EventSourceMappingConfiguration = __struct( + _ESMC, + {}, + [ + _UUID, + _SP, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FA, + _LM, + _LPR, + _St, + _STR, + _DC, + _To, + _Qu, + _SAC, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _SC, + _DDBESC, + _KMSKA, + _FCE, + _ESMA, + _MCe, + _PPC, + ], + [ + 0, + 0, + 4, + 1, + 1, + 1, + 0, + () => FilterCriteria, + 0, + 4, + 0, + 0, + 0, + () => DestinationConfig, + 64 | 0, + 64 | 0, + () => SourceAccessConfigurations, + () => SelfManagedEventSource, + 1, + 2, + 1, + 1, + 64 | 0, + () => AmazonManagedKafkaEventSourceConfig, + () => SelfManagedKafkaEventSourceConfig, + () => ScalingConfig, + () => DocumentDBEventSourceConfig, + 0, + () => FilterCriteriaError, + 0, + () => EventSourceMappingMetricsConfig, + () => ProvisionedPollerConfig, + ] +); +export var EventSourceMappingMetricsConfig = __struct(_ESMMC, {}, [_Met], [64 | 0]); +export var FileSystemConfig = __struct(_FSCi, {}, [_Ar, _LMP], [0, 0]); +export var Filter = __struct(_F, {}, [_Pa], [0]); +export var FilterCriteria = __struct(_FCi, {}, [_Fi], [() => FilterList]); +export var FilterCriteriaError = __struct(_FCE, {}, [_EC, _Me], [0, 0]); +export var FunctionCode = __struct(_FCu, {}, [_ZF, _SB, _SK, _SOV, _IU, _SKMSKA], [[() => _Blob, {}], 0, 0, 0, 0, 0]); +export var FunctionCodeLocation = __struct(_FCL, {}, [_RT, _Lo, _IU, _RIU, _SKMSKA], [0, 0, 0, 0, 0]); +export var FunctionConfiguration = __struct( + _FCun, + {}, + [ + _FN, + _FA, + _R, + _Ro, + _H, + _CS, + _D, + _Tim, + _MS, + _LM, + _CSo, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TC, + _MAa, + _RI, + _La, + _St, + _SR, + _SRC, + _LUS, + _LUSR, + _LUSRC, + _FSC, + _PT, + _ICR, + _SPVAi, + _SJA, + _Arch, + _ES, + _SSn, + _RVC, + _LC, + ], + [ + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 0, + () => VpcConfigResponse, + () => DeadLetterConfig, + [() => EnvironmentResponse, {}], + 0, + () => TracingConfigResponse, + 0, + 0, + () => LayersReferenceList, + 0, + 0, + 0, + 0, + 0, + 0, + () => FileSystemConfigList, + 0, + [() => ImageConfigResponse, {}], + 0, + 0, + 64 | 0, + () => EphemeralStorage, + () => SnapStartResponse, + [() => RuntimeVersionConfig, {}], + () => LoggingConfig, + ] +); +export var FunctionEventInvokeConfig = __struct( + _FEIC, + {}, + [_LM, _FA, _MRA, _MEAIS, _DC], + [4, 0, 1, 1, () => DestinationConfig] +); +export var FunctionUrlConfig = __struct(_FUC, {}, [_FU, _FA, _CT, _LMT, _Co, _AT, _IM], [0, 0, 0, 0, () => Cors, 0, 0]); +export var GetAccountSettingsRequest = __struct(_GASR, {}, [], []); +export var GetAccountSettingsResponse = __struct(_GASRe, {}, [_ALc, _AU], [() => AccountLimit, () => AccountUsage]); +export var GetAliasRequest = __struct( + _GAR, + {}, + [_FN, _N], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetCodeSigningConfigRequest = __struct( + _GCSCR, + {}, + [_CSCA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetCodeSigningConfigResponse = __struct(_GCSCRe, {}, [_CSC], [() => CodeSigningConfig]); +export var GetEventSourceMappingRequest = __struct( + _GESMR, + {}, + [_UUID], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetFunctionCodeSigningConfigRequest = __struct( + _GFCSCR, + {}, + [_FN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetFunctionCodeSigningConfigResponse = __struct(_GFCSCRe, {}, [_CSCA, _FN], [0, 0]); +export var GetFunctionConcurrencyRequest = __struct( + _GFCR, + {}, + [_FN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetFunctionConcurrencyResponse = __struct(_GFCRe, {}, [_RCE], [1]); +export var GetFunctionConfigurationRequest = __struct( + _GFCRet, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetFunctionEventInvokeConfigRequest = __struct( + _GFEICR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetFunctionRecursionConfigRequest = __struct( + _GFRCR, + {}, + [_FN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var GetFunctionRecursionConfigResponse = __struct(_GFRCRe, {}, [_RL], [0]); +export var GetFunctionRequest = __struct( + _GFR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetFunctionResponse = __struct( + _GFRe, + {}, + [_Con, _Cod, _T, _TE, _C], + [[() => FunctionConfiguration, {}], () => FunctionCodeLocation, 128 | 0, () => TagsError, () => Concurrency] +); +export var GetFunctionUrlConfigRequest = __struct( + _GFUCR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetFunctionUrlConfigResponse = __struct( + _GFUCRe, + {}, + [_FU, _FA, _AT, _Co, _CT, _LMT, _IM], + [0, 0, 0, () => Cors, 0, 0, 0] +); +export var GetLayerVersionByArnRequest = __struct( + _GLVBAR, + {}, + [_Ar], + [ + [ + 0, + { + [_hQ]: _Ar, + }, + ], + ] +); +export var GetLayerVersionPolicyRequest = __struct( + _GLVPR, + {}, + [_LN, _VN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + ] +); +export var GetLayerVersionPolicyResponse = __struct(_GLVPRe, {}, [_Po, _RI], [0, 0]); +export var GetLayerVersionRequest = __struct( + _GLVR, + {}, + [_LN, _VN], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + ] +); +export var GetLayerVersionResponse = __struct( + _GLVRe, + {}, + [_Cont, _LA, _LVA, _D, _CD, _V, _CR, _LI, _CA], + [() => LayerVersionContentOutput, 0, 0, 0, 0, 1, 64 | 0, 0, 64 | 0] +); +export var GetPolicyRequest = __struct( + _GPR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetPolicyResponse = __struct(_GPRe, {}, [_Po, _RI], [0, 0]); +export var GetProvisionedConcurrencyConfigRequest = __struct( + _GPCCR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetProvisionedConcurrencyConfigResponse = __struct( + _GPCCRe, + {}, + [_RPCE, _APCE, _APCEl, _Stat, _SRt, _LM], + [1, 1, 1, 0, 0, 0] +); +export var GetRuntimeManagementConfigRequest = __struct( + _GRMCR, + {}, + [_FN, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var GetRuntimeManagementConfigResponse = __struct(_GRMCRe, {}, [_URO, _RVA, _FA], [0, 0, 0]); +export var ImageConfig = __struct(_IC, {}, [_EP, _Com, _WD], [64 | 0, 64 | 0, 0]); +export var ImageConfigError = __struct(_ICE, {}, [_EC, _Me], [0, [() => SensitiveString, {}]]); +export var ImageConfigResponse = __struct(_ICR, {}, [_IC, _Er], [() => ImageConfig, [() => ImageConfigError, {}]]); +export var InvalidCodeSignatureException = __error( + _ICSE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _Me], + [0, 0], + + __InvalidCodeSignatureException +); +export var InvalidParameterValueException = __error( + _IPVE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _m], + [0, 0], + + __InvalidParameterValueException +); +export var InvalidRequestContentException = __error( + _IRCE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _m], + [0, 0], + + __InvalidRequestContentException +); +export var InvalidRuntimeException = __error( + _IRE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __InvalidRuntimeException +); +export var InvalidSecurityGroupIDException = __error( + _ISGIDE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __InvalidSecurityGroupIDException +); +export var InvalidSubnetIDException = __error( + _ISIDE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __InvalidSubnetIDException +); +export var InvalidZipFileException = __error( + _IZFE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __InvalidZipFileException +); +export var InvocationRequest = __struct( + _IR, + {}, + [_FN, _IT, _LT, _CC, _Pay, _Q], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hH]: _XAIT, + }, + ], + [ + 0, + { + [_hH]: _XALT, + }, + ], + [ + 0, + { + [_hH]: _XACC, + }, + ], + [ + () => _Blob, + { + [_hP]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + ] +); +export var InvocationResponse = __struct( + _IRn, + {}, + [_SCt, _FE, _LR, _Pay, _EVx], + [ + [ + 1, + { + [_hRC]: 1, + }, + ], + [ + 0, + { + [_hH]: _XAFE, + }, + ], + [ + 0, + { + [_hH]: _XALR, + }, + ], + [ + () => _Blob, + { + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _XAEV, + }, + ], + ] +); +export var InvokeAsyncRequest = __struct( + _IAR, + {}, + [_FN, _IA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + () => BlobStream, + { + [_hP]: 1, + }, + ], + ] +); +export var InvokeAsyncResponse = __struct( + _IARn, + {}, + [_Stat], + [ + [ + 1, + { + [_hRC]: 1, + }, + ], + ] +); +export var InvokeResponseStreamUpdate = __struct( + _IRSU, + {}, + [_Pay], + [ + [ + () => _Blob, + { + [_eP]: 1, + }, + ], + ] +); +export var InvokeWithResponseStreamCompleteEvent = __struct(_IWRSCE, {}, [_EC, _ED, _LR], [0, 0, 0]); +export var InvokeWithResponseStreamRequest = __struct( + _IWRSR, + {}, + [_FN, _IT, _LT, _CC, _Q, _Pay], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hH]: _XAIT, + }, + ], + [ + 0, + { + [_hH]: _XALT, + }, + ], + [ + 0, + { + [_hH]: _XACC, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + [ + () => _Blob, + { + [_hP]: 1, + }, + ], + ] +); +export var InvokeWithResponseStreamResponse = __struct( + _IWRSRn, + {}, + [_SCt, _EVx, _ESv, _RSCT], + [ + [ + 1, + { + [_hRC]: 1, + }, + ], + [ + 0, + { + [_hH]: _XAEV, + }, + ], + [ + () => InvokeWithResponseStreamResponseEvent, + { + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + ] +); +export var KMSAccessDeniedException = __error( + _KMSADE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __KMSAccessDeniedException +); +export var KMSDisabledException = __error( + _KMSDE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __KMSDisabledException +); +export var KMSInvalidStateException = __error( + _KMSISE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __KMSInvalidStateException +); +export var KMSNotFoundException = __error( + _KMSNFE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __KMSNotFoundException +); +export var Layer = __struct(_Lay, {}, [_Ar, _CS, _SPVAi, _SJA], [0, 1, 0, 0]); +export var LayersListItem = __struct(_LLI, {}, [_LN, _LA, _LMV], [0, 0, () => LayerVersionsListItem]); +export var LayerVersionContentInput = __struct(_LVCI, {}, [_SB, _SK, _SOV, _ZF], [0, 0, 0, [() => _Blob, {}]]); +export var LayerVersionContentOutput = __struct(_LVCO, {}, [_Lo, _CSo, _CS, _SPVAi, _SJA], [0, 0, 1, 0, 0]); +export var LayerVersionsListItem = __struct( + _LVLI, + {}, + [_LVA, _V, _D, _CD, _CR, _LI, _CA], + [0, 1, 0, 0, 64 | 0, 0, 64 | 0] +); +export var ListAliasesRequest = __struct( + _LAR, + {}, + [_FN, _FV, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _FV, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListAliasesResponse = __struct(_LARi, {}, [_NM, _Ali], [0, () => AliasList]); +export var ListCodeSigningConfigsRequest = __struct( + _LCSCR, + {}, + [_Ma, _MI], + [ + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListCodeSigningConfigsResponse = __struct(_LCSCRi, {}, [_NM, _CSCo], [0, () => CodeSigningConfigList]); +export var ListEventSourceMappingsRequest = __struct( + _LESMR, + {}, + [_ESA, _FN, _Ma, _MI], + [ + [ + 0, + { + [_hQ]: _ESA, + }, + ], + [ + 0, + { + [_hQ]: _FN, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListEventSourceMappingsResponse = __struct(_LESMRi, {}, [_NM, _ESM], [0, () => EventSourceMappingsList]); +export var ListFunctionEventInvokeConfigsRequest = __struct( + _LFEICR, + {}, + [_FN, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListFunctionEventInvokeConfigsResponse = __struct( + _LFEICRi, + {}, + [_FEICu, _NM], + [() => FunctionEventInvokeConfigList, 0] +); +export var ListFunctionsByCodeSigningConfigRequest = __struct( + _LFBCSCR, + {}, + [_CSCA, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListFunctionsByCodeSigningConfigResponse = __struct(_LFBCSCRi, {}, [_NM, _FAu], [0, 64 | 0]); +export var ListFunctionsRequest = __struct( + _LFR, + {}, + [_MR, _FV, _Ma, _MI], + [ + [ + 0, + { + [_hQ]: _MR, + }, + ], + [ + 0, + { + [_hQ]: _FV, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListFunctionsResponse = __struct(_LFRi, {}, [_NM, _Fu], [0, [() => FunctionList, {}]]); +export var ListFunctionUrlConfigsRequest = __struct( + _LFUCR, + {}, + [_FN, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListFunctionUrlConfigsResponse = __struct(_LFUCRi, {}, [_FUCu, _NM], [() => FunctionUrlConfigList, 0]); +export var ListLayersRequest = __struct( + _LLR, + {}, + [_CRo, _Ma, _MI, _CAo], + [ + [ + 0, + { + [_hQ]: _CRo, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + [ + 0, + { + [_hQ]: _CAo, + }, + ], + ] +); +export var ListLayersResponse = __struct(_LLRi, {}, [_NM, _La], [0, () => LayersList]); +export var ListLayerVersionsRequest = __struct( + _LLVR, + {}, + [_CRo, _LN, _Ma, _MI, _CAo], + [ + [ + 0, + { + [_hQ]: _CRo, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + [ + 0, + { + [_hQ]: _CAo, + }, + ], + ] +); +export var ListLayerVersionsResponse = __struct(_LLVRi, {}, [_NM, _LV], [0, () => LayerVersionsList]); +export var ListProvisionedConcurrencyConfigsRequest = __struct( + _LPCCR, + {}, + [_FN, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListProvisionedConcurrencyConfigsResponse = __struct( + _LPCCRi, + {}, + [_PCC, _NM], + [() => ProvisionedConcurrencyConfigList, 0] +); +export var ListTagsRequest = __struct( + _LTR, + {}, + [_Re], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var ListTagsResponse = __struct(_LTRi, {}, [_T], [128 | 0]); +export var ListVersionsByFunctionRequest = __struct( + _LVBFR, + {}, + [_FN, _Ma, _MI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Ma, + }, + ], + [ + 1, + { + [_hQ]: _MI, + }, + ], + ] +); +export var ListVersionsByFunctionResponse = __struct(_LVBFRi, {}, [_NM, _Ve], [0, [() => FunctionList, {}]]); +export var LoggingConfig = __struct(_LC, {}, [_LF, _ALL, _SLL, _LG], [0, 0, 0, 0]); +export var OnFailure = __struct(_OF, {}, [_De], [0]); +export var OnSuccess = __struct(_OS, {}, [_De], [0]); +export var PolicyLengthExceededException = __error( + _PLEE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _m], + [0, 0], + + __PolicyLengthExceededException +); +export var PreconditionFailedException = __error( + _PFE, + { + [_e]: _c, + [_hE]: 412, + }, + [_Ty, _m], + [0, 0], + + __PreconditionFailedException +); +export var ProvisionedConcurrencyConfigListItem = __struct( + _PCCLI, + {}, + [_FA, _RPCE, _APCE, _APCEl, _Stat, _SRt, _LM], + [0, 1, 1, 1, 0, 0, 0] +); +export var ProvisionedConcurrencyConfigNotFoundException = __error( + _PCCNFE, + { + [_e]: _c, + [_hE]: 404, + }, + [_Ty, _m], + [0, 0], + + __ProvisionedConcurrencyConfigNotFoundException +); +export var ProvisionedPollerConfig = __struct(_PPC, {}, [_MP, _MPa], [1, 1]); +export var PublishLayerVersionRequest = __struct( + _PLVR, + {}, + [_LN, _D, _Cont, _CR, _LI, _CA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + [() => LayerVersionContentInput, {}], + 64 | 0, + 0, + 64 | 0, + ] +); +export var PublishLayerVersionResponse = __struct( + _PLVRu, + {}, + [_Cont, _LA, _LVA, _D, _CD, _V, _CR, _LI, _CA], + [() => LayerVersionContentOutput, 0, 0, 0, 0, 1, 64 | 0, 0, 64 | 0] +); +export var PublishVersionRequest = __struct( + _PVR, + {}, + [_FN, _CSo, _D, _RI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 0, + 0, + ] +); +export var PutFunctionCodeSigningConfigRequest = __struct( + _PFCSCR, + {}, + [_CSCA, _FN], + [ + 0, + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var PutFunctionCodeSigningConfigResponse = __struct(_PFCSCRu, {}, [_CSCA, _FN], [0, 0]); +export var PutFunctionConcurrencyRequest = __struct( + _PFCR, + {}, + [_FN, _RCE], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 1, + ] +); +export var PutFunctionEventInvokeConfigRequest = __struct( + _PFEICR, + {}, + [_FN, _Q, _MRA, _MEAIS, _DC], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 1, + 1, + () => DestinationConfig, + ] +); +export var PutFunctionRecursionConfigRequest = __struct( + _PFRCR, + {}, + [_FN, _RL], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + ] +); +export var PutFunctionRecursionConfigResponse = __struct(_PFRCRu, {}, [_RL], [0]); +export var PutProvisionedConcurrencyConfigRequest = __struct( + _PPCCR, + {}, + [_FN, _Q, _PCE], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 1, + ] +); +export var PutProvisionedConcurrencyConfigResponse = __struct( + _PPCCRu, + {}, + [_RPCE, _APCE, _APCEl, _Stat, _SRt, _LM], + [1, 1, 1, 0, 0, 0] +); +export var PutRuntimeManagementConfigRequest = __struct( + _PRMCR, + {}, + [_FN, _Q, _URO, _RVA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 0, + 0, + ] +); +export var PutRuntimeManagementConfigResponse = __struct(_PRMCRu, {}, [_URO, _FA, _RVA], [0, 0, 0]); +export var RecursiveInvocationException = __error( + _RIE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _Me], + [0, 0], + + __RecursiveInvocationException +); +export var RemoveLayerVersionPermissionRequest = __struct( + _RLVPR, + {}, + [_LN, _VN, _SI, _RI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _RI, + }, + ], + ] +); +export var RemovePermissionRequest = __struct( + _RPR, + {}, + [_FN, _SI, _Q, _RI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + [ + 0, + { + [_hQ]: _RI, + }, + ], + ] +); +export var RequestTooLargeException = __error( + _RTLE, + { + [_e]: _c, + [_hE]: 413, + }, + [_Ty, _m], + [0, 0], + + __RequestTooLargeException +); +export var ResourceConflictException = __error( + _RCEe, + { + [_e]: _c, + [_hE]: 409, + }, + [_Ty, _m], + [0, 0], + + __ResourceConflictException +); +export var ResourceInUseException = __error( + _RIUE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _Me], + [0, 0], + + __ResourceInUseException +); +export var ResourceNotFoundException = __error( + _RNFE, + { + [_e]: _c, + [_hE]: 404, + }, + [_Ty, _Me], + [0, 0], + + __ResourceNotFoundException +); +export var ResourceNotReadyException = __error( + _RNRE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _m], + [0, 0], + + __ResourceNotReadyException +); +export var RuntimeVersionConfig = __struct(_RVC, {}, [_RVA, _Er], [0, [() => RuntimeVersionError, {}]]); +export var RuntimeVersionError = __struct(_RVE, {}, [_EC, _Me], [0, [() => SensitiveString, {}]]); +export var ScalingConfig = __struct(_SC, {}, [_MC], [1]); +export var SelfManagedEventSource = __struct(_SMES, {}, [_End], [128 | 64 | 0]); +export var SelfManagedKafkaEventSourceConfig = __struct(_SMKESC, {}, [_CGI], [0]); +export var ServiceException = __error( + _SE, + { + [_e]: _se, + [_hE]: 500, + }, + [_Ty, _Me], + [0, 0], + + __ServiceException +); +export var SnapStart = __struct(_SSn, {}, [_AOp], [0]); +export var SnapStartException = __error( + _SSE, + { + [_e]: _c, + [_hE]: 400, + }, + [_Ty, _Me], + [0, 0], + + __SnapStartException +); +export var SnapStartNotReadyException = __error( + _SSNRE, + { + [_e]: _c, + [_hE]: 409, + }, + [_Ty, _Me], + [0, 0], + + __SnapStartNotReadyException +); +export var SnapStartResponse = __struct(_SSR, {}, [_AOp, _OSp], [0, 0]); +export var SnapStartTimeoutException = __error( + _SSTE, + { + [_e]: _c, + [_hE]: 408, + }, + [_Ty, _Me], + [0, 0], + + __SnapStartTimeoutException +); +export var SourceAccessConfiguration = __struct(_SACo, {}, [_Ty, _URI], [0, 0]); +export var SubnetIPAddressLimitReachedException = __error( + _SIPALRE, + { + [_e]: _se, + [_hE]: 502, + }, + [_Ty, _Me], + [0, 0], + + __SubnetIPAddressLimitReachedException +); +export var TagResourceRequest = __struct( + _TRR, + {}, + [_Re, _T], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 128 | 0, + ] +); +export var TagsError = __struct(_TE, {}, [_EC, _Me], [0, 0]); +export var TooManyRequestsException = __error( + _TMRE, + { + [_e]: _c, + [_hE]: 429, + }, + [_rAS, _Ty, _m, _Rea], + [ + [ + 0, + { + [_hH]: _RA_, + }, + ], + 0, + 0, + 0, + ], + + __TooManyRequestsException +); +export var TracingConfig = __struct(_TC, {}, [_Mo], [0]); +export var TracingConfigResponse = __struct(_TCR, {}, [_Mo], [0]); +export var UnsupportedMediaTypeException = __error( + _UMTE, + { + [_e]: _c, + [_hE]: 415, + }, + [_Ty, _m], + [0, 0], + + __UnsupportedMediaTypeException +); +export var UntagResourceRequest = __struct( + _URR, + {}, + [_Re, _TKa], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 64 | 0, + { + [_hQ]: _tK, + }, + ], + ] +); +export var UpdateAliasRequest = __struct( + _UAR, + {}, + [_FN, _N, _FV, _D, _RC, _RI], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 0, + () => AliasRoutingConfiguration, + 0, + ] +); +export var UpdateCodeSigningConfigRequest = __struct( + _UCSCR, + {}, + [_CSCA, _D, _AP, _CSPo], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + () => AllowedPublishers, + () => CodeSigningPolicies, + ] +); +export var UpdateCodeSigningConfigResponse = __struct(_UCSCRp, {}, [_CSC], [() => CodeSigningConfig]); +export var UpdateEventSourceMappingRequest = __struct( + _UESMR, + {}, + [ + _UUID, + _FN, + _E, + _BS, + _FCi, + _MBWIS, + _DC, + _MRAIS, + _BBOFE, + _MRA, + _PF, + _SAC, + _TWIS, + _FRTu, + _SC, + _DDBESC, + _KMSKA, + _MCe, + _PPC, + ], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 2, + 1, + () => FilterCriteria, + 1, + () => DestinationConfig, + 1, + 2, + 1, + 1, + () => SourceAccessConfigurations, + 1, + 64 | 0, + () => ScalingConfig, + () => DocumentDBEventSourceConfig, + 0, + () => EventSourceMappingMetricsConfig, + () => ProvisionedPollerConfig, + ] +); +export var UpdateFunctionCodeRequest = __struct( + _UFCR, + {}, + [_FN, _ZF, _SB, _SK, _SOV, _IU, _Pu, _DR, _RI, _Arch, _SKMSKA], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [() => _Blob, {}], + 0, + 0, + 0, + 0, + 2, + 2, + 0, + 64 | 0, + 0, + ] +); +export var UpdateFunctionConfigurationRequest = __struct( + _UFCRp, + {}, + [_FN, _Ro, _H, _D, _Tim, _MS, _VC, _Env, _R, _DLC, _KMSKA, _TC, _RI, _La, _FSC, _IC, _ES, _SSn, _LC], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + 0, + 0, + 0, + 1, + 1, + () => VpcConfig, + [() => Environment, {}], + 0, + () => DeadLetterConfig, + 0, + () => TracingConfig, + 0, + 64 | 0, + () => FileSystemConfigList, + () => ImageConfig, + () => EphemeralStorage, + () => SnapStart, + () => LoggingConfig, + ] +); +export var UpdateFunctionEventInvokeConfigRequest = __struct( + _UFEICR, + {}, + [_FN, _Q, _MRA, _MEAIS, _DC], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 1, + 1, + () => DestinationConfig, + ] +); +export var UpdateFunctionUrlConfigRequest = __struct( + _UFUCR, + {}, + [_FN, _Q, _AT, _Co, _IM], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hQ]: _Q, + }, + ], + 0, + () => Cors, + 0, + ] +); +export var UpdateFunctionUrlConfigResponse = __struct( + _UFUCRp, + {}, + [_FU, _FA, _AT, _Co, _CT, _LMT, _IM], + [0, 0, 0, () => Cors, 0, 0, 0] +); +export var VpcConfig = __struct(_VC, {}, [_SIu, _SGI, _IAFDS], [64 | 0, 64 | 0, 2]); +export var VpcConfigResponse = __struct(_VCR, {}, [_SIu, _SGI, _VI, _IAFDS], [64 | 0, 64 | 0, 0, 2]); +export var AliasList = __list(_ALl, {}, () => AliasConfiguration); +export var AllowMethodsList = 64 | 0; + +export var AllowOriginsList = 64 | 0; + +export var ArchitecturesList = 64 | 0; + +export var CodeSigningConfigList = __list(_CSCL, {}, () => CodeSigningConfig); +export var CompatibleArchitectures = 64 | 0; + +export var CompatibleRuntimes = 64 | 0; + +export var EndpointLists = 64 | 0; + +export var EventSourceMappingMetricList = 64 | 0; + +export var EventSourceMappingsList = __list(_ESML, {}, () => EventSourceMappingConfiguration); +export var FileSystemConfigList = __list(_FSCL, {}, () => FileSystemConfig); +export var FilterList = __list(_FL, {}, () => Filter); +export var FunctionArnList = 64 | 0; + +export var FunctionEventInvokeConfigList = __list(_FEICL, {}, () => FunctionEventInvokeConfig); +export var FunctionList = __list(_FLu, {}, [() => FunctionConfiguration, {}]); +export var FunctionResponseTypeList = 64 | 0; + +export var FunctionUrlConfigList = __list(_FUCL, {}, () => FunctionUrlConfig); +export var HeadersList = 64 | 0; + +export var LayerList = 64 | 0; + +export var LayersList = __list(_LLa, {}, () => LayersListItem); +export var LayersReferenceList = __list(_LRL, {}, () => Layer); +export var LayerVersionsList = __list(_LVL, {}, () => LayerVersionsListItem); +export var ProvisionedConcurrencyConfigList = __list(_PCCL, {}, () => ProvisionedConcurrencyConfigListItem); +export var Queues = 64 | 0; + +export var SecurityGroupIds = 64 | 0; + +export var SigningProfileVersionArns = 64 | 0; + +export var SourceAccessConfigurations = __list(_SAC, {}, () => SourceAccessConfiguration); +export var StringList = 64 | 0; + +export var SubnetIds = 64 | 0; + +export var TagKeyList = 64 | 0; + +export var Topics = 64 | 0; + +export var AdditionalVersionWeights = 128 | 1; + +export var Endpoints = __map(_End, {}, 64 | 0); +export var EnvironmentVariables = __map( + _EV, + { + [_s]: 1, + }, + [() => EnvironmentVariableValue, {}] +); +export var Tags = 128 | 0; + +export var InvokeWithResponseStreamResponseEvent = __uni( + _IWRSRE, + { + [_st]: 1, + }, + [_PC, _ICn], + [[() => InvokeResponseStreamUpdate, {}], () => InvokeWithResponseStreamCompleteEvent] +); +export var AddLayerVersionPermission = __op( + _ALVP, + { + [_h]: ["POST", "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", 201], + }, + () => AddLayerVersionPermissionRequest, + () => AddLayerVersionPermissionResponse +); +export var AddPermission = __op( + _APd, + { + [_h]: ["POST", "/2015-03-31/functions/{FunctionName}/policy", 201], + }, + () => AddPermissionRequest, + () => AddPermissionResponse +); +export var CreateAlias = __op( + _CAr, + { + [_h]: ["POST", "/2015-03-31/functions/{FunctionName}/aliases", 201], + }, + () => CreateAliasRequest, + () => AliasConfiguration +); +export var CreateCodeSigningConfig = __op( + _CCSC, + { + [_h]: ["POST", "/2020-04-22/code-signing-configs", 201], + }, + () => CreateCodeSigningConfigRequest, + () => CreateCodeSigningConfigResponse +); +export var CreateEventSourceMapping = __op( + _CESM, + { + [_h]: ["POST", "/2015-03-31/event-source-mappings", 202], + }, + () => CreateEventSourceMappingRequest, + () => EventSourceMappingConfiguration +); +export var CreateFunction = __op( + _CF, + { + [_h]: ["POST", "/2015-03-31/functions", 201], + }, + () => CreateFunctionRequest, + () => FunctionConfiguration +); +export var CreateFunctionUrlConfig = __op( + _CFUC, + { + [_h]: ["POST", "/2021-10-31/functions/{FunctionName}/url", 201], + }, + () => CreateFunctionUrlConfigRequest, + () => CreateFunctionUrlConfigResponse +); +export var DeleteAlias = __op( + _DAe, + { + [_h]: ["DELETE", "/2015-03-31/functions/{FunctionName}/aliases/{Name}", 204], + }, + () => DeleteAliasRequest, + () => Unit +); +export var DeleteCodeSigningConfig = __op( + _DCSC, + { + [_h]: ["DELETE", "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", 204], + }, + () => DeleteCodeSigningConfigRequest, + () => DeleteCodeSigningConfigResponse +); +export var DeleteEventSourceMapping = __op( + _DESM, + { + [_h]: ["DELETE", "/2015-03-31/event-source-mappings/{UUID}", 202], + }, + () => DeleteEventSourceMappingRequest, + () => EventSourceMappingConfiguration +); +export var DeleteFunction = __op( + _DF, + { + [_h]: ["DELETE", "/2015-03-31/functions/{FunctionName}", 204], + }, + () => DeleteFunctionRequest, + () => Unit +); +export var DeleteFunctionCodeSigningConfig = __op( + _DFCSC, + { + [_h]: ["DELETE", "/2020-06-30/functions/{FunctionName}/code-signing-config", 204], + }, + () => DeleteFunctionCodeSigningConfigRequest, + () => Unit +); +export var DeleteFunctionConcurrency = __op( + _DFC, + { + [_h]: ["DELETE", "/2017-10-31/functions/{FunctionName}/concurrency", 204], + }, + () => DeleteFunctionConcurrencyRequest, + () => Unit +); +export var DeleteFunctionEventInvokeConfig = __op( + _DFEIC, + { + [_h]: ["DELETE", "/2019-09-25/functions/{FunctionName}/event-invoke-config", 204], + }, + () => DeleteFunctionEventInvokeConfigRequest, + () => Unit +); +export var DeleteFunctionUrlConfig = __op( + _DFUC, + { + [_h]: ["DELETE", "/2021-10-31/functions/{FunctionName}/url", 204], + }, + () => DeleteFunctionUrlConfigRequest, + () => Unit +); +export var DeleteLayerVersion = __op( + _DLV, + { + [_h]: ["DELETE", "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", 204], + }, + () => DeleteLayerVersionRequest, + () => Unit +); +export var DeleteProvisionedConcurrencyConfig = __op( + _DPCC, + { + [_h]: ["DELETE", "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", 204], + }, + () => DeleteProvisionedConcurrencyConfigRequest, + () => Unit +); +export var GetAccountSettings = __op( + _GAS, + { + [_h]: ["GET", "/2016-08-19/account-settings", 200], + }, + () => GetAccountSettingsRequest, + () => GetAccountSettingsResponse +); +export var GetAlias = __op( + _GA, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}/aliases/{Name}", 200], + }, + () => GetAliasRequest, + () => AliasConfiguration +); +export var GetCodeSigningConfig = __op( + _GCSC, + { + [_h]: ["GET", "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", 200], + }, + () => GetCodeSigningConfigRequest, + () => GetCodeSigningConfigResponse +); +export var GetEventSourceMapping = __op( + _GESM, + { + [_h]: ["GET", "/2015-03-31/event-source-mappings/{UUID}", 200], + }, + () => GetEventSourceMappingRequest, + () => EventSourceMappingConfiguration +); +export var GetFunction = __op( + _GF, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}", 200], + }, + () => GetFunctionRequest, + () => GetFunctionResponse +); +export var GetFunctionCodeSigningConfig = __op( + _GFCSC, + { + [_h]: ["GET", "/2020-06-30/functions/{FunctionName}/code-signing-config", 200], + }, + () => GetFunctionCodeSigningConfigRequest, + () => GetFunctionCodeSigningConfigResponse +); +export var GetFunctionConcurrency = __op( + _GFC, + { + [_h]: ["GET", "/2019-09-30/functions/{FunctionName}/concurrency", 200], + }, + () => GetFunctionConcurrencyRequest, + () => GetFunctionConcurrencyResponse +); +export var GetFunctionConfiguration = __op( + _GFCe, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}/configuration", 200], + }, + () => GetFunctionConfigurationRequest, + () => FunctionConfiguration +); +export var GetFunctionEventInvokeConfig = __op( + _GFEIC, + { + [_h]: ["GET", "/2019-09-25/functions/{FunctionName}/event-invoke-config", 200], + }, + () => GetFunctionEventInvokeConfigRequest, + () => FunctionEventInvokeConfig +); +export var GetFunctionRecursionConfig = __op( + _GFRC, + { + [_h]: ["GET", "/2024-08-31/functions/{FunctionName}/recursion-config", 200], + }, + () => GetFunctionRecursionConfigRequest, + () => GetFunctionRecursionConfigResponse +); +export var GetFunctionUrlConfig = __op( + _GFUC, + { + [_h]: ["GET", "/2021-10-31/functions/{FunctionName}/url", 200], + }, + () => GetFunctionUrlConfigRequest, + () => GetFunctionUrlConfigResponse +); +export var GetLayerVersion = __op( + _GLV, + { + [_h]: ["GET", "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", 200], + }, + () => GetLayerVersionRequest, + () => GetLayerVersionResponse +); +export var GetLayerVersionByArn = __op( + _GLVBA, + { + [_h]: ["GET", "/2018-10-31/layers?find=LayerVersion", 200], + }, + () => GetLayerVersionByArnRequest, + () => GetLayerVersionResponse +); +export var GetLayerVersionPolicy = __op( + _GLVP, + { + [_h]: ["GET", "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", 200], + }, + () => GetLayerVersionPolicyRequest, + () => GetLayerVersionPolicyResponse +); +export var GetPolicy = __op( + _GP, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}/policy", 200], + }, + () => GetPolicyRequest, + () => GetPolicyResponse +); +export var GetProvisionedConcurrencyConfig = __op( + _GPCC, + { + [_h]: ["GET", "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", 200], + }, + () => GetProvisionedConcurrencyConfigRequest, + () => GetProvisionedConcurrencyConfigResponse +); +export var GetRuntimeManagementConfig = __op( + _GRMC, + { + [_h]: ["GET", "/2021-07-20/functions/{FunctionName}/runtime-management-config", 200], + }, + () => GetRuntimeManagementConfigRequest, + () => GetRuntimeManagementConfigResponse +); +export var Invoke = __op( + _In, + { + [_h]: ["POST", "/2015-03-31/functions/{FunctionName}/invocations", 200], + }, + () => InvocationRequest, + () => InvocationResponse +); +export var InvokeAsync = __op( + _IAn, + { + [_h]: ["POST", "/2014-11-13/functions/{FunctionName}/invoke-async", 202], + }, + () => InvokeAsyncRequest, + () => InvokeAsyncResponse +); +export var InvokeWithResponseStream = __op( + _IWRS, + { + [_h]: ["POST", "/2021-11-15/functions/{FunctionName}/response-streaming-invocations", 200], + }, + () => InvokeWithResponseStreamRequest, + () => InvokeWithResponseStreamResponse +); +export var ListAliases = __op( + _LAi, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}/aliases", 200], + }, + () => ListAliasesRequest, + () => ListAliasesResponse +); +export var ListCodeSigningConfigs = __op( + _LCSC, + { + [_h]: ["GET", "/2020-04-22/code-signing-configs", 200], + }, + () => ListCodeSigningConfigsRequest, + () => ListCodeSigningConfigsResponse +); +export var ListEventSourceMappings = __op( + _LESM, + { + [_h]: ["GET", "/2015-03-31/event-source-mappings", 200], + }, + () => ListEventSourceMappingsRequest, + () => ListEventSourceMappingsResponse +); +export var ListFunctionEventInvokeConfigs = __op( + _LFEIC, + { + [_h]: ["GET", "/2019-09-25/functions/{FunctionName}/event-invoke-config/list", 200], + }, + () => ListFunctionEventInvokeConfigsRequest, + () => ListFunctionEventInvokeConfigsResponse +); +export var ListFunctions = __op( + _LFi, + { + [_h]: ["GET", "/2015-03-31/functions", 200], + }, + () => ListFunctionsRequest, + () => ListFunctionsResponse +); +export var ListFunctionsByCodeSigningConfig = __op( + _LFBCSC, + { + [_h]: ["GET", "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions", 200], + }, + () => ListFunctionsByCodeSigningConfigRequest, + () => ListFunctionsByCodeSigningConfigResponse +); +export var ListFunctionUrlConfigs = __op( + _LFUC, + { + [_h]: ["GET", "/2021-10-31/functions/{FunctionName}/urls", 200], + }, + () => ListFunctionUrlConfigsRequest, + () => ListFunctionUrlConfigsResponse +); +export var ListLayers = __op( + _LLi, + { + [_h]: ["GET", "/2018-10-31/layers", 200], + }, + () => ListLayersRequest, + () => ListLayersResponse +); +export var ListLayerVersions = __op( + _LLV, + { + [_h]: ["GET", "/2018-10-31/layers/{LayerName}/versions", 200], + }, + () => ListLayerVersionsRequest, + () => ListLayerVersionsResponse +); +export var ListProvisionedConcurrencyConfigs = __op( + _LPCC, + { + [_h]: ["GET", "/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL", 200], + }, + () => ListProvisionedConcurrencyConfigsRequest, + () => ListProvisionedConcurrencyConfigsResponse +); +export var ListTags = __op( + _LTi, + { + [_h]: ["GET", "/2017-03-31/tags/{Resource}", 200], + }, + () => ListTagsRequest, + () => ListTagsResponse +); +export var ListVersionsByFunction = __op( + _LVBF, + { + [_h]: ["GET", "/2015-03-31/functions/{FunctionName}/versions", 200], + }, + () => ListVersionsByFunctionRequest, + () => ListVersionsByFunctionResponse +); +export var PublishLayerVersion = __op( + _PLV, + { + [_h]: ["POST", "/2018-10-31/layers/{LayerName}/versions", 201], + }, + () => PublishLayerVersionRequest, + () => PublishLayerVersionResponse +); +export var PublishVersion = __op( + _PV, + { + [_h]: ["POST", "/2015-03-31/functions/{FunctionName}/versions", 201], + }, + () => PublishVersionRequest, + () => FunctionConfiguration +); +export var PutFunctionCodeSigningConfig = __op( + _PFCSC, + { + [_h]: ["PUT", "/2020-06-30/functions/{FunctionName}/code-signing-config", 200], + }, + () => PutFunctionCodeSigningConfigRequest, + () => PutFunctionCodeSigningConfigResponse +); +export var PutFunctionConcurrency = __op( + _PFC, + { + [_h]: ["PUT", "/2017-10-31/functions/{FunctionName}/concurrency", 200], + }, + () => PutFunctionConcurrencyRequest, + () => Concurrency +); +export var PutFunctionEventInvokeConfig = __op( + _PFEIC, + { + [_h]: ["PUT", "/2019-09-25/functions/{FunctionName}/event-invoke-config", 200], + }, + () => PutFunctionEventInvokeConfigRequest, + () => FunctionEventInvokeConfig +); +export var PutFunctionRecursionConfig = __op( + _PFRC, + { + [_h]: ["PUT", "/2024-08-31/functions/{FunctionName}/recursion-config", 200], + }, + () => PutFunctionRecursionConfigRequest, + () => PutFunctionRecursionConfigResponse +); +export var PutProvisionedConcurrencyConfig = __op( + _PPCC, + { + [_h]: ["PUT", "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", 202], + }, + () => PutProvisionedConcurrencyConfigRequest, + () => PutProvisionedConcurrencyConfigResponse +); +export var PutRuntimeManagementConfig = __op( + _PRMC, + { + [_h]: ["PUT", "/2021-07-20/functions/{FunctionName}/runtime-management-config", 200], + }, + () => PutRuntimeManagementConfigRequest, + () => PutRuntimeManagementConfigResponse +); +export var RemoveLayerVersionPermission = __op( + _RLVP, + { + [_h]: ["DELETE", "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}", 204], + }, + () => RemoveLayerVersionPermissionRequest, + () => Unit +); +export var RemovePermission = __op( + _RP, + { + [_h]: ["DELETE", "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", 204], + }, + () => RemovePermissionRequest, + () => Unit +); +export var TagResource = __op( + _TRag, + { + [_h]: ["POST", "/2017-03-31/tags/{Resource}", 204], + }, + () => TagResourceRequest, + () => Unit +); +export var UntagResource = __op( + _UR, + { + [_h]: ["DELETE", "/2017-03-31/tags/{Resource}", 204], + }, + () => UntagResourceRequest, + () => Unit +); +export var UpdateAlias = __op( + _UA, + { + [_h]: ["PUT", "/2015-03-31/functions/{FunctionName}/aliases/{Name}", 200], + }, + () => UpdateAliasRequest, + () => AliasConfiguration +); +export var UpdateCodeSigningConfig = __op( + _UCSC, + { + [_h]: ["PUT", "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", 200], + }, + () => UpdateCodeSigningConfigRequest, + () => UpdateCodeSigningConfigResponse +); +export var UpdateEventSourceMapping = __op( + _UESM, + { + [_h]: ["PUT", "/2015-03-31/event-source-mappings/{UUID}", 202], + }, + () => UpdateEventSourceMappingRequest, + () => EventSourceMappingConfiguration +); +export var UpdateFunctionCode = __op( + _UFC, + { + [_h]: ["PUT", "/2015-03-31/functions/{FunctionName}/code", 200], + }, + () => UpdateFunctionCodeRequest, + () => FunctionConfiguration +); +export var UpdateFunctionConfiguration = __op( + _UFCp, + { + [_h]: ["PUT", "/2015-03-31/functions/{FunctionName}/configuration", 200], + }, + () => UpdateFunctionConfigurationRequest, + () => FunctionConfiguration +); +export var UpdateFunctionEventInvokeConfig = __op( + _UFEIC, + { + [_h]: ["POST", "/2019-09-25/functions/{FunctionName}/event-invoke-config", 200], + }, + () => UpdateFunctionEventInvokeConfigRequest, + () => FunctionEventInvokeConfig +); +export var UpdateFunctionUrlConfig = __op( + _UFUC, + { + [_h]: ["PUT", "/2021-10-31/functions/{FunctionName}/url", 200], + }, + () => UpdateFunctionUrlConfigRequest, + () => UpdateFunctionUrlConfigResponse +); +com_amazonaws_lambdaRegistry.stopCapture(); diff --git a/clients/client-lambda/src/schemas/index.ts b/clients/client-lambda/src/schemas/index.ts new file mode 100644 index 000000000000..79253e57195c --- /dev/null +++ b/clients/client-lambda/src/schemas/index.ts @@ -0,0 +1,4 @@ +export * from "./com.amazonaws.lambda"; + +// smithy-typescript generated code +export * from "./smithy.api"; diff --git a/clients/client-lambda/src/schemas/smithy.api.ts b/clients/client-lambda/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..0bbca91b5138 --- /dev/null +++ b/clients/client-lambda/src/schemas/smithy.api.ts @@ -0,0 +1,10 @@ +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit"; + +smithy_apiRegistry.stopCapture(); diff --git a/clients/client-s3/src/S3Client.ts b/clients/client-s3/src/S3Client.ts index 3874ccac881c..c42591b0c66d 100644 --- a/clients/client-s3/src/S3Client.ts +++ b/clients/client-s3/src/S3Client.ts @@ -35,6 +35,7 @@ import { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig, @@ -840,6 +841,7 @@ export class S3Client extends __Client< const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []); super(_config_11); this.config = _config_11; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts b/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts index 68b70b95f6fd..e87aeeaf6587 100644 --- a/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { AbortMultipartUploadOutput, AbortMultipartUploadRequest } from "../models/models_0"; -import { de_AbortMultipartUploadCommand, se_AbortMultipartUploadCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { AbortMultipartUpload } from "../schemas/com.amazonaws.s3"; /** * @public @@ -180,17 +179,12 @@ export class AbortMultipartUploadCommand extends $Command Key: { type: "contextParams", name: "Key" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "AbortMultipartUpload", {}) .n("S3Client", "AbortMultipartUploadCommand") .f(void 0, void 0) - .ser(se_AbortMultipartUploadCommand) - .de(de_AbortMultipartUploadCommand) + .sc(AbortMultipartUpload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts b/clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts index b76fd378159d..6ce95f9b9861 100644 --- a/clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts +++ b/clients/client-s3/src/commands/CompleteMultipartUploadCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { CompleteMultipartUploadRequest, CompleteMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_CompleteMultipartUploadCommand, se_CompleteMultipartUploadCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CompleteMultipartUpload } from "../schemas/com.amazonaws.s3"; /** * @public @@ -325,7 +324,6 @@ export class CompleteMultipartUploadCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -334,8 +332,7 @@ export class CompleteMultipartUploadCommand extends $Command .s("AmazonS3", "CompleteMultipartUpload", {}) .n("S3Client", "CompleteMultipartUploadCommand") .f(CompleteMultipartUploadRequestFilterSensitiveLog, CompleteMultipartUploadOutputFilterSensitiveLog) - .ser(se_CompleteMultipartUploadCommand) - .de(de_CompleteMultipartUploadCommand) + .sc(CompleteMultipartUpload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CopyObjectCommand.ts b/clients/client-s3/src/commands/CopyObjectCommand.ts index e9793d1a43d9..ba2e83882e48 100644 --- a/clients/client-s3/src/commands/CopyObjectCommand.ts +++ b/clients/client-s3/src/commands/CopyObjectCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { CopyObjectRequest, CopyObjectRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_CopyObjectCommand, se_CopyObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CopyObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -370,7 +369,6 @@ export class CopyObjectCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -379,8 +377,7 @@ export class CopyObjectCommand extends $Command .s("AmazonS3", "CopyObject", {}) .n("S3Client", "CopyObjectCommand") .f(CopyObjectRequestFilterSensitiveLog, CopyObjectOutputFilterSensitiveLog) - .ser(se_CopyObjectCommand) - .de(de_CopyObjectCommand) + .sc(CopyObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CreateBucketCommand.ts b/clients/client-s3/src/commands/CreateBucketCommand.ts index bb2365dee6b1..7b2af7980329 100644 --- a/clients/client-s3/src/commands/CreateBucketCommand.ts +++ b/clients/client-s3/src/commands/CreateBucketCommand.ts @@ -2,14 +2,13 @@ import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateBucketOutput, CreateBucketRequest } from "../models/models_0"; -import { de_CreateBucketCommand, se_CreateBucketCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CreateBucket } from "../schemas/com.amazonaws.s3"; /** * @public @@ -287,7 +286,6 @@ export class CreateBucketCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getLocationConstraintPlugin(config), @@ -296,8 +294,7 @@ export class CreateBucketCommand extends $Command .s("AmazonS3", "CreateBucket", {}) .n("S3Client", "CreateBucketCommand") .f(void 0, void 0) - .ser(se_CreateBucketCommand) - .de(de_CreateBucketCommand) + .sc(CreateBucket) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CreateBucketMetadataTableConfigurationCommand.ts b/clients/client-s3/src/commands/CreateBucketMetadataTableConfigurationCommand.ts index b6e6eaa6928c..7421d90b26eb 100644 --- a/clients/client-s3/src/commands/CreateBucketMetadataTableConfigurationCommand.ts +++ b/clients/client-s3/src/commands/CreateBucketMetadataTableConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateBucketMetadataTableConfigurationRequest } from "../models/models_0"; -import { - de_CreateBucketMetadataTableConfigurationCommand, - se_CreateBucketMetadataTableConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CreateBucketMetadataTableConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -140,7 +136,6 @@ export class CreateBucketMetadataTableConfigurationCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -151,8 +146,7 @@ export class CreateBucketMetadataTableConfigurationCommand extends $Command .s("AmazonS3", "CreateBucketMetadataTableConfiguration", {}) .n("S3Client", "CreateBucketMetadataTableConfigurationCommand") .f(void 0, void 0) - .ser(se_CreateBucketMetadataTableConfigurationCommand) - .de(de_CreateBucketMetadataTableConfigurationCommand) + .sc(CreateBucketMetadataTableConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts b/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts index 2fd40f0e57ee..af6831c486eb 100644 --- a/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts +++ b/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { CreateMultipartUploadRequest, CreateMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_CreateMultipartUploadCommand, se_CreateMultipartUploadCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CreateMultipartUpload } from "../schemas/com.amazonaws.s3"; /** * @public @@ -409,7 +408,6 @@ export class CreateMultipartUploadCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -418,8 +416,7 @@ export class CreateMultipartUploadCommand extends $Command .s("AmazonS3", "CreateMultipartUpload", {}) .n("S3Client", "CreateMultipartUploadCommand") .f(CreateMultipartUploadRequestFilterSensitiveLog, CreateMultipartUploadOutputFilterSensitiveLog) - .ser(se_CreateMultipartUploadCommand) - .de(de_CreateMultipartUploadCommand) + .sc(CreateMultipartUpload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/CreateSessionCommand.ts b/clients/client-s3/src/commands/CreateSessionCommand.ts index c4b6744f3d0c..06c9a7226ec2 100644 --- a/clients/client-s3/src/commands/CreateSessionCommand.ts +++ b/clients/client-s3/src/commands/CreateSessionCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,8 +11,8 @@ import { CreateSessionRequest, CreateSessionRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { CreateSession } from "../schemas/com.amazonaws.s3"; /** * @public @@ -202,17 +201,12 @@ export class CreateSessionCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "CreateSession", {}) .n("S3Client", "CreateSessionCommand") .f(CreateSessionRequestFilterSensitiveLog, CreateSessionOutputFilterSensitiveLog) - .ser(se_CreateSessionCommand) - .de(de_CreateSessionCommand) + .sc(CreateSession) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts index 3fbd6a5da7d1..8b05ee6cde11 100644 --- a/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketAnalyticsConfigurationRequest } from "../models/models_0"; -import { - de_DeleteBucketAnalyticsConfigurationCommand, - se_DeleteBucketAnalyticsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketAnalyticsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -104,16 +100,12 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {}) .n("S3Client", "DeleteBucketAnalyticsConfigurationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketAnalyticsConfigurationCommand) - .de(de_DeleteBucketAnalyticsConfigurationCommand) + .sc(DeleteBucketAnalyticsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketCommand.ts b/clients/client-s3/src/commands/DeleteBucketCommand.ts index b536e72ddc7c..9efdf69ff15f 100644 --- a/clients/client-s3/src/commands/DeleteBucketCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketRequest } from "../models/models_0"; -import { de_DeleteBucketCommand, se_DeleteBucketCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucket } from "../schemas/com.amazonaws.s3"; /** * @public @@ -138,16 +137,12 @@ export class DeleteBucketCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucket", {}) .n("S3Client", "DeleteBucketCommand") .f(void 0, void 0) - .ser(se_DeleteBucketCommand) - .de(de_DeleteBucketCommand) + .sc(DeleteBucket) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts b/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts index 2962cb69b85a..226481ef33ee 100644 --- a/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketCorsRequest } from "../models/models_0"; -import { de_DeleteBucketCorsCommand, se_DeleteBucketCorsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketCors } from "../schemas/com.amazonaws.s3"; /** * @public @@ -104,16 +103,12 @@ export class DeleteBucketCorsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketCors", {}) .n("S3Client", "DeleteBucketCorsCommand") .f(void 0, void 0) - .ser(se_DeleteBucketCorsCommand) - .de(de_DeleteBucketCorsCommand) + .sc(DeleteBucketCors) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts b/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts index a6167edaf14c..0255f305d89c 100644 --- a/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketEncryptionRequest } from "../models/models_0"; -import { de_DeleteBucketEncryptionCommand, se_DeleteBucketEncryptionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketEncryption } from "../schemas/com.amazonaws.s3"; /** * @public @@ -130,16 +129,12 @@ export class DeleteBucketEncryptionCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketEncryption", {}) .n("S3Client", "DeleteBucketEncryptionCommand") .f(void 0, void 0) - .ser(se_DeleteBucketEncryptionCommand) - .de(de_DeleteBucketEncryptionCommand) + .sc(DeleteBucketEncryption) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts index 94356714e15c..39789597b7b2 100644 --- a/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketIntelligentTieringConfigurationRequest } from "../models/models_0"; -import { - de_DeleteBucketIntelligentTieringConfigurationCommand, - se_DeleteBucketIntelligentTieringConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketIntelligentTieringConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -98,16 +94,12 @@ export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {}) .n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketIntelligentTieringConfigurationCommand) - .de(de_DeleteBucketIntelligentTieringConfigurationCommand) + .sc(DeleteBucketIntelligentTieringConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts index 8e42e8263338..7d94d9529eac 100644 --- a/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketInventoryConfigurationRequest } from "../models/models_0"; -import { - de_DeleteBucketInventoryConfigurationCommand, - se_DeleteBucketInventoryConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketInventoryConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -102,16 +98,12 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketInventoryConfiguration", {}) .n("S3Client", "DeleteBucketInventoryConfigurationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketInventoryConfigurationCommand) - .de(de_DeleteBucketInventoryConfigurationCommand) + .sc(DeleteBucketInventoryConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketLifecycleCommand.ts b/clients/client-s3/src/commands/DeleteBucketLifecycleCommand.ts index 036c31f1bd25..482448ebc0db 100644 --- a/clients/client-s3/src/commands/DeleteBucketLifecycleCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketLifecycleCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketLifecycleRequest } from "../models/models_0"; -import { de_DeleteBucketLifecycleCommand, se_DeleteBucketLifecycleCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketLifecycle } from "../schemas/com.amazonaws.s3"; /** * @public @@ -150,16 +149,12 @@ export class DeleteBucketLifecycleCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketLifecycle", {}) .n("S3Client", "DeleteBucketLifecycleCommand") .f(void 0, void 0) - .ser(se_DeleteBucketLifecycleCommand) - .de(de_DeleteBucketLifecycleCommand) + .sc(DeleteBucketLifecycle) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketMetadataTableConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketMetadataTableConfigurationCommand.ts index 780971327317..8fc04a67d949 100644 --- a/clients/client-s3/src/commands/DeleteBucketMetadataTableConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketMetadataTableConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketMetadataTableConfigurationRequest } from "../models/models_0"; -import { - de_DeleteBucketMetadataTableConfigurationCommand, - se_DeleteBucketMetadataTableConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketMetadataTableConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -99,16 +95,12 @@ export class DeleteBucketMetadataTableConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketMetadataTableConfiguration", {}) .n("S3Client", "DeleteBucketMetadataTableConfigurationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketMetadataTableConfigurationCommand) - .de(de_DeleteBucketMetadataTableConfigurationCommand) + .sc(DeleteBucketMetadataTableConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketMetricsConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketMetricsConfigurationCommand.ts index 5dfb35d4bb84..4e126fe5b7b0 100644 --- a/clients/client-s3/src/commands/DeleteBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketMetricsConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketMetricsConfigurationRequest } from "../models/models_0"; -import { - de_DeleteBucketMetricsConfigurationCommand, - se_DeleteBucketMetricsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketMetricsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -110,16 +106,12 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketMetricsConfiguration", {}) .n("S3Client", "DeleteBucketMetricsConfigurationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketMetricsConfigurationCommand) - .de(de_DeleteBucketMetricsConfigurationCommand) + .sc(DeleteBucketMetricsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketOwnershipControlsCommand.ts b/clients/client-s3/src/commands/DeleteBucketOwnershipControlsCommand.ts index c9ff659610cf..b2410bcaf0c0 100644 --- a/clients/client-s3/src/commands/DeleteBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketOwnershipControlsCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketOwnershipControlsRequest } from "../models/models_0"; -import { - de_DeleteBucketOwnershipControlsCommand, - se_DeleteBucketOwnershipControlsCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketOwnershipControls } from "../schemas/com.amazonaws.s3"; /** * @public @@ -94,16 +90,12 @@ export class DeleteBucketOwnershipControlsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketOwnershipControls", {}) .n("S3Client", "DeleteBucketOwnershipControlsCommand") .f(void 0, void 0) - .ser(se_DeleteBucketOwnershipControlsCommand) - .de(de_DeleteBucketOwnershipControlsCommand) + .sc(DeleteBucketOwnershipControls) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketPolicyCommand.ts b/clients/client-s3/src/commands/DeleteBucketPolicyCommand.ts index e50010403c4b..51f0c7e6c5a1 100644 --- a/clients/client-s3/src/commands/DeleteBucketPolicyCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketPolicyCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketPolicyRequest } from "../models/models_0"; -import { de_DeleteBucketPolicyCommand, se_DeleteBucketPolicyCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketPolicy } from "../schemas/com.amazonaws.s3"; /** * @public @@ -147,16 +146,12 @@ export class DeleteBucketPolicyCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketPolicy", {}) .n("S3Client", "DeleteBucketPolicyCommand") .f(void 0, void 0) - .ser(se_DeleteBucketPolicyCommand) - .de(de_DeleteBucketPolicyCommand) + .sc(DeleteBucketPolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketReplicationCommand.ts b/clients/client-s3/src/commands/DeleteBucketReplicationCommand.ts index d6bb7c31cd3d..a34a3d4a8c91 100644 --- a/clients/client-s3/src/commands/DeleteBucketReplicationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketReplicationCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketReplicationRequest } from "../models/models_0"; -import { de_DeleteBucketReplicationCommand, se_DeleteBucketReplicationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketReplication } from "../schemas/com.amazonaws.s3"; /** * @public @@ -108,16 +107,12 @@ export class DeleteBucketReplicationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketReplication", {}) .n("S3Client", "DeleteBucketReplicationCommand") .f(void 0, void 0) - .ser(se_DeleteBucketReplicationCommand) - .de(de_DeleteBucketReplicationCommand) + .sc(DeleteBucketReplication) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketTaggingCommand.ts b/clients/client-s3/src/commands/DeleteBucketTaggingCommand.ts index fb3d0475232c..e8731f81ba3a 100644 --- a/clients/client-s3/src/commands/DeleteBucketTaggingCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketTaggingCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketTaggingRequest } from "../models/models_0"; -import { de_DeleteBucketTaggingCommand, se_DeleteBucketTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -100,16 +99,12 @@ export class DeleteBucketTaggingCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketTagging", {}) .n("S3Client", "DeleteBucketTaggingCommand") .f(void 0, void 0) - .ser(se_DeleteBucketTaggingCommand) - .de(de_DeleteBucketTaggingCommand) + .sc(DeleteBucketTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteBucketWebsiteCommand.ts b/clients/client-s3/src/commands/DeleteBucketWebsiteCommand.ts index 2c675338d71a..2eba19cab197 100644 --- a/clients/client-s3/src/commands/DeleteBucketWebsiteCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketWebsiteCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteBucketWebsiteRequest } from "../models/models_0"; -import { de_DeleteBucketWebsiteCommand, se_DeleteBucketWebsiteCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteBucketWebsite } from "../schemas/com.amazonaws.s3"; /** * @public @@ -107,16 +106,12 @@ export class DeleteBucketWebsiteCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeleteBucketWebsite", {}) .n("S3Client", "DeleteBucketWebsiteCommand") .f(void 0, void 0) - .ser(se_DeleteBucketWebsiteCommand) - .de(de_DeleteBucketWebsiteCommand) + .sc(DeleteBucketWebsite) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteObjectCommand.ts b/clients/client-s3/src/commands/DeleteObjectCommand.ts index f79c64f86fc7..dda8834f83a4 100644 --- a/clients/client-s3/src/commands/DeleteObjectCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteObjectOutput, DeleteObjectRequest } from "../models/models_0"; -import { de_DeleteObjectCommand, se_DeleteObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -206,17 +205,12 @@ export class DeleteObjectCommand extends $Command Key: { type: "contextParams", name: "Key" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "DeleteObject", {}) .n("S3Client", "DeleteObjectCommand") .f(void 0, void 0) - .ser(se_DeleteObjectCommand) - .de(de_DeleteObjectCommand) + .sc(DeleteObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts b/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts index f1c0711b8df7..e9dc4da8313e 100644 --- a/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectTaggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteObjectTaggingOutput, DeleteObjectTaggingRequest } from "../models/models_0"; -import { de_DeleteObjectTaggingCommand, se_DeleteObjectTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteObjectTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -131,17 +130,12 @@ export class DeleteObjectTaggingCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "DeleteObjectTagging", {}) .n("S3Client", "DeleteObjectTaggingCommand") .f(void 0, void 0) - .ser(se_DeleteObjectTaggingCommand) - .de(de_DeleteObjectTaggingCommand) + .sc(DeleteObjectTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeleteObjectsCommand.ts b/clients/client-s3/src/commands/DeleteObjectsCommand.ts index f467b4b1e82a..d6b262028b70 100644 --- a/clients/client-s3/src/commands/DeleteObjectsCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectsCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteObjectsOutput, DeleteObjectsRequest } from "../models/models_0"; -import { de_DeleteObjectsCommand, se_DeleteObjectsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeleteObjects } from "../schemas/com.amazonaws.s3"; /** * @public @@ -318,7 +317,6 @@ export class DeleteObjectsCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -330,8 +328,7 @@ export class DeleteObjectsCommand extends $Command .s("AmazonS3", "DeleteObjects", {}) .n("S3Client", "DeleteObjectsCommand") .f(void 0, void 0) - .ser(se_DeleteObjectsCommand) - .de(de_DeleteObjectsCommand) + .sc(DeleteObjects) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/DeletePublicAccessBlockCommand.ts b/clients/client-s3/src/commands/DeletePublicAccessBlockCommand.ts index 9365facaf94e..df1323226235 100644 --- a/clients/client-s3/src/commands/DeletePublicAccessBlockCommand.ts +++ b/clients/client-s3/src/commands/DeletePublicAccessBlockCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeletePublicAccessBlockRequest } from "../models/models_0"; -import { de_DeletePublicAccessBlockCommand, se_DeletePublicAccessBlockCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { DeletePublicAccessBlock } from "../schemas/com.amazonaws.s3"; /** * @public @@ -100,16 +99,12 @@ export class DeletePublicAccessBlockCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "DeletePublicAccessBlock", {}) .n("S3Client", "DeletePublicAccessBlockCommand") .f(void 0, void 0) - .ser(se_DeletePublicAccessBlockCommand) - .de(de_DeletePublicAccessBlockCommand) + .sc(DeletePublicAccessBlock) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketAccelerateConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketAccelerateConfigurationCommand.ts index 6cd0cbf59f8a..1bf1c48005f2 100644 --- a/clients/client-s3/src/commands/GetBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketAccelerateConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketAccelerateConfigurationOutput, GetBucketAccelerateConfigurationRequest } from "../models/models_0"; -import { - de_GetBucketAccelerateConfigurationCommand, - se_GetBucketAccelerateConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketAccelerateConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -108,17 +104,12 @@ export class GetBucketAccelerateConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketAccelerateConfiguration", {}) .n("S3Client", "GetBucketAccelerateConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketAccelerateConfigurationCommand) - .de(de_GetBucketAccelerateConfigurationCommand) + .sc(GetBucketAccelerateConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketAclCommand.ts b/clients/client-s3/src/commands/GetBucketAclCommand.ts index bbf9fc234064..dca4ad6613e7 100644 --- a/clients/client-s3/src/commands/GetBucketAclCommand.ts +++ b/clients/client-s3/src/commands/GetBucketAclCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketAclOutput, GetBucketAclRequest } from "../models/models_0"; -import { de_GetBucketAclCommand, se_GetBucketAclCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketAcl } from "../schemas/com.amazonaws.s3"; /** * @public @@ -116,17 +115,12 @@ export class GetBucketAclCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketAcl", {}) .n("S3Client", "GetBucketAclCommand") .f(void 0, void 0) - .ser(se_GetBucketAclCommand) - .de(de_GetBucketAclCommand) + .sc(GetBucketAcl) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts index 7f9058bd531d..6569e320085e 100644 --- a/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketAnalyticsConfigurationOutput, GetBucketAnalyticsConfigurationRequest } from "../models/models_0"; -import { - de_GetBucketAnalyticsConfigurationCommand, - se_GetBucketAnalyticsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketAnalyticsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -141,17 +137,12 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketAnalyticsConfiguration", {}) .n("S3Client", "GetBucketAnalyticsConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketAnalyticsConfigurationCommand) - .de(de_GetBucketAnalyticsConfigurationCommand) + .sc(GetBucketAnalyticsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketCorsCommand.ts b/clients/client-s3/src/commands/GetBucketCorsCommand.ts index 260230abfba4..cc6afa6cb670 100644 --- a/clients/client-s3/src/commands/GetBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/GetBucketCorsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketCorsOutput, GetBucketCorsRequest } from "../models/models_0"; -import { de_GetBucketCorsCommand, se_GetBucketCorsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketCors } from "../schemas/com.amazonaws.s3"; /** * @public @@ -146,17 +145,12 @@ export class GetBucketCorsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketCors", {}) .n("S3Client", "GetBucketCorsCommand") .f(void 0, void 0) - .ser(se_GetBucketCorsCommand) - .de(de_GetBucketCorsCommand) + .sc(GetBucketCors) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketEncryptionCommand.ts b/clients/client-s3/src/commands/GetBucketEncryptionCommand.ts index ef61986d26ee..ed90e668a504 100644 --- a/clients/client-s3/src/commands/GetBucketEncryptionCommand.ts +++ b/clients/client-s3/src/commands/GetBucketEncryptionCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,8 +10,8 @@ import { GetBucketEncryptionOutputFilterSensitiveLog, GetBucketEncryptionRequest, } from "../models/models_0"; -import { de_GetBucketEncryptionCommand, se_GetBucketEncryptionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketEncryption } from "../schemas/com.amazonaws.s3"; /** * @public @@ -148,17 +147,12 @@ export class GetBucketEncryptionCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketEncryption", {}) .n("S3Client", "GetBucketEncryptionCommand") .f(void 0, GetBucketEncryptionOutputFilterSensitiveLog) - .ser(se_GetBucketEncryptionCommand) - .de(de_GetBucketEncryptionCommand) + .sc(GetBucketEncryption) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketIntelligentTieringConfigurationCommand.ts index 4369b3df6065..ff6fbc5959c6 100644 --- a/clients/client-s3/src/commands/GetBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketIntelligentTieringConfigurationCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,11 +9,8 @@ import { GetBucketIntelligentTieringConfigurationOutput, GetBucketIntelligentTieringConfigurationRequest, } from "../models/models_0"; -import { - de_GetBucketIntelligentTieringConfigurationCommand, - se_GetBucketIntelligentTieringConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketIntelligentTieringConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -131,17 +127,12 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {}) .n("S3Client", "GetBucketIntelligentTieringConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketIntelligentTieringConfigurationCommand) - .de(de_GetBucketIntelligentTieringConfigurationCommand) + .sc(GetBucketIntelligentTieringConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts index 38767f30bc06..5bc53f7da1ca 100644 --- a/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,11 +10,8 @@ import { GetBucketInventoryConfigurationOutputFilterSensitiveLog, GetBucketInventoryConfigurationRequest, } from "../models/models_0"; -import { - de_GetBucketInventoryConfigurationCommand, - se_GetBucketInventoryConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketInventoryConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -139,17 +135,12 @@ export class GetBucketInventoryConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketInventoryConfiguration", {}) .n("S3Client", "GetBucketInventoryConfigurationCommand") .f(void 0, GetBucketInventoryConfigurationOutputFilterSensitiveLog) - .ser(se_GetBucketInventoryConfigurationCommand) - .de(de_GetBucketInventoryConfigurationCommand) + .sc(GetBucketInventoryConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts index 7c4874481ae8..faf9974910c7 100644 --- a/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketLifecycleConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketLifecycleConfigurationOutput, GetBucketLifecycleConfigurationRequest } from "../models/models_0"; -import { - de_GetBucketLifecycleConfigurationCommand, - se_GetBucketLifecycleConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketLifecycleConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -260,17 +256,12 @@ export class GetBucketLifecycleConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketLifecycleConfiguration", {}) .n("S3Client", "GetBucketLifecycleConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketLifecycleConfigurationCommand) - .de(de_GetBucketLifecycleConfigurationCommand) + .sc(GetBucketLifecycleConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketLocationCommand.ts b/clients/client-s3/src/commands/GetBucketLocationCommand.ts index cbcb05eb0204..509ebb5fbef8 100644 --- a/clients/client-s3/src/commands/GetBucketLocationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketLocationCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketLocationOutput, GetBucketLocationRequest } from "../models/models_0"; -import { de_GetBucketLocationCommand, se_GetBucketLocationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketLocation } from "../schemas/com.amazonaws.s3"; /** * @public @@ -117,17 +116,12 @@ export class GetBucketLocationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketLocation", {}) .n("S3Client", "GetBucketLocationCommand") .f(void 0, void 0) - .ser(se_GetBucketLocationCommand) - .de(de_GetBucketLocationCommand) + .sc(GetBucketLocation) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketLoggingCommand.ts b/clients/client-s3/src/commands/GetBucketLoggingCommand.ts index 960a6ea25914..7e8ad1929222 100644 --- a/clients/client-s3/src/commands/GetBucketLoggingCommand.ts +++ b/clients/client-s3/src/commands/GetBucketLoggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketLoggingOutput, GetBucketLoggingRequest } from "../models/models_0"; -import { de_GetBucketLoggingCommand, se_GetBucketLoggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketLogging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -111,17 +110,12 @@ export class GetBucketLoggingCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketLogging", {}) .n("S3Client", "GetBucketLoggingCommand") .f(void 0, void 0) - .ser(se_GetBucketLoggingCommand) - .de(de_GetBucketLoggingCommand) + .sc(GetBucketLogging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketMetadataTableConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketMetadataTableConfigurationCommand.ts index 7c9a9d396661..0529f518e3f2 100644 --- a/clients/client-s3/src/commands/GetBucketMetadataTableConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketMetadataTableConfigurationCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,11 +9,8 @@ import { GetBucketMetadataTableConfigurationOutput, GetBucketMetadataTableConfigurationRequest, } from "../models/models_0"; -import { - de_GetBucketMetadataTableConfigurationCommand, - se_GetBucketMetadataTableConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketMetadataTableConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -120,17 +116,12 @@ export class GetBucketMetadataTableConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketMetadataTableConfiguration", {}) .n("S3Client", "GetBucketMetadataTableConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketMetadataTableConfigurationCommand) - .de(de_GetBucketMetadataTableConfigurationCommand) + .sc(GetBucketMetadataTableConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketMetricsConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketMetricsConfigurationCommand.ts index 3d2d9b489991..1a47f2dc8a73 100644 --- a/clients/client-s3/src/commands/GetBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketMetricsConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketMetricsConfigurationOutput, GetBucketMetricsConfigurationRequest } from "../models/models_0"; -import { - de_GetBucketMetricsConfigurationCommand, - se_GetBucketMetricsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketMetricsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -134,17 +130,12 @@ export class GetBucketMetricsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketMetricsConfiguration", {}) .n("S3Client", "GetBucketMetricsConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketMetricsConfigurationCommand) - .de(de_GetBucketMetricsConfigurationCommand) + .sc(GetBucketMetricsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketNotificationConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketNotificationConfigurationCommand.ts index d1d43c0c9e99..01e894f59645 100644 --- a/clients/client-s3/src/commands/GetBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketNotificationConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketNotificationConfigurationRequest, NotificationConfiguration } from "../models/models_0"; -import { - de_GetBucketNotificationConfigurationCommand, - se_GetBucketNotificationConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketNotificationConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -158,17 +154,12 @@ export class GetBucketNotificationConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketNotificationConfiguration", {}) .n("S3Client", "GetBucketNotificationConfigurationCommand") .f(void 0, void 0) - .ser(se_GetBucketNotificationConfigurationCommand) - .de(de_GetBucketNotificationConfigurationCommand) + .sc(GetBucketNotificationConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketOwnershipControlsCommand.ts b/clients/client-s3/src/commands/GetBucketOwnershipControlsCommand.ts index ca31f1880123..5f6a0ebdd7f3 100644 --- a/clients/client-s3/src/commands/GetBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/src/commands/GetBucketOwnershipControlsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketOwnershipControlsOutput, GetBucketOwnershipControlsRequest } from "../models/models_0"; -import { de_GetBucketOwnershipControlsCommand, se_GetBucketOwnershipControlsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketOwnershipControls } from "../schemas/com.amazonaws.s3"; /** * @public @@ -100,17 +99,12 @@ export class GetBucketOwnershipControlsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketOwnershipControls", {}) .n("S3Client", "GetBucketOwnershipControlsCommand") .f(void 0, void 0) - .ser(se_GetBucketOwnershipControlsCommand) - .de(de_GetBucketOwnershipControlsCommand) + .sc(GetBucketOwnershipControls) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketPolicyCommand.ts b/clients/client-s3/src/commands/GetBucketPolicyCommand.ts index 2d5c47529bb8..f2944435497f 100644 --- a/clients/client-s3/src/commands/GetBucketPolicyCommand.ts +++ b/clients/client-s3/src/commands/GetBucketPolicyCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketPolicyOutput, GetBucketPolicyRequest } from "../models/models_0"; -import { de_GetBucketPolicyCommand, se_GetBucketPolicyCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketPolicy } from "../schemas/com.amazonaws.s3"; /** * @public @@ -160,17 +159,12 @@ export class GetBucketPolicyCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketPolicy", {}) .n("S3Client", "GetBucketPolicyCommand") .f(void 0, void 0) - .ser(se_GetBucketPolicyCommand) - .de(de_GetBucketPolicyCommand) + .sc(GetBucketPolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketPolicyStatusCommand.ts b/clients/client-s3/src/commands/GetBucketPolicyStatusCommand.ts index 52e3680e9fdb..01b60b90bc96 100644 --- a/clients/client-s3/src/commands/GetBucketPolicyStatusCommand.ts +++ b/clients/client-s3/src/commands/GetBucketPolicyStatusCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketPolicyStatusOutput, GetBucketPolicyStatusRequest } from "../models/models_0"; -import { de_GetBucketPolicyStatusCommand, se_GetBucketPolicyStatusCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketPolicyStatus } from "../schemas/com.amazonaws.s3"; /** * @public @@ -106,17 +105,12 @@ export class GetBucketPolicyStatusCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketPolicyStatus", {}) .n("S3Client", "GetBucketPolicyStatusCommand") .f(void 0, void 0) - .ser(se_GetBucketPolicyStatusCommand) - .de(de_GetBucketPolicyStatusCommand) + .sc(GetBucketPolicyStatus) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketReplicationCommand.ts b/clients/client-s3/src/commands/GetBucketReplicationCommand.ts index 2884b3b675a7..8496d9208ede 100644 --- a/clients/client-s3/src/commands/GetBucketReplicationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketReplicationCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketReplicationOutput, GetBucketReplicationRequest } from "../models/models_0"; -import { de_GetBucketReplicationCommand, se_GetBucketReplicationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketReplication } from "../schemas/com.amazonaws.s3"; /** * @public @@ -196,17 +195,12 @@ export class GetBucketReplicationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketReplication", {}) .n("S3Client", "GetBucketReplicationCommand") .f(void 0, void 0) - .ser(se_GetBucketReplicationCommand) - .de(de_GetBucketReplicationCommand) + .sc(GetBucketReplication) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketRequestPaymentCommand.ts b/clients/client-s3/src/commands/GetBucketRequestPaymentCommand.ts index b47c2471f4ca..3e56f4348347 100644 --- a/clients/client-s3/src/commands/GetBucketRequestPaymentCommand.ts +++ b/clients/client-s3/src/commands/GetBucketRequestPaymentCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketRequestPaymentOutput, GetBucketRequestPaymentRequest } from "../models/models_0"; -import { de_GetBucketRequestPaymentCommand, se_GetBucketRequestPaymentCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketRequestPayment } from "../schemas/com.amazonaws.s3"; /** * @public @@ -102,17 +101,12 @@ export class GetBucketRequestPaymentCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketRequestPayment", {}) .n("S3Client", "GetBucketRequestPaymentCommand") .f(void 0, void 0) - .ser(se_GetBucketRequestPaymentCommand) - .de(de_GetBucketRequestPaymentCommand) + .sc(GetBucketRequestPayment) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketTaggingCommand.ts b/clients/client-s3/src/commands/GetBucketTaggingCommand.ts index c7591ffbaba7..778b56410098 100644 --- a/clients/client-s3/src/commands/GetBucketTaggingCommand.ts +++ b/clients/client-s3/src/commands/GetBucketTaggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketTaggingOutput, GetBucketTaggingRequest } from "../models/models_0"; -import { de_GetBucketTaggingCommand, se_GetBucketTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -135,17 +134,12 @@ export class GetBucketTaggingCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketTagging", {}) .n("S3Client", "GetBucketTaggingCommand") .f(void 0, void 0) - .ser(se_GetBucketTaggingCommand) - .de(de_GetBucketTaggingCommand) + .sc(GetBucketTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketVersioningCommand.ts b/clients/client-s3/src/commands/GetBucketVersioningCommand.ts index aa394707a27a..3f2f9ac516f8 100644 --- a/clients/client-s3/src/commands/GetBucketVersioningCommand.ts +++ b/clients/client-s3/src/commands/GetBucketVersioningCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketVersioningOutput, GetBucketVersioningRequest } from "../models/models_0"; -import { de_GetBucketVersioningCommand, se_GetBucketVersioningCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketVersioning } from "../schemas/com.amazonaws.s3"; /** * @public @@ -116,17 +115,12 @@ export class GetBucketVersioningCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketVersioning", {}) .n("S3Client", "GetBucketVersioningCommand") .f(void 0, void 0) - .ser(se_GetBucketVersioningCommand) - .de(de_GetBucketVersioningCommand) + .sc(GetBucketVersioning) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetBucketWebsiteCommand.ts b/clients/client-s3/src/commands/GetBucketWebsiteCommand.ts index 01d9428b1027..2673fbbbf4eb 100644 --- a/clients/client-s3/src/commands/GetBucketWebsiteCommand.ts +++ b/clients/client-s3/src/commands/GetBucketWebsiteCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetBucketWebsiteOutput, GetBucketWebsiteRequest } from "../models/models_0"; -import { de_GetBucketWebsiteCommand, se_GetBucketWebsiteCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetBucketWebsite } from "../schemas/com.amazonaws.s3"; /** * @public @@ -140,17 +139,12 @@ export class GetBucketWebsiteCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetBucketWebsite", {}) .n("S3Client", "GetBucketWebsiteCommand") .f(void 0, void 0) - .ser(se_GetBucketWebsiteCommand) - .de(de_GetBucketWebsiteCommand) + .sc(GetBucketWebsite) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectAclCommand.ts b/clients/client-s3/src/commands/GetObjectAclCommand.ts index 17289b4b64d6..544f323ccdfd 100644 --- a/clients/client-s3/src/commands/GetObjectAclCommand.ts +++ b/clients/client-s3/src/commands/GetObjectAclCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectAclOutput, GetObjectAclRequest } from "../models/models_0"; -import { de_GetObjectAclCommand, se_GetObjectAclCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectAcl } from "../schemas/com.amazonaws.s3"; /** * @public @@ -190,17 +189,12 @@ export class GetObjectAclCommand extends $Command Key: { type: "contextParams", name: "Key" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetObjectAcl", {}) .n("S3Client", "GetObjectAclCommand") .f(void 0, void 0) - .ser(se_GetObjectAclCommand) - .de(de_GetObjectAclCommand) + .sc(GetObjectAcl) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectAttributesCommand.ts b/clients/client-s3/src/commands/GetObjectAttributesCommand.ts index f60ed5402482..ed7ec466443b 100644 --- a/clients/client-s3/src/commands/GetObjectAttributesCommand.ts +++ b/clients/client-s3/src/commands/GetObjectAttributesCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -12,8 +11,8 @@ import { GetObjectAttributesRequest, GetObjectAttributesRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_GetObjectAttributesCommand, se_GetObjectAttributesCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectAttributes } from "../schemas/com.amazonaws.s3"; /** * @public @@ -335,7 +334,6 @@ export class GetObjectAttributesCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -344,8 +342,7 @@ export class GetObjectAttributesCommand extends $Command .s("AmazonS3", "GetObjectAttributes", {}) .n("S3Client", "GetObjectAttributesCommand") .f(GetObjectAttributesRequestFilterSensitiveLog, void 0) - .ser(se_GetObjectAttributesCommand) - .de(de_GetObjectAttributesCommand) + .sc(GetObjectAttributes) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectCommand.ts b/clients/client-s3/src/commands/GetObjectCommand.ts index baec50c0c0ec..b716e7ac43f7 100644 --- a/clients/client-s3/src/commands/GetObjectCommand.ts +++ b/clients/client-s3/src/commands/GetObjectCommand.ts @@ -3,7 +3,6 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types"; @@ -14,8 +13,8 @@ import { GetObjectRequest, GetObjectRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_GetObjectCommand, se_GetObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -379,7 +378,6 @@ export class GetObjectCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestChecksumRequired: false, @@ -393,8 +391,7 @@ export class GetObjectCommand extends $Command .s("AmazonS3", "GetObject", {}) .n("S3Client", "GetObjectCommand") .f(GetObjectRequestFilterSensitiveLog, GetObjectOutputFilterSensitiveLog) - .ser(se_GetObjectCommand) - .de(de_GetObjectCommand) + .sc(GetObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectLegalHoldCommand.ts b/clients/client-s3/src/commands/GetObjectLegalHoldCommand.ts index 42a32695aa06..a7c51eca0c76 100644 --- a/clients/client-s3/src/commands/GetObjectLegalHoldCommand.ts +++ b/clients/client-s3/src/commands/GetObjectLegalHoldCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectLegalHoldOutput, GetObjectLegalHoldRequest } from "../models/models_0"; -import { de_GetObjectLegalHoldCommand, se_GetObjectLegalHoldCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectLegalHold } from "../schemas/com.amazonaws.s3"; /** * @public @@ -90,17 +89,12 @@ export class GetObjectLegalHoldCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetObjectLegalHold", {}) .n("S3Client", "GetObjectLegalHoldCommand") .f(void 0, void 0) - .ser(se_GetObjectLegalHoldCommand) - .de(de_GetObjectLegalHoldCommand) + .sc(GetObjectLegalHold) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts b/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts index 0876d0b79f47..7477524c47be 100644 --- a/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectLockConfigurationOutput, GetObjectLockConfigurationRequest } from "../models/models_0"; -import { de_GetObjectLockConfigurationCommand, se_GetObjectLockConfigurationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectLockConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -94,17 +93,12 @@ export class GetObjectLockConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetObjectLockConfiguration", {}) .n("S3Client", "GetObjectLockConfigurationCommand") .f(void 0, void 0) - .ser(se_GetObjectLockConfigurationCommand) - .de(de_GetObjectLockConfigurationCommand) + .sc(GetObjectLockConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectRetentionCommand.ts b/clients/client-s3/src/commands/GetObjectRetentionCommand.ts index bb8dae51a5b9..0cac855041ef 100644 --- a/clients/client-s3/src/commands/GetObjectRetentionCommand.ts +++ b/clients/client-s3/src/commands/GetObjectRetentionCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectRetentionOutput, GetObjectRetentionRequest } from "../models/models_0"; -import { de_GetObjectRetentionCommand, se_GetObjectRetentionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectRetention } from "../schemas/com.amazonaws.s3"; /** * @public @@ -91,17 +90,12 @@ export class GetObjectRetentionCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetObjectRetention", {}) .n("S3Client", "GetObjectRetentionCommand") .f(void 0, void 0) - .ser(se_GetObjectRetentionCommand) - .de(de_GetObjectRetentionCommand) + .sc(GetObjectRetention) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectTaggingCommand.ts b/clients/client-s3/src/commands/GetObjectTaggingCommand.ts index 5a3472b83c6a..f0bdb8139e2f 100644 --- a/clients/client-s3/src/commands/GetObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/GetObjectTaggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectTaggingOutput, GetObjectTaggingRequest } from "../models/models_0"; -import { de_GetObjectTaggingCommand, se_GetObjectTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -163,17 +162,12 @@ export class GetObjectTaggingCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetObjectTagging", {}) .n("S3Client", "GetObjectTaggingCommand") .f(void 0, void 0) - .ser(se_GetObjectTaggingCommand) - .de(de_GetObjectTaggingCommand) + .sc(GetObjectTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetObjectTorrentCommand.ts b/clients/client-s3/src/commands/GetObjectTorrentCommand.ts index a68e90485395..daec1e432c83 100644 --- a/clients/client-s3/src/commands/GetObjectTorrentCommand.ts +++ b/clients/client-s3/src/commands/GetObjectTorrentCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types"; @@ -10,8 +9,8 @@ import { GetObjectTorrentOutputFilterSensitiveLog, GetObjectTorrentRequest, } from "../models/models_0"; -import { de_GetObjectTorrentCommand, se_GetObjectTorrentCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetObjectTorrent } from "../schemas/com.amazonaws.s3"; /** * @public @@ -111,16 +110,12 @@ export class GetObjectTorrentCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "GetObjectTorrent", {}) .n("S3Client", "GetObjectTorrentCommand") .f(void 0, GetObjectTorrentOutputFilterSensitiveLog) - .ser(se_GetObjectTorrentCommand) - .de(de_GetObjectTorrentCommand) + .sc(GetObjectTorrent) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts index 6686cf535f42..16f8a059c706 100644 --- a/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetPublicAccessBlockOutput, GetPublicAccessBlockRequest } from "../models/models_0"; -import { de_GetPublicAccessBlockCommand, se_GetPublicAccessBlockCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { GetPublicAccessBlock } from "../schemas/com.amazonaws.s3"; /** * @public @@ -117,17 +116,12 @@ export class GetPublicAccessBlockCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "GetPublicAccessBlock", {}) .n("S3Client", "GetPublicAccessBlockCommand") .f(void 0, void 0) - .ser(se_GetPublicAccessBlockCommand) - .de(de_GetPublicAccessBlockCommand) + .sc(GetPublicAccessBlock) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/HeadBucketCommand.ts b/clients/client-s3/src/commands/HeadBucketCommand.ts index e3abf91b4485..658ed51ac86e 100644 --- a/clients/client-s3/src/commands/HeadBucketCommand.ts +++ b/clients/client-s3/src/commands/HeadBucketCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { HeadBucketOutput, HeadBucketRequest } from "../models/models_0"; -import { de_HeadBucketCommand, se_HeadBucketCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { HeadBucket } from "../schemas/com.amazonaws.s3"; /** * @public @@ -157,17 +156,12 @@ export class HeadBucketCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "HeadBucket", {}) .n("S3Client", "HeadBucketCommand") .f(void 0, void 0) - .ser(se_HeadBucketCommand) - .de(de_HeadBucketCommand) + .sc(HeadBucket) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/HeadObjectCommand.ts b/clients/client-s3/src/commands/HeadObjectCommand.ts index d37f6682a040..79e21e493070 100644 --- a/clients/client-s3/src/commands/HeadObjectCommand.ts +++ b/clients/client-s3/src/commands/HeadObjectCommand.ts @@ -2,7 +2,6 @@ import { getS3ExpiresMiddlewarePlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { HeadObjectRequest, HeadObjectRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_HeadObjectCommand, se_HeadObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { HeadObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -326,7 +325,6 @@ export class HeadObjectCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -336,8 +334,7 @@ export class HeadObjectCommand extends $Command .s("AmazonS3", "HeadObject", {}) .n("S3Client", "HeadObjectCommand") .f(HeadObjectRequestFilterSensitiveLog, HeadObjectOutputFilterSensitiveLog) - .ser(se_HeadObjectCommand) - .de(de_HeadObjectCommand) + .sc(HeadObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts index 8cb9ce76269c..d3e935d3c731 100644 --- a/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListBucketAnalyticsConfigurationsOutput, ListBucketAnalyticsConfigurationsRequest } from "../models/models_0"; -import { - de_ListBucketAnalyticsConfigurationsCommand, - se_ListBucketAnalyticsConfigurationsCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListBucketAnalyticsConfigurations } from "../schemas/com.amazonaws.s3"; /** * @public @@ -153,17 +149,12 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListBucketAnalyticsConfigurations", {}) .n("S3Client", "ListBucketAnalyticsConfigurationsCommand") .f(void 0, void 0) - .ser(se_ListBucketAnalyticsConfigurationsCommand) - .de(de_ListBucketAnalyticsConfigurationsCommand) + .sc(ListBucketAnalyticsConfigurations) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts index 7f7183e052f5..f2277240039b 100644 --- a/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,11 +9,8 @@ import { ListBucketIntelligentTieringConfigurationsOutput, ListBucketIntelligentTieringConfigurationsRequest, } from "../models/models_0"; -import { - de_ListBucketIntelligentTieringConfigurationsCommand, - se_ListBucketIntelligentTieringConfigurationsCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListBucketIntelligentTieringConfigurations } from "../schemas/com.amazonaws.s3"; /** * @public @@ -136,17 +132,12 @@ export class ListBucketIntelligentTieringConfigurationsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {}) .n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand") .f(void 0, void 0) - .ser(se_ListBucketIntelligentTieringConfigurationsCommand) - .de(de_ListBucketIntelligentTieringConfigurationsCommand) + .sc(ListBucketIntelligentTieringConfigurations) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts index 201ca1c96e6c..c8efae007161 100644 --- a/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts @@ -1,7 +1,6 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -11,11 +10,8 @@ import { ListBucketInventoryConfigurationsOutputFilterSensitiveLog, ListBucketInventoryConfigurationsRequest, } from "../models/models_0"; -import { - de_ListBucketInventoryConfigurationsCommand, - se_ListBucketInventoryConfigurationsCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListBucketInventoryConfigurations } from "../schemas/com.amazonaws.s3"; /** * @public @@ -152,17 +148,12 @@ export class ListBucketInventoryConfigurationsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListBucketInventoryConfigurations", {}) .n("S3Client", "ListBucketInventoryConfigurationsCommand") .f(void 0, ListBucketInventoryConfigurationsOutputFilterSensitiveLog) - .ser(se_ListBucketInventoryConfigurationsCommand) - .de(de_ListBucketInventoryConfigurationsCommand) + .sc(ListBucketInventoryConfigurations) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts index 0e40ae3b1a68..f438a759307e 100644 --- a/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListBucketMetricsConfigurationsOutput, ListBucketMetricsConfigurationsRequest } from "../models/models_0"; -import { - de_ListBucketMetricsConfigurationsCommand, - se_ListBucketMetricsConfigurationsCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListBucketMetricsConfigurations } from "../schemas/com.amazonaws.s3"; /** * @public @@ -141,17 +137,12 @@ export class ListBucketMetricsConfigurationsCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListBucketMetricsConfigurations", {}) .n("S3Client", "ListBucketMetricsConfigurationsCommand") .f(void 0, void 0) - .ser(se_ListBucketMetricsConfigurationsCommand) - .de(de_ListBucketMetricsConfigurationsCommand) + .sc(ListBucketMetricsConfigurations) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListBucketsCommand.ts b/clients/client-s3/src/commands/ListBucketsCommand.ts index 77dc71f62345..813e47f0c2c9 100644 --- a/clients/client-s3/src/commands/ListBucketsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListBucketsOutput, ListBucketsRequest } from "../models/models_0"; -import { de_ListBucketsCommand, se_ListBucketsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListBuckets } from "../schemas/com.amazonaws.s3"; /** * @public @@ -127,17 +126,12 @@ export class ListBucketsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListBuckets", {}) .n("S3Client", "ListBucketsCommand") .f(void 0, void 0) - .ser(se_ListBucketsCommand) - .de(de_ListBucketsCommand) + .sc(ListBuckets) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListDirectoryBucketsCommand.ts b/clients/client-s3/src/commands/ListDirectoryBucketsCommand.ts index 841902e44f09..a1449008c006 100644 --- a/clients/client-s3/src/commands/ListDirectoryBucketsCommand.ts +++ b/clients/client-s3/src/commands/ListDirectoryBucketsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListDirectoryBucketsOutput, ListDirectoryBucketsRequest } from "../models/models_0"; -import { de_ListDirectoryBucketsCommand, se_ListDirectoryBucketsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListDirectoryBuckets } from "../schemas/com.amazonaws.s3"; /** * @public @@ -107,17 +106,12 @@ export class ListDirectoryBucketsCommand extends $Command UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListDirectoryBuckets", {}) .n("S3Client", "ListDirectoryBucketsCommand") .f(void 0, void 0) - .ser(se_ListDirectoryBucketsCommand) - .de(de_ListDirectoryBucketsCommand) + .sc(ListDirectoryBuckets) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts b/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts index 6cad5aa6f2d3..e4293b3e88ca 100644 --- a/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListMultipartUploadsOutput, ListMultipartUploadsRequest } from "../models/models_0"; -import { de_ListMultipartUploadsCommand, se_ListMultipartUploadsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListMultipartUploads } from "../schemas/com.amazonaws.s3"; /** * @public @@ -346,17 +345,12 @@ export class ListMultipartUploadsCommand extends $Command Prefix: { type: "contextParams", name: "Prefix" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListMultipartUploads", {}) .n("S3Client", "ListMultipartUploadsCommand") .f(void 0, void 0) - .ser(se_ListMultipartUploadsCommand) - .de(de_ListMultipartUploadsCommand) + .sc(ListMultipartUploads) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListObjectVersionsCommand.ts b/clients/client-s3/src/commands/ListObjectVersionsCommand.ts index c9b5600cc27f..b2ea4b81d48d 100644 --- a/clients/client-s3/src/commands/ListObjectVersionsCommand.ts +++ b/clients/client-s3/src/commands/ListObjectVersionsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/models_0"; -import { de_ListObjectVersionsCommand, se_ListObjectVersionsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListObjectVersions } from "../schemas/com.amazonaws.s3"; /** * @public @@ -215,17 +214,12 @@ export class ListObjectVersionsCommand extends $Command Prefix: { type: "contextParams", name: "Prefix" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListObjectVersions", {}) .n("S3Client", "ListObjectVersionsCommand") .f(void 0, void 0) - .ser(se_ListObjectVersionsCommand) - .de(de_ListObjectVersionsCommand) + .sc(ListObjectVersions) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListObjectsCommand.ts b/clients/client-s3/src/commands/ListObjectsCommand.ts index 9d424a408363..0ccc904a6e65 100644 --- a/clients/client-s3/src/commands/ListObjectsCommand.ts +++ b/clients/client-s3/src/commands/ListObjectsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListObjectsOutput, ListObjectsRequest } from "../models/models_0"; -import { de_ListObjectsCommand, se_ListObjectsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListObjects } from "../schemas/com.amazonaws.s3"; /** * @public @@ -198,17 +197,12 @@ export class ListObjectsCommand extends $Command Prefix: { type: "contextParams", name: "Prefix" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListObjects", {}) .n("S3Client", "ListObjectsCommand") .f(void 0, void 0) - .ser(se_ListObjectsCommand) - .de(de_ListObjectsCommand) + .sc(ListObjects) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListObjectsV2Command.ts b/clients/client-s3/src/commands/ListObjectsV2Command.ts index 9a6bcf441e0f..8eae3cf445d8 100644 --- a/clients/client-s3/src/commands/ListObjectsV2Command.ts +++ b/clients/client-s3/src/commands/ListObjectsV2Command.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_0"; -import { de_ListObjectsV2Command, se_ListObjectsV2Command } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListObjectsV2 } from "../schemas/com.amazonaws.s3"; /** * @public @@ -263,17 +262,12 @@ export class ListObjectsV2Command extends $Command Prefix: { type: "contextParams", name: "Prefix" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - getThrow200ExceptionsPlugin(config), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)]; }) .s("AmazonS3", "ListObjectsV2", {}) .n("S3Client", "ListObjectsV2Command") .f(void 0, void 0) - .ser(se_ListObjectsV2Command) - .de(de_ListObjectsV2Command) + .sc(ListObjectsV2) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/ListPartsCommand.ts b/clients/client-s3/src/commands/ListPartsCommand.ts index 26b77b02ff94..735e00413e28 100644 --- a/clients/client-s3/src/commands/ListPartsCommand.ts +++ b/clients/client-s3/src/commands/ListPartsCommand.ts @@ -2,14 +2,13 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListPartsOutput, ListPartsRequest, ListPartsRequestFilterSensitiveLog } from "../models/models_0"; -import { de_ListPartsCommand, se_ListPartsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { ListParts } from "../schemas/com.amazonaws.s3"; /** * @public @@ -243,7 +242,6 @@ export class ListPartsCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -252,8 +250,7 @@ export class ListPartsCommand extends $Command .s("AmazonS3", "ListParts", {}) .n("S3Client", "ListPartsCommand") .f(ListPartsRequestFilterSensitiveLog, void 0) - .ser(se_ListPartsCommand) - .de(de_ListPartsCommand) + .sc(ListParts) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketAccelerateConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketAccelerateConfigurationCommand.ts index 38cb7bfaa544..de626229a60c 100644 --- a/clients/client-s3/src/commands/PutBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketAccelerateConfigurationCommand.ts @@ -1,17 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketAccelerateConfigurationRequest } from "../models/models_0"; -import { - de_PutBucketAccelerateConfigurationCommand, - se_PutBucketAccelerateConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketAccelerateConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -120,7 +116,6 @@ export class PutBucketAccelerateConfigurationCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -131,8 +126,7 @@ export class PutBucketAccelerateConfigurationCommand extends $Command .s("AmazonS3", "PutBucketAccelerateConfiguration", {}) .n("S3Client", "PutBucketAccelerateConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketAccelerateConfigurationCommand) - .de(de_PutBucketAccelerateConfigurationCommand) + .sc(PutBucketAccelerateConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketAclCommand.ts b/clients/client-s3/src/commands/PutBucketAclCommand.ts index ac4f9c09195c..e1d8d66ccc12 100644 --- a/clients/client-s3/src/commands/PutBucketAclCommand.ts +++ b/clients/client-s3/src/commands/PutBucketAclCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketAclRequest } from "../models/models_0"; -import { de_PutBucketAclCommand, se_PutBucketAclCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketAcl } from "../schemas/com.amazonaws.s3"; /** * @public @@ -311,7 +310,6 @@ export class PutBucketAclCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -322,8 +320,7 @@ export class PutBucketAclCommand extends $Command .s("AmazonS3", "PutBucketAcl", {}) .n("S3Client", "PutBucketAclCommand") .f(void 0, void 0) - .ser(se_PutBucketAclCommand) - .de(de_PutBucketAclCommand) + .sc(PutBucketAcl) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts index 6cf32096b131..b7d3ae79fe89 100644 --- a/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketAnalyticsConfigurationRequest } from "../models/models_0"; -import { - de_PutBucketAnalyticsConfigurationCommand, - se_PutBucketAnalyticsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketAnalyticsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -211,16 +207,12 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "PutBucketAnalyticsConfiguration", {}) .n("S3Client", "PutBucketAnalyticsConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketAnalyticsConfigurationCommand) - .de(de_PutBucketAnalyticsConfigurationCommand) + .sc(PutBucketAnalyticsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketCorsCommand.ts b/clients/client-s3/src/commands/PutBucketCorsCommand.ts index d9fef540967e..e29ec3f955d7 100644 --- a/clients/client-s3/src/commands/PutBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/PutBucketCorsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketCorsRequest } from "../models/models_1"; -import { de_PutBucketCorsCommand, se_PutBucketCorsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketCors } from "../schemas/com.amazonaws.s3"; /** * @public @@ -195,7 +194,6 @@ export class PutBucketCorsCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -206,8 +204,7 @@ export class PutBucketCorsCommand extends $Command .s("AmazonS3", "PutBucketCors", {}) .n("S3Client", "PutBucketCorsCommand") .f(void 0, void 0) - .ser(se_PutBucketCorsCommand) - .de(de_PutBucketCorsCommand) + .sc(PutBucketCors) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts b/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts index 378eaf76d06b..936e9db7c940 100644 --- a/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts +++ b/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketEncryptionRequest, PutBucketEncryptionRequestFilterSensitiveLog } from "../models/models_1"; -import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketEncryption } from "../schemas/com.amazonaws.s3"; /** * @public @@ -211,7 +210,6 @@ export class PutBucketEncryptionCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -222,8 +220,7 @@ export class PutBucketEncryptionCommand extends $Command .s("AmazonS3", "PutBucketEncryption", {}) .n("S3Client", "PutBucketEncryptionCommand") .f(PutBucketEncryptionRequestFilterSensitiveLog, void 0) - .ser(se_PutBucketEncryptionCommand) - .de(de_PutBucketEncryptionCommand) + .sc(PutBucketEncryption) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts index 529fca93a2d9..a5ef2c793e6b 100644 --- a/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_1"; -import { - de_PutBucketIntelligentTieringConfigurationCommand, - se_PutBucketIntelligentTieringConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketIntelligentTieringConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -157,16 +153,12 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {}) .n("S3Client", "PutBucketIntelligentTieringConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketIntelligentTieringConfigurationCommand) - .de(de_PutBucketIntelligentTieringConfigurationCommand) + .sc(PutBucketIntelligentTieringConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketInventoryConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketInventoryConfigurationCommand.ts index b1a8c04100f5..fb5833b647d5 100644 --- a/clients/client-s3/src/commands/PutBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketInventoryConfigurationCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -9,11 +8,8 @@ import { PutBucketInventoryConfigurationRequest, PutBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_1"; -import { - de_PutBucketInventoryConfigurationCommand, - se_PutBucketInventoryConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketInventoryConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -191,16 +187,12 @@ export class PutBucketInventoryConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "PutBucketInventoryConfiguration", {}) .n("S3Client", "PutBucketInventoryConfigurationCommand") .f(PutBucketInventoryConfigurationRequestFilterSensitiveLog, void 0) - .ser(se_PutBucketInventoryConfigurationCommand) - .de(de_PutBucketInventoryConfigurationCommand) + .sc(PutBucketInventoryConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts index 2bcba00188f2..7b18682b145e 100644 --- a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts @@ -2,17 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketLifecycleConfigurationOutput, PutBucketLifecycleConfigurationRequest } from "../models/models_1"; -import { - de_PutBucketLifecycleConfigurationCommand, - se_PutBucketLifecycleConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketLifecycleConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -301,7 +297,6 @@ export class PutBucketLifecycleConfigurationCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -313,8 +308,7 @@ export class PutBucketLifecycleConfigurationCommand extends $Command .s("AmazonS3", "PutBucketLifecycleConfiguration", {}) .n("S3Client", "PutBucketLifecycleConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketLifecycleConfigurationCommand) - .de(de_PutBucketLifecycleConfigurationCommand) + .sc(PutBucketLifecycleConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketLoggingCommand.ts b/clients/client-s3/src/commands/PutBucketLoggingCommand.ts index 9d69b6a76020..75ac0baf4fce 100644 --- a/clients/client-s3/src/commands/PutBucketLoggingCommand.ts +++ b/clients/client-s3/src/commands/PutBucketLoggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketLoggingRequest } from "../models/models_1"; -import { de_PutBucketLoggingCommand, se_PutBucketLoggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketLogging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -211,7 +210,6 @@ export class PutBucketLoggingCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -222,8 +220,7 @@ export class PutBucketLoggingCommand extends $Command .s("AmazonS3", "PutBucketLogging", {}) .n("S3Client", "PutBucketLoggingCommand") .f(void 0, void 0) - .ser(se_PutBucketLoggingCommand) - .de(de_PutBucketLoggingCommand) + .sc(PutBucketLogging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketMetricsConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketMetricsConfigurationCommand.ts index e04d61e471f4..82c211b63f29 100644 --- a/clients/client-s3/src/commands/PutBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketMetricsConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketMetricsConfigurationRequest } from "../models/models_1"; -import { - de_PutBucketMetricsConfigurationCommand, - se_PutBucketMetricsConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketMetricsConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -144,16 +140,12 @@ export class PutBucketMetricsConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "PutBucketMetricsConfiguration", {}) .n("S3Client", "PutBucketMetricsConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketMetricsConfigurationCommand) - .de(de_PutBucketMetricsConfigurationCommand) + .sc(PutBucketMetricsConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketNotificationConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketNotificationConfigurationCommand.ts index 6d8d0c374e02..ff0d8c9fda68 100644 --- a/clients/client-s3/src/commands/PutBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketNotificationConfigurationCommand.ts @@ -1,16 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketNotificationConfigurationRequest } from "../models/models_1"; -import { - de_PutBucketNotificationConfigurationCommand, - se_PutBucketNotificationConfigurationCommand, -} from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketNotificationConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -209,16 +205,12 @@ export class PutBucketNotificationConfigurationCommand extends $Command Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "PutBucketNotificationConfiguration", {}) .n("S3Client", "PutBucketNotificationConfigurationCommand") .f(void 0, void 0) - .ser(se_PutBucketNotificationConfigurationCommand) - .de(de_PutBucketNotificationConfigurationCommand) + .sc(PutBucketNotificationConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts b/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts index 91e416224f94..c3d0d38946c0 100644 --- a/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketOwnershipControlsRequest } from "../models/models_1"; -import { de_PutBucketOwnershipControlsCommand, se_PutBucketOwnershipControlsCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketOwnershipControls } from "../schemas/com.amazonaws.s3"; /** * @public @@ -101,7 +100,6 @@ export class PutBucketOwnershipControlsCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestChecksumRequired: true, @@ -111,8 +109,7 @@ export class PutBucketOwnershipControlsCommand extends $Command .s("AmazonS3", "PutBucketOwnershipControls", {}) .n("S3Client", "PutBucketOwnershipControlsCommand") .f(void 0, void 0) - .ser(se_PutBucketOwnershipControlsCommand) - .de(de_PutBucketOwnershipControlsCommand) + .sc(PutBucketOwnershipControls) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketPolicyCommand.ts b/clients/client-s3/src/commands/PutBucketPolicyCommand.ts index 67634d0313db..4bf19c04afd9 100644 --- a/clients/client-s3/src/commands/PutBucketPolicyCommand.ts +++ b/clients/client-s3/src/commands/PutBucketPolicyCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketPolicyRequest } from "../models/models_1"; -import { de_PutBucketPolicyCommand, se_PutBucketPolicyCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketPolicy } from "../schemas/com.amazonaws.s3"; /** * @public @@ -164,7 +163,6 @@ export class PutBucketPolicyCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -175,8 +173,7 @@ export class PutBucketPolicyCommand extends $Command .s("AmazonS3", "PutBucketPolicy", {}) .n("S3Client", "PutBucketPolicyCommand") .f(void 0, void 0) - .ser(se_PutBucketPolicyCommand) - .de(de_PutBucketPolicyCommand) + .sc(PutBucketPolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketReplicationCommand.ts b/clients/client-s3/src/commands/PutBucketReplicationCommand.ts index f249a48e1fcf..6996c36ea95d 100644 --- a/clients/client-s3/src/commands/PutBucketReplicationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketReplicationCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketReplicationRequest } from "../models/models_1"; -import { de_PutBucketReplicationCommand, se_PutBucketReplicationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketReplication } from "../schemas/com.amazonaws.s3"; /** * @public @@ -235,7 +234,6 @@ export class PutBucketReplicationCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -246,8 +244,7 @@ export class PutBucketReplicationCommand extends $Command .s("AmazonS3", "PutBucketReplication", {}) .n("S3Client", "PutBucketReplicationCommand") .f(void 0, void 0) - .ser(se_PutBucketReplicationCommand) - .de(de_PutBucketReplicationCommand) + .sc(PutBucketReplication) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts b/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts index 876dad8d2df0..1a1c5f812050 100644 --- a/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts +++ b/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketRequestPaymentRequest } from "../models/models_1"; -import { de_PutBucketRequestPaymentCommand, se_PutBucketRequestPaymentCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketRequestPayment } from "../schemas/com.amazonaws.s3"; /** * @public @@ -111,7 +110,6 @@ export class PutBucketRequestPaymentCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -122,8 +120,7 @@ export class PutBucketRequestPaymentCommand extends $Command .s("AmazonS3", "PutBucketRequestPayment", {}) .n("S3Client", "PutBucketRequestPaymentCommand") .f(void 0, void 0) - .ser(se_PutBucketRequestPaymentCommand) - .de(de_PutBucketRequestPaymentCommand) + .sc(PutBucketRequestPayment) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketTaggingCommand.ts b/clients/client-s3/src/commands/PutBucketTaggingCommand.ts index 0d41cbd45439..dad3a80ae200 100644 --- a/clients/client-s3/src/commands/PutBucketTaggingCommand.ts +++ b/clients/client-s3/src/commands/PutBucketTaggingCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketTaggingRequest } from "../models/models_1"; -import { de_PutBucketTaggingCommand, se_PutBucketTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -165,7 +164,6 @@ export class PutBucketTaggingCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -176,8 +174,7 @@ export class PutBucketTaggingCommand extends $Command .s("AmazonS3", "PutBucketTagging", {}) .n("S3Client", "PutBucketTaggingCommand") .f(void 0, void 0) - .ser(se_PutBucketTaggingCommand) - .de(de_PutBucketTaggingCommand) + .sc(PutBucketTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketVersioningCommand.ts b/clients/client-s3/src/commands/PutBucketVersioningCommand.ts index 5c56d616144a..cfe6044a8cbc 100644 --- a/clients/client-s3/src/commands/PutBucketVersioningCommand.ts +++ b/clients/client-s3/src/commands/PutBucketVersioningCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketVersioningRequest } from "../models/models_1"; -import { de_PutBucketVersioningCommand, se_PutBucketVersioningCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketVersioning } from "../schemas/com.amazonaws.s3"; /** * @public @@ -145,7 +144,6 @@ export class PutBucketVersioningCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -156,8 +154,7 @@ export class PutBucketVersioningCommand extends $Command .s("AmazonS3", "PutBucketVersioning", {}) .n("S3Client", "PutBucketVersioningCommand") .f(void 0, void 0) - .ser(se_PutBucketVersioningCommand) - .de(de_PutBucketVersioningCommand) + .sc(PutBucketVersioning) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutBucketWebsiteCommand.ts b/clients/client-s3/src/commands/PutBucketWebsiteCommand.ts index 3c9c4a53d36a..8615b162318f 100644 --- a/clients/client-s3/src/commands/PutBucketWebsiteCommand.ts +++ b/clients/client-s3/src/commands/PutBucketWebsiteCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutBucketWebsiteRequest } from "../models/models_1"; -import { de_PutBucketWebsiteCommand, se_PutBucketWebsiteCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutBucketWebsite } from "../schemas/com.amazonaws.s3"; /** * @public @@ -246,7 +245,6 @@ export class PutBucketWebsiteCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -257,8 +255,7 @@ export class PutBucketWebsiteCommand extends $Command .s("AmazonS3", "PutBucketWebsite", {}) .n("S3Client", "PutBucketWebsiteCommand") .f(void 0, void 0) - .ser(se_PutBucketWebsiteCommand) - .de(de_PutBucketWebsiteCommand) + .sc(PutBucketWebsite) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectAclCommand.ts b/clients/client-s3/src/commands/PutObjectAclCommand.ts index 74c70cc1af46..c428ce8eb816 100644 --- a/clients/client-s3/src/commands/PutObjectAclCommand.ts +++ b/clients/client-s3/src/commands/PutObjectAclCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_1"; -import { de_PutObjectAclCommand, se_PutObjectAclCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObjectAcl } from "../schemas/com.amazonaws.s3"; /** * @public @@ -310,7 +309,6 @@ export class PutObjectAclCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -322,8 +320,7 @@ export class PutObjectAclCommand extends $Command .s("AmazonS3", "PutObjectAcl", {}) .n("S3Client", "PutObjectAclCommand") .f(void 0, void 0) - .ser(se_PutObjectAclCommand) - .de(de_PutObjectAclCommand) + .sc(PutObjectAcl) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectCommand.ts b/clients/client-s3/src/commands/PutObjectCommand.ts index 4187e18ebe41..dd8c2c96aabb 100644 --- a/clients/client-s3/src/commands/PutObjectCommand.ts +++ b/clients/client-s3/src/commands/PutObjectCommand.ts @@ -3,7 +3,6 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu import { getCheckContentLengthHeaderPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; @@ -14,8 +13,8 @@ import { PutObjectRequest, PutObjectRequestFilterSensitiveLog, } from "../models/models_1"; -import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -473,7 +472,6 @@ export class PutObjectCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -487,8 +485,7 @@ export class PutObjectCommand extends $Command .s("AmazonS3", "PutObject", {}) .n("S3Client", "PutObjectCommand") .f(PutObjectRequestFilterSensitiveLog, PutObjectOutputFilterSensitiveLog) - .ser(se_PutObjectCommand) - .de(de_PutObjectCommand) + .sc(PutObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectLegalHoldCommand.ts b/clients/client-s3/src/commands/PutObjectLegalHoldCommand.ts index 826295b1bdea..88de827e4a67 100644 --- a/clients/client-s3/src/commands/PutObjectLegalHoldCommand.ts +++ b/clients/client-s3/src/commands/PutObjectLegalHoldCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutObjectLegalHoldOutput, PutObjectLegalHoldRequest } from "../models/models_1"; -import { de_PutObjectLegalHoldCommand, se_PutObjectLegalHoldCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObjectLegalHold } from "../schemas/com.amazonaws.s3"; /** * @public @@ -88,7 +87,6 @@ export class PutObjectLegalHoldCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -100,8 +98,7 @@ export class PutObjectLegalHoldCommand extends $Command .s("AmazonS3", "PutObjectLegalHold", {}) .n("S3Client", "PutObjectLegalHoldCommand") .f(void 0, void 0) - .ser(se_PutObjectLegalHoldCommand) - .de(de_PutObjectLegalHoldCommand) + .sc(PutObjectLegalHold) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts b/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts index 778a5dd84a02..79d8ba0be578 100644 --- a/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutObjectLockConfigurationOutput, PutObjectLockConfigurationRequest } from "../models/models_1"; -import { de_PutObjectLockConfigurationCommand, se_PutObjectLockConfigurationCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObjectLockConfiguration } from "../schemas/com.amazonaws.s3"; /** * @public @@ -111,7 +110,6 @@ export class PutObjectLockConfigurationCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -123,8 +121,7 @@ export class PutObjectLockConfigurationCommand extends $Command .s("AmazonS3", "PutObjectLockConfiguration", {}) .n("S3Client", "PutObjectLockConfigurationCommand") .f(void 0, void 0) - .ser(se_PutObjectLockConfigurationCommand) - .de(de_PutObjectLockConfigurationCommand) + .sc(PutObjectLockConfiguration) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectRetentionCommand.ts b/clients/client-s3/src/commands/PutObjectRetentionCommand.ts index 0f1c05feba80..b8328fbcf82a 100644 --- a/clients/client-s3/src/commands/PutObjectRetentionCommand.ts +++ b/clients/client-s3/src/commands/PutObjectRetentionCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutObjectRetentionOutput, PutObjectRetentionRequest } from "../models/models_1"; -import { de_PutObjectRetentionCommand, se_PutObjectRetentionCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObjectRetention } from "../schemas/com.amazonaws.s3"; /** * @public @@ -91,7 +90,6 @@ export class PutObjectRetentionCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -103,8 +101,7 @@ export class PutObjectRetentionCommand extends $Command .s("AmazonS3", "PutObjectRetention", {}) .n("S3Client", "PutObjectRetentionCommand") .f(void 0, void 0) - .ser(se_PutObjectRetentionCommand) - .de(de_PutObjectRetentionCommand) + .sc(PutObjectRetention) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutObjectTaggingCommand.ts b/clients/client-s3/src/commands/PutObjectTaggingCommand.ts index e20b0c491d73..8eb955327e31 100644 --- a/clients/client-s3/src/commands/PutObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/PutObjectTaggingCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutObjectTaggingOutput, PutObjectTaggingRequest } from "../models/models_1"; -import { de_PutObjectTaggingCommand, se_PutObjectTaggingCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutObjectTagging } from "../schemas/com.amazonaws.s3"; /** * @public @@ -171,7 +170,6 @@ export class PutObjectTaggingCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -183,8 +181,7 @@ export class PutObjectTaggingCommand extends $Command .s("AmazonS3", "PutObjectTagging", {}) .n("S3Client", "PutObjectTaggingCommand") .f(void 0, void 0) - .ser(se_PutObjectTaggingCommand) - .de(de_PutObjectTaggingCommand) + .sc(PutObjectTagging) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/PutPublicAccessBlockCommand.ts b/clients/client-s3/src/commands/PutPublicAccessBlockCommand.ts index 6331aae3af76..e739b175bcfc 100644 --- a/clients/client-s3/src/commands/PutPublicAccessBlockCommand.ts +++ b/clients/client-s3/src/commands/PutPublicAccessBlockCommand.ts @@ -1,14 +1,13 @@ // smithy-typescript generated code import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutPublicAccessBlockRequest } from "../models/models_1"; -import { de_PutPublicAccessBlockCommand, se_PutPublicAccessBlockCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { PutPublicAccessBlock } from "../schemas/com.amazonaws.s3"; /** * @public @@ -119,7 +118,6 @@ export class PutPublicAccessBlockCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -130,8 +128,7 @@ export class PutPublicAccessBlockCommand extends $Command .s("AmazonS3", "PutPublicAccessBlock", {}) .n("S3Client", "PutPublicAccessBlockCommand") .f(void 0, void 0) - .ser(se_PutPublicAccessBlockCommand) - .de(de_PutPublicAccessBlockCommand) + .sc(PutPublicAccessBlock) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/RestoreObjectCommand.ts b/clients/client-s3/src/commands/RestoreObjectCommand.ts index 3f000cb0a9e3..2e084929be80 100644 --- a/clients/client-s3/src/commands/RestoreObjectCommand.ts +++ b/clients/client-s3/src/commands/RestoreObjectCommand.ts @@ -2,14 +2,13 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums"; import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestoreObjectOutput, RestoreObjectRequest, RestoreObjectRequestFilterSensitiveLog } from "../models/models_1"; -import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { RestoreObject } from "../schemas/com.amazonaws.s3"; /** * @public @@ -385,7 +384,6 @@ export class RestoreObjectCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -397,8 +395,7 @@ export class RestoreObjectCommand extends $Command .s("AmazonS3", "RestoreObject", {}) .n("S3Client", "RestoreObjectCommand") .f(RestoreObjectRequestFilterSensitiveLog, void 0) - .ser(se_RestoreObjectCommand) - .de(de_RestoreObjectCommand) + .sc(RestoreObject) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/SelectObjectContentCommand.ts b/clients/client-s3/src/commands/SelectObjectContentCommand.ts index 6a0c3db78a68..2e3bd91cf59f 100644 --- a/clients/client-s3/src/commands/SelectObjectContentCommand.ts +++ b/clients/client-s3/src/commands/SelectObjectContentCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { SelectObjectContentRequest, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1"; -import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { SelectObjectContent } from "../schemas/com.amazonaws.s3"; /** * @public @@ -261,7 +260,6 @@ export class SelectObjectContentCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -277,8 +275,7 @@ export class SelectObjectContentCommand extends $Command }) .n("S3Client", "SelectObjectContentCommand") .f(SelectObjectContentRequestFilterSensitiveLog, SelectObjectContentOutputFilterSensitiveLog) - .ser(se_SelectObjectContentCommand) - .de(de_SelectObjectContentCommand) + .sc(SelectObjectContent) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/UploadPartCommand.ts b/clients/client-s3/src/commands/UploadPartCommand.ts index b2e2cda7004c..b760ab19aa2b 100644 --- a/clients/client-s3/src/commands/UploadPartCommand.ts +++ b/clients/client-s3/src/commands/UploadPartCommand.ts @@ -3,7 +3,6 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; @@ -14,8 +13,8 @@ import { UploadPartRequest, UploadPartRequestFilterSensitiveLog, } from "../models/models_1"; -import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { UploadPart } from "../schemas/com.amazonaws.s3"; /** * @public @@ -320,7 +319,6 @@ export class UploadPartCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getFlexibleChecksumsPlugin(config, { requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" }, @@ -333,8 +331,7 @@ export class UploadPartCommand extends $Command .s("AmazonS3", "UploadPart", {}) .n("S3Client", "UploadPartCommand") .f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog) - .ser(se_UploadPartCommand) - .de(de_UploadPartCommand) + .sc(UploadPart) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/UploadPartCopyCommand.ts b/clients/client-s3/src/commands/UploadPartCopyCommand.ts index 8ea17ff3b3db..f70996797c74 100644 --- a/clients/client-s3/src/commands/UploadPartCopyCommand.ts +++ b/clients/client-s3/src/commands/UploadPartCopyCommand.ts @@ -2,7 +2,6 @@ import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3"; import { getSsecPlugin } from "@aws-sdk/middleware-ssec"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -13,8 +12,8 @@ import { UploadPartCopyRequest, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1"; -import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { UploadPartCopy } from "../schemas/com.amazonaws.s3"; /** * @public @@ -384,7 +383,6 @@ export class UploadPartCopyCommand extends $Command }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config), getSsecPlugin(config), @@ -393,8 +391,7 @@ export class UploadPartCopyCommand extends $Command .s("AmazonS3", "UploadPartCopy", {}) .n("S3Client", "UploadPartCopyCommand") .f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog) - .ser(se_UploadPartCopyCommand) - .de(de_UploadPartCopyCommand) + .sc(UploadPartCopy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts b/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts index a818d18df150..3648e64395f7 100644 --- a/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts +++ b/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts @@ -1,13 +1,12 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { WriteGetObjectResponseRequest, WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1"; -import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml"; import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client"; +import { WriteGetObjectResponse } from "../schemas/com.amazonaws.s3"; /** * @public @@ -149,16 +148,12 @@ export class WriteGetObjectResponseCommand extends $Command UseObjectLambdaEndpoint: { type: "staticContextParams", value: true }, }) .m(function (this: any, Command: any, cs: any, config: S3ClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "WriteGetObjectResponse", {}) .n("S3Client", "WriteGetObjectResponseCommand") .f(WriteGetObjectResponseRequestFilterSensitiveLog, void 0) - .ser(se_WriteGetObjectResponseCommand) - .de(de_WriteGetObjectResponseCommand) + .sc(WriteGetObjectResponse) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-s3/src/models/models_0.ts b/clients/client-s3/src/models/models_0.ts index abd2fb4d13d7..e8ad6517dd63 100644 --- a/clients/client-s3/src/models/models_0.ts +++ b/clients/client-s3/src/models/models_0.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; - import { StreamingBlobTypes } from "@smithy/types"; import { S3ServiceException as __BaseException } from "./S3ServiceException"; diff --git a/clients/client-s3/src/models/models_1.ts b/clients/client-s3/src/models/models_1.ts index f0563ec87422..35960e35f17f 100644 --- a/clients/client-s3/src/models/models_1.ts +++ b/clients/client-s3/src/models/models_1.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; - import { StreamingBlobTypes } from "@smithy/types"; import { @@ -41,7 +40,6 @@ import { Tag, TransitionDefaultMinimumObjectSize, } from "./models_0"; - import { S3ServiceException as __BaseException } from "./S3ServiceException"; /** diff --git a/clients/client-s3/src/runtimeConfig.shared.ts b/clients/client-s3/src/runtimeConfig.shared.ts index 62c54fffa026..d0f78f0793d3 100644 --- a/clients/client-s3/src/runtimeConfig.shared.ts +++ b/clients/client-s3/src/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core"; +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region"; import { NoOpLogger } from "@smithy/smithy-client"; import { IdentityProviderConfig } from "@smithy/types"; @@ -38,6 +39,7 @@ export const getRuntimeConfig = (config: S3ClientConfig) => { }, ], logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? new AwsRestXmlProtocol("http://s3.amazonaws.com/doc/2006-03-01/", "com.amazonaws.s3"), sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin, serviceId: config?.serviceId ?? "S3", signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion, diff --git a/clients/client-s3/src/schemas/com.amazonaws.s3.ts b/clients/client-s3/src/schemas/com.amazonaws.s3.ts new file mode 100644 index 000000000000..2a7194da8260 --- /dev/null +++ b/clients/client-s3/src/schemas/com.amazonaws.s3.ts @@ -0,0 +1,9020 @@ +const _A = "Account"; +const _AAO = "AnalyticsAndOperator"; +const _AC = "AccelerateConfiguration"; +const _ACL = "AccessControlList"; +const _ACL_ = "ACL"; +const _ACLn = "AnalyticsConfigurationList"; +const _ACP = "AccessControlPolicy"; +const _ACT = "AccessControlTranslation"; +const _ACn = "AnalyticsConfiguration"; +const _AD = "AbortDate"; +const _AED = "AnalyticsExportDestination"; +const _AF = "AnalyticsFilter"; +const _AH = "AllowedHeaders"; +const _AHl = "AllowedHeader"; +const _AI = "AccountId"; +const _AIMU = "AbortIncompleteMultipartUpload"; +const _AIn = "AnalyticsId"; +const _AKI = "AccessKeyId"; +const _AKIV = "AccessKeyIdValue"; +const _AM = "AllowedMethods"; +const _AMU = "AbortMultipartUpload"; +const _AMUO = "AbortMultipartUploadOutput"; +const _AMUR = "AbortMultipartUploadRequest"; +const _AMl = "AllowedMethod"; +const _AO = "AllowedOrigins"; +const _AOl = "AllowedOrigin"; +const _APA = "AccessPointArn"; +const _APAc = "AccessPointAlias"; +const _AQRD = "AllowQuotedRecordDelimiter"; +const _AR = "AcceptRanges"; +const _ARI = "AbortRuleId"; +const _AS = "ArchiveStatus"; +const _ASBD = "AnalyticsS3BucketDestination"; +const _ASEFF = "AnalyticsS3ExportFileFormat"; +const _ASSEBD = "ApplyServerSideEncryptionByDefault"; +const _AT = "AccessTier"; +const _An = "And"; +const _B = "Body"; +const _BAE = "BucketAlreadyExists"; +const _BAI = "BucketAccountId"; +const _BAOBY = "BucketAlreadyOwnedByYou"; +const _BAS = "BucketAccelerateStatus"; +const _BCACL = "BucketCannedACL"; +const _BGR = "BypassGovernanceRetention"; +const _BI = "BucketInfo"; +const _BKE = "BucketKeyEnabled"; +const _BLC = "BucketLocationConstraint"; +const _BLCu = "BucketLifecycleConfiguration"; +const _BLN = "BucketLocationName"; +const _BLP = "BucketLogsPermission"; +const _BLS = "BucketLoggingStatus"; +const _BLT = "BucketLocationType"; +const _BN = "BucketName"; +const _BP = "BytesProcessed"; +const _BPA = "BlockPublicAcls"; +const _BPP = "BlockPublicPolicy"; +const _BR = "BucketRegion"; +const _BRy = "BytesReturned"; +const _BS = "BytesScanned"; +const _BT = "BucketType"; +const _BVS = "BucketVersioningStatus"; +const _Bu = "Bucket"; +const _Buc = "Buckets"; +const _C = "Code"; +const _CA = "ChecksumAlgorithm"; +const _CACL = "CannedACL"; +const _CAL = "ChecksumAlgorithmList"; +const _CB = "CreateBucket"; +const _CBC = "CreateBucketConfiguration"; +const _CBMTC = "CreateBucketMetadataTableConfiguration"; +const _CBMTCR = "CreateBucketMetadataTableConfigurationRequest"; +const _CBO = "CreateBucketOutput"; +const _CBR = "CreateBucketRequest"; +const _CC = "CacheControl"; +const _CCRC = "ChecksumCRC32"; +const _CCRCC = "ChecksumCRC32C"; +const _CCRCNVME = "ChecksumCRC64NVME"; +const _CC_ = "Cache-Control"; +const _CD = "ContentDisposition"; +const _CD_ = "Content-Disposition"; +const _CDr = "CreationDate"; +const _CE = "ContentEncoding"; +const _CE_ = "Content-Encoding"; +const _CEo = "ContinuationEvent"; +const _CF = "CloudFunction"; +const _CFC = "CloudFunctionConfiguration"; +const _CL = "ContentLanguage"; +const _CL_ = "Content-Language"; +const _CL__ = "Content-Length"; +const _CLo = "ContentLength"; +const _CM = "ChecksumMode"; +const _CMD = "ContentMD5"; +const _CMU = "CompletedMultipartUpload"; +const _CMUO = "CompleteMultipartUploadOutput"; +const _CMUOr = "CreateMultipartUploadOutput"; +const _CMUR = "CompleteMultipartUploadResult"; +const _CMURo = "CompleteMultipartUploadRequest"; +const _CMURr = "CreateMultipartUploadRequest"; +const _CMUo = "CompleteMultipartUpload"; +const _CMUr = "CreateMultipartUpload"; +const _CM_ = "Content-MD5"; +const _CO = "CopyObject"; +const _COO = "CopyObjectOutput"; +const _COR = "CopyObjectResult"; +const _CORSC = "CORSConfiguration"; +const _CORSR = "CORSRules"; +const _CORSRu = "CORSRule"; +const _CORo = "CopyObjectRequest"; +const _CP = "CommonPrefix"; +const _CPL = "CommonPrefixList"; +const _CPLo = "CompletedPartList"; +const _CPR = "CopyPartResult"; +const _CPo = "CompletedPart"; +const _CPom = "CommonPrefixes"; +const _CR = "ContentRange"; +const _CRSBA = "ConfirmRemoveSelfBucketAccess"; +const _CR_ = "Content-Range"; +const _CS = "CopySource"; +const _CSHA = "ChecksumSHA256"; +const _CSHAh = "ChecksumSHA1"; +const _CSIM = "CopySourceIfMatch"; +const _CSIMS = "CopySourceIfModifiedSince"; +const _CSINM = "CopySourceIfNoneMatch"; +const _CSIUS = "CopySourceIfUnmodifiedSince"; +const _CSO = "CreateSessionOutput"; +const _CSR = "CopySourceRange"; +const _CSRr = "CreateSessionResult"; +const _CSRre = "CreateSessionRequest"; +const _CSSSECA = "CopySourceSSECustomerAlgorithm"; +const _CSSSECK = "CopySourceSSECustomerKey"; +const _CSSSECKMD = "CopySourceSSECustomerKeyMD5"; +const _CSV = "CSV"; +const _CSVI = "CopySourceVersionId"; +const _CSVIn = "CSVInput"; +const _CSVO = "CSVOutput"; +const _CSr = "CreateSession"; +const _CT = "ChecksumType"; +const _CT_ = "Content-Type"; +const _CTo = "ContentType"; +const _CTom = "CompressionType"; +const _CTon = "ContinuationToken"; +const _Ch = "Checksum"; +const _Co = "Comments"; +const _Con = "Condition"; +const _Cont = "Contents"; +const _Cont_ = "Cont"; +const _Cr = "Credentials"; +const _D = "Date"; +const _DAI = "DaysAfterInitiation"; +const _DB = "DeleteBucket"; +const _DBAC = "DeleteBucketAnalyticsConfiguration"; +const _DBACR = "DeleteBucketAnalyticsConfigurationRequest"; +const _DBC = "DeleteBucketCors"; +const _DBCR = "DeleteBucketCorsRequest"; +const _DBE = "DeleteBucketEncryption"; +const _DBER = "DeleteBucketEncryptionRequest"; +const _DBIC = "DeleteBucketInventoryConfiguration"; +const _DBICR = "DeleteBucketInventoryConfigurationRequest"; +const _DBITC = "DeleteBucketIntelligentTieringConfiguration"; +const _DBITCR = "DeleteBucketIntelligentTieringConfigurationRequest"; +const _DBL = "DeleteBucketLifecycle"; +const _DBLR = "DeleteBucketLifecycleRequest"; +const _DBMC = "DeleteBucketMetricsConfiguration"; +const _DBMCR = "DeleteBucketMetricsConfigurationRequest"; +const _DBMTC = "DeleteBucketMetadataTableConfiguration"; +const _DBMTCR = "DeleteBucketMetadataTableConfigurationRequest"; +const _DBOC = "DeleteBucketOwnershipControls"; +const _DBOCR = "DeleteBucketOwnershipControlsRequest"; +const _DBP = "DeleteBucketPolicy"; +const _DBPR = "DeleteBucketPolicyRequest"; +const _DBR = "DeleteBucketRequest"; +const _DBRR = "DeleteBucketReplicationRequest"; +const _DBRe = "DeleteBucketReplication"; +const _DBT = "DirectoryBucketToken"; +const _DBTR = "DeleteBucketTaggingRequest"; +const _DBTe = "DeleteBucketTagging"; +const _DBW = "DeleteBucketWebsite"; +const _DBWR = "DeleteBucketWebsiteRequest"; +const _DE = "DataExport"; +const _DM = "DeleteMarker"; +const _DME = "DeleteMarkerEntry"; +const _DMR = "DeleteMarkerReplication"; +const _DMRS = "DeleteMarkerReplicationStatus"; +const _DMVI = "DeleteMarkerVersionId"; +const _DMe = "DeleteMarkers"; +const _DN = "DisplayName"; +const _DO = "DeletedObject"; +const _DOO = "DeleteObjectOutput"; +const _DOOe = "DeleteObjectsOutput"; +const _DOR = "DeleteObjectRequest"; +const _DORe = "DeleteObjectsRequest"; +const _DOT = "DeleteObjectTagging"; +const _DOTO = "DeleteObjectTaggingOutput"; +const _DOTR = "DeleteObjectTaggingRequest"; +const _DOe = "DeletedObjects"; +const _DOel = "DeleteObject"; +const _DOele = "DeleteObjects"; +const _DPAB = "DeletePublicAccessBlock"; +const _DPABR = "DeletePublicAccessBlockRequest"; +const _DR = "DataRedundancy"; +const _DRe = "DefaultRetention"; +const _DRel = "DeleteResult"; +const _Da = "Days"; +const _De = "Delimiter"; +const _Del = "Delete"; +const _Dele = "Deleted"; +const _Des = "Description"; +const _Dest = "Destination"; +const _Det = "Details"; +const _E = "Expiration"; +const _EA = "EmailAddress"; +const _EBC = "EventBridgeConfiguration"; +const _EBO = "ExpectedBucketOwner"; +const _EC = "ErrorCode"; +const _ECn = "EncryptionConfiguration"; +const _ED = "ErrorDetails"; +const _EDr = "ErrorDocument"; +const _EE = "EndEvent"; +const _EH = "ExposeHeaders"; +const _EHx = "ExposeHeader"; +const _EL = "EventList"; +const _EM = "ErrorMessage"; +const _EODM = "ExpiredObjectDeleteMarker"; +const _EOR = "ExistingObjectReplication"; +const _EORS = "ExistingObjectReplicationStatus"; +const _ERP = "EnableRequestProgress"; +const _ES = "ExpirationStatus"; +const _ESBO = "ExpectedSourceBucketOwner"; +const _ESx = "ExpiresString"; +const _ET = "ETag"; +const _ETM = "EncryptionTypeMismatch"; +const _ETn = "EncodingType"; +const _ETnc = "EncryptionType"; +const _ETv = "EventThreshold"; +const _ETx = "ExpressionType"; +const _En = "End"; +const _Ena = "Enabled"; +const _Enc = "Encryption"; +const _Er = "Errors"; +const _Err = "Error"; +const _Ev = "Event"; +const _Eve = "Events"; +const _Ex = "Expires"; +const _Exp = "Expression"; +const _F = "Filter"; +const _FD = "FieldDelimiter"; +const _FHI = "FileHeaderInfo"; +const _FO = "FetchOwner"; +const _FR = "FilterRule"; +const _FRL = "FilterRuleList"; +const _FRN = "FilterRuleName"; +const _FRV = "FilterRuleValue"; +const _FRi = "FilterRules"; +const _Fi = "Field"; +const _Fo = "Format"; +const _Fr = "Frequency"; +const _G = "Grants"; +const _GBA = "GetBucketAcl"; +const _GBAC = "GetBucketAccelerateConfiguration"; +const _GBACO = "GetBucketAccelerateConfigurationOutput"; +const _GBACOe = "GetBucketAnalyticsConfigurationOutput"; +const _GBACR = "GetBucketAccelerateConfigurationRequest"; +const _GBACRe = "GetBucketAnalyticsConfigurationRequest"; +const _GBACe = "GetBucketAnalyticsConfiguration"; +const _GBAO = "GetBucketAclOutput"; +const _GBAR = "GetBucketAclRequest"; +const _GBC = "GetBucketCors"; +const _GBCO = "GetBucketCorsOutput"; +const _GBCR = "GetBucketCorsRequest"; +const _GBE = "GetBucketEncryption"; +const _GBEO = "GetBucketEncryptionOutput"; +const _GBER = "GetBucketEncryptionRequest"; +const _GBIC = "GetBucketInventoryConfiguration"; +const _GBICO = "GetBucketInventoryConfigurationOutput"; +const _GBICR = "GetBucketInventoryConfigurationRequest"; +const _GBITC = "GetBucketIntelligentTieringConfiguration"; +const _GBITCO = "GetBucketIntelligentTieringConfigurationOutput"; +const _GBITCR = "GetBucketIntelligentTieringConfigurationRequest"; +const _GBL = "GetBucketLocation"; +const _GBLC = "GetBucketLifecycleConfiguration"; +const _GBLCO = "GetBucketLifecycleConfigurationOutput"; +const _GBLCR = "GetBucketLifecycleConfigurationRequest"; +const _GBLO = "GetBucketLocationOutput"; +const _GBLOe = "GetBucketLoggingOutput"; +const _GBLR = "GetBucketLocationRequest"; +const _GBLRe = "GetBucketLoggingRequest"; +const _GBLe = "GetBucketLogging"; +const _GBMC = "GetBucketMetricsConfiguration"; +const _GBMCO = "GetBucketMetricsConfigurationOutput"; +const _GBMCR = "GetBucketMetricsConfigurationRequest"; +const _GBMTC = "GetBucketMetadataTableConfiguration"; +const _GBMTCO = "GetBucketMetadataTableConfigurationOutput"; +const _GBMTCR = "GetBucketMetadataTableConfigurationResult"; +const _GBMTCRe = "GetBucketMetadataTableConfigurationRequest"; +const _GBNC = "GetBucketNotificationConfiguration"; +const _GBNCR = "GetBucketNotificationConfigurationRequest"; +const _GBOC = "GetBucketOwnershipControls"; +const _GBOCO = "GetBucketOwnershipControlsOutput"; +const _GBOCR = "GetBucketOwnershipControlsRequest"; +const _GBP = "GetBucketPolicy"; +const _GBPO = "GetBucketPolicyOutput"; +const _GBPR = "GetBucketPolicyRequest"; +const _GBPS = "GetBucketPolicyStatus"; +const _GBPSO = "GetBucketPolicyStatusOutput"; +const _GBPSR = "GetBucketPolicyStatusRequest"; +const _GBR = "GetBucketReplication"; +const _GBRO = "GetBucketReplicationOutput"; +const _GBRP = "GetBucketRequestPayment"; +const _GBRPO = "GetBucketRequestPaymentOutput"; +const _GBRPR = "GetBucketRequestPaymentRequest"; +const _GBRR = "GetBucketReplicationRequest"; +const _GBT = "GetBucketTagging"; +const _GBTO = "GetBucketTaggingOutput"; +const _GBTR = "GetBucketTaggingRequest"; +const _GBV = "GetBucketVersioning"; +const _GBVO = "GetBucketVersioningOutput"; +const _GBVR = "GetBucketVersioningRequest"; +const _GBW = "GetBucketWebsite"; +const _GBWO = "GetBucketWebsiteOutput"; +const _GBWR = "GetBucketWebsiteRequest"; +const _GFC = "GrantFullControl"; +const _GJP = "GlacierJobParameters"; +const _GO = "GetObject"; +const _GOA = "GetObjectAcl"; +const _GOAO = "GetObjectAclOutput"; +const _GOAOe = "GetObjectAttributesOutput"; +const _GOAP = "GetObjectAttributesParts"; +const _GOAR = "GetObjectAclRequest"; +const _GOARe = "GetObjectAttributesResponse"; +const _GOARet = "GetObjectAttributesRequest"; +const _GOAe = "GetObjectAttributes"; +const _GOLC = "GetObjectLockConfiguration"; +const _GOLCO = "GetObjectLockConfigurationOutput"; +const _GOLCR = "GetObjectLockConfigurationRequest"; +const _GOLH = "GetObjectLegalHold"; +const _GOLHO = "GetObjectLegalHoldOutput"; +const _GOLHR = "GetObjectLegalHoldRequest"; +const _GOO = "GetObjectOutput"; +const _GOR = "GetObjectRequest"; +const _GORO = "GetObjectRetentionOutput"; +const _GORR = "GetObjectRetentionRequest"; +const _GORSC = "GetObjectResponseStatusCode"; +const _GORe = "GetObjectRetention"; +const _GOT = "GetObjectTagging"; +const _GOTO = "GetObjectTaggingOutput"; +const _GOTOe = "GetObjectTorrentOutput"; +const _GOTR = "GetObjectTaggingRequest"; +const _GOTRe = "GetObjectTorrentRequest"; +const _GOTe = "GetObjectTorrent"; +const _GPAB = "GetPublicAccessBlock"; +const _GPABO = "GetPublicAccessBlockOutput"; +const _GPABR = "GetPublicAccessBlockRequest"; +const _GR = "GrantRead"; +const _GRACP = "GrantReadACP"; +const _GW = "GrantWrite"; +const _GWACP = "GrantWriteACP"; +const _Gr = "Grant"; +const _Gra = "Grantee"; +const _HB = "HeadBucket"; +const _HBO = "HeadBucketOutput"; +const _HBR = "HeadBucketRequest"; +const _HECRE = "HttpErrorCodeReturnedEquals"; +const _HN = "HostName"; +const _HO = "HeadObject"; +const _HOO = "HeadObjectOutput"; +const _HOR = "HeadObjectRequest"; +const _HRC = "HttpRedirectCode"; +const _I = "Initiated"; +const _IC = "InventoryConfiguration"; +const _ICL = "InventoryConfigurationList"; +const _ID = "ID"; +const _IDn = "IndexDocument"; +const _IDnv = "InventoryDestination"; +const _IE = "IsEnabled"; +const _IEn = "InventoryEncryption"; +const _IF = "InventoryFrequency"; +const _IFn = "InventoryFormat"; +const _IFnv = "InventoryFilter"; +const _II = "InventoryId"; +const _IIOV = "InventoryIncludedObjectVersions"; +const _IL = "IsLatest"; +const _IM = "IfMatch"; +const _IMIT = "IfMatchInitiatedTime"; +const _IMLMT = "IfMatchLastModifiedTime"; +const _IMS = "IfMatchSize"; +const _IMS_ = "If-Modified-Since"; +const _IMSf = "IfModifiedSince"; +const _IMUR = "InitiateMultipartUploadResult"; +const _IM_ = "If-Match"; +const _INM = "IfNoneMatch"; +const _INM_ = "If-None-Match"; +const _IOF = "InventoryOptionalFields"; +const _IOFn = "InventoryOptionalField"; +const _IOS = "InvalidObjectState"; +const _IOV = "IncludedObjectVersions"; +const _IP = "IsPublic"; +const _IPA = "IgnorePublicAcls"; +const _IR = "InvalidRequest"; +const _IRIP = "IsRestoreInProgress"; +const _IS = "InputSerialization"; +const _ISBD = "InventoryS3BucketDestination"; +const _ISn = "InventorySchedule"; +const _IT = "IsTruncated"; +const _ITAO = "IntelligentTieringAndOperator"; +const _ITAT = "IntelligentTieringAccessTier"; +const _ITC = "IntelligentTieringConfiguration"; +const _ITCL = "IntelligentTieringConfigurationList"; +const _ITD = "IntelligentTieringDays"; +const _ITF = "IntelligentTieringFilter"; +const _ITI = "IntelligentTieringId"; +const _ITS = "IntelligentTieringStatus"; +const _IUS = "IfUnmodifiedSince"; +const _IUS_ = "If-Unmodified-Since"; +const _IWO = "InvalidWriteOffset"; +const _Id = "Id"; +const _In = "Initiator"; +const _JSON = "JSON"; +const _JSONI = "JSONInput"; +const _JSONO = "JSONOutput"; +const _JSONT = "JSONType"; +const _K = "Key"; +const _KC = "KeyCount"; +const _KI = "KeyId"; +const _KM = "KeyMarker"; +const _KMSC = "KMSContext"; +const _KMSKI = "KMSKeyId"; +const _KMSMKID = "KMSMasterKeyID"; +const _KPE = "KeyPrefixEquals"; +const _L = "Location"; +const _LAMBR = "ListAllMyBucketsResult"; +const _LAMDBR = "ListAllMyDirectoryBucketsResult"; +const _LB = "ListBuckets"; +const _LBAC = "ListBucketAnalyticsConfigurations"; +const _LBACO = "ListBucketAnalyticsConfigurationsOutput"; +const _LBACR = "ListBucketAnalyticsConfigurationResult"; +const _LBACRi = "ListBucketAnalyticsConfigurationsRequest"; +const _LBIC = "ListBucketInventoryConfigurations"; +const _LBICO = "ListBucketInventoryConfigurationsOutput"; +const _LBICR = "ListBucketInventoryConfigurationsRequest"; +const _LBITC = "ListBucketIntelligentTieringConfigurations"; +const _LBITCO = "ListBucketIntelligentTieringConfigurationsOutput"; +const _LBITCR = "ListBucketIntelligentTieringConfigurationsRequest"; +const _LBMC = "ListBucketMetricsConfigurations"; +const _LBMCO = "ListBucketMetricsConfigurationsOutput"; +const _LBMCR = "ListBucketMetricsConfigurationsRequest"; +const _LBO = "ListBucketsOutput"; +const _LBR = "ListBucketsRequest"; +const _LBRi = "ListBucketResult"; +const _LC = "LocationConstraint"; +const _LCi = "LifecycleConfiguration"; +const _LDB = "ListDirectoryBuckets"; +const _LDBO = "ListDirectoryBucketsOutput"; +const _LDBR = "ListDirectoryBucketsRequest"; +const _LE = "LoggingEnabled"; +const _LEi = "LifecycleExpiration"; +const _LFA = "LambdaFunctionArn"; +const _LFC = "LambdaFunctionConfiguration"; +const _LFCL = "LambdaFunctionConfigurationList"; +const _LFCa = "LambdaFunctionConfigurations"; +const _LH = "LegalHold"; +const _LI = "LocationInfo"; +const _LICR = "ListInventoryConfigurationsResult"; +const _LM = "LastModified"; +const _LMCR = "ListMetricsConfigurationsResult"; +const _LMT = "LastModifiedTime"; +const _LMU = "ListMultipartUploads"; +const _LMUO = "ListMultipartUploadsOutput"; +const _LMUR = "ListMultipartUploadsResult"; +const _LMURi = "ListMultipartUploadsRequest"; +const _LM_ = "Last-Modified"; +const _LNAS = "LocationNameAsString"; +const _LO = "ListObjects"; +const _LOO = "ListObjectsOutput"; +const _LOR = "ListObjectsRequest"; +const _LOV = "ListObjectsV2"; +const _LOVO = "ListObjectsV2Output"; +const _LOVOi = "ListObjectVersionsOutput"; +const _LOVR = "ListObjectsV2Request"; +const _LOVRi = "ListObjectVersionsRequest"; +const _LOVi = "ListObjectVersions"; +const _LP = "LocationPrefix"; +const _LPO = "ListPartsOutput"; +const _LPR = "ListPartsResult"; +const _LPRi = "ListPartsRequest"; +const _LPi = "ListParts"; +const _LR = "LifecycleRule"; +const _LRAO = "LifecycleRuleAndOperator"; +const _LRF = "LifecycleRuleFilter"; +const _LRi = "LifecycleRules"; +const _LT = "LocationType"; +const _LVR = "ListVersionsResult"; +const _M = "Metadata"; +const _MAO = "MetricsAndOperator"; +const _MAS = "MaxAgeSeconds"; +const _MB = "MaxBuckets"; +const _MC = "MetricsConfiguration"; +const _MCL = "MetricsConfigurationList"; +const _MD = "MetadataDirective"; +const _MDB = "MaxDirectoryBuckets"; +const _MDf = "MfaDelete"; +const _ME = "MetadataEntry"; +const _MF = "MetricsFilter"; +const _MFA = "MFA"; +const _MFAD = "MFADelete"; +const _MFADS = "MFADeleteStatus"; +const _MI = "MetricsId"; +const _MK = "MetadataKey"; +const _MKa = "MaxKeys"; +const _MM = "MissingMeta"; +const _MOS = "MpuObjectSize"; +const _MP = "MaxParts"; +const _MS = "MetricsStatus"; +const _MTC = "MetadataTableConfiguration"; +const _MTCR = "MetadataTableConfigurationResult"; +const _MTS = "MetadataTableStatus"; +const _MU = "MaxUploads"; +const _MUI = "MultipartUploadId"; +const _MUL = "MultipartUploadList"; +const _MUu = "MultipartUpload"; +const _MV = "MetadataValue"; +const _Ma = "Marker"; +const _Me = "Message"; +const _Met = "Metrics"; +const _Mi = "Minutes"; +const _Mo = "Mode"; +const _N = "Name"; +const _NC = "NotificationConfiguration"; +const _NCF = "NotificationConfigurationFilter"; +const _NCT = "NextContinuationToken"; +const _ND = "NoncurrentDays"; +const _NF = "NotFound"; +const _NI = "NotificationId"; +const _NKM = "NextKeyMarker"; +const _NM = "NextMarker"; +const _NNV = "NewerNoncurrentVersions"; +const _NPNM = "NextPartNumberMarker"; +const _NSB = "NoSuchBucket"; +const _NSK = "NoSuchKey"; +const _NSU = "NoSuchUpload"; +const _NT = "NextToken"; +const _NUIM = "NextUploadIdMarker"; +const _NVE = "NoncurrentVersionExpiration"; +const _NVIM = "NextVersionIdMarker"; +const _NVT = "NoncurrentVersionTransitions"; +const _NVTL = "NoncurrentVersionTransitionList"; +const _NVTo = "NoncurrentVersionTransition"; +const _O = "Owner"; +const _OA = "ObjectAttributes"; +const _OAIATE = "ObjectAlreadyInActiveTierError"; +const _OAL = "ObjectAttributesList"; +const _OC = "OwnershipControls"; +const _OCACL = "ObjectCannedACL"; +const _OCR = "OwnershipControlsRule"; +const _OCRw = "OwnershipControlsRules"; +const _OF = "OptionalFields"; +const _OI = "ObjectIdentifier"; +const _OIL = "ObjectIdentifierList"; +const _OK = "ObjectKey"; +const _OL = "OutputLocation"; +const _OLC = "ObjectLockConfiguration"; +const _OLE = "ObjectLockEnabled"; +const _OLEFB = "ObjectLockEnabledForBucket"; +const _OLLH = "ObjectLockLegalHold"; +const _OLLHS = "ObjectLockLegalHoldStatus"; +const _OLM = "ObjectLockMode"; +const _OLR = "ObjectLockRetention"; +const _OLRM = "ObjectLockRetentionMode"; +const _OLRUD = "ObjectLockRetainUntilDate"; +const _OLRb = "ObjectLockRule"; +const _OLT = "ObjectLockToken"; +const _OLb = "ObjectList"; +const _ONIATE = "ObjectNotInActiveTierError"; +const _OO = "ObjectOwnership"; +const _OOA = "OptionalObjectAttributes"; +const _OOAL = "OptionalObjectAttributesList"; +const _OOw = "OwnerOverride"; +const _OP = "ObjectParts"; +const _OPb = "ObjectPart"; +const _OS = "ObjectSize"; +const _OSC = "ObjectStorageClass"; +const _OSGT = "ObjectSizeGreaterThan"; +const _OSGTB = "ObjectSizeGreaterThanBytes"; +const _OSLT = "ObjectSizeLessThan"; +const _OSLTB = "ObjectSizeLessThanBytes"; +const _OSV = "OutputSchemaVersion"; +const _OSu = "OutputSerialization"; +const _OV = "ObjectVersion"; +const _OVI = "ObjectVersionId"; +const _OVL = "ObjectVersionList"; +const _OVSC = "ObjectVersionStorageClass"; +const _Ob = "Objects"; +const _Obj = "Object"; +const _P = "Permission"; +const _PABC = "PublicAccessBlockConfiguration"; +const _PBA = "PutBucketAcl"; +const _PBAC = "PutBucketAccelerateConfiguration"; +const _PBACR = "PutBucketAccelerateConfigurationRequest"; +const _PBACRu = "PutBucketAnalyticsConfigurationRequest"; +const _PBACu = "PutBucketAnalyticsConfiguration"; +const _PBAR = "PutBucketAclRequest"; +const _PBC = "PutBucketCors"; +const _PBCR = "PutBucketCorsRequest"; +const _PBE = "PutBucketEncryption"; +const _PBER = "PutBucketEncryptionRequest"; +const _PBIC = "PutBucketInventoryConfiguration"; +const _PBICR = "PutBucketInventoryConfigurationRequest"; +const _PBITC = "PutBucketIntelligentTieringConfiguration"; +const _PBITCR = "PutBucketIntelligentTieringConfigurationRequest"; +const _PBL = "PutBucketLogging"; +const _PBLC = "PutBucketLifecycleConfiguration"; +const _PBLCO = "PutBucketLifecycleConfigurationOutput"; +const _PBLCR = "PutBucketLifecycleConfigurationRequest"; +const _PBLR = "PutBucketLoggingRequest"; +const _PBMC = "PutBucketMetricsConfiguration"; +const _PBMCR = "PutBucketMetricsConfigurationRequest"; +const _PBNC = "PutBucketNotificationConfiguration"; +const _PBNCR = "PutBucketNotificationConfigurationRequest"; +const _PBOC = "PutBucketOwnershipControls"; +const _PBOCR = "PutBucketOwnershipControlsRequest"; +const _PBP = "PutBucketPolicy"; +const _PBPR = "PutBucketPolicyRequest"; +const _PBR = "PutBucketReplication"; +const _PBRP = "PutBucketRequestPayment"; +const _PBRPR = "PutBucketRequestPaymentRequest"; +const _PBRR = "PutBucketReplicationRequest"; +const _PBT = "PutBucketTagging"; +const _PBTR = "PutBucketTaggingRequest"; +const _PBV = "PutBucketVersioning"; +const _PBVR = "PutBucketVersioningRequest"; +const _PBW = "PutBucketWebsite"; +const _PBWR = "PutBucketWebsiteRequest"; +const _PC = "PartsCount"; +const _PDS = "PartitionDateSource"; +const _PE = "ProgressEvent"; +const _PI = "ParquetInput"; +const _PL = "PartsList"; +const _PN = "PartNumber"; +const _PNM = "PartNumberMarker"; +const _PO = "PutObject"; +const _POA = "PutObjectAcl"; +const _POAO = "PutObjectAclOutput"; +const _POAR = "PutObjectAclRequest"; +const _POLC = "PutObjectLockConfiguration"; +const _POLCO = "PutObjectLockConfigurationOutput"; +const _POLCR = "PutObjectLockConfigurationRequest"; +const _POLH = "PutObjectLegalHold"; +const _POLHO = "PutObjectLegalHoldOutput"; +const _POLHR = "PutObjectLegalHoldRequest"; +const _POO = "PutObjectOutput"; +const _POR = "PutObjectRequest"; +const _PORO = "PutObjectRetentionOutput"; +const _PORR = "PutObjectRetentionRequest"; +const _PORu = "PutObjectRetention"; +const _POT = "PutObjectTagging"; +const _POTO = "PutObjectTaggingOutput"; +const _POTR = "PutObjectTaggingRequest"; +const _PP = "PartitionedPrefix"; +const _PPAB = "PutPublicAccessBlock"; +const _PPABR = "PutPublicAccessBlockRequest"; +const _PS = "PolicyStatus"; +const _Pa = "Payer"; +const _Par = "Parts"; +const _Parq = "Parquet"; +const _Part = "Part"; +const _Pay = "Payload"; +const _Po = "Policy"; +const _Pr = "Prefix"; +const _Pri = "Priority"; +const _Pro = "Protocol"; +const _Prog = "Progress"; +const _Q = "Quiet"; +const _QA = "QueueArn"; +const _QC = "QuoteCharacter"; +const _QCL = "QueueConfigurationList"; +const _QCu = "QueueConfigurations"; +const _QCue = "QueueConfiguration"; +const _QEC = "QuoteEscapeCharacter"; +const _QF = "QuoteFields"; +const _Qu = "Queue"; +const _R = "Role"; +const _RART = "RedirectAllRequestsTo"; +const _RC = "RequestCharged"; +const _RCC = "ResponseCacheControl"; +const _RCD = "ResponseContentDisposition"; +const _RCE = "ResponseContentEncoding"; +const _RCL = "ResponseContentLanguage"; +const _RCT = "ResponseContentType"; +const _RCe = "ReplicationConfiguration"; +const _RD = "RecordDelimiter"; +const _RE = "ResponseExpires"; +const _RED = "RestoreExpiryDate"; +const _REe = "RecordsEvent"; +const _RKKID = "ReplicaKmsKeyID"; +const _RKPW = "ReplaceKeyPrefixWith"; +const _RKW = "ReplaceKeyWith"; +const _RM = "ReplicaModifications"; +const _RMS = "ReplicaModificationsStatus"; +const _RO = "RestoreObject"; +const _ROO = "RestoreObjectOutput"; +const _ROP = "RestoreOutputPath"; +const _ROR = "RestoreObjectRequest"; +const _RP = "RequestPayer"; +const _RPB = "RestrictPublicBuckets"; +const _RPC = "RequestPaymentConfiguration"; +const _RPe = "RequestProgress"; +const _RR = "RequestRoute"; +const _RRAO = "ReplicationRuleAndOperator"; +const _RRF = "ReplicationRuleFilter"; +const _RRS = "ReplicationRuleStatus"; +const _RRT = "RestoreRequestType"; +const _RRe = "ReplicationRule"; +const _RRep = "ReplicationRules"; +const _RRes = "RestoreRequest"; +const _RRo = "RoutingRules"; +const _RRou = "RoutingRule"; +const _RS = "ReplicationStatus"; +const _RSe = "RestoreStatus"; +const _RT = "RequestToken"; +const _RTS = "ReplicationTimeStatus"; +const _RTV = "ReplicationTimeValue"; +const _RTe = "ReplicationTime"; +const _RUD = "RetainUntilDate"; +const _Ra = "Range"; +const _Re = "Restore"; +const _Rec = "Records"; +const _Red = "Redirect"; +const _Reg = "Region"; +const _Ret = "Retention"; +const _Ru = "Rules"; +const _Rul = "Rule"; +const _S = "Size"; +const _SA = "StartAfter"; +const _SAK = "SecretAccessKey"; +const _SB = "StreamingBlob"; +const _SBD = "S3BucketDestination"; +const _SC = "StorageClass"; +const _SCA = "StorageClassAnalysis"; +const _SCADE = "StorageClassAnalysisDataExport"; +const _SCASV = "StorageClassAnalysisSchemaVersion"; +const _SCV = "SessionCredentialValue"; +const _SCe = "SessionCredentials"; +const _SCt = "StatusCode"; +const _SDV = "SkipDestinationValidation"; +const _SE = "SessionExpiration"; +const _SEt = "StatsEvent"; +const _SK = "SSE-KMS"; +const _SKEO = "SseKmsEncryptedObjects"; +const _SKEOS = "SseKmsEncryptedObjectsStatus"; +const _SKF = "S3KeyFilter"; +const _SKe = "S3Key"; +const _SL = "S3Location"; +const _SM = "SessionMode"; +const _SOC = "SelectObjectContent"; +const _SOCES = "SelectObjectContentEventStream"; +const _SOCO = "SelectObjectContentOutput"; +const _SOCR = "SelectObjectContentRequest"; +const _SP = "SelectParameters"; +const _SPi = "SimplePrefix"; +const _SR = "ScanRange"; +const _SS = "SSE-S3"; +const _SSC = "SourceSelectionCriteria"; +const _SSE = "ServerSideEncryption"; +const _SSEA = "SSEAlgorithm"; +const _SSEBD = "ServerSideEncryptionByDefault"; +const _SSEC = "ServerSideEncryptionConfiguration"; +const _SSECA = "SSECustomerAlgorithm"; +const _SSECK = "SSECustomerKey"; +const _SSECKMD = "SSECustomerKeyMD5"; +const _SSEKMS = "SSEKMS"; +const _SSEKMSEC = "SSEKMSEncryptionContext"; +const _SSEKMSKI = "SSEKMSKeyId"; +const _SSER = "ServerSideEncryptionRule"; +const _SSERe = "ServerSideEncryptionRules"; +const _SSES = "SSES3"; +const _ST = "SessionToken"; +const _STA = "S3TablesArn"; +const _STBA = "S3TablesBucketArn"; +const _STD = "S3TablesDestination"; +const _STDR = "S3TablesDestinationResult"; +const _STN = "S3TablesName"; +const _STNa = "S3TablesNamespace"; +const _SV = "SkipValidation"; +const _S_ = "S3"; +const _Sc = "Schedule"; +const _Se = "Setting"; +const _St = "Start"; +const _Sta = "Status"; +const _Stat = "Stats"; +const _Su = "Suffix"; +const _T = "Type"; +const _TA = "TopicArn"; +const _TAa = "TableArn"; +const _TB = "TargetBucket"; +const _TBA = "TableBucketArn"; +const _TC = "TagCount"; +const _TCL = "TopicConfigurationList"; +const _TCo = "TopicConfigurations"; +const _TCop = "TopicConfiguration"; +const _TD = "TaggingDirective"; +const _TDMOS = "TransitionDefaultMinimumObjectSize"; +const _TG = "TargetGrants"; +const _TGa = "TargetGrant"; +const _TH = "TaggingHeader"; +const _TL = "TieringList"; +const _TLr = "TransitionList"; +const _TMP = "TooManyParts"; +const _TN = "TableName"; +const _TNa = "TableNamespace"; +const _TOKF = "TargetObjectKeyFormat"; +const _TP = "TargetPrefix"; +const _TPC = "TotalPartsCount"; +const _TS = "TagSet"; +const _TSC = "TransitionStorageClass"; +const _Ta = "Tags"; +const _Tag = "Tag"; +const _Tagg = "Tagging"; +const _Ti = "Tier"; +const _Tie = "Tierings"; +const _Tier = "Tiering"; +const _Tim = "Time"; +const _To = "Token"; +const _Top = "Topic"; +const _Tr = "Transitions"; +const _Tra = "Transition"; +const _U = "Uploads"; +const _UI = "UploadId"; +const _UIM = "UploadIdMarker"; +const _UM = "UserMetadata"; +const _UP = "UploadPart"; +const _UPC = "UploadPartCopy"; +const _UPCO = "UploadPartCopyOutput"; +const _UPCR = "UploadPartCopyRequest"; +const _UPO = "UploadPartOutput"; +const _UPR = "UploadPartRequest"; +const _URI = "URI"; +const _Up = "Upload"; +const _V = "Value"; +const _VC = "VersionCount"; +const _VCe = "VersioningConfiguration"; +const _VI = "VersionId"; +const _VIM = "VersionIdMarker"; +const _Ve = "Versions"; +const _Ver = "Version"; +const _WC = "WebsiteConfiguration"; +const _WGOR = "WriteGetObjectResponse"; +const _WGORR = "WriteGetObjectResponseRequest"; +const _WOB = "WriteOffsetBytes"; +const _WRL = "WebsiteRedirectLocation"; +const _Y = "Years"; +const _ar = "accept-ranges"; +const _br = "bucket-region"; +const _c = "client"; +const _ct = "continuation-token"; +const _d = "delimiter"; +const _e = "error"; +const _eP = "eventPayload"; +const _et = "encoding-type"; +const _fo = "fetch-owner"; +const _h = "http"; +const _hE = "httpError"; +const _hH = "httpHeader"; +const _hL = "hostLabel"; +const _hP = "httpPayload"; +const _hPH = "httpPrefixHeaders"; +const _hQ = "httpQuery"; +const _i = "id"; +const _km = "key-marker"; +const _m = "marker"; +const _mb = "max-buckets"; +const _mdb = "max-directory-buckets"; +const _mk = "max-keys"; +const _mp = "max-parts"; +const _mu = "max-uploads"; +const _p = "prefix"; +const _pN = "partNumber"; +const _pnm = "part-number-marker"; +const _rcc = "response-cache-control"; +const _rcd = "response-content-disposition"; +const _rce = "response-content-encoding"; +const _rcl = "response-content-language"; +const _rct = "response-content-type"; +const _re = "response-expires"; +const _s = "streaming"; +const _sa = "start-after"; +const _uI = "uploadId"; +const _uim = "upload-id-marker"; +const _vI = "versionId"; +const _vim = "version-id-marker"; +const _x = "xsi:type"; +const _xA = "xmlAttribute"; +const _xF = "xmlFlattened"; +const _xN = "xmlName"; +const _xaa = "x-amz-acl"; +const _xaad = "x-amz-abort-date"; +const _xaapa = "x-amz-access-point-alias"; +const _xaari = "x-amz-abort-rule-id"; +const _xaas = "x-amz-archive-status"; +const _xabgr = "x-amz-bypass-governance-retention"; +const _xabln = "x-amz-bucket-location-name"; +const _xablt = "x-amz-bucket-location-type"; +const _xabole = "x-amz-bucket-object-lock-enabled"; +const _xabolt = "x-amz-bucket-object-lock-token"; +const _xabr = "x-amz-bucket-region"; +const _xaca = "x-amz-checksum-algorithm"; +const _xacc = "x-amz-checksum-crc32"; +const _xacc_ = "x-amz-checksum-crc32c"; +const _xacc__ = "x-amz-checksum-crc64nvme"; +const _xacm = "x-amz-checksum-mode"; +const _xacrsba = "x-amz-confirm-remove-self-bucket-access"; +const _xacs = "x-amz-checksum-sha1"; +const _xacs_ = "x-amz-checksum-sha256"; +const _xacs__ = "x-amz-copy-source"; +const _xacsim = "x-amz-copy-source-if-match"; +const _xacsims = "x-amz-copy-source-if-modified-since"; +const _xacsinm = "x-amz-copy-source-if-none-match"; +const _xacsius = "x-amz-copy-source-if-unmodified-since"; +const _xacsm = "x-amz-create-session-mode"; +const _xacsr = "x-amz-copy-source-range"; +const _xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm"; +const _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key"; +const _xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5"; +const _xacsvi = "x-amz-copy-source-version-id"; +const _xact = "x-amz-checksum-type"; +const _xadm = "x-amz-delete-marker"; +const _xae = "x-amz-expiration"; +const _xaebo = "x-amz-expected-bucket-owner"; +const _xafec = "x-amz-fwd-error-code"; +const _xafem = "x-amz-fwd-error-message"; +const _xafhCC = "x-amz-fwd-header-Cache-Control"; +const _xafhCD = "x-amz-fwd-header-Content-Disposition"; +const _xafhCE = "x-amz-fwd-header-Content-Encoding"; +const _xafhCL = "x-amz-fwd-header-Content-Language"; +const _xafhCR = "x-amz-fwd-header-Content-Range"; +const _xafhCT = "x-amz-fwd-header-Content-Type"; +const _xafhE = "x-amz-fwd-header-ETag"; +const _xafhE_ = "x-amz-fwd-header-Expires"; +const _xafhLM = "x-amz-fwd-header-Last-Modified"; +const _xafhar = "x-amz-fwd-header-accept-ranges"; +const _xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32"; +const _xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c"; +const _xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme"; +const _xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1"; +const _xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256"; +const _xafhxadm = "x-amz-fwd-header-x-amz-delete-marker"; +const _xafhxae = "x-amz-fwd-header-x-amz-expiration"; +const _xafhxamm = "x-amz-fwd-header-x-amz-missing-meta"; +const _xafhxampc = "x-amz-fwd-header-x-amz-mp-parts-count"; +const _xafhxaollh = "x-amz-fwd-header-x-amz-object-lock-legal-hold"; +const _xafhxaolm = "x-amz-fwd-header-x-amz-object-lock-mode"; +const _xafhxaolrud = "x-amz-fwd-header-x-amz-object-lock-retain-until-date"; +const _xafhxar = "x-amz-fwd-header-x-amz-restore"; +const _xafhxarc = "x-amz-fwd-header-x-amz-request-charged"; +const _xafhxars = "x-amz-fwd-header-x-amz-replication-status"; +const _xafhxasc = "x-amz-fwd-header-x-amz-storage-class"; +const _xafhxasse = "x-amz-fwd-header-x-amz-server-side-encryption"; +const _xafhxasseakki = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"; +const _xafhxassebke = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled"; +const _xafhxasseca = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"; +const _xafhxasseckM = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"; +const _xafhxatc = "x-amz-fwd-header-x-amz-tagging-count"; +const _xafhxavi = "x-amz-fwd-header-x-amz-version-id"; +const _xafs = "x-amz-fwd-status"; +const _xagfc = "x-amz-grant-full-control"; +const _xagr = "x-amz-grant-read"; +const _xagra = "x-amz-grant-read-acp"; +const _xagw = "x-amz-grant-write"; +const _xagwa = "x-amz-grant-write-acp"; +const _xaimit = "x-amz-if-match-initiated-time"; +const _xaimlmt = "x-amz-if-match-last-modified-time"; +const _xaims = "x-amz-if-match-size"; +const _xam = "x-amz-meta-"; +const _xam_ = "x-amz-mfa"; +const _xamd = "x-amz-metadata-directive"; +const _xamm = "x-amz-missing-meta"; +const _xamos = "x-amz-mp-object-size"; +const _xamp = "x-amz-max-parts"; +const _xampc = "x-amz-mp-parts-count"; +const _xaoa = "x-amz-object-attributes"; +const _xaollh = "x-amz-object-lock-legal-hold"; +const _xaolm = "x-amz-object-lock-mode"; +const _xaolrud = "x-amz-object-lock-retain-until-date"; +const _xaoo = "x-amz-object-ownership"; +const _xaooa = "x-amz-optional-object-attributes"; +const _xaos = "x-amz-object-size"; +const _xapnm = "x-amz-part-number-marker"; +const _xar = "x-amz-restore"; +const _xarc = "x-amz-request-charged"; +const _xarop = "x-amz-restore-output-path"; +const _xarp = "x-amz-request-payer"; +const _xarr = "x-amz-request-route"; +const _xars = "x-amz-replication-status"; +const _xart = "x-amz-request-token"; +const _xasc = "x-amz-storage-class"; +const _xasca = "x-amz-sdk-checksum-algorithm"; +const _xasdv = "x-amz-skip-destination-validation"; +const _xasebo = "x-amz-source-expected-bucket-owner"; +const _xasse = "x-amz-server-side-encryption"; +const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; +const _xassebke = "x-amz-server-side-encryption-bucket-key-enabled"; +const _xassec = "x-amz-server-side-encryption-context"; +const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; +const _xasseck = "x-amz-server-side-encryption-customer-key"; +const _xasseckM = "x-amz-server-side-encryption-customer-key-MD5"; +const _xat = "x-amz-tagging"; +const _xatc = "x-amz-tagging-count"; +const _xatd = "x-amz-tagging-directive"; +const _xatdmos = "x-amz-transition-default-minimum-object-size"; +const _xavi = "x-amz-version-id"; +const _xawob = "x-amz-write-offset-bytes"; +const _xawrl = "x-amz-website-redirect-location"; + +// smithy-typescript generated code +import { + error as __error, + list as __list, + op as __op, + sim as __sim, + struct as __struct, + struct as __uni, + TypeRegistry, +} from "@smithy/core/schema"; + +import { + BucketAlreadyExists as __BucketAlreadyExists, + BucketAlreadyOwnedByYou as __BucketAlreadyOwnedByYou, + EncryptionTypeMismatch as __EncryptionTypeMismatch, + InvalidObjectState as __InvalidObjectState, + InvalidRequest as __InvalidRequest, + InvalidWriteOffset as __InvalidWriteOffset, + NoSuchBucket as __NoSuchBucket, + NoSuchKey as __NoSuchKey, + NoSuchUpload as __NoSuchUpload, + NotFound as __NotFound, + ObjectAlreadyInActiveTierError as __ObjectAlreadyInActiveTierError, + ObjectNotInActiveTierError as __ObjectNotInActiveTierError, + TooManyParts as __TooManyParts, +} from "../models/index"; +import { Unit } from "./smithy.api"; + +/* eslint no-var: 0 */ + +export const com_amazonaws_s3Registry = TypeRegistry.for("com.amazonaws.s3"); +com_amazonaws_s3Registry.startCapture(); +export var CopySourceSSECustomerKey = __sim(_CSSSECK, 0, 8); +export var SessionCredentialValue = __sim(_SCV, 0, 8); +export var SSECustomerKey = __sim(_SSECK, 0, 8); +export var SSEKMSEncryptionContext = __sim(_SSEKMSEC, 0, 8); +export var SSEKMSKeyId = __sim(_SSEKMSKI, 0, 8); +export var StreamingBlob = __sim(_SB, 42, { + [_s]: 1, +}); +export var AbortIncompleteMultipartUpload = __struct(_AIMU, 0, [_DAI], [1]); +export var AbortMultipartUploadOutput = __struct( + _AMUO, + 0, + [_RC], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var AbortMultipartUploadRequest = __struct( + _AMUR, + 0, + [_Bu, _K, _UI, _RP, _EBO, _IMIT], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _uI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 6, + { + [_hH]: _xaimit, + }, + ], + ] +); +export var AccelerateConfiguration = __struct(_AC, 0, [_Sta], [0]); +export var AccessControlPolicy = __struct( + _ACP, + 0, + [_G, _O], + [ + [ + () => Grants, + { + [_xN]: _ACL, + }, + ], + () => Owner, + ] +); +export var AccessControlTranslation = __struct(_ACT, 0, [_O], [0]); +export var AnalyticsAndOperator = __struct( + _AAO, + 0, + [_Pr, _Ta], + [ + 0, + [ + () => TagSet, + { + [_xN]: _Tag, + [_xF]: 1, + }, + ], + ] +); +export var AnalyticsConfiguration = __struct( + _ACn, + 0, + [_Id, _F, _SCA], + [0, [() => AnalyticsFilter, 0], () => StorageClassAnalysis] +); +export var AnalyticsExportDestination = __struct(_AED, 0, [_SBD], [() => AnalyticsS3BucketDestination]); +export var AnalyticsS3BucketDestination = __struct(_ASBD, 0, [_Fo, _BAI, _Bu, _Pr], [0, 0, 0, 0]); +export var Bucket = __struct(_Bu, 0, [_N, _CDr, _BR], [0, 4, 0]); +export var BucketAlreadyExists = __error( + _BAE, + { + [_e]: _c, + [_hE]: 409, + }, + [], + [], + + __BucketAlreadyExists +); +export var BucketAlreadyOwnedByYou = __error( + _BAOBY, + { + [_e]: _c, + [_hE]: 409, + }, + [], + [], + + __BucketAlreadyOwnedByYou +); +export var BucketInfo = __struct(_BI, 0, [_DR, _T], [0, 0]); +export var BucketLifecycleConfiguration = __struct( + _BLCu, + 0, + [_Ru], + [ + [ + () => LifecycleRules, + { + [_xN]: _Rul, + [_xF]: 1, + }, + ], + ] +); +export var BucketLoggingStatus = __struct(_BLS, 0, [_LE], [[() => LoggingEnabled, 0]]); +export var Checksum = __struct(_Ch, 0, [_CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA, _CT], [0, 0, 0, 0, 0, 0]); +export var CommonPrefix = __struct(_CP, 0, [_Pr], [0]); +export var CompletedMultipartUpload = __struct( + _CMU, + 0, + [_Par], + [ + [ + () => CompletedPartList, + { + [_xN]: _Part, + [_xF]: 1, + }, + ], + ] +); +export var CompletedPart = __struct( + _CPo, + 0, + [_ET, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA, _PN], + [0, 0, 0, 0, 0, 0, 1] +); +export var CompleteMultipartUploadOutput = __struct( + _CMUO, + { + [_xN]: _CMUR, + }, + [_L, _Bu, _K, _E, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA, _CT, _SSE, _VI, _SSEKMSKI, _BKE, _RC], + [ + 0, + 0, + 0, + [ + 0, + { + [_hH]: _xae, + }, + ], + 0, + 0, + 0, + 0, + 0, + 0, + 0, + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var CompleteMultipartUploadRequest = __struct( + _CMURo, + 0, + [ + _Bu, + _K, + _MUu, + _UI, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _CT, + _MOS, + _RP, + _EBO, + _IM, + _INM, + _SSECA, + _SSECK, + _SSECKMD, + ], + [ + [0, 1], + [0, 1], + [ + () => CompletedMultipartUpload, + { + [_xN]: _CMUo, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hQ]: _uI, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + [ + 1, + { + [_hH]: _xamos, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _IM_, + }, + ], + [ + 0, + { + [_hH]: _INM_, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + ] +); +export var Condition = __struct(_Con, 0, [_HECRE, _KPE], [0, 0]); +export var ContinuationEvent = __struct(_CEo, 0, [], []); +export var CopyObjectOutput = __struct( + _COO, + 0, + [_COR, _E, _CSVI, _VI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC], + [ + [() => CopyObjectResult, 16], + [ + 0, + { + [_hH]: _xae, + }, + ], + [ + 0, + { + [_hH]: _xacsvi, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var CopyObjectRequest = __struct( + _CORo, + 0, + [ + _ACL_, + _Bu, + _CC, + _CA, + _CD, + _CE, + _CL, + _CTo, + _CS, + _CSIM, + _CSIMS, + _CSINM, + _CSIUS, + _Ex, + _GFC, + _GR, + _GRACP, + _GWACP, + _K, + _M, + _MD, + _TD, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _CSSSECA, + _CSSSECK, + _CSSSECKMD, + _RP, + _Tagg, + _OLM, + _OLRUD, + _OLLHS, + _EBO, + _ESBO, + ], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _CC_, + }, + ], + [ + 0, + { + [_hH]: _xaca, + }, + ], + [ + 0, + { + [_hH]: _CD_, + }, + ], + [ + 0, + { + [_hH]: _CE_, + }, + ], + [ + 0, + { + [_hH]: _CL_, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + [ + 0, + { + [_hH]: _xacs__, + }, + ], + [ + 0, + { + [_hH]: _xacsim, + }, + ], + [ + 4, + { + [_hH]: _xacsims, + }, + ], + [ + 0, + { + [_hH]: _xacsinm, + }, + ], + [ + 4, + { + [_hH]: _xacsius, + }, + ], + [ + 4, + { + [_hH]: _Ex, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [0, 1], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xamd, + }, + ], + [ + 0, + { + [_hH]: _xatd, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasc, + }, + ], + [ + 0, + { + [_hH]: _xawrl, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xacssseca, + }, + ], + [ + () => CopySourceSSECustomerKey, + { + [_hH]: _xacssseck, + }, + ], + [ + 0, + { + [_hH]: _xacssseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xat, + }, + ], + [ + 0, + { + [_hH]: _xaolm, + }, + ], + [ + 5, + { + [_hH]: _xaolrud, + }, + ], + [ + 0, + { + [_hH]: _xaollh, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xasebo, + }, + ], + ] +); +export var CopyObjectResult = __struct( + _COR, + 0, + [_ET, _LM, _CT, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA], + [0, 4, 0, 0, 0, 0, 0, 0] +); +export var CopyPartResult = __struct( + _CPR, + 0, + [_ET, _LM, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA], + [0, 4, 0, 0, 0, 0, 0] +); +export var CORSConfiguration = __struct( + _CORSC, + 0, + [_CORSR], + [ + [ + () => CORSRules, + { + [_xN]: _CORSRu, + [_xF]: 1, + }, + ], + ] +); +export var CORSRule = __struct( + _CORSRu, + 0, + [_ID, _AH, _AM, _AO, _EH, _MAS], + [ + 0, + [ + 64 | 0, + { + [_xN]: _AHl, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xN]: _AMl, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xN]: _AOl, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xN]: _EHx, + [_xF]: 1, + }, + ], + 1, + ] +); +export var CreateBucketConfiguration = __struct(_CBC, 0, [_LC, _L, _Bu], [0, () => LocationInfo, () => BucketInfo]); +export var CreateBucketMetadataTableConfigurationRequest = __struct( + _CBMTCR, + 0, + [_Bu, _CMD, _CA, _MTC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => MetadataTableConfiguration, + { + [_xN]: _MTC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var CreateBucketOutput = __struct( + _CBO, + 0, + [_L], + [ + [ + 0, + { + [_hH]: _L, + }, + ], + ] +); +export var CreateBucketRequest = __struct( + _CBR, + 0, + [_ACL_, _Bu, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OO], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [0, 1], + [ + () => CreateBucketConfiguration, + { + [_xN]: _CBC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagw, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [ + 2, + { + [_hH]: _xabole, + }, + ], + [ + 0, + { + [_hH]: _xaoo, + }, + ], + ] +); +export var CreateMultipartUploadOutput = __struct( + _CMUOr, + { + [_xN]: _IMUR, + }, + [_AD, _ARI, _Bu, _K, _UI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC, _CA, _CT], + [ + [ + 4, + { + [_hH]: _xaad, + }, + ], + [ + 0, + { + [_hH]: _xaari, + }, + ], + [ + 0, + { + [_xN]: _Bu, + }, + ], + 0, + 0, + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + [ + 0, + { + [_hH]: _xaca, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + ] +); +export var CreateMultipartUploadRequest = __struct( + _CMURr, + 0, + [ + _ACL_, + _Bu, + _CC, + _CD, + _CE, + _CL, + _CTo, + _Ex, + _GFC, + _GR, + _GRACP, + _GWACP, + _K, + _M, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _RP, + _Tagg, + _OLM, + _OLRUD, + _OLLHS, + _EBO, + _CA, + _CT, + ], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _CC_, + }, + ], + [ + 0, + { + [_hH]: _CD_, + }, + ], + [ + 0, + { + [_hH]: _CE_, + }, + ], + [ + 0, + { + [_hH]: _CL_, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + [ + 4, + { + [_hH]: _Ex, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [0, 1], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasc, + }, + ], + [ + 0, + { + [_hH]: _xawrl, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xat, + }, + ], + [ + 0, + { + [_hH]: _xaolm, + }, + ], + [ + 5, + { + [_hH]: _xaolrud, + }, + ], + [ + 0, + { + [_hH]: _xaollh, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xaca, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + ] +); +export var CreateSessionOutput = __struct( + _CSO, + { + [_xN]: _CSRr, + }, + [_SSE, _SSEKMSKI, _SSEKMSEC, _BKE, _Cr], + [ + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + () => SessionCredentials, + { + [_xN]: _Cr, + }, + ], + ] +); +export var CreateSessionRequest = __struct( + _CSRre, + 0, + [_SM, _Bu, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE], + [ + [ + 0, + { + [_hH]: _xacsm, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + ] +); +export var CSVInput = __struct(_CSVIn, 0, [_FHI, _Co, _QEC, _RD, _FD, _QC, _AQRD], [0, 0, 0, 0, 0, 0, 2]); +export var CSVOutput = __struct(_CSVO, 0, [_QF, _QEC, _RD, _FD, _QC], [0, 0, 0, 0, 0]); +export var DefaultRetention = __struct(_DRe, 0, [_Mo, _Da, _Y], [0, 1, 1]); +export var Delete = __struct( + _Del, + 0, + [_Ob, _Q], + [ + [ + () => ObjectIdentifierList, + { + [_xN]: _Obj, + [_xF]: 1, + }, + ], + 2, + ] +); +export var DeleteBucketAnalyticsConfigurationRequest = __struct( + _DBACR, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketCorsRequest = __struct( + _DBCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketEncryptionRequest = __struct( + _DBER, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketIntelligentTieringConfigurationRequest = __struct( + _DBITCR, + 0, + [_Bu, _Id], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + ] +); +export var DeleteBucketInventoryConfigurationRequest = __struct( + _DBICR, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketLifecycleRequest = __struct( + _DBLR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketMetadataTableConfigurationRequest = __struct( + _DBMTCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketMetricsConfigurationRequest = __struct( + _DBMCR, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketOwnershipControlsRequest = __struct( + _DBOCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketPolicyRequest = __struct( + _DBPR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketReplicationRequest = __struct( + _DBRR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketRequest = __struct( + _DBR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketTaggingRequest = __struct( + _DBTR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeleteBucketWebsiteRequest = __struct( + _DBWR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeletedObject = __struct(_DO, 0, [_K, _VI, _DM, _DMVI], [0, 0, 2, 0]); +export var DeleteMarkerEntry = __struct(_DME, 0, [_O, _K, _VI, _IL, _LM], [() => Owner, 0, 0, 2, 4]); +export var DeleteMarkerReplication = __struct(_DMR, 0, [_Sta], [0]); +export var DeleteObjectOutput = __struct( + _DOO, + 0, + [_DM, _VI, _RC], + [ + [ + 2, + { + [_hH]: _xadm, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var DeleteObjectRequest = __struct( + _DOR, + 0, + [_Bu, _K, _MFA, _VI, _RP, _BGR, _EBO, _IM, _IMLMT, _IMS], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hH]: _xam_, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 2, + { + [_hH]: _xabgr, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _IM_, + }, + ], + [ + 6, + { + [_hH]: _xaimlmt, + }, + ], + [ + 1, + { + [_hH]: _xaims, + }, + ], + ] +); +export var DeleteObjectsOutput = __struct( + _DOOe, + { + [_xN]: _DRel, + }, + [_Dele, _RC, _Er], + [ + [ + () => DeletedObjects, + { + [_xF]: 1, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + [ + () => Errors, + { + [_xN]: _Err, + [_xF]: 1, + }, + ], + ] +); +export var DeleteObjectsRequest = __struct( + _DORe, + 0, + [_Bu, _Del, _MFA, _RP, _BGR, _EBO, _CA], + [ + [0, 1], + [ + () => Delete, + { + [_xN]: _Del, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xam_, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 2, + { + [_hH]: _xabgr, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + ] +); +export var DeleteObjectTaggingOutput = __struct( + _DOTO, + 0, + [_VI], + [ + [ + 0, + { + [_hH]: _xavi, + }, + ], + ] +); +export var DeleteObjectTaggingRequest = __struct( + _DOTR, + 0, + [_Bu, _K, _VI, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var DeletePublicAccessBlockRequest = __struct( + _DPABR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var Destination = __struct( + _Dest, + 0, + [_Bu, _A, _SC, _ACT, _ECn, _RTe, _Met], + [0, 0, 0, () => AccessControlTranslation, () => EncryptionConfiguration, () => ReplicationTime, () => Metrics] +); +export var Encryption = __struct(_Enc, 0, [_ETnc, _KMSKI, _KMSC], [0, [() => SSEKMSKeyId, 0], 0]); +export var EncryptionConfiguration = __struct(_ECn, 0, [_RKKID], [0]); +export var EncryptionTypeMismatch = __error( + _ETM, + { + [_e]: _c, + [_hE]: 400, + }, + [], + [], + + __EncryptionTypeMismatch +); +export var EndEvent = __struct(_EE, 0, [], []); +export var _Error = __struct(_Err, 0, [_K, _VI, _C, _Me], [0, 0, 0, 0]); +export var ErrorDetails = __struct(_ED, 0, [_EC, _EM], [0, 0]); +export var ErrorDocument = __struct(_EDr, 0, [_K], [0]); +export var EventBridgeConfiguration = __struct(_EBC, 0, [], []); +export var ExistingObjectReplication = __struct(_EOR, 0, [_Sta], [0]); +export var FilterRule = __struct(_FR, 0, [_N, _V], [0, 0]); +export var GetBucketAccelerateConfigurationOutput = __struct( + _GBACO, + { + [_xN]: _AC, + }, + [_Sta, _RC], + [ + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var GetBucketAccelerateConfigurationRequest = __struct( + _GBACR, + 0, + [_Bu, _EBO, _RP], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + ] +); +export var GetBucketAclOutput = __struct( + _GBAO, + { + [_xN]: _ACP, + }, + [_O, _G], + [ + () => Owner, + [ + () => Grants, + { + [_xN]: _ACL, + }, + ], + ] +); +export var GetBucketAclRequest = __struct( + _GBAR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketAnalyticsConfigurationOutput = __struct(_GBACOe, 0, [_ACn], [[() => AnalyticsConfiguration, 16]]); +export var GetBucketAnalyticsConfigurationRequest = __struct( + _GBACRe, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketCorsOutput = __struct( + _GBCO, + { + [_xN]: _CORSC, + }, + [_CORSR], + [ + [ + () => CORSRules, + { + [_xN]: _CORSRu, + [_xF]: 1, + }, + ], + ] +); +export var GetBucketCorsRequest = __struct( + _GBCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketEncryptionOutput = __struct(_GBEO, 0, [_SSEC], [[() => ServerSideEncryptionConfiguration, 16]]); +export var GetBucketEncryptionRequest = __struct( + _GBER, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketIntelligentTieringConfigurationOutput = __struct( + _GBITCO, + 0, + [_ITC], + [[() => IntelligentTieringConfiguration, 16]] +); +export var GetBucketIntelligentTieringConfigurationRequest = __struct( + _GBITCR, + 0, + [_Bu, _Id], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + ] +); +export var GetBucketInventoryConfigurationOutput = __struct(_GBICO, 0, [_IC], [[() => InventoryConfiguration, 16]]); +export var GetBucketInventoryConfigurationRequest = __struct( + _GBICR, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketLifecycleConfigurationOutput = __struct( + _GBLCO, + { + [_xN]: _LCi, + }, + [_Ru, _TDMOS], + [ + [ + () => LifecycleRules, + { + [_xN]: _Rul, + [_xF]: 1, + }, + ], + [ + 0, + { + [_hH]: _xatdmos, + }, + ], + ] +); +export var GetBucketLifecycleConfigurationRequest = __struct( + _GBLCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketLocationOutput = __struct( + _GBLO, + { + [_xN]: _LC, + }, + [_LC], + [0] +); +export var GetBucketLocationRequest = __struct( + _GBLR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketLoggingOutput = __struct( + _GBLOe, + { + [_xN]: _BLS, + }, + [_LE], + [[() => LoggingEnabled, 0]] +); +export var GetBucketLoggingRequest = __struct( + _GBLRe, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketMetadataTableConfigurationOutput = __struct( + _GBMTCO, + 0, + [_GBMTCR], + [[() => GetBucketMetadataTableConfigurationResult, 16]] +); +export var GetBucketMetadataTableConfigurationRequest = __struct( + _GBMTCRe, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketMetadataTableConfigurationResult = __struct( + _GBMTCR, + 0, + [_MTCR, _Sta, _Err], + [() => MetadataTableConfigurationResult, 0, () => ErrorDetails] +); +export var GetBucketMetricsConfigurationOutput = __struct(_GBMCO, 0, [_MC], [[() => MetricsConfiguration, 16]]); +export var GetBucketMetricsConfigurationRequest = __struct( + _GBMCR, + 0, + [_Bu, _Id, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketNotificationConfigurationRequest = __struct( + _GBNCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketOwnershipControlsOutput = __struct(_GBOCO, 0, [_OC], [[() => OwnershipControls, 16]]); +export var GetBucketOwnershipControlsRequest = __struct( + _GBOCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketPolicyOutput = __struct(_GBPO, 0, [_Po], [[0, 16]]); +export var GetBucketPolicyRequest = __struct( + _GBPR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketPolicyStatusOutput = __struct(_GBPSO, 0, [_PS], [[() => PolicyStatus, 16]]); +export var GetBucketPolicyStatusRequest = __struct( + _GBPSR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketReplicationOutput = __struct(_GBRO, 0, [_RCe], [[() => ReplicationConfiguration, 16]]); +export var GetBucketReplicationRequest = __struct( + _GBRR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketRequestPaymentOutput = __struct( + _GBRPO, + { + [_xN]: _RPC, + }, + [_Pa], + [0] +); +export var GetBucketRequestPaymentRequest = __struct( + _GBRPR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketTaggingOutput = __struct( + _GBTO, + { + [_xN]: _Tagg, + }, + [_TS], + [[() => TagSet, 0]] +); +export var GetBucketTaggingRequest = __struct( + _GBTR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketVersioningOutput = __struct( + _GBVO, + { + [_xN]: _VCe, + }, + [_Sta, _MFAD], + [ + 0, + [ + 0, + { + [_xN]: _MDf, + }, + ], + ] +); +export var GetBucketVersioningRequest = __struct( + _GBVR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetBucketWebsiteOutput = __struct( + _GBWO, + { + [_xN]: _WC, + }, + [_RART, _IDn, _EDr, _RRo], + [() => RedirectAllRequestsTo, () => IndexDocument, () => ErrorDocument, [() => RoutingRules, 0]] +); +export var GetBucketWebsiteRequest = __struct( + _GBWR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetObjectAclOutput = __struct( + _GOAO, + { + [_xN]: _ACP, + }, + [_O, _G, _RC], + [ + () => Owner, + [ + () => Grants, + { + [_xN]: _ACL, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var GetObjectAclRequest = __struct( + _GOAR, + 0, + [_Bu, _K, _VI, _RP, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetObjectAttributesOutput = __struct( + _GOAOe, + { + [_xN]: _GOARe, + }, + [_DM, _LM, _VI, _RC, _ET, _Ch, _OP, _SC, _OS], + [ + [ + 2, + { + [_hH]: _xadm, + }, + ], + [ + 4, + { + [_hH]: _LM_, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + 0, + () => Checksum, + [() => GetObjectAttributesParts, 0], + 0, + 1, + ] +); +export var GetObjectAttributesParts = __struct( + _GOAP, + 0, + [_TPC, _PNM, _NPNM, _MP, _IT, _Par], + [ + [ + 1, + { + [_xN]: _PC, + }, + ], + 0, + 0, + 1, + 2, + [ + () => PartsList, + { + [_xN]: _Part, + [_xF]: 1, + }, + ], + ] +); +export var GetObjectAttributesRequest = __struct( + _GOARet, + 0, + [_Bu, _K, _VI, _MP, _PNM, _SSECA, _SSECK, _SSECKMD, _RP, _EBO, _OA], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 1, + { + [_hH]: _xamp, + }, + ], + [ + 0, + { + [_hH]: _xapnm, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 64 | 0, + { + [_hH]: _xaoa, + }, + ], + ] +); +export var GetObjectLegalHoldOutput = __struct( + _GOLHO, + 0, + [_LH], + [ + [ + () => ObjectLockLegalHold, + { + [_xN]: _LH, + [_hP]: 1, + }, + ], + ] +); +export var GetObjectLegalHoldRequest = __struct( + _GOLHR, + 0, + [_Bu, _K, _VI, _RP, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetObjectLockConfigurationOutput = __struct(_GOLCO, 0, [_OLC], [[() => ObjectLockConfiguration, 16]]); +export var GetObjectLockConfigurationRequest = __struct( + _GOLCR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetObjectOutput = __struct( + _GOO, + 0, + [ + _B, + _DM, + _AR, + _E, + _Re, + _LM, + _CLo, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _CT, + _MM, + _VI, + _CC, + _CD, + _CE, + _CL, + _CR, + _CTo, + _Ex, + _ESx, + _WRL, + _SSE, + _M, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _BKE, + _SC, + _RC, + _RS, + _PC, + _TC, + _OLM, + _OLRUD, + _OLLHS, + ], + [ + [() => StreamingBlob, 16], + [ + 2, + { + [_hH]: _xadm, + }, + ], + [ + 0, + { + [_hH]: _ar, + }, + ], + [ + 0, + { + [_hH]: _xae, + }, + ], + [ + 0, + { + [_hH]: _xar, + }, + ], + [ + 4, + { + [_hH]: _LM_, + }, + ], + [ + 1, + { + [_hH]: _CL__, + }, + ], + [ + 0, + { + [_hH]: _ET, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + [ + 1, + { + [_hH]: _xamm, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _CC_, + }, + ], + [ + 0, + { + [_hH]: _CD_, + }, + ], + [ + 0, + { + [_hH]: _CE_, + }, + ], + [ + 0, + { + [_hH]: _CL_, + }, + ], + [ + 0, + { + [_hH]: _CR_, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + [ + 4, + { + [_hH]: _Ex, + }, + ], + [ + 0, + { + [_hH]: _ESx, + }, + ], + [ + 0, + { + [_hH]: _xawrl, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xasc, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + [ + 0, + { + [_hH]: _xars, + }, + ], + [ + 1, + { + [_hH]: _xampc, + }, + ], + [ + 1, + { + [_hH]: _xatc, + }, + ], + [ + 0, + { + [_hH]: _xaolm, + }, + ], + [ + 5, + { + [_hH]: _xaolrud, + }, + ], + [ + 0, + { + [_hH]: _xaollh, + }, + ], + ] +); +export var GetObjectRequest = __struct( + _GOR, + 0, + [ + _Bu, + _IM, + _IMSf, + _INM, + _IUS, + _K, + _Ra, + _RCC, + _RCD, + _RCE, + _RCL, + _RCT, + _RE, + _VI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _PN, + _EBO, + _CM, + ], + [ + [0, 1], + [ + 0, + { + [_hH]: _IM_, + }, + ], + [ + 4, + { + [_hH]: _IMS_, + }, + ], + [ + 0, + { + [_hH]: _INM_, + }, + ], + [ + 4, + { + [_hH]: _IUS_, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _Ra, + }, + ], + [ + 0, + { + [_hQ]: _rcc, + }, + ], + [ + 0, + { + [_hQ]: _rcd, + }, + ], + [ + 0, + { + [_hQ]: _rce, + }, + ], + [ + 0, + { + [_hQ]: _rcl, + }, + ], + [ + 0, + { + [_hQ]: _rct, + }, + ], + [ + 6, + { + [_hQ]: _re, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 1, + { + [_hQ]: _pN, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xacm, + }, + ], + ] +); +export var GetObjectRetentionOutput = __struct( + _GORO, + 0, + [_Ret], + [ + [ + () => ObjectLockRetention, + { + [_xN]: _Ret, + [_hP]: 1, + }, + ], + ] +); +export var GetObjectRetentionRequest = __struct( + _GORR, + 0, + [_Bu, _K, _VI, _RP, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetObjectTaggingOutput = __struct( + _GOTO, + { + [_xN]: _Tagg, + }, + [_VI, _TS], + [ + [ + 0, + { + [_hH]: _xavi, + }, + ], + [() => TagSet, 0], + ] +); +export var GetObjectTaggingRequest = __struct( + _GOTR, + 0, + [_Bu, _K, _VI, _EBO, _RP], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + ] +); +export var GetObjectTorrentOutput = __struct( + _GOTOe, + 0, + [_B, _RC], + [ + [() => StreamingBlob, 16], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var GetObjectTorrentRequest = __struct( + _GOTRe, + 0, + [_Bu, _K, _RP, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GetPublicAccessBlockOutput = __struct(_GPABO, 0, [_PABC], [[() => PublicAccessBlockConfiguration, 16]]); +export var GetPublicAccessBlockRequest = __struct( + _GPABR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var GlacierJobParameters = __struct(_GJP, 0, [_Ti], [0]); +export var Grant = __struct(_Gr, 0, [_Gra, _P], [[() => Grantee, 0], 0]); +export var Grantee = __struct( + _Gra, + 0, + [_DN, _EA, _ID, _URI, _T], + [ + 0, + 0, + 0, + 0, + [ + 0, + { + [_xN]: _x, + [_xA]: 1, + }, + ], + ] +); +export var HeadBucketOutput = __struct( + _HBO, + 0, + [_BLT, _BLN, _BR, _APAc], + [ + [ + 0, + { + [_hH]: _xablt, + }, + ], + [ + 0, + { + [_hH]: _xabln, + }, + ], + [ + 0, + { + [_hH]: _xabr, + }, + ], + [ + 2, + { + [_hH]: _xaapa, + }, + ], + ] +); +export var HeadBucketRequest = __struct( + _HBR, + 0, + [_Bu, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var HeadObjectOutput = __struct( + _HOO, + 0, + [ + _DM, + _AR, + _E, + _Re, + _AS, + _LM, + _CLo, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _CT, + _ET, + _MM, + _VI, + _CC, + _CD, + _CE, + _CL, + _CTo, + _CR, + _Ex, + _ESx, + _WRL, + _SSE, + _M, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _BKE, + _SC, + _RC, + _RS, + _PC, + _OLM, + _OLRUD, + _OLLHS, + ], + [ + [ + 2, + { + [_hH]: _xadm, + }, + ], + [ + 0, + { + [_hH]: _ar, + }, + ], + [ + 0, + { + [_hH]: _xae, + }, + ], + [ + 0, + { + [_hH]: _xar, + }, + ], + [ + 0, + { + [_hH]: _xaas, + }, + ], + [ + 4, + { + [_hH]: _LM_, + }, + ], + [ + 1, + { + [_hH]: _CL__, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + [ + 0, + { + [_hH]: _ET, + }, + ], + [ + 1, + { + [_hH]: _xamm, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _CC_, + }, + ], + [ + 0, + { + [_hH]: _CD_, + }, + ], + [ + 0, + { + [_hH]: _CE_, + }, + ], + [ + 0, + { + [_hH]: _CL_, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + [ + 0, + { + [_hH]: _CR_, + }, + ], + [ + 4, + { + [_hH]: _Ex, + }, + ], + [ + 0, + { + [_hH]: _ESx, + }, + ], + [ + 0, + { + [_hH]: _xawrl, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xasc, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + [ + 0, + { + [_hH]: _xars, + }, + ], + [ + 1, + { + [_hH]: _xampc, + }, + ], + [ + 0, + { + [_hH]: _xaolm, + }, + ], + [ + 5, + { + [_hH]: _xaolrud, + }, + ], + [ + 0, + { + [_hH]: _xaollh, + }, + ], + ] +); +export var HeadObjectRequest = __struct( + _HOR, + 0, + [ + _Bu, + _IM, + _IMSf, + _INM, + _IUS, + _K, + _Ra, + _RCC, + _RCD, + _RCE, + _RCL, + _RCT, + _RE, + _VI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _PN, + _EBO, + _CM, + ], + [ + [0, 1], + [ + 0, + { + [_hH]: _IM_, + }, + ], + [ + 4, + { + [_hH]: _IMS_, + }, + ], + [ + 0, + { + [_hH]: _INM_, + }, + ], + [ + 4, + { + [_hH]: _IUS_, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _Ra, + }, + ], + [ + 0, + { + [_hQ]: _rcc, + }, + ], + [ + 0, + { + [_hQ]: _rcd, + }, + ], + [ + 0, + { + [_hQ]: _rce, + }, + ], + [ + 0, + { + [_hQ]: _rcl, + }, + ], + [ + 0, + { + [_hQ]: _rct, + }, + ], + [ + 6, + { + [_hQ]: _re, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 1, + { + [_hQ]: _pN, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xacm, + }, + ], + ] +); +export var IndexDocument = __struct(_IDn, 0, [_Su], [0]); +export var Initiator = __struct(_In, 0, [_ID, _DN], [0, 0]); +export var InputSerialization = __struct( + _IS, + 0, + [_CSV, _CTom, _JSON, _Parq], + [() => CSVInput, 0, () => JSONInput, () => ParquetInput] +); +export var IntelligentTieringAndOperator = __struct( + _ITAO, + 0, + [_Pr, _Ta], + [ + 0, + [ + () => TagSet, + { + [_xN]: _Tag, + [_xF]: 1, + }, + ], + ] +); +export var IntelligentTieringConfiguration = __struct( + _ITC, + 0, + [_Id, _F, _Sta, _Tie], + [ + 0, + [() => IntelligentTieringFilter, 0], + 0, + [ + () => TieringList, + { + [_xN]: _Tier, + [_xF]: 1, + }, + ], + ] +); +export var IntelligentTieringFilter = __struct( + _ITF, + 0, + [_Pr, _Tag, _An], + [0, () => Tag, [() => IntelligentTieringAndOperator, 0]] +); +export var InvalidObjectState = __error( + _IOS, + { + [_e]: _c, + [_hE]: 403, + }, + [_SC, _AT], + [0, 0], + + __InvalidObjectState +); +export var InvalidRequest = __error( + _IR, + { + [_e]: _c, + [_hE]: 400, + }, + [], + [], + + __InvalidRequest +); +export var InvalidWriteOffset = __error( + _IWO, + { + [_e]: _c, + [_hE]: 400, + }, + [], + [], + + __InvalidWriteOffset +); +export var InventoryConfiguration = __struct( + _IC, + 0, + [_Dest, _IE, _F, _Id, _IOV, _OF, _Sc], + [ + [() => InventoryDestination, 0], + 2, + () => InventoryFilter, + 0, + 0, + [() => InventoryOptionalFields, 0], + () => InventorySchedule, + ] +); +export var InventoryDestination = __struct(_IDnv, 0, [_SBD], [[() => InventoryS3BucketDestination, 0]]); +export var InventoryEncryption = __struct( + _IEn, + 0, + [_SSES, _SSEKMS], + [ + [ + () => SSES3, + { + [_xN]: _SS, + }, + ], + [ + () => SSEKMS, + { + [_xN]: _SK, + }, + ], + ] +); +export var InventoryFilter = __struct(_IFnv, 0, [_Pr], [0]); +export var InventoryS3BucketDestination = __struct( + _ISBD, + 0, + [_AI, _Bu, _Fo, _Pr, _Enc], + [0, 0, 0, 0, [() => InventoryEncryption, 0]] +); +export var InventorySchedule = __struct(_ISn, 0, [_Fr], [0]); +export var JSONInput = __struct(_JSONI, 0, [_T], [0]); +export var JSONOutput = __struct(_JSONO, 0, [_RD], [0]); +export var LambdaFunctionConfiguration = __struct( + _LFC, + 0, + [_Id, _LFA, _Eve, _F], + [ + 0, + [ + 0, + { + [_xN]: _CF, + }, + ], + [ + 64 | 0, + { + [_xN]: _Ev, + [_xF]: 1, + }, + ], + [() => NotificationConfigurationFilter, 0], + ] +); +export var LifecycleExpiration = __struct(_LEi, 0, [_D, _Da, _EODM], [5, 1, 2]); +export var LifecycleRule = __struct( + _LR, + 0, + [_E, _ID, _Pr, _F, _Sta, _Tr, _NVT, _NVE, _AIMU], + [ + () => LifecycleExpiration, + 0, + 0, + [() => LifecycleRuleFilter, 0], + 0, + [ + () => TransitionList, + { + [_xN]: _Tra, + [_xF]: 1, + }, + ], + [ + () => NoncurrentVersionTransitionList, + { + [_xN]: _NVTo, + [_xF]: 1, + }, + ], + () => NoncurrentVersionExpiration, + () => AbortIncompleteMultipartUpload, + ] +); +export var LifecycleRuleAndOperator = __struct( + _LRAO, + 0, + [_Pr, _Ta, _OSGT, _OSLT], + [ + 0, + [ + () => TagSet, + { + [_xN]: _Tag, + [_xF]: 1, + }, + ], + 1, + 1, + ] +); +export var LifecycleRuleFilter = __struct( + _LRF, + 0, + [_Pr, _Tag, _OSGT, _OSLT, _An], + [0, () => Tag, 1, 1, [() => LifecycleRuleAndOperator, 0]] +); +export var ListBucketAnalyticsConfigurationsOutput = __struct( + _LBACO, + { + [_xN]: _LBACR, + }, + [_IT, _CTon, _NCT, _ACLn], + [ + 2, + 0, + 0, + [ + () => AnalyticsConfigurationList, + { + [_xN]: _ACn, + [_xF]: 1, + }, + ], + ] +); +export var ListBucketAnalyticsConfigurationsRequest = __struct( + _LBACRi, + 0, + [_Bu, _CTon, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var ListBucketIntelligentTieringConfigurationsOutput = __struct( + _LBITCO, + 0, + [_IT, _CTon, _NCT, _ITCL], + [ + 2, + 0, + 0, + [ + () => IntelligentTieringConfigurationList, + { + [_xN]: _ITC, + [_xF]: 1, + }, + ], + ] +); +export var ListBucketIntelligentTieringConfigurationsRequest = __struct( + _LBITCR, + 0, + [_Bu, _CTon], + [ + [0, 1], + [ + 0, + { + [_hQ]: _ct, + }, + ], + ] +); +export var ListBucketInventoryConfigurationsOutput = __struct( + _LBICO, + { + [_xN]: _LICR, + }, + [_CTon, _ICL, _IT, _NCT], + [ + 0, + [ + () => InventoryConfigurationList, + { + [_xN]: _IC, + [_xF]: 1, + }, + ], + 2, + 0, + ] +); +export var ListBucketInventoryConfigurationsRequest = __struct( + _LBICR, + 0, + [_Bu, _CTon, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var ListBucketMetricsConfigurationsOutput = __struct( + _LBMCO, + { + [_xN]: _LMCR, + }, + [_IT, _CTon, _NCT, _MCL], + [ + 2, + 0, + 0, + [ + () => MetricsConfigurationList, + { + [_xN]: _MC, + [_xF]: 1, + }, + ], + ] +); +export var ListBucketMetricsConfigurationsRequest = __struct( + _LBMCR, + 0, + [_Bu, _CTon, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var ListBucketsOutput = __struct( + _LBO, + { + [_xN]: _LAMBR, + }, + [_Buc, _O, _CTon, _Pr], + [[() => Buckets, 0], () => Owner, 0, 0] +); +export var ListBucketsRequest = __struct( + _LBR, + 0, + [_MB, _CTon, _Pr, _BR], + [ + [ + 1, + { + [_hQ]: _mb, + }, + ], + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 0, + { + [_hQ]: _br, + }, + ], + ] +); +export var ListDirectoryBucketsOutput = __struct( + _LDBO, + { + [_xN]: _LAMDBR, + }, + [_Buc, _CTon], + [[() => Buckets, 0], 0] +); +export var ListDirectoryBucketsRequest = __struct( + _LDBR, + 0, + [_CTon, _MDB], + [ + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 1, + { + [_hQ]: _mdb, + }, + ], + ] +); +export var ListMultipartUploadsOutput = __struct( + _LMUO, + { + [_xN]: _LMUR, + }, + [_Bu, _KM, _UIM, _NKM, _Pr, _De, _NUIM, _MU, _IT, _U, _CPom, _ETn, _RC], + [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 2, + [ + () => MultipartUploadList, + { + [_xN]: _Up, + [_xF]: 1, + }, + ], + [ + () => CommonPrefixList, + { + [_xF]: 1, + }, + ], + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var ListMultipartUploadsRequest = __struct( + _LMURi, + 0, + [_Bu, _De, _ETn, _KM, _MU, _Pr, _UIM, _EBO, _RP], + [ + [0, 1], + [ + 0, + { + [_hQ]: _d, + }, + ], + [ + 0, + { + [_hQ]: _et, + }, + ], + [ + 0, + { + [_hQ]: _km, + }, + ], + [ + 1, + { + [_hQ]: _mu, + }, + ], + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 0, + { + [_hQ]: _uim, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + ] +); +export var ListObjectsOutput = __struct( + _LOO, + { + [_xN]: _LBRi, + }, + [_IT, _Ma, _NM, _Cont, _N, _Pr, _De, _MKa, _CPom, _ETn, _RC], + [ + 2, + 0, + 0, + [ + () => ObjectList, + { + [_xF]: 1, + }, + ], + 0, + 0, + 0, + 1, + [ + () => CommonPrefixList, + { + [_xF]: 1, + }, + ], + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var ListObjectsRequest = __struct( + _LOR, + 0, + [_Bu, _De, _ETn, _Ma, _MKa, _Pr, _RP, _EBO, _OOA], + [ + [0, 1], + [ + 0, + { + [_hQ]: _d, + }, + ], + [ + 0, + { + [_hQ]: _et, + }, + ], + [ + 0, + { + [_hQ]: _m, + }, + ], + [ + 1, + { + [_hQ]: _mk, + }, + ], + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 64 | 0, + { + [_hH]: _xaooa, + }, + ], + ] +); +export var ListObjectsV2Output = __struct( + _LOVO, + { + [_xN]: _LBRi, + }, + [_IT, _Cont, _N, _Pr, _De, _MKa, _CPom, _ETn, _KC, _CTon, _NCT, _SA, _RC], + [ + 2, + [ + () => ObjectList, + { + [_xF]: 1, + }, + ], + 0, + 0, + 0, + 1, + [ + () => CommonPrefixList, + { + [_xF]: 1, + }, + ], + 0, + 1, + 0, + 0, + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var ListObjectsV2Request = __struct( + _LOVR, + 0, + [_Bu, _De, _ETn, _MKa, _Pr, _CTon, _FO, _SA, _RP, _EBO, _OOA], + [ + [0, 1], + [ + 0, + { + [_hQ]: _d, + }, + ], + [ + 0, + { + [_hQ]: _et, + }, + ], + [ + 1, + { + [_hQ]: _mk, + }, + ], + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 0, + { + [_hQ]: _ct, + }, + ], + [ + 2, + { + [_hQ]: _fo, + }, + ], + [ + 0, + { + [_hQ]: _sa, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 64 | 0, + { + [_hH]: _xaooa, + }, + ], + ] +); +export var ListObjectVersionsOutput = __struct( + _LOVOi, + { + [_xN]: _LVR, + }, + [_IT, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _Pr, _De, _MKa, _CPom, _ETn, _RC], + [ + 2, + 0, + 0, + 0, + 0, + [ + () => ObjectVersionList, + { + [_xN]: _Ver, + [_xF]: 1, + }, + ], + [ + () => DeleteMarkers, + { + [_xN]: _DM, + [_xF]: 1, + }, + ], + 0, + 0, + 0, + 1, + [ + () => CommonPrefixList, + { + [_xF]: 1, + }, + ], + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var ListObjectVersionsRequest = __struct( + _LOVRi, + 0, + [_Bu, _De, _ETn, _KM, _MKa, _Pr, _VIM, _EBO, _RP, _OOA], + [ + [0, 1], + [ + 0, + { + [_hQ]: _d, + }, + ], + [ + 0, + { + [_hQ]: _et, + }, + ], + [ + 0, + { + [_hQ]: _km, + }, + ], + [ + 1, + { + [_hQ]: _mk, + }, + ], + [ + 0, + { + [_hQ]: _p, + }, + ], + [ + 0, + { + [_hQ]: _vim, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 64 | 0, + { + [_hH]: _xaooa, + }, + ], + ] +); +export var ListPartsOutput = __struct( + _LPO, + { + [_xN]: _LPR, + }, + [_AD, _ARI, _Bu, _K, _UI, _PNM, _NPNM, _MP, _IT, _Par, _In, _O, _SC, _RC, _CA, _CT], + [ + [ + 4, + { + [_hH]: _xaad, + }, + ], + [ + 0, + { + [_hH]: _xaari, + }, + ], + 0, + 0, + 0, + 0, + 0, + 1, + 2, + [ + () => Parts, + { + [_xN]: _Part, + [_xF]: 1, + }, + ], + () => Initiator, + () => Owner, + 0, + [ + 0, + { + [_hH]: _xarc, + }, + ], + 0, + 0, + ] +); +export var ListPartsRequest = __struct( + _LPRi, + 0, + [_Bu, _K, _MP, _PNM, _UI, _RP, _EBO, _SSECA, _SSECK, _SSECKMD], + [ + [0, 1], + [0, 1], + [ + 1, + { + [_hQ]: _mp, + }, + ], + [ + 0, + { + [_hQ]: _pnm, + }, + ], + [ + 0, + { + [_hQ]: _uI, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + ] +); +export var LocationInfo = __struct(_LI, 0, [_T, _N], [0, 0]); +export var LoggingEnabled = __struct( + _LE, + 0, + [_TB, _TG, _TP, _TOKF], + [0, [() => TargetGrants, 0], 0, [() => TargetObjectKeyFormat, 0]] +); +export var MetadataEntry = __struct(_ME, 0, [_N, _V], [0, 0]); +export var MetadataTableConfiguration = __struct(_MTC, 0, [_STD], [() => S3TablesDestination]); +export var MetadataTableConfigurationResult = __struct(_MTCR, 0, [_STDR], [() => S3TablesDestinationResult]); +export var Metrics = __struct(_Met, 0, [_Sta, _ETv], [0, () => ReplicationTimeValue]); +export var MetricsAndOperator = __struct( + _MAO, + 0, + [_Pr, _Ta, _APA], + [ + 0, + [ + () => TagSet, + { + [_xN]: _Tag, + [_xF]: 1, + }, + ], + 0, + ] +); +export var MetricsConfiguration = __struct(_MC, 0, [_Id, _F], [0, [() => MetricsFilter, 0]]); +export var MultipartUpload = __struct( + _MUu, + 0, + [_UI, _K, _I, _SC, _O, _In, _CA, _CT], + [0, 0, 4, 0, () => Owner, () => Initiator, 0, 0] +); +export var NoncurrentVersionExpiration = __struct(_NVE, 0, [_ND, _NNV], [1, 1]); +export var NoncurrentVersionTransition = __struct(_NVTo, 0, [_ND, _SC, _NNV], [1, 0, 1]); +export var NoSuchBucket = __error( + _NSB, + { + [_e]: _c, + [_hE]: 404, + }, + [], + [], + + __NoSuchBucket +); +export var NoSuchKey = __error( + _NSK, + { + [_e]: _c, + [_hE]: 404, + }, + [], + [], + + __NoSuchKey +); +export var NoSuchUpload = __error( + _NSU, + { + [_e]: _c, + [_hE]: 404, + }, + [], + [], + + __NoSuchUpload +); +export var NotFound = __error( + _NF, + { + [_e]: _c, + }, + [], + [], + + __NotFound +); +export var NotificationConfiguration = __struct( + _NC, + 0, + [_TCo, _QCu, _LFCa, _EBC], + [ + [ + () => TopicConfigurationList, + { + [_xN]: _TCop, + [_xF]: 1, + }, + ], + [ + () => QueueConfigurationList, + { + [_xN]: _QCue, + [_xF]: 1, + }, + ], + [ + () => LambdaFunctionConfigurationList, + { + [_xN]: _CFC, + [_xF]: 1, + }, + ], + () => EventBridgeConfiguration, + ] +); +export var NotificationConfigurationFilter = __struct( + _NCF, + 0, + [_K], + [ + [ + () => S3KeyFilter, + { + [_xN]: _SKe, + }, + ], + ] +); +export var _Object = __struct( + _Obj, + 0, + [_K, _LM, _ET, _CA, _CT, _S, _SC, _O, _RSe], + [ + 0, + 4, + 0, + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + 0, + 1, + 0, + () => Owner, + () => RestoreStatus, + ] +); +export var ObjectAlreadyInActiveTierError = __error( + _OAIATE, + { + [_e]: _c, + [_hE]: 403, + }, + [], + [], + + __ObjectAlreadyInActiveTierError +); +export var ObjectIdentifier = __struct(_OI, 0, [_K, _VI, _ET, _LMT, _S], [0, 0, 0, 6, 1]); +export var ObjectLockConfiguration = __struct(_OLC, 0, [_OLE, _Rul], [0, () => ObjectLockRule]); +export var ObjectLockLegalHold = __struct(_OLLH, 0, [_Sta], [0]); +export var ObjectLockRetention = __struct(_OLR, 0, [_Mo, _RUD], [0, 5]); +export var ObjectLockRule = __struct(_OLRb, 0, [_DRe], [() => DefaultRetention]); +export var ObjectNotInActiveTierError = __error( + _ONIATE, + { + [_e]: _c, + [_hE]: 403, + }, + [], + [], + + __ObjectNotInActiveTierError +); +export var ObjectPart = __struct(_OPb, 0, [_PN, _S, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA], [1, 1, 0, 0, 0, 0, 0]); +export var ObjectVersion = __struct( + _OV, + 0, + [_ET, _CA, _CT, _S, _SC, _K, _VI, _IL, _LM, _O, _RSe], + [ + 0, + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + 0, + 1, + 0, + 0, + 0, + 2, + 4, + () => Owner, + () => RestoreStatus, + ] +); +export var OutputLocation = __struct(_OL, 0, [_S_], [[() => S3Location, 0]]); +export var OutputSerialization = __struct(_OSu, 0, [_CSV, _JSON], [() => CSVOutput, () => JSONOutput]); +export var Owner = __struct(_O, 0, [_DN, _ID], [0, 0]); +export var OwnershipControls = __struct( + _OC, + 0, + [_Ru], + [ + [ + () => OwnershipControlsRules, + { + [_xN]: _Rul, + [_xF]: 1, + }, + ], + ] +); +export var OwnershipControlsRule = __struct(_OCR, 0, [_OO], [0]); +export var ParquetInput = __struct(_PI, 0, [], []); +export var Part = __struct( + _Part, + 0, + [_PN, _LM, _ET, _S, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA], + [1, 4, 0, 1, 0, 0, 0, 0, 0] +); +export var PartitionedPrefix = __struct( + _PP, + { + [_xN]: _PP, + }, + [_PDS], + [0] +); +export var PolicyStatus = __struct( + _PS, + 0, + [_IP], + [ + [ + 2, + { + [_xN]: _IP, + }, + ], + ] +); +export var Progress = __struct(_Prog, 0, [_BS, _BP, _BRy], [1, 1, 1]); +export var ProgressEvent = __struct( + _PE, + 0, + [_Det], + [ + [ + () => Progress, + { + [_eP]: 1, + }, + ], + ] +); +export var PublicAccessBlockConfiguration = __struct( + _PABC, + 0, + [_BPA, _IPA, _BPP, _RPB], + [ + [ + 2, + { + [_xN]: _BPA, + }, + ], + [ + 2, + { + [_xN]: _IPA, + }, + ], + [ + 2, + { + [_xN]: _BPP, + }, + ], + [ + 2, + { + [_xN]: _RPB, + }, + ], + ] +); +export var PutBucketAccelerateConfigurationRequest = __struct( + _PBACR, + 0, + [_Bu, _AC, _EBO, _CA], + [ + [0, 1], + [ + () => AccelerateConfiguration, + { + [_xN]: _AC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + ] +); +export var PutBucketAclRequest = __struct( + _PBAR, + 0, + [_ACL_, _ACP, _Bu, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [ + () => AccessControlPolicy, + { + [_xN]: _ACP, + [_hP]: 1, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagw, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketAnalyticsConfigurationRequest = __struct( + _PBACRu, + 0, + [_Bu, _Id, _ACn, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + () => AnalyticsConfiguration, + { + [_xN]: _ACn, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketCorsRequest = __struct( + _PBCR, + 0, + [_Bu, _CORSC, _CMD, _CA, _EBO], + [ + [0, 1], + [ + () => CORSConfiguration, + { + [_xN]: _CORSC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketEncryptionRequest = __struct( + _PBER, + 0, + [_Bu, _CMD, _CA, _SSEC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => ServerSideEncryptionConfiguration, + { + [_xN]: _SSEC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketIntelligentTieringConfigurationRequest = __struct( + _PBITCR, + 0, + [_Bu, _Id, _ITC], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + () => IntelligentTieringConfiguration, + { + [_xN]: _ITC, + [_hP]: 1, + }, + ], + ] +); +export var PutBucketInventoryConfigurationRequest = __struct( + _PBICR, + 0, + [_Bu, _Id, _IC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + () => InventoryConfiguration, + { + [_xN]: _IC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketLifecycleConfigurationOutput = __struct( + _PBLCO, + 0, + [_TDMOS], + [ + [ + 0, + { + [_hH]: _xatdmos, + }, + ], + ] +); +export var PutBucketLifecycleConfigurationRequest = __struct( + _PBLCR, + 0, + [_Bu, _CA, _LCi, _EBO, _TDMOS], + [ + [0, 1], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => BucketLifecycleConfiguration, + { + [_xN]: _LCi, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xatdmos, + }, + ], + ] +); +export var PutBucketLoggingRequest = __struct( + _PBLR, + 0, + [_Bu, _BLS, _CMD, _CA, _EBO], + [ + [0, 1], + [ + () => BucketLoggingStatus, + { + [_xN]: _BLS, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketMetricsConfigurationRequest = __struct( + _PBMCR, + 0, + [_Bu, _Id, _MC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hQ]: _i, + }, + ], + [ + () => MetricsConfiguration, + { + [_xN]: _MC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketNotificationConfigurationRequest = __struct( + _PBNCR, + 0, + [_Bu, _NC, _EBO, _SDV], + [ + [0, 1], + [ + () => NotificationConfiguration, + { + [_xN]: _NC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 2, + { + [_hH]: _xasdv, + }, + ], + ] +); +export var PutBucketOwnershipControlsRequest = __struct( + _PBOCR, + 0, + [_Bu, _CMD, _EBO, _OC], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + () => OwnershipControls, + { + [_xN]: _OC, + [_hP]: 1, + }, + ], + ] +); +export var PutBucketPolicyRequest = __struct( + _PBPR, + 0, + [_Bu, _CMD, _CA, _CRSBA, _Po, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 2, + { + [_hH]: _xacrsba, + }, + ], + [0, 16], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketReplicationRequest = __struct( + _PBRR, + 0, + [_Bu, _CMD, _CA, _RCe, _To, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => ReplicationConfiguration, + { + [_xN]: _RCe, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xabolt, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketRequestPaymentRequest = __struct( + _PBRPR, + 0, + [_Bu, _CMD, _CA, _RPC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => RequestPaymentConfiguration, + { + [_xN]: _RPC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketTaggingRequest = __struct( + _PBTR, + 0, + [_Bu, _CMD, _CA, _Tagg, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => Tagging, + { + [_xN]: _Tagg, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketVersioningRequest = __struct( + _PBVR, + 0, + [_Bu, _CMD, _CA, _MFA, _VCe, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xam_, + }, + ], + [ + () => VersioningConfiguration, + { + [_xN]: _VCe, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutBucketWebsiteRequest = __struct( + _PBWR, + 0, + [_Bu, _CMD, _CA, _WC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => WebsiteConfiguration, + { + [_xN]: _WC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectAclOutput = __struct( + _POAO, + 0, + [_RC], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var PutObjectAclRequest = __struct( + _POAR, + 0, + [_ACL_, _ACP, _Bu, _CMD, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _K, _RP, _VI, _EBO], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [ + () => AccessControlPolicy, + { + [_xN]: _ACP, + [_hP]: 1, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagw, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [0, 1], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectLegalHoldOutput = __struct( + _POLHO, + 0, + [_RC], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var PutObjectLegalHoldRequest = __struct( + _POLHR, + 0, + [_Bu, _K, _LH, _RP, _VI, _CMD, _CA, _EBO], + [ + [0, 1], + [0, 1], + [ + () => ObjectLockLegalHold, + { + [_xN]: _LH, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectLockConfigurationOutput = __struct( + _POLCO, + 0, + [_RC], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var PutObjectLockConfigurationRequest = __struct( + _POLCR, + 0, + [_Bu, _OLC, _RP, _To, _CMD, _CA, _EBO], + [ + [0, 1], + [ + () => ObjectLockConfiguration, + { + [_xN]: _OLC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xabolt, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectOutput = __struct( + _POO, + 0, + [ + _E, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _CT, + _SSE, + _VI, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _S, + _RC, + ], + [ + [ + 0, + { + [_hH]: _xae, + }, + ], + [ + 0, + { + [_hH]: _ET, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 0, + { + [_hH]: _xact, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xavi, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 1, + { + [_hH]: _xaos, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var PutObjectRequest = __struct( + _POR, + 0, + [ + _ACL_, + _B, + _Bu, + _CC, + _CD, + _CE, + _CL, + _CLo, + _CMD, + _CTo, + _CA, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _Ex, + _IM, + _INM, + _GFC, + _GR, + _GRACP, + _GWACP, + _K, + _WOB, + _M, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _RP, + _Tagg, + _OLM, + _OLRUD, + _OLLHS, + _EBO, + ], + [ + [ + 0, + { + [_hH]: _xaa, + }, + ], + [() => StreamingBlob, 16], + [0, 1], + [ + 0, + { + [_hH]: _CC_, + }, + ], + [ + 0, + { + [_hH]: _CD_, + }, + ], + [ + 0, + { + [_hH]: _CE_, + }, + ], + [ + 0, + { + [_hH]: _CL_, + }, + ], + [ + 1, + { + [_hH]: _CL__, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _CT_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 4, + { + [_hH]: _Ex, + }, + ], + [ + 0, + { + [_hH]: _IM_, + }, + ], + [ + 0, + { + [_hH]: _INM_, + }, + ], + [ + 0, + { + [_hH]: _xagfc, + }, + ], + [ + 0, + { + [_hH]: _xagr, + }, + ], + [ + 0, + { + [_hH]: _xagra, + }, + ], + [ + 0, + { + [_hH]: _xagwa, + }, + ], + [0, 1], + [ + 1, + { + [_hH]: _xawob, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasc, + }, + ], + [ + 0, + { + [_hH]: _xawrl, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + () => SSEKMSEncryptionContext, + { + [_hH]: _xassec, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xat, + }, + ], + [ + 0, + { + [_hH]: _xaolm, + }, + ], + [ + 5, + { + [_hH]: _xaolrud, + }, + ], + [ + 0, + { + [_hH]: _xaollh, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectRetentionOutput = __struct( + _PORO, + 0, + [_RC], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var PutObjectRetentionRequest = __struct( + _PORR, + 0, + [_Bu, _K, _Ret, _RP, _VI, _BGR, _CMD, _CA, _EBO], + [ + [0, 1], + [0, 1], + [ + () => ObjectLockRetention, + { + [_xN]: _Ret, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 2, + { + [_hH]: _xabgr, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var PutObjectTaggingOutput = __struct( + _POTO, + 0, + [_VI], + [ + [ + 0, + { + [_hH]: _xavi, + }, + ], + ] +); +export var PutObjectTaggingRequest = __struct( + _POTR, + 0, + [_Bu, _K, _VI, _CMD, _CA, _Tagg, _EBO, _RP], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => Tagging, + { + [_xN]: _Tagg, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + ] +); +export var PutPublicAccessBlockRequest = __struct( + _PPABR, + 0, + [_Bu, _CMD, _CA, _PABC, _EBO], + [ + [0, 1], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + () => PublicAccessBlockConfiguration, + { + [_xN]: _PABC, + [_hP]: 1, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var QueueConfiguration = __struct( + _QCue, + 0, + [_Id, _QA, _Eve, _F], + [ + 0, + [ + 0, + { + [_xN]: _Qu, + }, + ], + [ + 64 | 0, + { + [_xN]: _Ev, + [_xF]: 1, + }, + ], + [() => NotificationConfigurationFilter, 0], + ] +); +export var RecordsEvent = __struct( + _REe, + 0, + [_Pay], + [ + [ + 21, + { + [_eP]: 1, + }, + ], + ] +); +export var Redirect = __struct(_Red, 0, [_HN, _HRC, _Pro, _RKPW, _RKW], [0, 0, 0, 0, 0]); +export var RedirectAllRequestsTo = __struct(_RART, 0, [_HN, _Pro], [0, 0]); +export var ReplicaModifications = __struct(_RM, 0, [_Sta], [0]); +export var ReplicationConfiguration = __struct( + _RCe, + 0, + [_R, _Ru], + [ + 0, + [ + () => ReplicationRules, + { + [_xN]: _Rul, + [_xF]: 1, + }, + ], + ] +); +export var ReplicationRule = __struct( + _RRe, + 0, + [_ID, _Pri, _Pr, _F, _Sta, _SSC, _EOR, _Dest, _DMR], + [ + 0, + 1, + 0, + [() => ReplicationRuleFilter, 0], + 0, + () => SourceSelectionCriteria, + () => ExistingObjectReplication, + () => Destination, + () => DeleteMarkerReplication, + ] +); +export var ReplicationRuleAndOperator = __struct( + _RRAO, + 0, + [_Pr, _Ta], + [ + 0, + [ + () => TagSet, + { + [_xN]: _Tag, + [_xF]: 1, + }, + ], + ] +); +export var ReplicationRuleFilter = __struct( + _RRF, + 0, + [_Pr, _Tag, _An], + [0, () => Tag, [() => ReplicationRuleAndOperator, 0]] +); +export var ReplicationTime = __struct(_RTe, 0, [_Sta, _Tim], [0, () => ReplicationTimeValue]); +export var ReplicationTimeValue = __struct(_RTV, 0, [_Mi], [1]); +export var RequestPaymentConfiguration = __struct(_RPC, 0, [_Pa], [0]); +export var RequestProgress = __struct(_RPe, 0, [_Ena], [2]); +export var RestoreObjectOutput = __struct( + _ROO, + 0, + [_RC, _ROP], + [ + [ + 0, + { + [_hH]: _xarc, + }, + ], + [ + 0, + { + [_hH]: _xarop, + }, + ], + ] +); +export var RestoreObjectRequest = __struct( + _ROR, + 0, + [_Bu, _K, _VI, _RRes, _RP, _CA, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hQ]: _vI, + }, + ], + [ + () => RestoreRequest, + { + [_hP]: 1, + [_xN]: _RRes, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var RestoreRequest = __struct( + _RRes, + 0, + [_Da, _GJP, _T, _Ti, _Des, _SP, _OL], + [1, () => GlacierJobParameters, 0, 0, 0, () => SelectParameters, [() => OutputLocation, 0]] +); +export var RestoreStatus = __struct(_RSe, 0, [_IRIP, _RED], [2, 4]); +export var RoutingRule = __struct(_RRou, 0, [_Con, _Red], [() => Condition, () => Redirect]); +export var S3KeyFilter = __struct( + _SKF, + 0, + [_FRi], + [ + [ + () => FilterRuleList, + { + [_xN]: _FR, + [_xF]: 1, + }, + ], + ] +); +export var S3Location = __struct( + _SL, + 0, + [_BN, _Pr, _Enc, _CACL, _ACL, _Tagg, _UM, _SC], + [0, 0, [() => Encryption, 0], 0, [() => Grants, 0], [() => Tagging, 0], [() => UserMetadata, 0], 0] +); +export var S3TablesDestination = __struct(_STD, 0, [_TBA, _TN], [0, 0]); +export var S3TablesDestinationResult = __struct(_STDR, 0, [_TBA, _TN, _TAa, _TNa], [0, 0, 0, 0]); +export var ScanRange = __struct(_SR, 0, [_St, _En], [1, 1]); +export var SelectObjectContentOutput = __struct(_SOCO, 0, [_Pay], [[() => SelectObjectContentEventStream, 16]]); +export var SelectObjectContentRequest = __struct( + _SOCR, + 0, + [_Bu, _K, _SSECA, _SSECK, _SSECKMD, _Exp, _ETx, _RPe, _IS, _OSu, _SR, _EBO], + [ + [0, 1], + [0, 1], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + 0, + 0, + () => RequestProgress, + () => InputSerialization, + () => OutputSerialization, + () => ScanRange, + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var SelectParameters = __struct( + _SP, + 0, + [_IS, _ETx, _Exp, _OSu], + [() => InputSerialization, 0, 0, () => OutputSerialization] +); +export var ServerSideEncryptionByDefault = __struct(_SSEBD, 0, [_SSEA, _KMSMKID], [0, [() => SSEKMSKeyId, 0]]); +export var ServerSideEncryptionConfiguration = __struct( + _SSEC, + 0, + [_Ru], + [ + [ + () => ServerSideEncryptionRules, + { + [_xN]: _Rul, + [_xF]: 1, + }, + ], + ] +); +export var ServerSideEncryptionRule = __struct( + _SSER, + 0, + [_ASSEBD, _BKE], + [[() => ServerSideEncryptionByDefault, 0], 2] +); +export var SessionCredentials = __struct( + _SCe, + 0, + [_AKI, _SAK, _ST, _E], + [ + [ + 0, + { + [_xN]: _AKI, + }, + ], + [ + () => SessionCredentialValue, + { + [_xN]: _SAK, + }, + ], + [ + () => SessionCredentialValue, + { + [_xN]: _ST, + }, + ], + [ + 4, + { + [_xN]: _E, + }, + ], + ] +); +export var SimplePrefix = __struct( + _SPi, + { + [_xN]: _SPi, + }, + [], + [] +); +export var SourceSelectionCriteria = __struct( + _SSC, + 0, + [_SKEO, _RM], + [() => SseKmsEncryptedObjects, () => ReplicaModifications] +); +export var SSEKMS = __struct( + _SSEKMS, + { + [_xN]: _SK, + }, + [_KI], + [[() => SSEKMSKeyId, 0]] +); +export var SseKmsEncryptedObjects = __struct(_SKEO, 0, [_Sta], [0]); +export var SSES3 = __struct( + _SSES, + { + [_xN]: _SS, + }, + [], + [] +); +export var Stats = __struct(_Stat, 0, [_BS, _BP, _BRy], [1, 1, 1]); +export var StatsEvent = __struct( + _SEt, + 0, + [_Det], + [ + [ + () => Stats, + { + [_eP]: 1, + }, + ], + ] +); +export var StorageClassAnalysis = __struct(_SCA, 0, [_DE], [() => StorageClassAnalysisDataExport]); +export var StorageClassAnalysisDataExport = __struct(_SCADE, 0, [_OSV, _Dest], [0, () => AnalyticsExportDestination]); +export var Tag = __struct(_Tag, 0, [_K, _V], [0, 0]); +export var Tagging = __struct(_Tagg, 0, [_TS], [[() => TagSet, 0]]); +export var TargetGrant = __struct(_TGa, 0, [_Gra, _P], [[() => Grantee, 0], 0]); +export var TargetObjectKeyFormat = __struct( + _TOKF, + 0, + [_SPi, _PP], + [ + [ + () => SimplePrefix, + { + [_xN]: _SPi, + }, + ], + [ + () => PartitionedPrefix, + { + [_xN]: _PP, + }, + ], + ] +); +export var Tiering = __struct(_Tier, 0, [_Da, _AT], [1, 0]); +export var TooManyParts = __error( + _TMP, + { + [_e]: _c, + [_hE]: 400, + }, + [], + [], + + __TooManyParts +); +export var TopicConfiguration = __struct( + _TCop, + 0, + [_Id, _TA, _Eve, _F], + [ + 0, + [ + 0, + { + [_xN]: _Top, + }, + ], + [ + 64 | 0, + { + [_xN]: _Ev, + [_xF]: 1, + }, + ], + [() => NotificationConfigurationFilter, 0], + ] +); +export var Transition = __struct(_Tra, 0, [_D, _Da, _SC], [5, 1, 0]); +export var UploadPartCopyOutput = __struct( + _UPCO, + 0, + [_CSVI, _CPR, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [ + [ + 0, + { + [_hH]: _xacsvi, + }, + ], + [() => CopyPartResult, 16], + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var UploadPartCopyRequest = __struct( + _UPCR, + 0, + [ + _Bu, + _CS, + _CSIM, + _CSIMS, + _CSINM, + _CSIUS, + _CSR, + _K, + _PN, + _UI, + _SSECA, + _SSECK, + _SSECKMD, + _CSSSECA, + _CSSSECK, + _CSSSECKMD, + _RP, + _EBO, + _ESBO, + ], + [ + [0, 1], + [ + 0, + { + [_hH]: _xacs__, + }, + ], + [ + 0, + { + [_hH]: _xacsim, + }, + ], + [ + 4, + { + [_hH]: _xacsims, + }, + ], + [ + 0, + { + [_hH]: _xacsinm, + }, + ], + [ + 4, + { + [_hH]: _xacsius, + }, + ], + [ + 0, + { + [_hH]: _xacsr, + }, + ], + [0, 1], + [ + 1, + { + [_hQ]: _pN, + }, + ], + [ + 0, + { + [_hQ]: _uI, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + 0, + { + [_hH]: _xacssseca, + }, + ], + [ + () => CopySourceSSECustomerKey, + { + [_hH]: _xacssseck, + }, + ], + [ + 0, + { + [_hH]: _xacssseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + [ + 0, + { + [_hH]: _xasebo, + }, + ], + ] +); +export var UploadPartOutput = __struct( + _UPO, + 0, + [_SSE, _ET, _CCRC, _CCRCC, _CCRCNVME, _CSHAh, _CSHA, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC], + [ + [ + 0, + { + [_hH]: _xasse, + }, + ], + [ + 0, + { + [_hH]: _ET, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xasseakki, + }, + ], + [ + 2, + { + [_hH]: _xassebke, + }, + ], + [ + 0, + { + [_hH]: _xarc, + }, + ], + ] +); +export var UploadPartRequest = __struct( + _UPR, + 0, + [ + _B, + _Bu, + _CLo, + _CMD, + _CA, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _K, + _PN, + _UI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _EBO, + ], + [ + [() => StreamingBlob, 16], + [0, 1], + [ + 1, + { + [_hH]: _CL__, + }, + ], + [ + 0, + { + [_hH]: _CM_, + }, + ], + [ + 0, + { + [_hH]: _xasca, + }, + ], + [ + 0, + { + [_hH]: _xacc, + }, + ], + [ + 0, + { + [_hH]: _xacc_, + }, + ], + [ + 0, + { + [_hH]: _xacc__, + }, + ], + [ + 0, + { + [_hH]: _xacs, + }, + ], + [ + 0, + { + [_hH]: _xacs_, + }, + ], + [0, 1], + [ + 1, + { + [_hQ]: _pN, + }, + ], + [ + 0, + { + [_hQ]: _uI, + }, + ], + [ + 0, + { + [_hH]: _xasseca, + }, + ], + [ + () => SSECustomerKey, + { + [_hH]: _xasseck, + }, + ], + [ + 0, + { + [_hH]: _xasseckM, + }, + ], + [ + 0, + { + [_hH]: _xarp, + }, + ], + [ + 0, + { + [_hH]: _xaebo, + }, + ], + ] +); +export var VersioningConfiguration = __struct( + _VCe, + 0, + [_MFAD, _Sta], + [ + [ + 0, + { + [_xN]: _MDf, + }, + ], + 0, + ] +); +export var WebsiteConfiguration = __struct( + _WC, + 0, + [_EDr, _IDn, _RART, _RRo], + [() => ErrorDocument, () => IndexDocument, () => RedirectAllRequestsTo, [() => RoutingRules, 0]] +); +export var WriteGetObjectResponseRequest = __struct( + _WGORR, + 0, + [ + _RR, + _RT, + _B, + _SCt, + _EC, + _EM, + _AR, + _CC, + _CD, + _CE, + _CL, + _CLo, + _CR, + _CTo, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHAh, + _CSHA, + _DM, + _ET, + _Ex, + _E, + _LM, + _MM, + _M, + _OLM, + _OLLHS, + _OLRUD, + _PC, + _RS, + _RC, + _Re, + _SSE, + _SSECA, + _SSEKMSKI, + _SSECKMD, + _SC, + _TC, + _VI, + _BKE, + ], + [ + [ + 0, + { + [_hL]: 1, + [_hH]: _xarr, + }, + ], + [ + 0, + { + [_hH]: _xart, + }, + ], + [() => StreamingBlob, 16], + [ + 1, + { + [_hH]: _xafs, + }, + ], + [ + 0, + { + [_hH]: _xafec, + }, + ], + [ + 0, + { + [_hH]: _xafem, + }, + ], + [ + 0, + { + [_hH]: _xafhar, + }, + ], + [ + 0, + { + [_hH]: _xafhCC, + }, + ], + [ + 0, + { + [_hH]: _xafhCD, + }, + ], + [ + 0, + { + [_hH]: _xafhCE, + }, + ], + [ + 0, + { + [_hH]: _xafhCL, + }, + ], + [ + 1, + { + [_hH]: _CL__, + }, + ], + [ + 0, + { + [_hH]: _xafhCR, + }, + ], + [ + 0, + { + [_hH]: _xafhCT, + }, + ], + [ + 0, + { + [_hH]: _xafhxacc, + }, + ], + [ + 0, + { + [_hH]: _xafhxacc_, + }, + ], + [ + 0, + { + [_hH]: _xafhxacc__, + }, + ], + [ + 0, + { + [_hH]: _xafhxacs, + }, + ], + [ + 0, + { + [_hH]: _xafhxacs_, + }, + ], + [ + 2, + { + [_hH]: _xafhxadm, + }, + ], + [ + 0, + { + [_hH]: _xafhE, + }, + ], + [ + 4, + { + [_hH]: _xafhE_, + }, + ], + [ + 0, + { + [_hH]: _xafhxae, + }, + ], + [ + 4, + { + [_hH]: _xafhLM, + }, + ], + [ + 1, + { + [_hH]: _xafhxamm, + }, + ], + [ + 128 | 0, + { + [_hPH]: _xam, + }, + ], + [ + 0, + { + [_hH]: _xafhxaolm, + }, + ], + [ + 0, + { + [_hH]: _xafhxaollh, + }, + ], + [ + 5, + { + [_hH]: _xafhxaolrud, + }, + ], + [ + 1, + { + [_hH]: _xafhxampc, + }, + ], + [ + 0, + { + [_hH]: _xafhxars, + }, + ], + [ + 0, + { + [_hH]: _xafhxarc, + }, + ], + [ + 0, + { + [_hH]: _xafhxar, + }, + ], + [ + 0, + { + [_hH]: _xafhxasse, + }, + ], + [ + 0, + { + [_hH]: _xafhxasseca, + }, + ], + [ + () => SSEKMSKeyId, + { + [_hH]: _xafhxasseakki, + }, + ], + [ + 0, + { + [_hH]: _xafhxasseckM, + }, + ], + [ + 0, + { + [_hH]: _xafhxasc, + }, + ], + [ + 1, + { + [_hH]: _xafhxatc, + }, + ], + [ + 0, + { + [_hH]: _xafhxavi, + }, + ], + [ + 2, + { + [_hH]: _xafhxassebke, + }, + ], + ] +); +export var AllowedHeaders = 64 | 0; + +export var AllowedMethods = 64 | 0; + +export var AllowedOrigins = 64 | 0; + +export var AnalyticsConfigurationList = __list(_ACLn, 0, [() => AnalyticsConfiguration, 0]); +export var Buckets = __list(_Buc, 0, [ + () => Bucket, + { + [_xN]: _Bu, + }, +]); +export var ChecksumAlgorithmList = 64 | 0; + +export var CommonPrefixList = __list(_CPL, 0, () => CommonPrefix); +export var CompletedPartList = __list(_CPLo, 0, () => CompletedPart); +export var CORSRules = __list(_CORSR, 0, [() => CORSRule, 0]); +export var DeletedObjects = __list(_DOe, 0, () => DeletedObject); +export var DeleteMarkers = __list(_DMe, 0, () => DeleteMarkerEntry); +export var Errors = __list(_Er, 0, () => _Error); +export var EventList = 64 | 0; + +export var ExposeHeaders = 64 | 0; + +export var FilterRuleList = __list(_FRL, 0, () => FilterRule); +export var Grants = __list(_G, 0, [ + () => Grant, + { + [_xN]: _Gr, + }, +]); +export var IntelligentTieringConfigurationList = __list(_ITCL, 0, [() => IntelligentTieringConfiguration, 0]); +export var InventoryConfigurationList = __list(_ICL, 0, [() => InventoryConfiguration, 0]); +export var InventoryOptionalFields = __list(_IOF, 0, [ + 0, + { + [_xN]: _Fi, + }, +]); +export var LambdaFunctionConfigurationList = __list(_LFCL, 0, [() => LambdaFunctionConfiguration, 0]); +export var LifecycleRules = __list(_LRi, 0, [() => LifecycleRule, 0]); +export var MetricsConfigurationList = __list(_MCL, 0, [() => MetricsConfiguration, 0]); +export var MultipartUploadList = __list(_MUL, 0, () => MultipartUpload); +export var NoncurrentVersionTransitionList = __list(_NVTL, 0, () => NoncurrentVersionTransition); +export var ObjectAttributesList = 64 | 0; + +export var ObjectIdentifierList = __list(_OIL, 0, () => ObjectIdentifier); +export var ObjectList = __list(_OLb, 0, [() => _Object, 0]); +export var ObjectVersionList = __list(_OVL, 0, [() => ObjectVersion, 0]); +export var OptionalObjectAttributesList = 64 | 0; + +export var OwnershipControlsRules = __list(_OCRw, 0, () => OwnershipControlsRule); +export var Parts = __list(_Par, 0, () => Part); +export var PartsList = __list(_PL, 0, () => ObjectPart); +export var QueueConfigurationList = __list(_QCL, 0, [() => QueueConfiguration, 0]); +export var ReplicationRules = __list(_RRep, 0, [() => ReplicationRule, 0]); +export var RoutingRules = __list(_RRo, 0, [ + () => RoutingRule, + { + [_xN]: _RRou, + }, +]); +export var ServerSideEncryptionRules = __list(_SSERe, 0, [() => ServerSideEncryptionRule, 0]); +export var TagSet = __list(_TS, 0, [ + () => Tag, + { + [_xN]: _Tag, + }, +]); +export var TargetGrants = __list(_TG, 0, [ + () => TargetGrant, + { + [_xN]: _Gr, + }, +]); +export var TieringList = __list(_TL, 0, () => Tiering); +export var TopicConfigurationList = __list(_TCL, 0, [() => TopicConfiguration, 0]); +export var TransitionList = __list(_TLr, 0, () => Transition); +export var UserMetadata = __list(_UM, 0, [ + () => MetadataEntry, + { + [_xN]: _ME, + }, +]); +export var Metadata = 128 | 0; + +export var AnalyticsFilter = __uni(_AF, 0, [_Pr, _Tag, _An], [0, () => Tag, [() => AnalyticsAndOperator, 0]]); +export var MetricsFilter = __uni(_MF, 0, [_Pr, _Tag, _APA, _An], [0, () => Tag, 0, [() => MetricsAndOperator, 0]]); +export var SelectObjectContentEventStream = __uni( + _SOCES, + { + [_s]: 1, + }, + [_Rec, _Stat, _Prog, _Cont_, _En], + [[() => RecordsEvent, 0], [() => StatsEvent, 0], [() => ProgressEvent, 0], () => ContinuationEvent, () => EndEvent] +); +export var AbortMultipartUpload = __op( + _AMU, + { + [_h]: ["DELETE", "/{Bucket}/{Key+}?x-id=AbortMultipartUpload", 204], + }, + () => AbortMultipartUploadRequest, + () => AbortMultipartUploadOutput +); +export var CompleteMultipartUpload = __op( + _CMUo, + { + [_h]: ["POST", "/{Bucket}/{Key+}", 200], + }, + () => CompleteMultipartUploadRequest, + () => CompleteMultipartUploadOutput +); +export var CopyObject = __op( + _CO, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?x-id=CopyObject", 200], + }, + () => CopyObjectRequest, + () => CopyObjectOutput +); +export var CreateBucket = __op( + _CB, + { + [_h]: ["PUT", "/{Bucket}", 200], + }, + () => CreateBucketRequest, + () => CreateBucketOutput +); +export var CreateBucketMetadataTableConfiguration = __op( + _CBMTC, + { + [_h]: ["POST", "/{Bucket}?metadataTable", 200], + }, + () => CreateBucketMetadataTableConfigurationRequest, + () => Unit +); +export var CreateMultipartUpload = __op( + _CMUr, + { + [_h]: ["POST", "/{Bucket}/{Key+}?uploads", 200], + }, + () => CreateMultipartUploadRequest, + () => CreateMultipartUploadOutput +); +export var CreateSession = __op( + _CSr, + { + [_h]: ["GET", "/{Bucket}?session", 200], + }, + () => CreateSessionRequest, + () => CreateSessionOutput +); +export var DeleteBucket = __op( + _DB, + { + [_h]: ["DELETE", "/{Bucket}", 204], + }, + () => DeleteBucketRequest, + () => Unit +); +export var DeleteBucketAnalyticsConfiguration = __op( + _DBAC, + { + [_h]: ["DELETE", "/{Bucket}?analytics", 204], + }, + () => DeleteBucketAnalyticsConfigurationRequest, + () => Unit +); +export var DeleteBucketCors = __op( + _DBC, + { + [_h]: ["DELETE", "/{Bucket}?cors", 204], + }, + () => DeleteBucketCorsRequest, + () => Unit +); +export var DeleteBucketEncryption = __op( + _DBE, + { + [_h]: ["DELETE", "/{Bucket}?encryption", 204], + }, + () => DeleteBucketEncryptionRequest, + () => Unit +); +export var DeleteBucketIntelligentTieringConfiguration = __op( + _DBITC, + { + [_h]: ["DELETE", "/{Bucket}?intelligent-tiering", 204], + }, + () => DeleteBucketIntelligentTieringConfigurationRequest, + () => Unit +); +export var DeleteBucketInventoryConfiguration = __op( + _DBIC, + { + [_h]: ["DELETE", "/{Bucket}?inventory", 204], + }, + () => DeleteBucketInventoryConfigurationRequest, + () => Unit +); +export var DeleteBucketLifecycle = __op( + _DBL, + { + [_h]: ["DELETE", "/{Bucket}?lifecycle", 204], + }, + () => DeleteBucketLifecycleRequest, + () => Unit +); +export var DeleteBucketMetadataTableConfiguration = __op( + _DBMTC, + { + [_h]: ["DELETE", "/{Bucket}?metadataTable", 204], + }, + () => DeleteBucketMetadataTableConfigurationRequest, + () => Unit +); +export var DeleteBucketMetricsConfiguration = __op( + _DBMC, + { + [_h]: ["DELETE", "/{Bucket}?metrics", 204], + }, + () => DeleteBucketMetricsConfigurationRequest, + () => Unit +); +export var DeleteBucketOwnershipControls = __op( + _DBOC, + { + [_h]: ["DELETE", "/{Bucket}?ownershipControls", 204], + }, + () => DeleteBucketOwnershipControlsRequest, + () => Unit +); +export var DeleteBucketPolicy = __op( + _DBP, + { + [_h]: ["DELETE", "/{Bucket}?policy", 204], + }, + () => DeleteBucketPolicyRequest, + () => Unit +); +export var DeleteBucketReplication = __op( + _DBRe, + { + [_h]: ["DELETE", "/{Bucket}?replication", 204], + }, + () => DeleteBucketReplicationRequest, + () => Unit +); +export var DeleteBucketTagging = __op( + _DBTe, + { + [_h]: ["DELETE", "/{Bucket}?tagging", 204], + }, + () => DeleteBucketTaggingRequest, + () => Unit +); +export var DeleteBucketWebsite = __op( + _DBW, + { + [_h]: ["DELETE", "/{Bucket}?website", 204], + }, + () => DeleteBucketWebsiteRequest, + () => Unit +); +export var DeleteObject = __op( + _DOel, + { + [_h]: ["DELETE", "/{Bucket}/{Key+}?x-id=DeleteObject", 204], + }, + () => DeleteObjectRequest, + () => DeleteObjectOutput +); +export var DeleteObjects = __op( + _DOele, + { + [_h]: ["POST", "/{Bucket}?delete", 200], + }, + () => DeleteObjectsRequest, + () => DeleteObjectsOutput +); +export var DeleteObjectTagging = __op( + _DOT, + { + [_h]: ["DELETE", "/{Bucket}/{Key+}?tagging", 204], + }, + () => DeleteObjectTaggingRequest, + () => DeleteObjectTaggingOutput +); +export var DeletePublicAccessBlock = __op( + _DPAB, + { + [_h]: ["DELETE", "/{Bucket}?publicAccessBlock", 204], + }, + () => DeletePublicAccessBlockRequest, + () => Unit +); +export var GetBucketAccelerateConfiguration = __op( + _GBAC, + { + [_h]: ["GET", "/{Bucket}?accelerate", 200], + }, + () => GetBucketAccelerateConfigurationRequest, + () => GetBucketAccelerateConfigurationOutput +); +export var GetBucketAcl = __op( + _GBA, + { + [_h]: ["GET", "/{Bucket}?acl", 200], + }, + () => GetBucketAclRequest, + () => GetBucketAclOutput +); +export var GetBucketAnalyticsConfiguration = __op( + _GBACe, + { + [_h]: ["GET", "/{Bucket}?analytics&x-id=GetBucketAnalyticsConfiguration", 200], + }, + () => GetBucketAnalyticsConfigurationRequest, + () => GetBucketAnalyticsConfigurationOutput +); +export var GetBucketCors = __op( + _GBC, + { + [_h]: ["GET", "/{Bucket}?cors", 200], + }, + () => GetBucketCorsRequest, + () => GetBucketCorsOutput +); +export var GetBucketEncryption = __op( + _GBE, + { + [_h]: ["GET", "/{Bucket}?encryption", 200], + }, + () => GetBucketEncryptionRequest, + () => GetBucketEncryptionOutput +); +export var GetBucketIntelligentTieringConfiguration = __op( + _GBITC, + { + [_h]: ["GET", "/{Bucket}?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", 200], + }, + () => GetBucketIntelligentTieringConfigurationRequest, + () => GetBucketIntelligentTieringConfigurationOutput +); +export var GetBucketInventoryConfiguration = __op( + _GBIC, + { + [_h]: ["GET", "/{Bucket}?inventory&x-id=GetBucketInventoryConfiguration", 200], + }, + () => GetBucketInventoryConfigurationRequest, + () => GetBucketInventoryConfigurationOutput +); +export var GetBucketLifecycleConfiguration = __op( + _GBLC, + { + [_h]: ["GET", "/{Bucket}?lifecycle", 200], + }, + () => GetBucketLifecycleConfigurationRequest, + () => GetBucketLifecycleConfigurationOutput +); +export var GetBucketLocation = __op( + _GBL, + { + [_h]: ["GET", "/{Bucket}?location", 200], + }, + () => GetBucketLocationRequest, + () => GetBucketLocationOutput +); +export var GetBucketLogging = __op( + _GBLe, + { + [_h]: ["GET", "/{Bucket}?logging", 200], + }, + () => GetBucketLoggingRequest, + () => GetBucketLoggingOutput +); +export var GetBucketMetadataTableConfiguration = __op( + _GBMTC, + { + [_h]: ["GET", "/{Bucket}?metadataTable", 200], + }, + () => GetBucketMetadataTableConfigurationRequest, + () => GetBucketMetadataTableConfigurationOutput +); +export var GetBucketMetricsConfiguration = __op( + _GBMC, + { + [_h]: ["GET", "/{Bucket}?metrics&x-id=GetBucketMetricsConfiguration", 200], + }, + () => GetBucketMetricsConfigurationRequest, + () => GetBucketMetricsConfigurationOutput +); +export var GetBucketNotificationConfiguration = __op( + _GBNC, + { + [_h]: ["GET", "/{Bucket}?notification", 200], + }, + () => GetBucketNotificationConfigurationRequest, + () => NotificationConfiguration +); +export var GetBucketOwnershipControls = __op( + _GBOC, + { + [_h]: ["GET", "/{Bucket}?ownershipControls", 200], + }, + () => GetBucketOwnershipControlsRequest, + () => GetBucketOwnershipControlsOutput +); +export var GetBucketPolicy = __op( + _GBP, + { + [_h]: ["GET", "/{Bucket}?policy", 200], + }, + () => GetBucketPolicyRequest, + () => GetBucketPolicyOutput +); +export var GetBucketPolicyStatus = __op( + _GBPS, + { + [_h]: ["GET", "/{Bucket}?policyStatus", 200], + }, + () => GetBucketPolicyStatusRequest, + () => GetBucketPolicyStatusOutput +); +export var GetBucketReplication = __op( + _GBR, + { + [_h]: ["GET", "/{Bucket}?replication", 200], + }, + () => GetBucketReplicationRequest, + () => GetBucketReplicationOutput +); +export var GetBucketRequestPayment = __op( + _GBRP, + { + [_h]: ["GET", "/{Bucket}?requestPayment", 200], + }, + () => GetBucketRequestPaymentRequest, + () => GetBucketRequestPaymentOutput +); +export var GetBucketTagging = __op( + _GBT, + { + [_h]: ["GET", "/{Bucket}?tagging", 200], + }, + () => GetBucketTaggingRequest, + () => GetBucketTaggingOutput +); +export var GetBucketVersioning = __op( + _GBV, + { + [_h]: ["GET", "/{Bucket}?versioning", 200], + }, + () => GetBucketVersioningRequest, + () => GetBucketVersioningOutput +); +export var GetBucketWebsite = __op( + _GBW, + { + [_h]: ["GET", "/{Bucket}?website", 200], + }, + () => GetBucketWebsiteRequest, + () => GetBucketWebsiteOutput +); +export var GetObject = __op( + _GO, + { + [_h]: ["GET", "/{Bucket}/{Key+}?x-id=GetObject", 200], + }, + () => GetObjectRequest, + () => GetObjectOutput +); +export var GetObjectAcl = __op( + _GOA, + { + [_h]: ["GET", "/{Bucket}/{Key+}?acl", 200], + }, + () => GetObjectAclRequest, + () => GetObjectAclOutput +); +export var GetObjectAttributes = __op( + _GOAe, + { + [_h]: ["GET", "/{Bucket}/{Key+}?attributes", 200], + }, + () => GetObjectAttributesRequest, + () => GetObjectAttributesOutput +); +export var GetObjectLegalHold = __op( + _GOLH, + { + [_h]: ["GET", "/{Bucket}/{Key+}?legal-hold", 200], + }, + () => GetObjectLegalHoldRequest, + () => GetObjectLegalHoldOutput +); +export var GetObjectLockConfiguration = __op( + _GOLC, + { + [_h]: ["GET", "/{Bucket}?object-lock", 200], + }, + () => GetObjectLockConfigurationRequest, + () => GetObjectLockConfigurationOutput +); +export var GetObjectRetention = __op( + _GORe, + { + [_h]: ["GET", "/{Bucket}/{Key+}?retention", 200], + }, + () => GetObjectRetentionRequest, + () => GetObjectRetentionOutput +); +export var GetObjectTagging = __op( + _GOT, + { + [_h]: ["GET", "/{Bucket}/{Key+}?tagging", 200], + }, + () => GetObjectTaggingRequest, + () => GetObjectTaggingOutput +); +export var GetObjectTorrent = __op( + _GOTe, + { + [_h]: ["GET", "/{Bucket}/{Key+}?torrent", 200], + }, + () => GetObjectTorrentRequest, + () => GetObjectTorrentOutput +); +export var GetPublicAccessBlock = __op( + _GPAB, + { + [_h]: ["GET", "/{Bucket}?publicAccessBlock", 200], + }, + () => GetPublicAccessBlockRequest, + () => GetPublicAccessBlockOutput +); +export var HeadBucket = __op( + _HB, + { + [_h]: ["HEAD", "/{Bucket}", 200], + }, + () => HeadBucketRequest, + () => HeadBucketOutput +); +export var HeadObject = __op( + _HO, + { + [_h]: ["HEAD", "/{Bucket}/{Key+}", 200], + }, + () => HeadObjectRequest, + () => HeadObjectOutput +); +export var ListBucketAnalyticsConfigurations = __op( + _LBAC, + { + [_h]: ["GET", "/{Bucket}?analytics&x-id=ListBucketAnalyticsConfigurations", 200], + }, + () => ListBucketAnalyticsConfigurationsRequest, + () => ListBucketAnalyticsConfigurationsOutput +); +export var ListBucketIntelligentTieringConfigurations = __op( + _LBITC, + { + [_h]: ["GET", "/{Bucket}?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", 200], + }, + () => ListBucketIntelligentTieringConfigurationsRequest, + () => ListBucketIntelligentTieringConfigurationsOutput +); +export var ListBucketInventoryConfigurations = __op( + _LBIC, + { + [_h]: ["GET", "/{Bucket}?inventory&x-id=ListBucketInventoryConfigurations", 200], + }, + () => ListBucketInventoryConfigurationsRequest, + () => ListBucketInventoryConfigurationsOutput +); +export var ListBucketMetricsConfigurations = __op( + _LBMC, + { + [_h]: ["GET", "/{Bucket}?metrics&x-id=ListBucketMetricsConfigurations", 200], + }, + () => ListBucketMetricsConfigurationsRequest, + () => ListBucketMetricsConfigurationsOutput +); +export var ListBuckets = __op( + _LB, + { + [_h]: ["GET", "/?x-id=ListBuckets", 200], + }, + () => ListBucketsRequest, + () => ListBucketsOutput +); +export var ListDirectoryBuckets = __op( + _LDB, + { + [_h]: ["GET", "/?x-id=ListDirectoryBuckets", 200], + }, + () => ListDirectoryBucketsRequest, + () => ListDirectoryBucketsOutput +); +export var ListMultipartUploads = __op( + _LMU, + { + [_h]: ["GET", "/{Bucket}?uploads", 200], + }, + () => ListMultipartUploadsRequest, + () => ListMultipartUploadsOutput +); +export var ListObjects = __op( + _LO, + { + [_h]: ["GET", "/{Bucket}", 200], + }, + () => ListObjectsRequest, + () => ListObjectsOutput +); +export var ListObjectsV2 = __op( + _LOV, + { + [_h]: ["GET", "/{Bucket}?list-type=2", 200], + }, + () => ListObjectsV2Request, + () => ListObjectsV2Output +); +export var ListObjectVersions = __op( + _LOVi, + { + [_h]: ["GET", "/{Bucket}?versions", 200], + }, + () => ListObjectVersionsRequest, + () => ListObjectVersionsOutput +); +export var ListParts = __op( + _LPi, + { + [_h]: ["GET", "/{Bucket}/{Key+}?x-id=ListParts", 200], + }, + () => ListPartsRequest, + () => ListPartsOutput +); +export var PutBucketAccelerateConfiguration = __op( + _PBAC, + { + [_h]: ["PUT", "/{Bucket}?accelerate", 200], + }, + () => PutBucketAccelerateConfigurationRequest, + () => Unit +); +export var PutBucketAcl = __op( + _PBA, + { + [_h]: ["PUT", "/{Bucket}?acl", 200], + }, + () => PutBucketAclRequest, + () => Unit +); +export var PutBucketAnalyticsConfiguration = __op( + _PBACu, + { + [_h]: ["PUT", "/{Bucket}?analytics", 200], + }, + () => PutBucketAnalyticsConfigurationRequest, + () => Unit +); +export var PutBucketCors = __op( + _PBC, + { + [_h]: ["PUT", "/{Bucket}?cors", 200], + }, + () => PutBucketCorsRequest, + () => Unit +); +export var PutBucketEncryption = __op( + _PBE, + { + [_h]: ["PUT", "/{Bucket}?encryption", 200], + }, + () => PutBucketEncryptionRequest, + () => Unit +); +export var PutBucketIntelligentTieringConfiguration = __op( + _PBITC, + { + [_h]: ["PUT", "/{Bucket}?intelligent-tiering", 200], + }, + () => PutBucketIntelligentTieringConfigurationRequest, + () => Unit +); +export var PutBucketInventoryConfiguration = __op( + _PBIC, + { + [_h]: ["PUT", "/{Bucket}?inventory", 200], + }, + () => PutBucketInventoryConfigurationRequest, + () => Unit +); +export var PutBucketLifecycleConfiguration = __op( + _PBLC, + { + [_h]: ["PUT", "/{Bucket}?lifecycle", 200], + }, + () => PutBucketLifecycleConfigurationRequest, + () => PutBucketLifecycleConfigurationOutput +); +export var PutBucketLogging = __op( + _PBL, + { + [_h]: ["PUT", "/{Bucket}?logging", 200], + }, + () => PutBucketLoggingRequest, + () => Unit +); +export var PutBucketMetricsConfiguration = __op( + _PBMC, + { + [_h]: ["PUT", "/{Bucket}?metrics", 200], + }, + () => PutBucketMetricsConfigurationRequest, + () => Unit +); +export var PutBucketNotificationConfiguration = __op( + _PBNC, + { + [_h]: ["PUT", "/{Bucket}?notification", 200], + }, + () => PutBucketNotificationConfigurationRequest, + () => Unit +); +export var PutBucketOwnershipControls = __op( + _PBOC, + { + [_h]: ["PUT", "/{Bucket}?ownershipControls", 200], + }, + () => PutBucketOwnershipControlsRequest, + () => Unit +); +export var PutBucketPolicy = __op( + _PBP, + { + [_h]: ["PUT", "/{Bucket}?policy", 200], + }, + () => PutBucketPolicyRequest, + () => Unit +); +export var PutBucketReplication = __op( + _PBR, + { + [_h]: ["PUT", "/{Bucket}?replication", 200], + }, + () => PutBucketReplicationRequest, + () => Unit +); +export var PutBucketRequestPayment = __op( + _PBRP, + { + [_h]: ["PUT", "/{Bucket}?requestPayment", 200], + }, + () => PutBucketRequestPaymentRequest, + () => Unit +); +export var PutBucketTagging = __op( + _PBT, + { + [_h]: ["PUT", "/{Bucket}?tagging", 200], + }, + () => PutBucketTaggingRequest, + () => Unit +); +export var PutBucketVersioning = __op( + _PBV, + { + [_h]: ["PUT", "/{Bucket}?versioning", 200], + }, + () => PutBucketVersioningRequest, + () => Unit +); +export var PutBucketWebsite = __op( + _PBW, + { + [_h]: ["PUT", "/{Bucket}?website", 200], + }, + () => PutBucketWebsiteRequest, + () => Unit +); +export var PutObject = __op( + _PO, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?x-id=PutObject", 200], + }, + () => PutObjectRequest, + () => PutObjectOutput +); +export var PutObjectAcl = __op( + _POA, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?acl", 200], + }, + () => PutObjectAclRequest, + () => PutObjectAclOutput +); +export var PutObjectLegalHold = __op( + _POLH, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?legal-hold", 200], + }, + () => PutObjectLegalHoldRequest, + () => PutObjectLegalHoldOutput +); +export var PutObjectLockConfiguration = __op( + _POLC, + { + [_h]: ["PUT", "/{Bucket}?object-lock", 200], + }, + () => PutObjectLockConfigurationRequest, + () => PutObjectLockConfigurationOutput +); +export var PutObjectRetention = __op( + _PORu, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?retention", 200], + }, + () => PutObjectRetentionRequest, + () => PutObjectRetentionOutput +); +export var PutObjectTagging = __op( + _POT, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?tagging", 200], + }, + () => PutObjectTaggingRequest, + () => PutObjectTaggingOutput +); +export var PutPublicAccessBlock = __op( + _PPAB, + { + [_h]: ["PUT", "/{Bucket}?publicAccessBlock", 200], + }, + () => PutPublicAccessBlockRequest, + () => Unit +); +export var RestoreObject = __op( + _RO, + { + [_h]: ["POST", "/{Bucket}/{Key+}?restore", 200], + }, + () => RestoreObjectRequest, + () => RestoreObjectOutput +); +export var SelectObjectContent = __op( + _SOC, + { + [_h]: ["POST", "/{Bucket}/{Key+}?select&select-type=2", 200], + }, + () => SelectObjectContentRequest, + () => SelectObjectContentOutput +); +export var UploadPart = __op( + _UP, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?x-id=UploadPart", 200], + }, + () => UploadPartRequest, + () => UploadPartOutput +); +export var UploadPartCopy = __op( + _UPC, + { + [_h]: ["PUT", "/{Bucket}/{Key+}?x-id=UploadPartCopy", 200], + }, + () => UploadPartCopyRequest, + () => UploadPartCopyOutput +); +export var WriteGetObjectResponse = __op( + _WGOR, + { + [_h]: ["POST", "/WriteGetObjectResponse", 200], + }, + () => WriteGetObjectResponseRequest, + () => Unit +); +com_amazonaws_s3Registry.stopCapture(); diff --git a/clients/client-s3/src/schemas/index.ts b/clients/client-s3/src/schemas/index.ts new file mode 100644 index 000000000000..9a9e4b7768a1 --- /dev/null +++ b/clients/client-s3/src/schemas/index.ts @@ -0,0 +1,4 @@ +export * from "./com.amazonaws.s3"; + +// smithy-typescript generated code +export * from "./smithy.api"; diff --git a/clients/client-s3/src/schemas/smithy.api.ts b/clients/client-s3/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..2904bb6439ce --- /dev/null +++ b/clients/client-s3/src/schemas/smithy.api.ts @@ -0,0 +1,10 @@ +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit" as const; + +smithy_apiRegistry.stopCapture(); diff --git a/clients/client-s3/test/e2e/S3.e2e.spec.ts b/clients/client-s3/test/e2e/S3.e2e.spec.ts index ee10ca80b9a7..16c4240e5432 100644 --- a/clients/client-s3/test/e2e/S3.e2e.spec.ts +++ b/clients/client-s3/test/e2e/S3.e2e.spec.ts @@ -155,7 +155,7 @@ describe("@aws-sdk/client-s3", () => { }); }); - it("should successfully create, upload list and complete", async () => { + it("should successfully create, upload, list, and complete", async () => { //create multipart upload const createResult = await client.createMultipartUpload({ Bucket, diff --git a/clients/client-secrets-manager/src/SecretsManagerClient.ts b/clients/client-secrets-manager/src/SecretsManagerClient.ts index 2a497fb3de4c..5412b323da3b 100644 --- a/clients/client-secrets-manager/src/SecretsManagerClient.ts +++ b/clients/client-secrets-manager/src/SecretsManagerClient.ts @@ -19,6 +19,7 @@ import { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { getContentLengthPlugin } from "@smithy/middleware-content-length"; import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint"; import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; @@ -409,6 +410,7 @@ export class SecretsManagerClient extends __Client< const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); super(_config_8); this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/clients/client-secrets-manager/src/commands/BatchGetSecretValueCommand.ts b/clients/client-secrets-manager/src/commands/BatchGetSecretValueCommand.ts index b2d16672b7b2..f63ece66d8cd 100644 --- a/clients/client-secrets-manager/src/commands/BatchGetSecretValueCommand.ts +++ b/clients/client-secrets-manager/src/commands/BatchGetSecretValueCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,7 +9,7 @@ import { BatchGetSecretValueResponse, BatchGetSecretValueResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_BatchGetSecretValueCommand, se_BatchGetSecretValueCommand } from "../protocols/Aws_json1_1"; +import { BatchGetSecretValue } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -197,16 +196,12 @@ export class BatchGetSecretValueCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "BatchGetSecretValue", {}) .n("SecretsManagerClient", "BatchGetSecretValueCommand") .f(void 0, BatchGetSecretValueResponseFilterSensitiveLog) - .ser(se_BatchGetSecretValueCommand) - .de(de_BatchGetSecretValueCommand) + .sc(BatchGetSecretValue) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/CancelRotateSecretCommand.ts b/clients/client-secrets-manager/src/commands/CancelRotateSecretCommand.ts index f67d63eba899..6cfa7defde34 100644 --- a/clients/client-secrets-manager/src/commands/CancelRotateSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/CancelRotateSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { CancelRotateSecretRequest, CancelRotateSecretResponse } from "../models/models_0"; -import { de_CancelRotateSecretCommand, se_CancelRotateSecretCommand } from "../protocols/Aws_json1_1"; +import { CancelRotateSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -131,16 +130,12 @@ export class CancelRotateSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "CancelRotateSecret", {}) .n("SecretsManagerClient", "CancelRotateSecretCommand") .f(void 0, void 0) - .ser(se_CancelRotateSecretCommand) - .de(de_CancelRotateSecretCommand) + .sc(CancelRotateSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/CreateSecretCommand.ts b/clients/client-secrets-manager/src/commands/CreateSecretCommand.ts index 7e6580f2cc38..44f789472e32 100644 --- a/clients/client-secrets-manager/src/commands/CreateSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/CreateSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { CreateSecretRequest, CreateSecretRequestFilterSensitiveLog, CreateSecretResponse } from "../models/models_0"; -import { de_CreateSecretCommand, se_CreateSecretCommand } from "../protocols/Aws_json1_1"; +import { CreateSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -202,16 +201,12 @@ export class CreateSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "CreateSecret", {}) .n("SecretsManagerClient", "CreateSecretCommand") .f(CreateSecretRequestFilterSensitiveLog, void 0) - .ser(se_CreateSecretCommand) - .de(de_CreateSecretCommand) + .sc(CreateSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/DeleteResourcePolicyCommand.ts b/clients/client-secrets-manager/src/commands/DeleteResourcePolicyCommand.ts index 72cd37e3ca32..5744538179bb 100644 --- a/clients/client-secrets-manager/src/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/src/commands/DeleteResourcePolicyCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0"; -import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1"; +import { DeleteResourcePolicy } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -120,16 +119,12 @@ export class DeleteResourcePolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "DeleteResourcePolicy", {}) .n("SecretsManagerClient", "DeleteResourcePolicyCommand") .f(void 0, void 0) - .ser(se_DeleteResourcePolicyCommand) - .de(de_DeleteResourcePolicyCommand) + .sc(DeleteResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/DeleteSecretCommand.ts b/clients/client-secrets-manager/src/commands/DeleteSecretCommand.ts index d3a6dda2833b..3292b86cd074 100644 --- a/clients/client-secrets-manager/src/commands/DeleteSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/DeleteSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DeleteSecretRequest, DeleteSecretResponse } from "../models/models_0"; -import { de_DeleteSecretCommand, se_DeleteSecretCommand } from "../protocols/Aws_json1_1"; +import { DeleteSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -145,16 +144,12 @@ export class DeleteSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "DeleteSecret", {}) .n("SecretsManagerClient", "DeleteSecretCommand") .f(void 0, void 0) - .ser(se_DeleteSecretCommand) - .de(de_DeleteSecretCommand) + .sc(DeleteSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/DescribeSecretCommand.ts b/clients/client-secrets-manager/src/commands/DescribeSecretCommand.ts index 7322bad5a567..f9ac38219e2d 100644 --- a/clients/client-secrets-manager/src/commands/DescribeSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/DescribeSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { DescribeSecretRequest, DescribeSecretResponse } from "../models/models_0"; -import { de_DescribeSecretCommand, se_DescribeSecretCommand } from "../protocols/Aws_json1_1"; +import { DescribeSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -170,16 +169,12 @@ export class DescribeSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "DescribeSecret", {}) .n("SecretsManagerClient", "DescribeSecretCommand") .f(void 0, void 0) - .ser(se_DescribeSecretCommand) - .de(de_DescribeSecretCommand) + .sc(DescribeSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/GetRandomPasswordCommand.ts b/clients/client-secrets-manager/src/commands/GetRandomPasswordCommand.ts index 6802705fcb67..a69dd2358622 100644 --- a/clients/client-secrets-manager/src/commands/GetRandomPasswordCommand.ts +++ b/clients/client-secrets-manager/src/commands/GetRandomPasswordCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,7 +9,7 @@ import { GetRandomPasswordResponse, GetRandomPasswordResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_GetRandomPasswordCommand, se_GetRandomPasswordCommand } from "../protocols/Aws_json1_1"; +import { GetRandomPassword } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -130,16 +129,12 @@ export class GetRandomPasswordCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "GetRandomPassword", {}) .n("SecretsManagerClient", "GetRandomPasswordCommand") .f(void 0, GetRandomPasswordResponseFilterSensitiveLog) - .ser(se_GetRandomPasswordCommand) - .de(de_GetRandomPasswordCommand) + .sc(GetRandomPassword) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/GetResourcePolicyCommand.ts b/clients/client-secrets-manager/src/commands/GetResourcePolicyCommand.ts index 384a26e23bf7..480f3998a0ef 100644 --- a/clients/client-secrets-manager/src/commands/GetResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/src/commands/GetResourcePolicyCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0"; -import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1"; +import { GetResourcePolicy } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -124,16 +123,12 @@ export class GetResourcePolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "GetResourcePolicy", {}) .n("SecretsManagerClient", "GetResourcePolicyCommand") .f(void 0, void 0) - .ser(se_GetResourcePolicyCommand) - .de(de_GetResourcePolicyCommand) + .sc(GetResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/GetSecretValueCommand.ts b/clients/client-secrets-manager/src/commands/GetSecretValueCommand.ts index aba9ddeedafc..ba37ef1d0529 100644 --- a/clients/client-secrets-manager/src/commands/GetSecretValueCommand.ts +++ b/clients/client-secrets-manager/src/commands/GetSecretValueCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,7 +9,7 @@ import { GetSecretValueResponse, GetSecretValueResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_GetSecretValueCommand, se_GetSecretValueCommand } from "../protocols/Aws_json1_1"; +import { GetSecretValue } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -151,16 +150,12 @@ export class GetSecretValueCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "GetSecretValue", {}) .n("SecretsManagerClient", "GetSecretValueCommand") .f(void 0, GetSecretValueResponseFilterSensitiveLog) - .ser(se_GetSecretValueCommand) - .de(de_GetSecretValueCommand) + .sc(GetSecretValue) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/ListSecretVersionIdsCommand.ts b/clients/client-secrets-manager/src/commands/ListSecretVersionIdsCommand.ts index 8de1b1a3ec77..64bd4c845baf 100644 --- a/clients/client-secrets-manager/src/commands/ListSecretVersionIdsCommand.ts +++ b/clients/client-secrets-manager/src/commands/ListSecretVersionIdsCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListSecretVersionIdsRequest, ListSecretVersionIdsResponse } from "../models/models_0"; -import { de_ListSecretVersionIdsCommand, se_ListSecretVersionIdsCommand } from "../protocols/Aws_json1_1"; +import { ListSecretVersionIds } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -145,16 +144,12 @@ export class ListSecretVersionIdsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "ListSecretVersionIds", {}) .n("SecretsManagerClient", "ListSecretVersionIdsCommand") .f(void 0, void 0) - .ser(se_ListSecretVersionIdsCommand) - .de(de_ListSecretVersionIdsCommand) + .sc(ListSecretVersionIds) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/ListSecretsCommand.ts b/clients/client-secrets-manager/src/commands/ListSecretsCommand.ts index de87e78be4ad..bd27fa3e2b4a 100644 --- a/clients/client-secrets-manager/src/commands/ListSecretsCommand.ts +++ b/clients/client-secrets-manager/src/commands/ListSecretsCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ListSecretsRequest, ListSecretsResponse } from "../models/models_0"; -import { de_ListSecretsCommand, se_ListSecretsCommand } from "../protocols/Aws_json1_1"; +import { ListSecrets } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -188,16 +187,12 @@ export class ListSecretsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "ListSecrets", {}) .n("SecretsManagerClient", "ListSecretsCommand") .f(void 0, void 0) - .ser(se_ListSecretsCommand) - .de(de_ListSecretsCommand) + .sc(ListSecrets) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/PutResourcePolicyCommand.ts b/clients/client-secrets-manager/src/commands/PutResourcePolicyCommand.ts index 8bfbd64f4b6d..0b8dd2e7fa54 100644 --- a/clients/client-secrets-manager/src/commands/PutResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/src/commands/PutResourcePolicyCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0"; -import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1"; +import { PutResourcePolicy } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -132,16 +131,12 @@ export class PutResourcePolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "PutResourcePolicy", {}) .n("SecretsManagerClient", "PutResourcePolicyCommand") .f(void 0, void 0) - .ser(se_PutResourcePolicyCommand) - .de(de_PutResourcePolicyCommand) + .sc(PutResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts b/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts index 842ad18155c8..00a2ca375e75 100644 --- a/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts +++ b/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts @@ -1,6 +1,5 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; @@ -10,7 +9,7 @@ import { PutSecretValueRequestFilterSensitiveLog, PutSecretValueResponse, } from "../models/models_0"; -import { de_PutSecretValueCommand, se_PutSecretValueCommand } from "../protocols/Aws_json1_1"; +import { PutSecretValue } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -177,16 +176,12 @@ export class PutSecretValueCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "PutSecretValue", {}) .n("SecretsManagerClient", "PutSecretValueCommand") .f(PutSecretValueRequestFilterSensitiveLog, void 0) - .ser(se_PutSecretValueCommand) - .de(de_PutSecretValueCommand) + .sc(PutSecretValue) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/RemoveRegionsFromReplicationCommand.ts b/clients/client-secrets-manager/src/commands/RemoveRegionsFromReplicationCommand.ts index 77a858c336c8..f356a9f0f992 100644 --- a/clients/client-secrets-manager/src/commands/RemoveRegionsFromReplicationCommand.ts +++ b/clients/client-secrets-manager/src/commands/RemoveRegionsFromReplicationCommand.ts @@ -1,15 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RemoveRegionsFromReplicationRequest, RemoveRegionsFromReplicationResponse } from "../models/models_0"; -import { - de_RemoveRegionsFromReplicationCommand, - se_RemoveRegionsFromReplicationCommand, -} from "../protocols/Aws_json1_1"; +import { RemoveRegionsFromReplication } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -118,16 +114,12 @@ export class RemoveRegionsFromReplicationCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "RemoveRegionsFromReplication", {}) .n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand") .f(void 0, void 0) - .ser(se_RemoveRegionsFromReplicationCommand) - .de(de_RemoveRegionsFromReplicationCommand) + .sc(RemoveRegionsFromReplication) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/ReplicateSecretToRegionsCommand.ts b/clients/client-secrets-manager/src/commands/ReplicateSecretToRegionsCommand.ts index 3969bef410f3..a7987eff6ff0 100644 --- a/clients/client-secrets-manager/src/commands/ReplicateSecretToRegionsCommand.ts +++ b/clients/client-secrets-manager/src/commands/ReplicateSecretToRegionsCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } from "../models/models_0"; -import { de_ReplicateSecretToRegionsCommand, se_ReplicateSecretToRegionsCommand } from "../protocols/Aws_json1_1"; +import { ReplicateSecretToRegions } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -146,16 +145,12 @@ export class ReplicateSecretToRegionsCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "ReplicateSecretToRegions", {}) .n("SecretsManagerClient", "ReplicateSecretToRegionsCommand") .f(void 0, void 0) - .ser(se_ReplicateSecretToRegionsCommand) - .de(de_ReplicateSecretToRegionsCommand) + .sc(ReplicateSecretToRegions) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/RestoreSecretCommand.ts b/clients/client-secrets-manager/src/commands/RestoreSecretCommand.ts index ba290706170a..0dbce13f249c 100644 --- a/clients/client-secrets-manager/src/commands/RestoreSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/RestoreSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RestoreSecretRequest, RestoreSecretResponse } from "../models/models_0"; -import { de_RestoreSecretCommand, se_RestoreSecretCommand } from "../protocols/Aws_json1_1"; +import { RestoreSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -120,16 +119,12 @@ export class RestoreSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "RestoreSecret", {}) .n("SecretsManagerClient", "RestoreSecretCommand") .f(void 0, void 0) - .ser(se_RestoreSecretCommand) - .de(de_RestoreSecretCommand) + .sc(RestoreSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/RotateSecretCommand.ts b/clients/client-secrets-manager/src/commands/RotateSecretCommand.ts index e70aa3140001..7445e511d1aa 100644 --- a/clients/client-secrets-manager/src/commands/RotateSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/RotateSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0"; -import { de_RotateSecretCommand, se_RotateSecretCommand } from "../protocols/Aws_json1_1"; +import { RotateSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -160,16 +159,12 @@ export class RotateSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "RotateSecret", {}) .n("SecretsManagerClient", "RotateSecretCommand") .f(void 0, void 0) - .ser(se_RotateSecretCommand) - .de(de_RotateSecretCommand) + .sc(RotateSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/StopReplicationToReplicaCommand.ts b/clients/client-secrets-manager/src/commands/StopReplicationToReplicaCommand.ts index a70c6b2d3fba..e1516290cc5b 100644 --- a/clients/client-secrets-manager/src/commands/StopReplicationToReplicaCommand.ts +++ b/clients/client-secrets-manager/src/commands/StopReplicationToReplicaCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0"; -import { de_StopReplicationToReplicaCommand, se_StopReplicationToReplicaCommand } from "../protocols/Aws_json1_1"; +import { StopReplicationToReplica } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -102,16 +101,12 @@ export class StopReplicationToReplicaCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "StopReplicationToReplica", {}) .n("SecretsManagerClient", "StopReplicationToReplicaCommand") .f(void 0, void 0) - .ser(se_StopReplicationToReplicaCommand) - .de(de_StopReplicationToReplicaCommand) + .sc(StopReplicationToReplica) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/TagResourceCommand.ts b/clients/client-secrets-manager/src/commands/TagResourceCommand.ts index 22524b81411c..47698b38919a 100644 --- a/clients/client-secrets-manager/src/commands/TagResourceCommand.ts +++ b/clients/client-secrets-manager/src/commands/TagResourceCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { TagResourceRequest } from "../models/models_0"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1"; +import { TagResource } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -135,16 +134,12 @@ export class TagResourceCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "TagResource", {}) .n("SecretsManagerClient", "TagResourceCommand") .f(void 0, void 0) - .ser(se_TagResourceCommand) - .de(de_TagResourceCommand) + .sc(TagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/UntagResourceCommand.ts b/clients/client-secrets-manager/src/commands/UntagResourceCommand.ts index 9d8dcd6b8fd5..f16b88e45b01 100644 --- a/clients/client-secrets-manager/src/commands/UntagResourceCommand.ts +++ b/clients/client-secrets-manager/src/commands/UntagResourceCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { UntagResourceRequest } from "../models/models_0"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1"; +import { UntagResource } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -125,16 +124,12 @@ export class UntagResourceCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "UntagResource", {}) .n("SecretsManagerClient", "UntagResourceCommand") .f(void 0, void 0) - .ser(se_UntagResourceCommand) - .de(de_UntagResourceCommand) + .sc(UntagResource) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts b/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts index 0d177f227b3a..298f352f2008 100644 --- a/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateSecretRequest, UpdateSecretRequestFilterSensitiveLog, UpdateSecretResponse } from "../models/models_0"; -import { de_UpdateSecretCommand, se_UpdateSecretCommand } from "../protocols/Aws_json1_1"; +import { UpdateSecret } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -206,16 +205,12 @@ export class UpdateSecretCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "UpdateSecret", {}) .n("SecretsManagerClient", "UpdateSecretCommand") .f(UpdateSecretRequestFilterSensitiveLog, void 0) - .ser(se_UpdateSecretCommand) - .de(de_UpdateSecretCommand) + .sc(UpdateSecret) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/UpdateSecretVersionStageCommand.ts b/clients/client-secrets-manager/src/commands/UpdateSecretVersionStageCommand.ts index ddb7bf8115f7..0fb1ce86871e 100644 --- a/clients/client-secrets-manager/src/commands/UpdateSecretVersionStageCommand.ts +++ b/clients/client-secrets-manager/src/commands/UpdateSecretVersionStageCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0"; -import { de_UpdateSecretVersionStageCommand, se_UpdateSecretVersionStageCommand } from "../protocols/Aws_json1_1"; +import { UpdateSecretVersionStage } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -180,16 +179,12 @@ export class UpdateSecretVersionStageCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "UpdateSecretVersionStage", {}) .n("SecretsManagerClient", "UpdateSecretVersionStageCommand") .f(void 0, void 0) - .ser(se_UpdateSecretVersionStageCommand) - .de(de_UpdateSecretVersionStageCommand) + .sc(UpdateSecretVersionStage) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/commands/ValidateResourcePolicyCommand.ts b/clients/client-secrets-manager/src/commands/ValidateResourcePolicyCommand.ts index 56bcd67c70aa..d6c3ea4d4dfa 100644 --- a/clients/client-secrets-manager/src/commands/ValidateResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/src/commands/ValidateResourcePolicyCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0"; -import { de_ValidateResourcePolicyCommand, se_ValidateResourcePolicyCommand } from "../protocols/Aws_json1_1"; +import { ValidateResourcePolicy } from "../schemas/com.amazonaws.secretsmanager"; import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient"; /** @@ -143,16 +142,12 @@ export class ValidateResourcePolicyCommand extends $Command >() .ep(commonParams) .m(function (this: any, Command: any, cs: any, config: SecretsManagerClientResolvedConfig, o: any) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; + return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("secretsmanager", "ValidateResourcePolicy", {}) .n("SecretsManagerClient", "ValidateResourcePolicyCommand") .f(void 0, void 0) - .ser(se_ValidateResourcePolicyCommand) - .de(de_ValidateResourcePolicyCommand) + .sc(ValidateResourcePolicy) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts b/clients/client-secrets-manager/src/protocols/Rpcv2cbor.ts similarity index 78% rename from clients/client-secrets-manager/src/protocols/Aws_json1_1.ts rename to clients/client-secrets-manager/src/protocols/Rpcv2cbor.ts index 12b420eeeb8b..254c95a42f30 100644 --- a/clients/client-secrets-manager/src/protocols/Aws_json1_1.ts +++ b/clients/client-secrets-manager/src/protocols/Rpcv2cbor.ts @@ -1,5 +1,12 @@ // smithy-typescript generated code -import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core"; +import { + buildHttpRpcRequest, + cbor, + checkCborResponse as cr, + loadSmithyRpcV2CborErrorCode, + parseCborBody as parseBody, + parseCborErrorBody as parseErrorBody, +} from "@smithy/core/cbor"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; import { _json, @@ -7,7 +14,6 @@ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, - expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, @@ -125,314 +131,364 @@ import { import { SecretsManagerServiceException as __BaseException } from "../models/SecretsManagerServiceException"; /** - * serializeAws_json1_1BatchGetSecretValueCommand + * serializeRpcv2cborBatchGetSecretValueCommand */ export const se_BatchGetSecretValueCommand = async ( input: BatchGetSecretValueCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("BatchGetSecretValue"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/BatchGetSecretValue", + undefined, + body + ); }; /** - * serializeAws_json1_1CancelRotateSecretCommand + * serializeRpcv2cborCancelRotateSecretCommand */ export const se_CancelRotateSecretCommand = async ( input: CancelRotateSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("CancelRotateSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/CancelRotateSecret", undefined, body); }; /** - * serializeAws_json1_1CreateSecretCommand + * serializeRpcv2cborCreateSecretCommand */ export const se_CreateSecretCommand = async ( input: CreateSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("CreateSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(se_CreateSecretRequest(input, context)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(se_CreateSecretRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/CreateSecret", undefined, body); }; /** - * serializeAws_json1_1DeleteResourcePolicyCommand + * serializeRpcv2cborDeleteResourcePolicyCommand */ export const se_DeleteResourcePolicyCommand = async ( input: DeleteResourcePolicyCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("DeleteResourcePolicy"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/DeleteResourcePolicy", + undefined, + body + ); }; /** - * serializeAws_json1_1DeleteSecretCommand + * serializeRpcv2cborDeleteSecretCommand */ export const se_DeleteSecretCommand = async ( input: DeleteSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("DeleteSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/DeleteSecret", undefined, body); }; /** - * serializeAws_json1_1DescribeSecretCommand + * serializeRpcv2cborDescribeSecretCommand */ export const se_DescribeSecretCommand = async ( input: DescribeSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("DescribeSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/DescribeSecret", undefined, body); }; /** - * serializeAws_json1_1GetRandomPasswordCommand + * serializeRpcv2cborGetRandomPasswordCommand */ export const se_GetRandomPasswordCommand = async ( input: GetRandomPasswordCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("GetRandomPassword"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/GetRandomPassword", undefined, body); }; /** - * serializeAws_json1_1GetResourcePolicyCommand + * serializeRpcv2cborGetResourcePolicyCommand */ export const se_GetResourcePolicyCommand = async ( input: GetResourcePolicyCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("GetResourcePolicy"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/GetResourcePolicy", undefined, body); }; /** - * serializeAws_json1_1GetSecretValueCommand + * serializeRpcv2cborGetSecretValueCommand */ export const se_GetSecretValueCommand = async ( input: GetSecretValueCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("GetSecretValue"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/GetSecretValue", undefined, body); }; /** - * serializeAws_json1_1ListSecretsCommand + * serializeRpcv2cborListSecretsCommand */ export const se_ListSecretsCommand = async ( input: ListSecretsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("ListSecrets"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/ListSecrets", undefined, body); }; /** - * serializeAws_json1_1ListSecretVersionIdsCommand + * serializeRpcv2cborListSecretVersionIdsCommand */ export const se_ListSecretVersionIdsCommand = async ( input: ListSecretVersionIdsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("ListSecretVersionIds"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/ListSecretVersionIds", + undefined, + body + ); }; /** - * serializeAws_json1_1PutResourcePolicyCommand + * serializeRpcv2cborPutResourcePolicyCommand */ export const se_PutResourcePolicyCommand = async ( input: PutResourcePolicyCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("PutResourcePolicy"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/PutResourcePolicy", undefined, body); }; /** - * serializeAws_json1_1PutSecretValueCommand + * serializeRpcv2cborPutSecretValueCommand */ export const se_PutSecretValueCommand = async ( input: PutSecretValueCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("PutSecretValue"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(se_PutSecretValueRequest(input, context)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(se_PutSecretValueRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/PutSecretValue", undefined, body); }; /** - * serializeAws_json1_1RemoveRegionsFromReplicationCommand + * serializeRpcv2cborRemoveRegionsFromReplicationCommand */ export const se_RemoveRegionsFromReplicationCommand = async ( input: RemoveRegionsFromReplicationCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("RemoveRegionsFromReplication"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/RemoveRegionsFromReplication", + undefined, + body + ); }; /** - * serializeAws_json1_1ReplicateSecretToRegionsCommand + * serializeRpcv2cborReplicateSecretToRegionsCommand */ export const se_ReplicateSecretToRegionsCommand = async ( input: ReplicateSecretToRegionsCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("ReplicateSecretToRegions"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/ReplicateSecretToRegions", + undefined, + body + ); }; /** - * serializeAws_json1_1RestoreSecretCommand + * serializeRpcv2cborRestoreSecretCommand */ export const se_RestoreSecretCommand = async ( input: RestoreSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("RestoreSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/RestoreSecret", undefined, body); }; /** - * serializeAws_json1_1RotateSecretCommand + * serializeRpcv2cborRotateSecretCommand */ export const se_RotateSecretCommand = async ( input: RotateSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("RotateSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(se_RotateSecretRequest(input, context)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(se_RotateSecretRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/RotateSecret", undefined, body); }; /** - * serializeAws_json1_1StopReplicationToReplicaCommand + * serializeRpcv2cborStopReplicationToReplicaCommand */ export const se_StopReplicationToReplicaCommand = async ( input: StopReplicationToReplicaCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("StopReplicationToReplica"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/StopReplicationToReplica", + undefined, + body + ); }; /** - * serializeAws_json1_1TagResourceCommand + * serializeRpcv2cborTagResourceCommand */ export const se_TagResourceCommand = async ( input: TagResourceCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("TagResource"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/TagResource", undefined, body); }; /** - * serializeAws_json1_1UntagResourceCommand + * serializeRpcv2cborUntagResourceCommand */ export const se_UntagResourceCommand = async ( input: UntagResourceCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("UntagResource"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/UntagResource", undefined, body); }; /** - * serializeAws_json1_1UpdateSecretCommand + * serializeRpcv2cborUpdateSecretCommand */ export const se_UpdateSecretCommand = async ( input: UpdateSecretCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("UpdateSecret"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(se_UpdateSecretRequest(input, context)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(se_UpdateSecretRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/service/secretsmanager/operation/UpdateSecret", undefined, body); }; /** - * serializeAws_json1_1UpdateSecretVersionStageCommand + * serializeRpcv2cborUpdateSecretVersionStageCommand */ export const se_UpdateSecretVersionStageCommand = async ( input: UpdateSecretVersionStageCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("UpdateSecretVersionStage"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/UpdateSecretVersionStage", + undefined, + body + ); }; /** - * serializeAws_json1_1ValidateResourcePolicyCommand + * serializeRpcv2cborValidateResourcePolicyCommand */ export const se_ValidateResourcePolicyCommand = async ( input: ValidateResourcePolicyCommandInput, context: __SerdeContext ): Promise<__HttpRequest> => { - const headers: __HeaderBag = sharedHeaders("ValidateResourcePolicy"); + const headers: __HeaderBag = SHARED_HEADERS; let body: any; - body = JSON.stringify(_json(input)); - return buildHttpRpcRequest(context, headers, "/", undefined, body); + body = cbor.serialize(_json(input)); + return buildHttpRpcRequest( + context, + headers, + "/service/secretsmanager/operation/ValidateResourcePolicy", + undefined, + body + ); }; /** - * deserializeAws_json1_1BatchGetSecretValueCommand + * deserializeRpcv2cborBatchGetSecretValueCommand */ export const de_BatchGetSecretValueCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_BatchGetSecretValueResponse(data, context); @@ -444,15 +500,17 @@ export const de_BatchGetSecretValueCommand = async ( }; /** - * deserializeAws_json1_1CancelRotateSecretCommand + * deserializeRpcv2cborCancelRotateSecretCommand */ export const de_CancelRotateSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -464,15 +522,17 @@ export const de_CancelRotateSecretCommand = async ( }; /** - * deserializeAws_json1_1CreateSecretCommand + * deserializeRpcv2cborCreateSecretCommand */ export const de_CreateSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_CreateSecretResponse(data, context); @@ -484,15 +544,17 @@ export const de_CreateSecretCommand = async ( }; /** - * deserializeAws_json1_1DeleteResourcePolicyCommand + * deserializeRpcv2cborDeleteResourcePolicyCommand */ export const de_DeleteResourcePolicyCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -504,15 +566,17 @@ export const de_DeleteResourcePolicyCommand = async ( }; /** - * deserializeAws_json1_1DeleteSecretCommand + * deserializeRpcv2cborDeleteSecretCommand */ export const de_DeleteSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_DeleteSecretResponse(data, context); @@ -524,15 +588,17 @@ export const de_DeleteSecretCommand = async ( }; /** - * deserializeAws_json1_1DescribeSecretCommand + * deserializeRpcv2cborDescribeSecretCommand */ export const de_DescribeSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_DescribeSecretResponse(data, context); @@ -544,15 +610,17 @@ export const de_DescribeSecretCommand = async ( }; /** - * deserializeAws_json1_1GetRandomPasswordCommand + * deserializeRpcv2cborGetRandomPasswordCommand */ export const de_GetRandomPasswordCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -564,15 +632,17 @@ export const de_GetRandomPasswordCommand = async ( }; /** - * deserializeAws_json1_1GetResourcePolicyCommand + * deserializeRpcv2cborGetResourcePolicyCommand */ export const de_GetResourcePolicyCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -584,15 +654,17 @@ export const de_GetResourcePolicyCommand = async ( }; /** - * deserializeAws_json1_1GetSecretValueCommand + * deserializeRpcv2cborGetSecretValueCommand */ export const de_GetSecretValueCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_GetSecretValueResponse(data, context); @@ -604,15 +676,17 @@ export const de_GetSecretValueCommand = async ( }; /** - * deserializeAws_json1_1ListSecretsCommand + * deserializeRpcv2cborListSecretsCommand */ export const de_ListSecretsCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_ListSecretsResponse(data, context); @@ -624,15 +698,17 @@ export const de_ListSecretsCommand = async ( }; /** - * deserializeAws_json1_1ListSecretVersionIdsCommand + * deserializeRpcv2cborListSecretVersionIdsCommand */ export const de_ListSecretVersionIdsCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_ListSecretVersionIdsResponse(data, context); @@ -644,15 +720,17 @@ export const de_ListSecretVersionIdsCommand = async ( }; /** - * deserializeAws_json1_1PutResourcePolicyCommand + * deserializeRpcv2cborPutResourcePolicyCommand */ export const de_PutResourcePolicyCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -664,15 +742,17 @@ export const de_PutResourcePolicyCommand = async ( }; /** - * deserializeAws_json1_1PutSecretValueCommand + * deserializeRpcv2cborPutSecretValueCommand */ export const de_PutSecretValueCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -684,15 +764,17 @@ export const de_PutSecretValueCommand = async ( }; /** - * deserializeAws_json1_1RemoveRegionsFromReplicationCommand + * deserializeRpcv2cborRemoveRegionsFromReplicationCommand */ export const de_RemoveRegionsFromReplicationCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_RemoveRegionsFromReplicationResponse(data, context); @@ -704,15 +786,17 @@ export const de_RemoveRegionsFromReplicationCommand = async ( }; /** - * deserializeAws_json1_1ReplicateSecretToRegionsCommand + * deserializeRpcv2cborReplicateSecretToRegionsCommand */ export const de_ReplicateSecretToRegionsCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = de_ReplicateSecretToRegionsResponse(data, context); @@ -724,15 +808,17 @@ export const de_ReplicateSecretToRegionsCommand = async ( }; /** - * deserializeAws_json1_1RestoreSecretCommand + * deserializeRpcv2cborRestoreSecretCommand */ export const de_RestoreSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -744,15 +830,17 @@ export const de_RestoreSecretCommand = async ( }; /** - * deserializeAws_json1_1RotateSecretCommand + * deserializeRpcv2cborRotateSecretCommand */ export const de_RotateSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -764,15 +852,17 @@ export const de_RotateSecretCommand = async ( }; /** - * deserializeAws_json1_1StopReplicationToReplicaCommand + * deserializeRpcv2cborStopReplicationToReplicaCommand */ export const de_StopReplicationToReplicaCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -784,15 +874,17 @@ export const de_StopReplicationToReplicaCommand = async ( }; /** - * deserializeAws_json1_1TagResourceCommand + * deserializeRpcv2cborTagResourceCommand */ export const de_TagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + await collectBody(output.body, context); const response: TagResourceCommandOutput = { $metadata: deserializeMetadata(output), @@ -801,15 +893,17 @@ export const de_TagResourceCommand = async ( }; /** - * deserializeAws_json1_1UntagResourceCommand + * deserializeRpcv2cborUntagResourceCommand */ export const de_UntagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + await collectBody(output.body, context); const response: UntagResourceCommandOutput = { $metadata: deserializeMetadata(output), @@ -818,15 +912,17 @@ export const de_UntagResourceCommand = async ( }; /** - * deserializeAws_json1_1UpdateSecretCommand + * deserializeRpcv2cborUpdateSecretCommand */ export const de_UpdateSecretCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -838,15 +934,17 @@ export const de_UpdateSecretCommand = async ( }; /** - * deserializeAws_json1_1UpdateSecretVersionStageCommand + * deserializeRpcv2cborUpdateSecretVersionStageCommand */ export const de_UpdateSecretVersionStageCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -858,15 +956,17 @@ export const de_UpdateSecretVersionStageCommand = async ( }; /** - * deserializeAws_json1_1ValidateResourcePolicyCommand + * deserializeRpcv2cborValidateResourcePolicyCommand */ export const de_ValidateResourcePolicyCommand = async ( output: __HttpResponse, context: __SerdeContext ): Promise => { + cr(output); if (output.statusCode >= 300) { return de_CommandError(output, context); } + const data: any = await parseBody(output.body, context); let contents: any = {}; contents = _json(data); @@ -878,14 +978,14 @@ export const de_ValidateResourcePolicyCommand = async ( }; /** - * deserialize_Aws_json1_1CommandError + * deserialize_Rpcv2cborCommandError */ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): Promise => { const parsedOutput: any = { ...output, body: await parseErrorBody(output.body, context), }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + const errorCode = loadSmithyRpcV2CborErrorCode(output, parsedOutput.body); switch (errorCode) { case "DecryptionFailure": case "com.amazonaws.secretsmanager#DecryptionFailure": @@ -934,7 +1034,7 @@ const de_CommandError = async (output: __HttpResponse, context: __SerdeContext): }; /** - * deserializeAws_json1_1DecryptionFailureRes + * deserializeRpcv2cborDecryptionFailureRes */ const de_DecryptionFailureRes = async (parsedOutput: any, context: __SerdeContext): Promise => { const body = parsedOutput.body; @@ -947,7 +1047,7 @@ const de_DecryptionFailureRes = async (parsedOutput: any, context: __SerdeContex }; /** - * deserializeAws_json1_1EncryptionFailureRes + * deserializeRpcv2cborEncryptionFailureRes */ const de_EncryptionFailureRes = async (parsedOutput: any, context: __SerdeContext): Promise => { const body = parsedOutput.body; @@ -960,7 +1060,7 @@ const de_EncryptionFailureRes = async (parsedOutput: any, context: __SerdeContex }; /** - * deserializeAws_json1_1InternalServiceErrorRes + * deserializeRpcv2cborInternalServiceErrorRes */ const de_InternalServiceErrorRes = async ( parsedOutput: any, @@ -976,7 +1076,7 @@ const de_InternalServiceErrorRes = async ( }; /** - * deserializeAws_json1_1InvalidNextTokenExceptionRes + * deserializeRpcv2cborInvalidNextTokenExceptionRes */ const de_InvalidNextTokenExceptionRes = async ( parsedOutput: any, @@ -992,7 +1092,7 @@ const de_InvalidNextTokenExceptionRes = async ( }; /** - * deserializeAws_json1_1InvalidParameterExceptionRes + * deserializeRpcv2cborInvalidParameterExceptionRes */ const de_InvalidParameterExceptionRes = async ( parsedOutput: any, @@ -1008,7 +1108,7 @@ const de_InvalidParameterExceptionRes = async ( }; /** - * deserializeAws_json1_1InvalidRequestExceptionRes + * deserializeRpcv2cborInvalidRequestExceptionRes */ const de_InvalidRequestExceptionRes = async ( parsedOutput: any, @@ -1024,7 +1124,7 @@ const de_InvalidRequestExceptionRes = async ( }; /** - * deserializeAws_json1_1LimitExceededExceptionRes + * deserializeRpcv2cborLimitExceededExceptionRes */ const de_LimitExceededExceptionRes = async ( parsedOutput: any, @@ -1040,7 +1140,7 @@ const de_LimitExceededExceptionRes = async ( }; /** - * deserializeAws_json1_1MalformedPolicyDocumentExceptionRes + * deserializeRpcv2cborMalformedPolicyDocumentExceptionRes */ const de_MalformedPolicyDocumentExceptionRes = async ( parsedOutput: any, @@ -1056,7 +1156,7 @@ const de_MalformedPolicyDocumentExceptionRes = async ( }; /** - * deserializeAws_json1_1PreconditionNotMetExceptionRes + * deserializeRpcv2cborPreconditionNotMetExceptionRes */ const de_PreconditionNotMetExceptionRes = async ( parsedOutput: any, @@ -1072,7 +1172,7 @@ const de_PreconditionNotMetExceptionRes = async ( }; /** - * deserializeAws_json1_1PublicPolicyExceptionRes + * deserializeRpcv2cborPublicPolicyExceptionRes */ const de_PublicPolicyExceptionRes = async ( parsedOutput: any, @@ -1088,7 +1188,7 @@ const de_PublicPolicyExceptionRes = async ( }; /** - * deserializeAws_json1_1ResourceExistsExceptionRes + * deserializeRpcv2cborResourceExistsExceptionRes */ const de_ResourceExistsExceptionRes = async ( parsedOutput: any, @@ -1104,7 +1204,7 @@ const de_ResourceExistsExceptionRes = async ( }; /** - * deserializeAws_json1_1ResourceNotFoundExceptionRes + * deserializeRpcv2cborResourceNotFoundExceptionRes */ const de_ResourceNotFoundExceptionRes = async ( parsedOutput: any, @@ -1126,7 +1226,7 @@ const de_ResourceNotFoundExceptionRes = async ( // se_CancelRotateSecretRequest omitted. /** - * serializeAws_json1_1CreateSecretRequest + * serializeRpcv2cborCreateSecretRequest */ const se_CreateSecretRequest = (input: CreateSecretRequest, context: __SerdeContext): any => { return take(input, { @@ -1136,7 +1236,7 @@ const se_CreateSecretRequest = (input: CreateSecretRequest, context: __SerdeCont ForceOverwriteReplicaSecret: [], KmsKeyId: [], Name: [], - SecretBinary: context.base64Encoder, + SecretBinary: [], SecretString: [], Tags: _json, }); @@ -1167,13 +1267,13 @@ const se_CreateSecretRequest = (input: CreateSecretRequest, context: __SerdeCont // se_PutResourcePolicyRequest omitted. /** - * serializeAws_json1_1PutSecretValueRequest + * serializeRpcv2cborPutSecretValueRequest */ const se_PutSecretValueRequest = (input: PutSecretValueRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], RotationToken: [], - SecretBinary: context.base64Encoder, + SecretBinary: [], SecretId: [], SecretString: [], VersionStages: _json, @@ -1191,7 +1291,7 @@ const se_PutSecretValueRequest = (input: PutSecretValueRequest, context: __Serde // se_RestoreSecretRequest omitted. /** - * serializeAws_json1_1RotateSecretRequest + * serializeRpcv2cborRotateSecretRequest */ const se_RotateSecretRequest = (input: RotateSecretRequest, context: __SerdeContext): any => { return take(input, { @@ -1222,14 +1322,14 @@ const se_RotateSecretRequest = (input: RotateSecretRequest, context: __SerdeCont // se_UntagResourceRequest omitted. /** - * serializeAws_json1_1UpdateSecretRequest + * serializeRpcv2cborUpdateSecretRequest */ const se_UpdateSecretRequest = (input: UpdateSecretRequest, context: __SerdeContext): any => { return take(input, { ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()], Description: [], KmsKeyId: [], - SecretBinary: context.base64Encoder, + SecretBinary: [], SecretId: [], SecretString: [], }); @@ -1244,7 +1344,7 @@ const se_UpdateSecretRequest = (input: UpdateSecretRequest, context: __SerdeCont // de_APIErrorType omitted. /** - * deserializeAws_json1_1BatchGetSecretValueResponse + * deserializeRpcv2cborBatchGetSecretValueResponse */ const de_BatchGetSecretValueResponse = (output: any, context: __SerdeContext): BatchGetSecretValueResponse => { return take(output, { @@ -1257,7 +1357,7 @@ const de_BatchGetSecretValueResponse = (output: any, context: __SerdeContext): B // de_CancelRotateSecretResponse omitted. /** - * deserializeAws_json1_1CreateSecretResponse + * deserializeRpcv2cborCreateSecretResponse */ const de_CreateSecretResponse = (output: any, context: __SerdeContext): CreateSecretResponse => { return take(output, { @@ -1273,31 +1373,31 @@ const de_CreateSecretResponse = (output: any, context: __SerdeContext): CreateSe // de_DeleteResourcePolicyResponse omitted. /** - * deserializeAws_json1_1DeleteSecretResponse + * deserializeRpcv2cborDeleteSecretResponse */ const de_DeleteSecretResponse = (output: any, context: __SerdeContext): DeleteSecretResponse => { return take(output, { ARN: __expectString, - DeletionDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DeletionDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Name: __expectString, }) as any; }; /** - * deserializeAws_json1_1DescribeSecretResponse + * deserializeRpcv2cborDescribeSecretResponse */ const de_DescribeSecretResponse = (output: any, context: __SerdeContext): DescribeSecretResponse => { return take(output, { ARN: __expectString, - CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - DeletedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + DeletedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Description: __expectString, KmsKeyId: __expectString, - LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastChangedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastRotatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + LastChangedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + LastRotatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Name: __expectString, - NextRotationDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + NextRotationDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), OwningService: __expectString, PrimaryRegion: __expectString, ReplicationStatus: (_: any) => de_ReplicationStatusListType(_, context), @@ -1316,14 +1416,14 @@ const de_DescribeSecretResponse = (output: any, context: __SerdeContext): Descri // de_GetResourcePolicyResponse omitted. /** - * deserializeAws_json1_1GetSecretValueResponse + * deserializeRpcv2cborGetSecretValueResponse */ const de_GetSecretValueResponse = (output: any, context: __SerdeContext): GetSecretValueResponse => { return take(output, { ARN: __expectString, - CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Name: __expectString, - SecretBinary: context.base64Decoder, + SecretBinary: [], SecretString: __expectString, VersionId: __expectString, VersionStages: _json, @@ -1343,7 +1443,7 @@ const de_GetSecretValueResponse = (output: any, context: __SerdeContext): GetSec // de_LimitExceededException omitted. /** - * deserializeAws_json1_1ListSecretsResponse + * deserializeRpcv2cborListSecretsResponse */ const de_ListSecretsResponse = (output: any, context: __SerdeContext): ListSecretsResponse => { return take(output, { @@ -1353,7 +1453,7 @@ const de_ListSecretsResponse = (output: any, context: __SerdeContext): ListSecre }; /** - * deserializeAws_json1_1ListSecretVersionIdsResponse + * deserializeRpcv2cborListSecretVersionIdsResponse */ const de_ListSecretVersionIdsResponse = (output: any, context: __SerdeContext): ListSecretVersionIdsResponse => { return take(output, { @@ -1375,7 +1475,7 @@ const de_ListSecretVersionIdsResponse = (output: any, context: __SerdeContext): // de_PutSecretValueResponse omitted. /** - * deserializeAws_json1_1RemoveRegionsFromReplicationResponse + * deserializeRpcv2cborRemoveRegionsFromReplicationResponse */ const de_RemoveRegionsFromReplicationResponse = ( output: any, @@ -1388,7 +1488,7 @@ const de_RemoveRegionsFromReplicationResponse = ( }; /** - * deserializeAws_json1_1ReplicateSecretToRegionsResponse + * deserializeRpcv2cborReplicateSecretToRegionsResponse */ const de_ReplicateSecretToRegionsResponse = ( output: any, @@ -1401,24 +1501,24 @@ const de_ReplicateSecretToRegionsResponse = ( }; /** - * deserializeAws_json1_1ReplicationStatusListType + * deserializeRpcv2cborReplicationStatusListType */ const de_ReplicationStatusListType = (output: any, context: __SerdeContext): ReplicationStatusType[] => { - const retVal = (output || []) + const collection = (output || []) .filter((e: any) => e != null) .map((entry: any) => { return de_ReplicationStatusType(entry, context); }); - return retVal; + return collection; }; /** - * deserializeAws_json1_1ReplicationStatusType + * deserializeRpcv2cborReplicationStatusType */ const de_ReplicationStatusType = (output: any, context: __SerdeContext): ReplicationStatusType => { return take(output, { KmsKeyId: __expectString, - LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Region: __expectString, Status: __expectString, StatusMessage: __expectString, @@ -1436,20 +1536,20 @@ const de_ReplicationStatusType = (output: any, context: __SerdeContext): Replica // de_RotationRulesType omitted. /** - * deserializeAws_json1_1SecretListEntry + * deserializeRpcv2cborSecretListEntry */ const de_SecretListEntry = (output: any, context: __SerdeContext): SecretListEntry => { return take(output, { ARN: __expectString, - CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - DeletedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + DeletedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Description: __expectString, KmsKeyId: __expectString, - LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastChangedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastRotatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + LastChangedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), + LastRotatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Name: __expectString, - NextRotationDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + NextRotationDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), OwningService: __expectString, PrimaryRegion: __expectString, RotationEnabled: __expectBoolean, @@ -1461,26 +1561,26 @@ const de_SecretListEntry = (output: any, context: __SerdeContext): SecretListEnt }; /** - * deserializeAws_json1_1SecretListType + * deserializeRpcv2cborSecretListType */ const de_SecretListType = (output: any, context: __SerdeContext): SecretListEntry[] => { - const retVal = (output || []) + const collection = (output || []) .filter((e: any) => e != null) .map((entry: any) => { return de_SecretListEntry(entry, context); }); - return retVal; + return collection; }; /** - * deserializeAws_json1_1SecretValueEntry + * deserializeRpcv2cborSecretValueEntry */ const de_SecretValueEntry = (output: any, context: __SerdeContext): SecretValueEntry => { return take(output, { ARN: __expectString, - CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), Name: __expectString, - SecretBinary: context.base64Decoder, + SecretBinary: [], SecretString: __expectString, VersionId: __expectString, VersionStages: _json, @@ -1488,40 +1588,40 @@ const de_SecretValueEntry = (output: any, context: __SerdeContext): SecretValueE }; /** - * deserializeAws_json1_1SecretValuesType + * deserializeRpcv2cborSecretValuesType */ const de_SecretValuesType = (output: any, context: __SerdeContext): SecretValueEntry[] => { - const retVal = (output || []) + const collection = (output || []) .filter((e: any) => e != null) .map((entry: any) => { return de_SecretValueEntry(entry, context); }); - return retVal; + return collection; }; /** - * deserializeAws_json1_1SecretVersionsListEntry + * deserializeRpcv2cborSecretVersionsListEntry */ const de_SecretVersionsListEntry = (output: any, context: __SerdeContext): SecretVersionsListEntry => { return take(output, { - CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + CreatedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), KmsKeyIds: _json, - LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastAccessedDate: (_: any) => __expectNonNull(__parseEpochTimestamp(_)), VersionId: __expectString, VersionStages: _json, }) as any; }; /** - * deserializeAws_json1_1SecretVersionsListType + * deserializeRpcv2cborSecretVersionsListType */ const de_SecretVersionsListType = (output: any, context: __SerdeContext): SecretVersionsListEntry[] => { - const retVal = (output || []) + const collection = (output || []) .filter((e: any) => e != null) .map((entry: any) => { return de_SecretVersionsListEntry(entry, context); }); - return retVal; + return collection; }; // de_SecretVersionStagesType omitted. @@ -1552,38 +1652,9 @@ const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ cfId: output.headers["x-amz-cf-id"], }); -// Encode Uint8Array data into string with utf-8. -const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => - collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); - const throwDefaultError = withBaseException(__BaseException); -const buildHttpRpcRequest = async ( - context: __SerdeContext, - headers: __HeaderBag, - path: string, - resolvedHostname: string | undefined, - body: any -): Promise<__HttpRequest> => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const contents: any = { - protocol, - hostname, - port, - method: "POST", - path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, - headers, - }; - if (resolvedHostname !== undefined) { - contents.hostname = resolvedHostname; - } - if (body !== undefined) { - contents.body = body; - } - return new __HttpRequest(contents); +const SHARED_HEADERS: __HeaderBag = { + "content-type": "application/cbor", + "smithy-protocol": "rpc-v2-cbor", + accept: "application/cbor", }; -function sharedHeaders(operation: string): __HeaderBag { - return { - "content-type": "application/x-amz-json-1.1", - "x-amz-target": `secretsmanager.${operation}`, - }; -} diff --git a/clients/client-secrets-manager/src/runtimeConfig.shared.ts b/clients/client-secrets-manager/src/runtimeConfig.shared.ts index 712290805ce1..dc2338db6ec6 100644 --- a/clients/client-secrets-manager/src/runtimeConfig.shared.ts +++ b/clients/client-secrets-manager/src/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { AwsSdkSigV4Signer } from "@aws-sdk/core"; +import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; import { NoOpLogger } from "@smithy/smithy-client"; import { IdentityProviderConfig } from "@smithy/types"; import { parseUrl } from "@smithy/url-parser"; @@ -30,6 +31,7 @@ export const getRuntimeConfig = (config: SecretsManagerClientConfig) => { }, ], logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? new SmithyRpcV2CborProtocol(), serviceId: config?.serviceId ?? "Secrets Manager", urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, diff --git a/clients/client-secrets-manager/src/schemas/com.amazonaws.secretsmanager.ts b/clients/client-secrets-manager/src/schemas/com.amazonaws.secretsmanager.ts new file mode 100644 index 000000000000..dc0b37b29506 --- /dev/null +++ b/clients/client-secrets-manager/src/schemas/com.amazonaws.secretsmanager.ts @@ -0,0 +1,936 @@ +const _BGSV = "BatchGetSecretValue"; +const _BGSVR = "BatchGetSecretValueResponse"; +const _CD = "CreatedDate"; +const _CDT = "CreatedDateType"; +const _CRS = "CancelRotateSecret"; +const _CRT = "ClientRequestToken"; +const _CS = "CreateSecret"; +const _CSR = "CreateSecretRequest"; +const _CSRr = "CreateSecretResponse"; +const _DD = "DeletionDate"; +const _DDT = "DeletionDateType"; +const _DDTe = "DeletedDateType"; +const _DDe = "DeletedDate"; +const _DF = "DecryptionFailure"; +const _DRP = "DeleteResourcePolicy"; +const _DS = "DeleteSecret"; +const _DSR = "DeleteSecretResponse"; +const _DSRe = "DescribeSecretResponse"; +const _DSe = "DescribeSecret"; +const _EF = "EncryptionFailure"; +const _GRP = "GetRandomPassword"; +const _GRPR = "GetRandomPasswordResponse"; +const _GRPe = "GetResourcePolicy"; +const _GSV = "GetSecretValue"; +const _GSVR = "GetSecretValueResponse"; +const _INTE = "InvalidNextTokenException"; +const _IPE = "InvalidParameterException"; +const _IRE = "InvalidRequestException"; +const _ISE = "InternalServiceError"; +const _LAD = "LastAccessedDate"; +const _LADT = "LastAccessedDateType"; +const _LCD = "LastChangedDate"; +const _LCDT = "LastChangedDateType"; +const _LEE = "LimitExceededException"; +const _LRD = "LastRotatedDate"; +const _LRDT = "LastRotatedDateType"; +const _LS = "ListSecrets"; +const _LSR = "ListSecretsResponse"; +const _LSVI = "ListSecretVersionIds"; +const _LSVIR = "ListSecretVersionIdsResponse"; +const _MPDE = "MalformedPolicyDocumentException"; +const _NRD = "NextRotationDate"; +const _NRDT = "NextRotationDateType"; +const _PNME = "PreconditionNotMetException"; +const _PPE = "PublicPolicyException"; +const _PRP = "PutResourcePolicy"; +const _PSV = "PutSecretValue"; +const _PSVR = "PutSecretValueRequest"; +const _REE = "ResourceExistsException"; +const _RNFE = "ResourceNotFoundException"; +const _RP = "RandomPassword"; +const _RPT = "RandomPasswordType"; +const _RRFR = "RemoveRegionsFromReplication"; +const _RRFRR = "RemoveRegionsFromReplicationResponse"; +const _RS = "ReplicationStatus"; +const _RSLT = "ReplicationStatusListType"; +const _RSR = "RotateSecretRequest"; +const _RST = "ReplicationStatusType"; +const _RSTR = "ReplicateSecretToRegions"; +const _RSTRR = "ReplicateSecretToRegionsResponse"; +const _RSe = "RestoreSecret"; +const _RSo = "RotateSecret"; +const _RT = "RotationToken"; +const _RTT = "RotationTokenType"; +const _SB = "SecretBinary"; +const _SBT = "SecretBinaryType"; +const _SL = "SecretList"; +const _SLE = "SecretListEntry"; +const _SLT = "SecretListType"; +const _SRTR = "StopReplicationToReplica"; +const _SS = "SecretString"; +const _SST = "SecretStringType"; +const _SV = "SecretValues"; +const _SVE = "SecretValueEntry"; +const _SVLE = "SecretVersionsListEntry"; +const _SVLT = "SecretVersionsListType"; +const _SVT = "SecretValuesType"; +const _TR = "TagResource"; +const _TT = "TimestampType"; +const _UR = "UntagResource"; +const _US = "UpdateSecret"; +const _USR = "UpdateSecretRequest"; +const _USVS = "UpdateSecretVersionStage"; +const _V = "Versions"; +const _VRP = "ValidateResourcePolicy"; +const _c = "client"; +const _e = "error"; +const _iT = "idempotencyToken"; +const _s = "server"; + +// smithy-typescript generated code +import { error as __error, list as __list, op as __op, struct as __struct, TypeRegistry } from "@smithy/core/schema"; + +import { + DecryptionFailure as __DecryptionFailure, + EncryptionFailure as __EncryptionFailure, + InternalServiceError as __InternalServiceError, + InvalidNextTokenException as __InvalidNextTokenException, + InvalidParameterException as __InvalidParameterException, + InvalidRequestException as __InvalidRequestException, + LimitExceededException as __LimitExceededException, + MalformedPolicyDocumentException as __MalformedPolicyDocumentException, + PreconditionNotMetException as __PreconditionNotMetException, + PublicPolicyException as __PublicPolicyException, + ResourceExistsException as __ResourceExistsException, + ResourceNotFoundException as __ResourceNotFoundException, +} from "../models/index"; +import { Unit } from "./smithy.api"; + +/* eslint no-var: 0 */ + +export const com_amazonaws_secretsmanagerRegistry = TypeRegistry.for("com.amazonaws.secretsmanager"); +com_amazonaws_secretsmanagerRegistry.startCapture(); +export var APIErrorType: undefined; + +export var BatchGetSecretValueRequest: undefined; + +export var BatchGetSecretValueResponse = __struct( + _BGSVR, + { + // output + }, + { + [_SV]: [ + () => SecretValuesType, + { + // documentation + }, + ], + } +); +export var CancelRotateSecretRequest: undefined; + +export var CancelRotateSecretResponse: undefined; + +export var CreateSecretRequest = __struct( + _CSR, + { + // input + }, + { + [_CRT]: [ + , + { + // documentation + [_iT]: 1, + }, + ], + [_SB]: [ + () => "blob", + { + // documentation + }, + ], + [_SS]: [ + , + { + // documentation + }, + ], + } +); +export var CreateSecretResponse = __struct( + _CSRr, + { + // output + }, + { + [_RS]: [ + () => ReplicationStatusListType, + { + // documentation + }, + ], + } +); +export var DecryptionFailure = __error( + _DF, + { + // documentation + [_e]: _c, + }, + {}, + + __DecryptionFailure +); +export var DeleteResourcePolicyRequest: undefined; + +export var DeleteResourcePolicyResponse: undefined; + +export var DeleteSecretRequest: undefined; + +export var DeleteSecretResponse = __struct( + _DSR, + { + // output + }, + { + [_DD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var DescribeSecretRequest: undefined; + +export var DescribeSecretResponse = __struct( + _DSRe, + { + // output + }, + { + [_LRD]: [ + () => "time", + { + // documentation + }, + ], + [_LCD]: [ + () => "time", + { + // documentation + }, + ], + [_LAD]: [ + () => "time", + { + // documentation + }, + ], + [_DDe]: [ + () => "time", + { + // documentation + }, + ], + [_NRD]: [ + () => "time", + { + // documentation + }, + ], + [_CD]: [ + () => "time", + { + // documentation + }, + ], + [_RS]: [ + () => ReplicationStatusListType, + { + // documentation + }, + ], + } +); +export var EncryptionFailure = __error( + _EF, + { + // documentation + [_e]: _c, + }, + {}, + + __EncryptionFailure +); +export var Filter: undefined; + +export var GetRandomPasswordRequest: undefined; + +export var GetRandomPasswordResponse = __struct( + _GRPR, + { + // output + }, + { + [_RP]: [ + , + { + // documentation + }, + ], + } +); +export var GetResourcePolicyRequest: undefined; + +export var GetResourcePolicyResponse: undefined; + +export var GetSecretValueRequest: undefined; + +export var GetSecretValueResponse = __struct( + _GSVR, + { + // output + }, + { + [_SB]: [ + () => "blob", + { + // documentation + }, + ], + [_SS]: [ + , + { + // documentation + }, + ], + [_CD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var InternalServiceError = __error( + _ISE, + { + // documentation + [_e]: _s, + }, + {}, + + __InternalServiceError +); +export var InvalidNextTokenException = __error( + _INTE, + { + // documentation + [_e]: _c, + }, + {}, + + __InvalidNextTokenException +); +export var InvalidParameterException = __error( + _IPE, + { + // documentation + [_e]: _c, + }, + {}, + + __InvalidParameterException +); +export var InvalidRequestException = __error( + _IRE, + { + // documentation + [_e]: _c, + }, + {}, + + __InvalidRequestException +); +export var LimitExceededException = __error( + _LEE, + { + // documentation + [_e]: _c, + }, + {}, + + __LimitExceededException +); +export var ListSecretsRequest: undefined; + +export var ListSecretsResponse = __struct( + _LSR, + { + // output + }, + { + [_SL]: [ + () => SecretListType, + { + // documentation + }, + ], + } +); +export var ListSecretVersionIdsRequest: undefined; + +export var ListSecretVersionIdsResponse = __struct( + _LSVIR, + { + // output + }, + { + [_V]: [ + () => SecretVersionsListType, + { + // documentation + }, + ], + } +); +export var MalformedPolicyDocumentException = __error( + _MPDE, + { + // documentation + [_e]: _c, + }, + {}, + + __MalformedPolicyDocumentException +); +export var PreconditionNotMetException = __error( + _PNME, + { + // documentation + [_e]: _c, + }, + {}, + + __PreconditionNotMetException +); +export var PublicPolicyException = __error( + _PPE, + { + // documentation + [_e]: _c, + }, + {}, + + __PublicPolicyException +); +export var PutResourcePolicyRequest: undefined; + +export var PutResourcePolicyResponse: undefined; + +export var PutSecretValueRequest = __struct( + _PSVR, + { + // input + }, + { + [_CRT]: [ + , + { + // documentation + [_iT]: 1, + }, + ], + [_SB]: [ + () => "blob", + { + // documentation + }, + ], + [_SS]: [ + , + { + // documentation + }, + ], + [_RT]: [ + , + { + // documentation + }, + ], + } +); +export var PutSecretValueResponse: undefined; + +export var RemoveRegionsFromReplicationRequest: undefined; + +export var RemoveRegionsFromReplicationResponse = __struct( + _RRFRR, + { + // output + }, + { + [_RS]: [ + () => ReplicationStatusListType, + { + // documentation + }, + ], + } +); +export var ReplicaRegionType: undefined; + +export var ReplicateSecretToRegionsRequest: undefined; + +export var ReplicateSecretToRegionsResponse = __struct( + _RSTRR, + { + // output + }, + { + [_RS]: [ + () => ReplicationStatusListType, + { + // documentation + }, + ], + } +); +export var ReplicationStatusType = __struct( + _RST, + { + // documentation + }, + { + [_LAD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var ResourceExistsException = __error( + _REE, + { + // documentation + [_e]: _c, + }, + {}, + + __ResourceExistsException +); +export var ResourceNotFoundException = __error( + _RNFE, + { + // documentation + [_e]: _c, + }, + {}, + + __ResourceNotFoundException +); +export var RestoreSecretRequest: undefined; + +export var RestoreSecretResponse: undefined; + +export var RotateSecretRequest = __struct( + _RSR, + { + // input + }, + { + [_CRT]: [ + , + { + // documentation + [_iT]: 1, + }, + ], + } +); +export var RotateSecretResponse: undefined; + +export var RotationRulesType: undefined; + +export var SecretListEntry = __struct( + _SLE, + { + // documentation + }, + { + [_LRD]: [ + () => "time", + { + // documentation + }, + ], + [_LCD]: [ + () => "time", + { + // documentation + }, + ], + [_LAD]: [ + () => "time", + { + // documentation + }, + ], + [_DDe]: [ + () => "time", + { + // documentation + }, + ], + [_NRD]: [ + () => "time", + { + // documentation + }, + ], + [_CD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var SecretValueEntry = __struct( + _SVE, + { + // documentation + }, + { + [_SB]: [ + () => "blob", + { + // documentation + }, + ], + [_SS]: [ + , + { + // documentation + }, + ], + [_CD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var SecretVersionsListEntry = __struct( + _SVLE, + { + // documentation + }, + { + [_LAD]: [ + () => "time", + { + // documentation + }, + ], + [_CD]: [ + () => "time", + { + // documentation + }, + ], + } +); +export var StopReplicationToReplicaRequest: undefined; + +export var StopReplicationToReplicaResponse: undefined; + +export var Tag: undefined; + +export var TagResourceRequest: undefined; + +export var UntagResourceRequest: undefined; + +export var UpdateSecretRequest = __struct( + _USR, + { + // input + }, + { + [_CRT]: [ + , + { + // documentation + [_iT]: 1, + }, + ], + [_SB]: [ + () => "blob", + { + // documentation + }, + ], + [_SS]: [ + , + { + // documentation + }, + ], + } +); +export var UpdateSecretResponse: undefined; + +export var UpdateSecretVersionStageRequest: undefined; + +export var UpdateSecretVersionStageResponse: undefined; + +export var ValidateResourcePolicyRequest: undefined; + +export var ValidateResourcePolicyResponse: undefined; + +export var ValidationErrorsEntry: undefined; + +export var AddReplicaRegionListType: undefined; + +export var APIErrorListType: undefined; + +export var FiltersListType: undefined; + +export var FilterValuesStringList: undefined; + +export var KmsKeyIdListType: undefined; + +export var RemoveReplicaRegionListType: undefined; + +export var ReplicationStatusListType = __list(_RSLT, {}, () => ReplicationStatusType); +export var SecretIdListType: undefined; + +export var SecretListType = __list(_SLT, {}, () => SecretListEntry); +export var SecretValuesType = __list(_SVT, {}, () => SecretValueEntry); +export var SecretVersionsListType = __list(_SVLT, {}, () => SecretVersionsListEntry); +export var SecretVersionStagesType: undefined; + +export var TagKeyListType: undefined; + +export var TagListType: undefined; + +export var ValidationErrorsType: undefined; + +export var SecretVersionsToStagesMapType: undefined; + +export var BatchGetSecretValue = __op( + _BGSV, + { + // examples + // documentation + // paginated + }, + () => BatchGetSecretValueRequest, + () => BatchGetSecretValueResponse +); +export var CancelRotateSecret = __op( + _CRS, + { + // examples + // documentation + }, + () => CancelRotateSecretRequest, + () => CancelRotateSecretResponse +); +export var CreateSecret = __op( + _CS, + { + // examples + // documentation + }, + () => CreateSecretRequest, + () => CreateSecretResponse +); +export var DeleteResourcePolicy = __op( + _DRP, + { + // examples + // documentation + }, + () => DeleteResourcePolicyRequest, + () => DeleteResourcePolicyResponse +); +export var DeleteSecret = __op( + _DS, + { + // documentation + }, + () => DeleteSecretRequest, + () => DeleteSecretResponse +); +export var DescribeSecret = __op( + _DSe, + { + // documentation + // smokeTests + }, + () => DescribeSecretRequest, + () => DescribeSecretResponse +); +export var GetRandomPassword = __op( + _GRP, + { + // examples + // documentation + }, + () => GetRandomPasswordRequest, + () => GetRandomPasswordResponse +); +export var GetResourcePolicy = __op( + _GRPe, + { + // examples + // documentation + }, + () => GetResourcePolicyRequest, + () => GetResourcePolicyResponse +); +export var GetSecretValue = __op( + _GSV, + { + // examples + // documentation + }, + () => GetSecretValueRequest, + () => GetSecretValueResponse +); +export var ListSecrets = __op( + _LS, + { + // examples + // smokeTests + // documentation + // paginated + }, + () => ListSecretsRequest, + () => ListSecretsResponse +); +export var ListSecretVersionIds = __op( + _LSVI, + { + // examples + // documentation + // paginated + }, + () => ListSecretVersionIdsRequest, + () => ListSecretVersionIdsResponse +); +export var PutResourcePolicy = __op( + _PRP, + { + // examples + // documentation + }, + () => PutResourcePolicyRequest, + () => PutResourcePolicyResponse +); +export var PutSecretValue = __op( + _PSV, + { + // examples + // documentation + }, + () => PutSecretValueRequest, + () => PutSecretValueResponse +); +export var RemoveRegionsFromReplication = __op( + _RRFR, + { + // documentation + }, + () => RemoveRegionsFromReplicationRequest, + () => RemoveRegionsFromReplicationResponse +); +export var ReplicateSecretToRegions = __op( + _RSTR, + { + // examples + // documentation + }, + () => ReplicateSecretToRegionsRequest, + () => ReplicateSecretToRegionsResponse +); +export var RestoreSecret = __op( + _RSe, + { + // examples + // documentation + }, + () => RestoreSecretRequest, + () => RestoreSecretResponse +); +export var RotateSecret = __op( + _RSo, + { + // examples + // documentation + }, + () => RotateSecretRequest, + () => RotateSecretResponse +); +export var StopReplicationToReplica = __op( + _SRTR, + { + // documentation + }, + () => StopReplicationToReplicaRequest, + () => StopReplicationToReplicaResponse +); +export var TagResource = __op( + _TR, + { + // examples + // documentation + }, + () => TagResourceRequest, + () => Unit +); +export var UntagResource = __op( + _UR, + { + // examples + // documentation + }, + () => UntagResourceRequest, + () => Unit +); +export var UpdateSecret = __op( + _US, + { + // examples + // documentation + }, + () => UpdateSecretRequest, + () => UpdateSecretResponse +); +export var UpdateSecretVersionStage = __op( + _USVS, + { + // examples + // documentation + }, + () => UpdateSecretVersionStageRequest, + () => UpdateSecretVersionStageResponse +); +export var ValidateResourcePolicy = __op( + _VRP, + { + // examples + // documentation + }, + () => ValidateResourcePolicyRequest, + () => ValidateResourcePolicyResponse +); +com_amazonaws_secretsmanagerRegistry.stopCapture(); diff --git a/clients/client-secrets-manager/src/schemas/index.ts b/clients/client-secrets-manager/src/schemas/index.ts new file mode 100644 index 000000000000..73b1eac25bc3 --- /dev/null +++ b/clients/client-secrets-manager/src/schemas/index.ts @@ -0,0 +1,4 @@ +export * from "./com.amazonaws.secretsmanager"; + +// smithy-typescript generated code +export * from "./smithy.api"; diff --git a/clients/client-secrets-manager/src/schemas/smithy.api.ts b/clients/client-secrets-manager/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..0bbca91b5138 --- /dev/null +++ b/clients/client-secrets-manager/src/schemas/smithy.api.ts @@ -0,0 +1,10 @@ +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit"; + +smithy_apiRegistry.stopCapture(); diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index d280cad1906d..f660be9d7ea5 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -3613,7 +3613,7 @@ "aws.auth#sigv4": { "name": "secretsmanager" }, - "aws.protocols#awsJson1_1": {}, + "smithy.protocols#rpcv2Cbor": {}, "smithy.api#documentation": "Amazon Web Services Secrets Manager\n

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

\n

This guide provides descriptions of the Secrets Manager API. For more information about using this\n service, see the Amazon Web Services Secrets Manager User Guide.

\n

\n API Version\n

\n

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

\n

For a list of endpoints, see Amazon Web Services Secrets Manager \n endpoints.

\n

\n Support and Feedback for Amazon Web Services Secrets Manager\n

\n

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more\n information about the Amazon Web Services Discussion Forums, see Forums\n Help.

\n

\n Logging API Requests\n

\n

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services\n account and delivers log files to an Amazon S3 bucket. By using information that's collected\n by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the\n request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services\n CloudTrail, see Logging\n Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide.\n To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

", "smithy.api#title": "AWS Secrets Manager", "smithy.rules#endpointRuleSet": { diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddProtocolConfig.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddProtocolConfig.java new file mode 100644 index 000000000000..60ee3e14a8ee --- /dev/null +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddProtocolConfig.java @@ -0,0 +1,86 @@ +/* + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + +package software.amazon.smithy.aws.typescript.codegen; + +import java.util.Collections; +import java.util.Map; +import java.util.Objects; +import java.util.function.Consumer; +import software.amazon.smithy.aws.traits.protocols.RestXmlTrait; +import software.amazon.smithy.codegen.core.SymbolProvider; +import software.amazon.smithy.model.Model; +import software.amazon.smithy.model.traits.XmlNamespaceTrait; +import software.amazon.smithy.typescript.codegen.LanguageTarget; +import software.amazon.smithy.typescript.codegen.TypeScriptSettings; +import software.amazon.smithy.typescript.codegen.TypeScriptWriter; +import software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration; +import software.amazon.smithy.typescript.codegen.schema.SchemaGenerationAllowlist; +import software.amazon.smithy.utils.MapUtils; +import software.amazon.smithy.utils.SmithyInternalApi; + + +/** + * Adds a protocol implementation to the runtime config. + */ +@SmithyInternalApi +public final class AddProtocolConfig implements TypeScriptIntegration { + + public AddProtocolConfig() { + SchemaGenerationAllowlist.allow("aws.protocoltests.restxml#RestXml"); + SchemaGenerationAllowlist.allow("com.amazonaws.s3#AmazonS3"); + SchemaGenerationAllowlist.allow("com.amazonaws.dynamodb#DynamoDB_20120810"); + SchemaGenerationAllowlist.allow("com.amazonaws.lambda#AWSGirApiService"); + // SchemaGenerationAllowlist.allow("aws.protocoltests.restjson#RestJson"); + // SchemaGenerationAllowlist.allow("aws.protocoltests.json#JsonProtocol"); + } + + @Override + public void addConfigInterfaceFields( + TypeScriptSettings settings, + Model model, + SymbolProvider symbolProvider, + TypeScriptWriter writer + ) { + // the {{ protocol?: Protocol }} type field is provided + // by the smithy client config interface. + } + + @Override + public Map> getRuntimeConfigWriters( + TypeScriptSettings settings, + Model model, + SymbolProvider symbolProvider, + LanguageTarget target + ) { + if (!SchemaGenerationAllowlist.contains(settings.getService())) { + return Collections.emptyMap(); + } + switch (target) { + case SHARED: + if (Objects.equals(settings.getProtocol(), RestXmlTrait.ID)) { + return MapUtils.of( + "protocol", writer -> { + writer.addImportSubmodule( + "AwsRestXmlProtocol", null, + AwsDependency.AWS_SDK_CORE, "/protocols"); + writer.write("new AwsRestXmlProtocol($S, $S)", + settings.getService(model) + .getTrait(XmlNamespaceTrait.class) + .map(XmlNamespaceTrait::getUri) + .orElse(""), + settings.getService(model) + .getId().getNamespace() + ); + } + ); + } + case BROWSER: + case NODE: + default: + return Collections.emptyMap(); + } + } +} diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/META-INF/services/software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration b/codegen/smithy-aws-typescript-codegen/src/main/resources/META-INF/services/software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration index bbd08fcd1b31..31d534c686dc 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/META-INF/services/software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/META-INF/services/software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration @@ -13,6 +13,7 @@ software.amazon.smithy.aws.typescript.codegen.AwsServiceIdIntegration software.amazon.smithy.aws.typescript.codegen.AwsPackageFixturesGeneratorIntegration software.amazon.smithy.aws.typescript.codegen.AddSqsDependency software.amazon.smithy.aws.typescript.codegen.AddBodyChecksumGeneratorDependency +software.amazon.smithy.aws.typescript.codegen.AddProtocolConfig software.amazon.smithy.aws.typescript.codegen.AddS3Config software.amazon.smithy.aws.typescript.codegen.AddS3ControlDependency software.amazon.smithy.aws.typescript.codegen.AddEventStreamHandlingDependency diff --git a/packages/core/package.json b/packages/core/package.json index 8835d360ecc1..1f9813f97fa3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -82,6 +82,7 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "*", + "@aws-sdk/xml-builder": "*", "@smithy/core": "^3.1.5", "@smithy/node-config-provider": "^4.0.1", "@smithy/property-provider": "^4.0.1", @@ -90,6 +91,7 @@ "@smithy/smithy-client": "^4.1.6", "@smithy/types": "^4.1.0", "@smithy/util-middleware": "^4.0.1", + "@smithy/util-utf8": "^4.0.0", "fast-xml-parser": "4.4.1", "tslib": "^2.6.2" }, diff --git a/packages/core/src/submodules/protocols/index.ts b/packages/core/src/submodules/protocols/index.ts index 09a6ac214ca0..9ef9046fd88a 100644 --- a/packages/core/src/submodules/protocols/index.ts +++ b/packages/core/src/submodules/protocols/index.ts @@ -1,4 +1,8 @@ export * from "./coercing-serializers"; export * from "./json/awsExpectUnion"; export * from "./json/parseJsonBody"; +export * from "./xml/AwsRestXmlProtocol"; +export * from "./xml/XmlCodec"; +export * from "./xml/XmlShapeDeserializer"; +export * from "./xml/XmlShapeSerializer"; export * from "./xml/parseXmlBody"; diff --git a/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.integ.spec.ts b/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.integ.spec.ts new file mode 100644 index 000000000000..85ea0558712e --- /dev/null +++ b/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.integ.spec.ts @@ -0,0 +1,93 @@ +import { DeleteObjectsCommand } from "@aws-sdk/client-s3"; +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; +import { HttpRequest } from "@smithy/protocol-http"; +import { toUtf8 } from "@smithy/util-utf8"; +import { describe, expect, test as it } from "vitest"; + +import { parseXmlBody } from "./parseXmlBody"; + +describe(AwsRestXmlProtocol.name, () => { + const command = new DeleteObjectsCommand({} as any); + + describe("serialization", () => { + const testCases = [ + { + name: "DeleteObjects", + schema: command.schema?.input, + input: { + Delete: { + Objects: [ + { + Key: "key1", + }, + { + Key: "key2", + }, + ], + }, + }, + expected: { + request: { + path: "/{Bucket}", + method: "POST", + headers: {}, + }, + body: ` + + + + + key1 + + + key2 + + + +`, + }, + }, + ]; + + for (const testCase of testCases) { + it(`should serialize HTTP Requests: ${testCase.name}`, async () => { + const protocol = new AwsRestXmlProtocol(); + const httpRequest = await protocol.serializeRequest(command.schema, testCase.input, { + endpointV2: { + url: new URL("https://example.com/"), + }, + }); + + const body = httpRequest.body; + httpRequest.body = void 0; + + expect(httpRequest).toEqual( + new HttpRequest({ + protocol: "https:", + hostname: "example.com", + ...testCase.expected.request, + headers: { + ...testCase.expected.request.headers, + }, + }) + ); + + const serdeContext = { + utf8Encoder: toUtf8, + } as any; + + expect(await parseXmlBody(Buffer.from(body), serdeContext)).toEqual( + await parseXmlBody(Buffer.from(testCase.expected.body), serdeContext) + ); + }); + } + }); + + describe("deserialization", () => { + const testCases = [{ name: "" }]; + + for (const testCase of testCases) { + it(`should deserialize HTTP Responses: ${testCase.name}`, async () => {}); + } + }); +}); diff --git a/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.ts b/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.ts new file mode 100644 index 000000000000..d0ee05afea01 --- /dev/null +++ b/packages/core/src/submodules/protocols/xml/AwsRestXmlProtocol.ts @@ -0,0 +1,128 @@ +import { + HttpInterceptingShapeDeserializer, + HttpInterceptingShapeSerializer, + HttpProtocol, +} from "@smithy/core/protocols"; +import { ErrorSchema, NormalizedSchema, OperationSchema, TypeRegistry } from "@smithy/core/schema"; +import { parseRfc7231DateTime } from "@smithy/core/serde"; +import type { + Codec, + HandlerExecutionContext, + HttpRequest as IHttpRequest, + HttpResponse as IHttpResponse, + MetadataBearer, + ResponseMetadata, + ShapeDeserializer, + ShapeSerializer, + StructureSchema, +} from "@smithy/types"; + +import { loadRestXmlErrorCode } from "./parseXmlBody"; +import { XmlCodec } from "./XmlCodec"; + +export class AwsRestXmlProtocol extends HttpProtocol { + private codec: Codec; + protected serializer: ShapeSerializer; + protected deserializer: ShapeDeserializer; + + public constructor(public readonly xmlNamespace: string, public readonly serviceNamespace: string) { + super(); + this.codec = new XmlCodec(this.xmlNamespace, this.serviceNamespace); + this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer()); + this.deserializer = new HttpInterceptingShapeDeserializer( + this.codec.createDeserializer(), + TypeRegistry.for(serviceNamespace), + parseRfc7231DateTime as (time: string) => Date + ); + } + + public getShapeId(): string { + return "aws.protocols#restXml"; + } + + public async serializeRequest( + operationSchema: OperationSchema, + input: Input, + context: HandlerExecutionContext + ): Promise { + const request = await super.serializeRequest(operationSchema, input, context); + const ns = NormalizedSchema.of(operationSchema.input); + + request.path = String(request.path) + .split("/") + .filter((segment) => { + // for legacy reasons, + // Bucket is in the http trait but is handled by endpoints ruleset. + return segment !== "{Bucket}"; + }) + .join("/"); + + const schema = ns.getSchema() as StructureSchema; + const hasXmlPayload = Object.values(schema?.members).find(([ref, traits]) => { + const isPayload = !!traits.httpPayload; + const isStreaming = NormalizedSchema.of([ref, traits]).isStreaming(); + return isPayload && !isStreaming; + }); + + for (const memberName of Object.keys(input ?? {})) { + const memberNs = ns.getMemberSchema(memberName); + if (memberNs === undefined) { + continue; + } + const memberTraits = memberNs.getMemberTraits(); + if (memberTraits.httpLabel) { + request.path = request.path.replace( + new RegExp(`\\{${memberName}\\+?\\}`), + input[memberName as keyof typeof input] as string + ); + } + } + + if (hasXmlPayload) { + request.headers["content-type"] = "application/xml"; + request.body = '' + request.body; + } + + return request; + } + + public async deserializeResponse( + operationSchema: OperationSchema, + context: HandlerExecutionContext, + response: IHttpResponse + ): Promise { + return super.deserializeResponse(operationSchema, context, response); + } + + protected async handleError( + operationSchema: OperationSchema, + context: HandlerExecutionContext, + response: IHttpResponse, + dataObject: any, + metadata: ResponseMetadata + ): Promise { + const error = loadRestXmlErrorCode(response, dataObject) ?? "Unknown"; + + const registry = TypeRegistry.schemaToRegistry.get(operationSchema); + if (!registry) { + // TODO(schema) throw client base exception using the dataObject. + throw new Error("registry not found for " + error); + } + const errorSchema: ErrorSchema = registry.getSchema(error) as ErrorSchema; + + if (!errorSchema) { + // TODO(schema) throw client base exception using the dataObject. + throw new Error("schema not found for " + error); + } + const message = dataObject.message ?? dataObject.Message ?? "Unknown"; + const exception = new errorSchema.ctor(message); + Object.assign(exception, { + $metadata: metadata, + $response: response, + message, + ...dataObject, + }); + + throw exception; + } +} diff --git a/packages/core/src/submodules/protocols/xml/XmlCodec.ts b/packages/core/src/submodules/protocols/xml/XmlCodec.ts new file mode 100644 index 000000000000..dc2501013687 --- /dev/null +++ b/packages/core/src/submodules/protocols/xml/XmlCodec.ts @@ -0,0 +1,25 @@ +import { Codec, SerdeContext, ShapeDeserializer, ShapeSerializer } from "@smithy/types"; + +import { XmlShapeDeserializer } from "./XmlShapeDeserializer"; +import { XmlShapeSerializer } from "./XmlShapeSerializer"; + +export class XmlCodec implements Codec { + private serdeContext?: SerdeContext; + + public constructor(public readonly xmlNamespace: string, public readonly serviceNamespace: string) {} + + public createSerializer(): ShapeSerializer { + const serializer = new XmlShapeSerializer(this.xmlNamespace); + serializer.setSerdeContext(this.serdeContext!); + return serializer; + } + public createDeserializer(): ShapeDeserializer { + const deserializer = new XmlShapeDeserializer(this.serviceNamespace); + deserializer.setSerdeContext(this.serdeContext!); + return deserializer; + } + + public setSerdeContext(serdeContext: SerdeContext): void { + this.serdeContext = serdeContext; + } +} diff --git a/packages/core/src/submodules/protocols/xml/XmlShapeDeserializer.ts b/packages/core/src/submodules/protocols/xml/XmlShapeDeserializer.ts new file mode 100644 index 000000000000..8c1249c6090b --- /dev/null +++ b/packages/core/src/submodules/protocols/xml/XmlShapeDeserializer.ts @@ -0,0 +1,154 @@ +import { FromStringShapeDeserializer } from "@smithy/core/protocols"; +import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema"; +import { parseRfc3339DateTime } from "@smithy/core/serde"; +import { getValueFromTextNode } from "@smithy/smithy-client"; +import type { Schema, SerdeContext, ShapeDeserializer } from "@smithy/types"; +import { toUtf8 } from "@smithy/util-utf8"; +import { XMLParser } from "fast-xml-parser"; + +export class XmlShapeDeserializer implements ShapeDeserializer { + private registry: TypeRegistry; + private stringDeserializer: FromStringShapeDeserializer; + private serdeContext?: SerdeContext; + + public constructor(private serviceNamespace: string) { + this.registry = TypeRegistry.for(serviceNamespace); + this.stringDeserializer = new FromStringShapeDeserializer(this.registry, (value) => parseRfc3339DateTime(value)!); + } + + public setSerdeContext(serdeContext: SerdeContext): void { + this.serdeContext = serdeContext; + this.stringDeserializer.setSerdeContext(serdeContext); + } + + public read(schema: Schema, bytes: Uint8Array | string): any { + const ns = NormalizedSchema.of(schema); + const memberSchemas = ns.getMemberSchemas(); + const isEventPayload = + ns.isStructSchema() && + ns.isMemberSchema() && + !!Object.values(memberSchemas).find((memberNs) => { + return !!memberNs.getMemberTraits().eventPayload; + }); + + if (isEventPayload) { + const output = {} as any; + const memberName = Object.keys(memberSchemas)[0]; + const eventMemberSchema = memberSchemas[memberName]; + if (eventMemberSchema.isBlobSchema()) { + output[memberName] = bytes; + } else { + output[memberName] = this.read(memberSchemas[memberName], bytes); + } + return output; + } + + const xmlString = toUtf8(bytes); + const parsedObject = this.parseXml(xmlString); + return this.readSchema(schema, parsedObject); + } + + private readSchema(_schema: Schema, value: any): any { + const ns = NormalizedSchema.of(_schema); + const traits = ns.getMergedTraits(); + const schema = ns.getSchema(); + + if (ns.isListSchema() && !Array.isArray(value)) { + // single item in what should have been a list. + return this.readSchema(schema, [value]); + } + + if (value == null) { + return value; + } + if (typeof value === "object") { + const sparse = !!traits.sparse; + if (Array.isArray(value)) { + // list + const memberNs = ns.getValueSchema(); + const buffer = [] as any[]; + for (const v of value) { + if (v != null || sparse) { + buffer.push(this.readSchema(memberNs.getSchema(), v)); + } + } + return buffer; + } + const buffer = {} as any; + if (ns.isMapSchema()) { + // map + const memberNs = ns.getValueSchema(); + for (const key of Object.keys(value)) { + if (value[key] != null || sparse) { + buffer[key] = this.readSchema(memberNs.getSchema(), value[key]); + } + } + } else { + // struct + const xmlNameToMemberName = {} as Record; + if (ns.isStructSchema()) { + for (const [member, memberSchema] of Object.entries(ns.getMemberSchemas())) { + const memberTraits = memberSchema.getMergedTraits(); + if (memberTraits.xmlName) { + xmlNameToMemberName[memberTraits.xmlName] = member; + } + } + } + + for (const key of Object.keys(value)) { + const assignToKey = xmlNameToMemberName[key] ?? key; + const memberNs = ns.getMemberSchema(assignToKey); + if (memberNs === undefined) { + continue; + } + + if (value[key] != null) { + buffer[assignToKey] = this.readSchema(memberNs, value[key]); + } + } + } + return buffer; + } else { + // simple + return this.stringDeserializer.read(ns, value as string); + } + } + + private parseXml(xml: string): any { + if (xml.length) { + const parser = new XMLParser({ + attributeNamePrefix: "", + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_: any, val: any) => (val.trim() === "" && val.includes("\n") ? "" : undefined), + }); + parser.addEntity("#xD", "\r"); + parser.addEntity("#10", "\n"); + + let parsedObj; + try { + parsedObj = parser.parse(xml, true); + } catch (e: any) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: xml, + }); + } + throw e; + } + + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return getValueFromTextNode(parsedObjToReturn); + } + return {}; + } +} diff --git a/packages/core/src/submodules/protocols/xml/XmlShapeSerializer.ts b/packages/core/src/submodules/protocols/xml/XmlShapeSerializer.ts new file mode 100644 index 000000000000..f160bcbea750 --- /dev/null +++ b/packages/core/src/submodules/protocols/xml/XmlShapeSerializer.ts @@ -0,0 +1,150 @@ +import { XmlNode, XmlText } from "@aws-sdk/xml-builder"; +import { NormalizedSchema } from "@smithy/core/schema"; +import { dateToUtcString } from "@smithy/smithy-client"; +import type { Schema as ISchema, SerdeContext, ShapeSerializer } from "@smithy/types"; + +export class XmlShapeSerializer implements ShapeSerializer { + private buffer?: XmlNode; + private serdeContext?: SerdeContext; + + public constructor(public readonly xmlNamespace: string, public readonly timestampFormat: string = "time") {} + + public setSerdeContext(serdeContext: SerdeContext) { + this.serdeContext = serdeContext; + } + + public write(schema: ISchema, value: unknown): void { + const node = this._write(schema, value) as XmlNode; + this.buffer = node; + } + + public flush(): string { + const buffer = this.buffer!; + if (this.xmlNamespace) { + buffer.addAttribute("xmlns", this.xmlNamespace); + } + return buffer.toString(); + } + + private _write(_schema: ISchema, value: unknown): XmlNode | string { + if (null === value) { + throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value."); + } + const ns = NormalizedSchema.of(_schema); + + if (typeof value === "object") { + if (value instanceof Date) { + return dateToUtcString(value); + } + return this.writeStructOrMap(ns, value); + } + + if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { + return String(value); + } + + const schema = ns.getSchema(); + throw new Error(`Unhandled schema-value pair ${schema?.constructor?.name} ${value}`); + } + + private writeStructOrMap(ns: NormalizedSchema, value: unknown): XmlNode { + const traits = ns.getMergedTraits(); + const name = traits.xmlName ?? ns.getName() ?? "Unknown"; + const node = XmlNode.of(name); + const sparse = !!traits.sparse; + + if (ns.isMapSchema()) { + this.writeMap(ns, value as Record, node); + } else { + for (const [key, val] of Object.entries(value as object)) { + const memberSchema = ns.getMemberSchema(key); + if (memberSchema === undefined) { + continue; + } + const memberSchemaTraits = memberSchema.getMergedTraits(); + const itemName = memberSchemaTraits.xmlName ?? memberSchema.getName() ?? key ?? "UnknownItem"; + + if (sparse || val != null) { + if (Array.isArray(val)) { + this.writeList(memberSchema, val, node); + } else { + const contents = this._write(memberSchema.getSchema(), val); + this.writeChild(node, contents, itemName); + } + } + } + } + + return node; + } + + private writeMap(ns: NormalizedSchema, map: Record, container: XmlNode): void { + const mapTraits = ns.getMergedTraits(); + const memberSchema = ns.getValueSchema(); + const memberSchemaTraits = memberSchema.getMergedTraits(); + const itemName = mapTraits.xmlName ?? memberSchemaTraits.xmlName ?? memberSchema.getName() ?? "UnknownMapItem"; + const sparse = !!memberSchemaTraits.sparse; + const flat = !!mapTraits.xmlFlattened; + + for (const [key, val] of Object.entries(map as object)) { + if (sparse || val != null) { + const attachTo = flat ? container : XmlNode.of(itemName); + + const entry = XmlNode.of(flat ? itemName : "entry"); + entry.addChildNode(new XmlText(key)); + const valueNode = XmlNode.of("value"); + entry.addChildNode(valueNode); + if (Array.isArray(val)) { + this.writeList(memberSchema, val, valueNode); + } else { + const contents = this._write(memberSchema.getSchema(), val); + this.writeChild(valueNode, contents, itemName); + } + + attachTo.addChildNode(entry); + } + } + } + + private writeList(ns: NormalizedSchema, array: unknown[], container: XmlNode): void { + const listTraits = ns.getMergedTraits(); + const memberSchema = ns.getValueSchema(); + const memberSchemaTraits = memberSchema.getMergedTraits(); + const itemName = listTraits.xmlName ?? memberSchemaTraits.xmlName ?? memberSchema.getName() ?? "UnknownListItem"; + const sparse = !!memberSchemaTraits.sparse; + const flat = !!listTraits.xmlFlattened; + + if (flat) { + const nodes = [] as (string | XmlNode)[]; + for (const value of array) { + if (sparse || value != null) { + const item = this._write(memberSchema.getSchema(), value); + nodes.push(item); + } + } + this.writeChild(container, nodes, itemName); + } else { + const listNode = XmlNode.of(ns.getName() ?? listTraits.xmlName ?? "UnknownList"); + for (const value of array) { + if (sparse || value != null) { + const item = this._write(memberSchema.getSchema(), value); + this.writeChild(listNode, item, itemName); + } + } + container.addChildNode(listNode); + } + } + + private writeChild(parent: XmlNode, content: string | XmlNode | (string | XmlNode)[], itemName: string) { + if (Array.isArray(content)) { + content.forEach((c) => this.writeChild(parent, c, itemName)); + return; + } + if (typeof content === "string") { + parent.addChildNode(XmlNode.of(itemName, content)); + } else { + content.withName(itemName); + parent.addChildNode(content); + } + } +} diff --git a/packages/credential-providers/src/fromTemporaryCredentials.base.ts b/packages/credential-providers/src/fromTemporaryCredentials.base.ts index c379958e9b15..21ceb76664e0 100644 --- a/packages/credential-providers/src/fromTemporaryCredentials.base.ts +++ b/packages/credential-providers/src/fromTemporaryCredentials.base.ts @@ -21,13 +21,14 @@ const ASSUME_ROLE_DEFAULT_REGION = "us-east-1"; export const fromTemporaryCredentials = ( options: FromTemporaryCredentialsOptions, - credentialDefaultProvider?: () => AwsCredentialIdentityProvider + credentialDefaultProvider?: (init: { profile?: string; logger?: Logger }) => AwsCredentialIdentityProvider ): RuntimeConfigAwsCredentialIdentityProvider => { let stsClient: STSClient; return async (awsIdentityProperties: AwsIdentityProperties = {}): Promise => { const { callerClientConfig } = awsIdentityProperties; const logger = options.logger ?? callerClientConfig?.logger; logger?.debug("@aws-sdk/credential-providers - fromTemporaryCredentials (STS)"); + const profile = options.clientConfig?.profile ?? callerClientConfig?.profile; const params = { ...options.params, RoleSessionName: options.params.RoleSessionName ?? "aws-sdk-js-" + Date.now() }; if (params?.SerialNumber) { @@ -45,9 +46,15 @@ export const fromTemporaryCredentials = ( const { AssumeRoleCommand, STSClient } = await import("./loadSts"); + const credentialProviderInit = { + profile, + logger, + parentClientConfig: callerClientConfig, + }; + if (!stsClient) { const defaultCredentialsOrError = - typeof credentialDefaultProvider === "function" ? credentialDefaultProvider() : undefined; + typeof credentialDefaultProvider === "function" ? credentialDefaultProvider(credentialProviderInit) : undefined; const credentialSources = [ options.masterCredentials, @@ -58,7 +65,7 @@ export const fromTemporaryCredentials = ( * is the caller client's credential provider function. */ void callerClientConfig?.credentials, - callerClientConfig?.credentialDefaultProvider?.(), + callerClientConfig?.credentialDefaultProvider?.(credentialProviderInit), defaultCredentialsOrError, ]; let credentialSource = "STS client default credentials"; @@ -108,7 +115,7 @@ export const fromTemporaryCredentials = ( ...options.clientConfig, credentials: coalesce(credentialSources), logger, - profile: options.clientConfig?.profile ?? callerClientConfig?.profile, + profile, region: coalesce(regionSources), requestHandler: coalesce(requestHandlerSources), }); diff --git a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts index 0ceb2ef9b2aa..bbabac2fba33 100644 --- a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts +++ b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts @@ -22,6 +22,7 @@ import { resolveRegionConfig, } from "@smithy/config-resolver"; import { DefaultIdentityProviderConfig, getHttpAuthSchemePlugin, getHttpSigningPlugin } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { CompressionInputConfig, CompressionResolvedConfig, @@ -586,6 +587,7 @@ export class RestXmlProtocolClient extends __Client< const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); super(_config_8); this.config = _config_8; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/private/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts b/private/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts index 2d0c86fbb484..5d3cdb34f745 100644 --- a/private/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/AllQueryStringTypesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { AllQueryStringTypesInput } from "../models/models_0"; -import { de_AllQueryStringTypesCommand, se_AllQueryStringTypesCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { AllQueryStringTypes } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -102,13 +101,12 @@ export class AllQueryStringTypesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "AllQueryStringTypes", {}) .n("RestXmlProtocolClient", "AllQueryStringTypesCommand") .f(void 0, void 0) - .ser(se_AllQueryStringTypesCommand) - .de(de_AllQueryStringTypesCommand) + .sc(AllQueryStringTypes) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts index 16f8e97e0e7d..85fd56f78c82 100644 --- a/private/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/BodyWithXmlNameCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { BodyWithXmlNameInputOutput } from "../models/models_0"; -import { de_BodyWithXmlNameCommand, se_BodyWithXmlNameCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { BodyWithXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -69,13 +68,12 @@ export class BodyWithXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "BodyWithXmlName", {}) .n("RestXmlProtocolClient", "BodyWithXmlNameCommand") .f(void 0, void 0) - .ser(se_BodyWithXmlNameCommand) - .de(de_BodyWithXmlNameCommand) + .sc(BodyWithXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts b/private/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts index 77e68ee8213b..b5a0dfb2ff79 100644 --- a/private/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/ConstantAndVariableQueryStringCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ConstantAndVariableQueryStringInput } from "../models/models_0"; -import { - de_ConstantAndVariableQueryStringCommand, - se_ConstantAndVariableQueryStringCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { ConstantAndVariableQueryString } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -68,13 +64,12 @@ export class ConstantAndVariableQueryStringCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "ConstantAndVariableQueryString", {}) .n("RestXmlProtocolClient", "ConstantAndVariableQueryStringCommand") .f(void 0, void 0) - .ser(se_ConstantAndVariableQueryStringCommand) - .de(de_ConstantAndVariableQueryStringCommand) + .sc(ConstantAndVariableQueryString) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts b/private/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts index 6040409e3dda..ec4586eb8650 100644 --- a/private/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/ConstantQueryStringCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ConstantQueryStringInput } from "../models/models_0"; -import { de_ConstantQueryStringCommand, se_ConstantQueryStringCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { ConstantQueryString } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,13 +64,12 @@ export class ConstantQueryStringCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "ConstantQueryString", {}) .n("RestXmlProtocolClient", "ConstantQueryStringCommand") .f(void 0, void 0) - .ser(se_ConstantQueryStringCommand) - .de(de_ConstantQueryStringCommand) + .sc(ConstantQueryString) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/ContentTypeParametersCommand.ts b/private/aws-protocoltests-restxml/src/commands/ContentTypeParametersCommand.ts index c205d91d4909..207a1809d881 100644 --- a/private/aws-protocoltests-restxml/src/commands/ContentTypeParametersCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/ContentTypeParametersCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ContentTypeParametersInput, ContentTypeParametersOutput } from "../models/models_0"; -import { de_ContentTypeParametersCommand, se_ContentTypeParametersCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { ContentTypeParameters } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -63,13 +62,12 @@ export class ContentTypeParametersCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "ContentTypeParameters", {}) .n("RestXmlProtocolClient", "ContentTypeParametersCommand") .f(void 0, void 0) - .ser(se_ContentTypeParametersCommand) - .de(de_ContentTypeParametersCommand) + .sc(ContentTypeParameters) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/DatetimeOffsetsCommand.ts b/private/aws-protocoltests-restxml/src/commands/DatetimeOffsetsCommand.ts index 07c6e352e8c2..6d4aed48063b 100644 --- a/private/aws-protocoltests-restxml/src/commands/DatetimeOffsetsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/DatetimeOffsetsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DatetimeOffsetsOutput } from "../models/models_0"; -import { de_DatetimeOffsetsCommand, se_DatetimeOffsetsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { DatetimeOffsets } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -62,13 +61,12 @@ export class DatetimeOffsetsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "DatetimeOffsets", {}) .n("RestXmlProtocolClient", "DatetimeOffsetsCommand") .f(void 0, void 0) - .ser(se_DatetimeOffsetsCommand) - .de(de_DatetimeOffsetsCommand) + .sc(DatetimeOffsets) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts b/private/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts index da41976ee0c2..b4c0dd517eca 100644 --- a/private/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/EmptyInputAndEmptyOutputCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EmptyInputAndEmptyOutputInput, EmptyInputAndEmptyOutputOutput } from "../models/models_0"; -import { de_EmptyInputAndEmptyOutputCommand, se_EmptyInputAndEmptyOutputCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { EmptyInputAndEmptyOutput } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -63,13 +62,12 @@ export class EmptyInputAndEmptyOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "EmptyInputAndEmptyOutput", {}) .n("RestXmlProtocolClient", "EmptyInputAndEmptyOutputCommand") .f(void 0, void 0) - .ser(se_EmptyInputAndEmptyOutputCommand) - .de(de_EmptyInputAndEmptyOutputCommand) + .sc(EmptyInputAndEmptyOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts b/private/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts index d92d7f107098..6f5c80c351b7 100644 --- a/private/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/EndpointOperationCommand.ts @@ -1,10 +1,9 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { de_EndpointOperationCommand, se_EndpointOperationCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { EndpointOperation } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -59,13 +58,12 @@ export class EndpointOperationCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "EndpointOperation", {}) .n("RestXmlProtocolClient", "EndpointOperationCommand") .f(void 0, void 0) - .ser(se_EndpointOperationCommand) - .de(de_EndpointOperationCommand) + .sc(EndpointOperation) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts b/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts index b68c781498d9..3c3e88fee319 100644 --- a/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelHeaderOperationCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HostLabelHeaderInput } from "../models/models_0"; -import { - de_EndpointWithHostLabelHeaderOperationCommand, - se_EndpointWithHostLabelHeaderOperationCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { EndpointWithHostLabelHeaderOperation } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,13 +61,12 @@ export class EndpointWithHostLabelHeaderOperationCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "EndpointWithHostLabelHeaderOperation", {}) .n("RestXmlProtocolClient", "EndpointWithHostLabelHeaderOperationCommand") .f(void 0, void 0) - .ser(se_EndpointWithHostLabelHeaderOperationCommand) - .de(de_EndpointWithHostLabelHeaderOperationCommand) + .sc(EndpointWithHostLabelHeaderOperation) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts b/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts index 5b1e65357cd0..ce5709b9deb2 100644 --- a/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/EndpointWithHostLabelOperationCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EndpointWithHostLabelOperationRequest } from "../models/models_0"; -import { - de_EndpointWithHostLabelOperationCommand, - se_EndpointWithHostLabelOperationCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { EndpointWithHostLabelOperation } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,13 +61,12 @@ export class EndpointWithHostLabelOperationCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "EndpointWithHostLabelOperation", {}) .n("RestXmlProtocolClient", "EndpointWithHostLabelOperationCommand") .f(void 0, void 0) - .ser(se_EndpointWithHostLabelOperationCommand) - .de(de_EndpointWithHostLabelOperationCommand) + .sc(EndpointWithHostLabelOperation) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts index 54d7bc90b66d..97923c648826 100644 --- a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { FlattenedXmlMapRequest, FlattenedXmlMapResponse } from "../models/models_0"; -import { de_FlattenedXmlMapCommand, se_FlattenedXmlMapCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { FlattenedXmlMap } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -68,13 +67,12 @@ export class FlattenedXmlMapCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "FlattenedXmlMap", {}) .n("RestXmlProtocolClient", "FlattenedXmlMapCommand") .f(void 0, void 0) - .ser(se_FlattenedXmlMapCommand) - .de(de_FlattenedXmlMapCommand) + .sc(FlattenedXmlMap) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts index a08fd850107b..a3441af64926 100644 --- a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { FlattenedXmlMapWithXmlNameRequest, FlattenedXmlMapWithXmlNameResponse } from "../models/models_0"; -import { de_FlattenedXmlMapWithXmlNameCommand, se_FlattenedXmlMapWithXmlNameCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { FlattenedXmlMapWithXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -68,13 +67,12 @@ export class FlattenedXmlMapWithXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "FlattenedXmlMapWithXmlName", {}) .n("RestXmlProtocolClient", "FlattenedXmlMapWithXmlNameCommand") .f(void 0, void 0) - .ser(se_FlattenedXmlMapWithXmlNameCommand) - .de(de_FlattenedXmlMapWithXmlNameCommand) + .sc(FlattenedXmlMapWithXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 32cb3b2231a6..3d035c51123b 100644 --- a/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { FlattenedXmlMapWithXmlNamespaceOutput } from "../models/models_0"; -import { - de_FlattenedXmlMapWithXmlNamespaceCommand, - se_FlattenedXmlMapWithXmlNamespaceCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { FlattenedXmlMapWithXmlNamespace } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -69,13 +65,12 @@ export class FlattenedXmlMapWithXmlNamespaceCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "FlattenedXmlMapWithXmlNamespace", {}) .n("RestXmlProtocolClient", "FlattenedXmlMapWithXmlNamespaceCommand") .f(void 0, void 0) - .ser(se_FlattenedXmlMapWithXmlNamespaceCommand) - .de(de_FlattenedXmlMapWithXmlNamespaceCommand) + .sc(FlattenedXmlMapWithXmlNamespace) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-restxml/src/commands/FractionalSecondsCommand.ts index 08d6e310cbeb..6638046d5c8e 100644 --- a/private/aws-protocoltests-restxml/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/FractionalSecondsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { FractionalSecondsOutput } from "../models/models_0"; -import { de_FractionalSecondsCommand, se_FractionalSecondsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { FractionalSeconds } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -62,13 +61,12 @@ export class FractionalSecondsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "FractionalSeconds", {}) .n("RestXmlProtocolClient", "FractionalSecondsCommand") .f(void 0, void 0) - .ser(se_FractionalSecondsCommand) - .de(de_FractionalSecondsCommand) + .sc(FractionalSeconds) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts index ba7c67f04cb4..14f4ed82ad04 100644 --- a/private/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/GreetingWithErrorsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GreetingWithErrorsOutput } from "../models/models_0"; -import { de_GreetingWithErrorsCommand, se_GreetingWithErrorsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { GreetingWithErrors } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -76,13 +75,12 @@ export class GreetingWithErrorsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "GreetingWithErrors", {}) .n("RestXmlProtocolClient", "GreetingWithErrorsCommand") .f(void 0, void 0) - .ser(se_GreetingWithErrorsCommand) - .de(de_GreetingWithErrorsCommand) + .sc(GreetingWithErrors) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpEnumPayloadCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpEnumPayloadCommand.ts index 16f885b41ea7..d6edc78ecd0a 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpEnumPayloadCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpEnumPayloadCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EnumPayloadInput } from "../models/models_0"; -import { de_HttpEnumPayloadCommand, se_HttpEnumPayloadCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpEnumPayload } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class HttpEnumPayloadCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpEnumPayload", {}) .n("RestXmlProtocolClient", "HttpEnumPayloadCommand") .f(void 0, void 0) - .ser(se_HttpEnumPayloadCommand) - .de(de_HttpEnumPayloadCommand) + .sc(HttpEnumPayload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts index f968f2f0dda3..fda3e10edb82 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { HttpPayloadTraitsInputOutput } from "../models/models_0"; -import { de_HttpPayloadTraitsCommand, se_HttpPayloadTraitsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadTraits } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -84,13 +83,12 @@ export class HttpPayloadTraitsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadTraits", {}) .n("RestXmlProtocolClient", "HttpPayloadTraitsCommand") .f(void 0, void 0) - .ser(se_HttpPayloadTraitsCommand) - .de(de_HttpPayloadTraitsCommand) + .sc(HttpPayloadTraits) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 7da11b075423..429036159496 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -1,15 +1,11 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { HttpPayloadTraitsWithMediaTypeInputOutput } from "../models/models_0"; -import { - de_HttpPayloadTraitsWithMediaTypeCommand, - se_HttpPayloadTraitsWithMediaTypeCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadTraitsWithMediaType } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -90,13 +86,12 @@ export class HttpPayloadTraitsWithMediaTypeCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadTraitsWithMediaType", {}) .n("RestXmlProtocolClient", "HttpPayloadTraitsWithMediaTypeCommand") .f(void 0, void 0) - .ser(se_HttpPayloadTraitsWithMediaTypeCommand) - .de(de_HttpPayloadTraitsWithMediaTypeCommand) + .sc(HttpPayloadTraitsWithMediaType) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts index ba5d21cc65ad..c35f3536dcda 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithMemberXmlNameCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithMemberXmlNameInputOutput } from "../models/models_0"; -import { - de_HttpPayloadWithMemberXmlNameCommand, - se_HttpPayloadWithMemberXmlNameCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithMemberXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -74,13 +70,12 @@ export class HttpPayloadWithMemberXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithMemberXmlName", {}) .n("RestXmlProtocolClient", "HttpPayloadWithMemberXmlNameCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithMemberXmlNameCommand) - .de(de_HttpPayloadWithMemberXmlNameCommand) + .sc(HttpPayloadWithMemberXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts index 99e0095fc53c..3cba177dc306 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithStructureCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithStructureInputOutput } from "../models/models_0"; -import { de_HttpPayloadWithStructureCommand, se_HttpPayloadWithStructureCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithStructure } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -73,13 +72,12 @@ export class HttpPayloadWithStructureCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithStructure", {}) .n("RestXmlProtocolClient", "HttpPayloadWithStructureCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithStructureCommand) - .de(de_HttpPayloadWithStructureCommand) + .sc(HttpPayloadWithStructure) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts index f84aa9393292..b0b4aed67e0d 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithUnionCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithUnionInputOutput } from "../models/models_0"; -import { de_HttpPayloadWithUnionCommand, se_HttpPayloadWithUnionCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithUnion } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -68,13 +67,12 @@ export class HttpPayloadWithUnionCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithUnion", {}) .n("RestXmlProtocolClient", "HttpPayloadWithUnionCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithUnionCommand) - .de(de_HttpPayloadWithUnionCommand) + .sc(HttpPayloadWithUnion) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts index 4db083264c7f..9c62b81fc1bc 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNameCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithXmlNameInputOutput } from "../models/models_0"; -import { de_HttpPayloadWithXmlNameCommand, se_HttpPayloadWithXmlNameCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -69,13 +68,12 @@ export class HttpPayloadWithXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithXmlName", {}) .n("RestXmlProtocolClient", "HttpPayloadWithXmlNameCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithXmlNameCommand) - .de(de_HttpPayloadWithXmlNameCommand) + .sc(HttpPayloadWithXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts index 3782e1492361..213680d318b4 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithXmlNamespaceAndPrefixInputOutput } from "../models/models_0"; -import { - de_HttpPayloadWithXmlNamespaceAndPrefixCommand, - se_HttpPayloadWithXmlNamespaceAndPrefixCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithXmlNamespaceAndPrefix } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -74,13 +70,12 @@ export class HttpPayloadWithXmlNamespaceAndPrefixCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithXmlNamespaceAndPrefix", {}) .n("RestXmlProtocolClient", "HttpPayloadWithXmlNamespaceAndPrefixCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithXmlNamespaceAndPrefixCommand) - .de(de_HttpPayloadWithXmlNamespaceAndPrefixCommand) + .sc(HttpPayloadWithXmlNamespaceAndPrefix) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts index 1ddccdec1977..1e8bbd73d132 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPayloadWithXmlNamespaceCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPayloadWithXmlNamespaceInputOutput } from "../models/models_0"; -import { de_HttpPayloadWithXmlNamespaceCommand, se_HttpPayloadWithXmlNamespaceCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPayloadWithXmlNamespace } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -70,13 +69,12 @@ export class HttpPayloadWithXmlNamespaceCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPayloadWithXmlNamespace", {}) .n("RestXmlProtocolClient", "HttpPayloadWithXmlNamespaceCommand") .f(void 0, void 0) - .ser(se_HttpPayloadWithXmlNamespaceCommand) - .de(de_HttpPayloadWithXmlNamespaceCommand) + .sc(HttpPayloadWithXmlNamespace) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts index eafaf12167db..4b44a7a9eb6e 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpPrefixHeadersCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpPrefixHeadersInputOutput } from "../models/models_0"; -import { de_HttpPrefixHeadersCommand, se_HttpPrefixHeadersCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpPrefixHeaders } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -70,13 +69,12 @@ export class HttpPrefixHeadersCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpPrefixHeaders", {}) .n("RestXmlProtocolClient", "HttpPrefixHeadersCommand") .f(void 0, void 0) - .ser(se_HttpPrefixHeadersCommand) - .de(de_HttpPrefixHeadersCommand) + .sc(HttpPrefixHeaders) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts index f10f307f28f9..c755662c5642 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithFloatLabelsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpRequestWithFloatLabelsInput } from "../models/models_0"; -import { de_HttpRequestWithFloatLabelsCommand, se_HttpRequestWithFloatLabelsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpRequestWithFloatLabels } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -63,13 +62,12 @@ export class HttpRequestWithFloatLabelsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpRequestWithFloatLabels", {}) .n("RestXmlProtocolClient", "HttpRequestWithFloatLabelsCommand") .f(void 0, void 0) - .ser(se_HttpRequestWithFloatLabelsCommand) - .de(de_HttpRequestWithFloatLabelsCommand) + .sc(HttpRequestWithFloatLabels) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts index a5005b9c7a38..ce38305b630d 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithGreedyLabelInPathCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpRequestWithGreedyLabelInPathInput } from "../models/models_0"; -import { - de_HttpRequestWithGreedyLabelInPathCommand, - se_HttpRequestWithGreedyLabelInPathCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpRequestWithGreedyLabelInPath } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -66,13 +62,12 @@ export class HttpRequestWithGreedyLabelInPathCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpRequestWithGreedyLabelInPath", {}) .n("RestXmlProtocolClient", "HttpRequestWithGreedyLabelInPathCommand") .f(void 0, void 0) - .ser(se_HttpRequestWithGreedyLabelInPathCommand) - .de(de_HttpRequestWithGreedyLabelInPathCommand) + .sc(HttpRequestWithGreedyLabelInPath) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 01f8431561ca..da3c65031b2c 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpRequestWithLabelsAndTimestampFormatInput } from "../models/models_0"; -import { - de_HttpRequestWithLabelsAndTimestampFormatCommand, - se_HttpRequestWithLabelsAndTimestampFormatCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpRequestWithLabelsAndTimestampFormat } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -73,13 +69,12 @@ export class HttpRequestWithLabelsAndTimestampFormatCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpRequestWithLabelsAndTimestampFormat", {}) .n("RestXmlProtocolClient", "HttpRequestWithLabelsAndTimestampFormatCommand") .f(void 0, void 0) - .ser(se_HttpRequestWithLabelsAndTimestampFormatCommand) - .de(de_HttpRequestWithLabelsAndTimestampFormatCommand) + .sc(HttpRequestWithLabelsAndTimestampFormat) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts index 272a35075295..7125af0ad8ae 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpRequestWithLabelsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpRequestWithLabelsInput } from "../models/models_0"; -import { de_HttpRequestWithLabelsCommand, se_HttpRequestWithLabelsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpRequestWithLabels } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -70,13 +69,12 @@ export class HttpRequestWithLabelsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpRequestWithLabels", {}) .n("RestXmlProtocolClient", "HttpRequestWithLabelsCommand") .f(void 0, void 0) - .ser(se_HttpRequestWithLabelsCommand) - .de(de_HttpRequestWithLabelsCommand) + .sc(HttpRequestWithLabels) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts index 8afed8d3410d..09aeee0c6d7c 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpResponseCodeCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { HttpResponseCodeOutput } from "../models/models_0"; -import { de_HttpResponseCodeCommand, se_HttpResponseCodeCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpResponseCode } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -62,13 +61,12 @@ export class HttpResponseCodeCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpResponseCode", {}) .n("RestXmlProtocolClient", "HttpResponseCodeCommand") .f(void 0, void 0) - .ser(se_HttpResponseCodeCommand) - .de(de_HttpResponseCodeCommand) + .sc(HttpResponseCode) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/HttpStringPayloadCommand.ts b/private/aws-protocoltests-restxml/src/commands/HttpStringPayloadCommand.ts index 1e72c2d4efcb..c2fba9ea7db9 100644 --- a/private/aws-protocoltests-restxml/src/commands/HttpStringPayloadCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/HttpStringPayloadCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { StringPayloadInput } from "../models/models_0"; -import { de_HttpStringPayloadCommand, se_HttpStringPayloadCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { HttpStringPayload } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class HttpStringPayloadCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "HttpStringPayload", {}) .n("RestXmlProtocolClient", "HttpStringPayloadCommand") .f(void 0, void 0) - .ser(se_HttpStringPayloadCommand) - .de(de_HttpStringPayloadCommand) + .sc(HttpStringPayload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts b/private/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts index b821da4663b6..2c8a64b55d36 100644 --- a/private/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/IgnoreQueryParamsInResponseCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { IgnoreQueryParamsInResponseOutput } from "../models/models_0"; -import { de_IgnoreQueryParamsInResponseCommand, se_IgnoreQueryParamsInResponseCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { IgnoreQueryParamsInResponse } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class IgnoreQueryParamsInResponseCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "IgnoreQueryParamsInResponse", {}) .n("RestXmlProtocolClient", "IgnoreQueryParamsInResponseCommand") .f(void 0, void 0) - .ser(se_IgnoreQueryParamsInResponseCommand) - .de(de_IgnoreQueryParamsInResponseCommand) + .sc(IgnoreQueryParamsInResponse) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts b/private/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts index d9a65c56d6dc..0e6a288eb9b9 100644 --- a/private/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/InputAndOutputWithHeadersCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { InputAndOutputWithHeadersIO } from "../models/models_0"; -import { de_InputAndOutputWithHeadersCommand, se_InputAndOutputWithHeadersCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { InputAndOutputWithHeaders } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -119,13 +118,12 @@ export class InputAndOutputWithHeadersCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "InputAndOutputWithHeaders", {}) .n("RestXmlProtocolClient", "InputAndOutputWithHeadersCommand") .f(void 0, void 0) - .ser(se_InputAndOutputWithHeadersCommand) - .de(de_InputAndOutputWithHeadersCommand) + .sc(InputAndOutputWithHeaders) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NestedXmlMapWithXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/NestedXmlMapWithXmlNameCommand.ts index 9b4332636b5c..bca724d7f0bc 100644 --- a/private/aws-protocoltests-restxml/src/commands/NestedXmlMapWithXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NestedXmlMapWithXmlNameCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { NestedXmlMapWithXmlNameInputOutput } from "../models/models_0"; -import { de_NestedXmlMapWithXmlNameCommand, se_NestedXmlMapWithXmlNameCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NestedXmlMapWithXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class NestedXmlMapWithXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NestedXmlMapWithXmlName", {}) .n("RestXmlProtocolClient", "NestedXmlMapWithXmlNameCommand") .f(void 0, void 0) - .ser(se_NestedXmlMapWithXmlNameCommand) - .de(de_NestedXmlMapWithXmlNameCommand) + .sc(NestedXmlMapWithXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts b/private/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts index 8155bf506e0b..be019cc10c1e 100644 --- a/private/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NestedXmlMapsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { NestedXmlMapsRequest, NestedXmlMapsResponse } from "../models/models_0"; -import { de_NestedXmlMapsCommand, se_NestedXmlMapsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NestedXmlMaps } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -82,13 +81,12 @@ export class NestedXmlMapsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NestedXmlMaps", {}) .n("RestXmlProtocolClient", "NestedXmlMapsCommand") .f(void 0, void 0) - .ser(se_NestedXmlMapsCommand) - .de(de_NestedXmlMapsCommand) + .sc(NestedXmlMaps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts b/private/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts index fc297c3c49ab..538850697e33 100644 --- a/private/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NoInputAndNoOutputCommand.ts @@ -1,10 +1,9 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { de_NoInputAndNoOutputCommand, se_NoInputAndNoOutputCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NoInputAndNoOutput } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -61,13 +60,12 @@ export class NoInputAndNoOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NoInputAndNoOutput", {}) .n("RestXmlProtocolClient", "NoInputAndNoOutputCommand") .f(void 0, void 0) - .ser(se_NoInputAndNoOutputCommand) - .de(de_NoInputAndNoOutputCommand) + .sc(NoInputAndNoOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts b/private/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts index 82dc8f820adc..8e8db42f3d17 100644 --- a/private/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NoInputAndOutputCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { NoInputAndOutputOutput } from "../models/models_0"; -import { de_NoInputAndOutputCommand, se_NoInputAndOutputCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NoInputAndOutput } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -63,13 +62,12 @@ export class NoInputAndOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NoInputAndOutput", {}) .n("RestXmlProtocolClient", "NoInputAndOutputCommand") .f(void 0, void 0) - .ser(se_NoInputAndOutputCommand) - .de(de_NoInputAndOutputCommand) + .sc(NoInputAndOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts b/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts index bdf951ef5073..a9f0c6d91e7b 100644 --- a/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersClientCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { NullAndEmptyHeadersIO } from "../models/models_0"; -import { de_NullAndEmptyHeadersClientCommand, se_NullAndEmptyHeadersClientCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NullAndEmptyHeadersClient } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class NullAndEmptyHeadersClientCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NullAndEmptyHeadersClient", {}) .n("RestXmlProtocolClient", "NullAndEmptyHeadersClientCommand") .f(void 0, void 0) - .ser(se_NullAndEmptyHeadersClientCommand) - .de(de_NullAndEmptyHeadersClientCommand) + .sc(NullAndEmptyHeadersClient) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts b/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts index f18fb76dd180..17883838853d 100644 --- a/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/NullAndEmptyHeadersServerCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { NullAndEmptyHeadersIO } from "../models/models_0"; -import { de_NullAndEmptyHeadersServerCommand, se_NullAndEmptyHeadersServerCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { NullAndEmptyHeadersServer } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class NullAndEmptyHeadersServerCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "NullAndEmptyHeadersServer", {}) .n("RestXmlProtocolClient", "NullAndEmptyHeadersServerCommand") .f(void 0, void 0) - .ser(se_NullAndEmptyHeadersServerCommand) - .de(de_NullAndEmptyHeadersServerCommand) + .sc(NullAndEmptyHeadersServer) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts b/private/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts index 404b3193e655..7798770f12ee 100644 --- a/private/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { OmitsNullSerializesEmptyStringInput } from "../models/models_0"; -import { - de_OmitsNullSerializesEmptyStringCommand, - se_OmitsNullSerializesEmptyStringCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { OmitsNullSerializesEmptyString } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -66,13 +62,12 @@ export class OmitsNullSerializesEmptyStringCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "OmitsNullSerializesEmptyString", {}) .n("RestXmlProtocolClient", "OmitsNullSerializesEmptyStringCommand") .f(void 0, void 0) - .ser(se_OmitsNullSerializesEmptyStringCommand) - .de(de_OmitsNullSerializesEmptyStringCommand) + .sc(OmitsNullSerializesEmptyString) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/PutWithContentEncodingCommand.ts b/private/aws-protocoltests-restxml/src/commands/PutWithContentEncodingCommand.ts index d2fd72c22a3f..07f7bb9747e0 100644 --- a/private/aws-protocoltests-restxml/src/commands/PutWithContentEncodingCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/PutWithContentEncodingCommand.ts @@ -1,12 +1,11 @@ // smithy-typescript generated code import { getCompressionPlugin } from "@smithy/middleware-compression"; -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { PutWithContentEncodingInput } from "../models/models_0"; -import { de_PutWithContentEncodingCommand, se_PutWithContentEncodingCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { PutWithContentEncoding } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,7 +64,6 @@ export class PutWithContentEncodingCommand extends $Command >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { return [ - getSerdePlugin(config, this.serialize, this.deserialize), getCompressionPlugin(config, { encodings: ["gzip"], }), @@ -74,8 +72,7 @@ export class PutWithContentEncodingCommand extends $Command .s("RestXml", "PutWithContentEncoding", {}) .n("RestXmlProtocolClient", "PutWithContentEncodingCommand") .f(void 0, void 0) - .ser(se_PutWithContentEncodingCommand) - .de(de_PutWithContentEncodingCommand) + .sc(PutWithContentEncoding) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts b/private/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts index 89f1d5edc316..a46528fc0c1a 100644 --- a/private/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -1,14 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { QueryIdempotencyTokenAutoFillInput } from "../models/models_0"; -import { - de_QueryIdempotencyTokenAutoFillCommand, - se_QueryIdempotencyTokenAutoFillCommand, -} from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { QueryIdempotencyTokenAutoFill } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,13 +61,12 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "QueryIdempotencyTokenAutoFill", {}) .n("RestXmlProtocolClient", "QueryIdempotencyTokenAutoFillCommand") .f(void 0, void 0) - .ser(se_QueryIdempotencyTokenAutoFillCommand) - .de(de_QueryIdempotencyTokenAutoFillCommand) + .sc(QueryIdempotencyTokenAutoFill) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts b/private/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts index f4267b843842..87eff5cdea25 100644 --- a/private/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/QueryParamsAsStringListMapCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { QueryParamsAsStringListMapInput } from "../models/models_0"; -import { de_QueryParamsAsStringListMapCommand, se_QueryParamsAsStringListMapCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { QueryParamsAsStringListMap } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -67,13 +66,12 @@ export class QueryParamsAsStringListMapCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "QueryParamsAsStringListMap", {}) .n("RestXmlProtocolClient", "QueryParamsAsStringListMapCommand") .f(void 0, void 0) - .ser(se_QueryParamsAsStringListMapCommand) - .de(de_QueryParamsAsStringListMapCommand) + .sc(QueryParamsAsStringListMap) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts b/private/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts index aa127ce5434b..be42c2b17f7f 100644 --- a/private/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/QueryPrecedenceCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { QueryPrecedenceInput } from "../models/models_0"; -import { de_QueryPrecedenceCommand, se_QueryPrecedenceCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { QueryPrecedence } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -65,13 +64,12 @@ export class QueryPrecedenceCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "QueryPrecedence", {}) .n("RestXmlProtocolClient", "QueryPrecedenceCommand") .f(void 0, void 0) - .ser(se_QueryPrecedenceCommand) - .de(de_QueryPrecedenceCommand) + .sc(QueryPrecedence) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts b/private/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts index bb3114ce65c8..3675ce6e464d 100644 --- a/private/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/RecursiveShapesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { RecursiveShapesRequest, RecursiveShapesResponse } from "../models/models_0"; -import { de_RecursiveShapesCommand, se_RecursiveShapesCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { RecursiveShapes } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -88,13 +87,12 @@ export class RecursiveShapesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "RecursiveShapes", {}) .n("RestXmlProtocolClient", "RecursiveShapesCommand") .f(void 0, void 0) - .ser(se_RecursiveShapesCommand) - .de(de_RecursiveShapesCommand) + .sc(RecursiveShapes) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts index 56eb76ed046b..4e49c184b7e9 100644 --- a/private/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/SimpleScalarPropertiesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { SimpleScalarPropertiesRequest, SimpleScalarPropertiesResponse } from "../models/models_0"; -import { de_SimpleScalarPropertiesCommand, se_SimpleScalarPropertiesCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { SimpleScalarProperties } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -82,13 +81,12 @@ export class SimpleScalarPropertiesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "SimpleScalarProperties", {}) .n("RestXmlProtocolClient", "SimpleScalarPropertiesCommand") .f(void 0, void 0) - .ser(se_SimpleScalarPropertiesCommand) - .de(de_SimpleScalarPropertiesCommand) + .sc(SimpleScalarProperties) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts b/private/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts index 8d749b1cfc07..a472328d2fdc 100644 --- a/private/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/TimestampFormatHeadersCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { TimestampFormatHeadersIO } from "../models/models_0"; -import { de_TimestampFormatHeadersCommand, se_TimestampFormatHeadersCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { TimestampFormatHeaders } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -76,13 +75,12 @@ export class TimestampFormatHeadersCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "TimestampFormatHeaders", {}) .n("RestXmlProtocolClient", "TimestampFormatHeadersCommand") .f(void 0, void 0) - .ser(se_TimestampFormatHeadersCommand) - .de(de_TimestampFormatHeadersCommand) + .sc(TimestampFormatHeaders) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts index ffb3baf2dfc3..c0d992a22f5a 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlAttributesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlAttributesRequest, XmlAttributesResponse } from "../models/models_0"; -import { de_XmlAttributesCommand, se_XmlAttributesCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlAttributes } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -66,13 +65,12 @@ export class XmlAttributesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlAttributes", {}) .n("RestXmlProtocolClient", "XmlAttributesCommand") .f(void 0, void 0) - .ser(se_XmlAttributesCommand) - .de(de_XmlAttributesCommand) + .sc(XmlAttributes) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts index 66730e39d07a..d27237660915 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlAttributesOnPayloadCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlAttributesOnPayloadRequest, XmlAttributesOnPayloadResponse } from "../models/models_0"; -import { de_XmlAttributesOnPayloadCommand, se_XmlAttributesOnPayloadCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlAttributesOnPayload } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -70,13 +69,12 @@ export class XmlAttributesOnPayloadCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlAttributesOnPayload", {}) .n("RestXmlProtocolClient", "XmlAttributesOnPayloadCommand") .f(void 0, void 0) - .ser(se_XmlAttributesOnPayloadCommand) - .de(de_XmlAttributesOnPayloadCommand) + .sc(XmlAttributesOnPayload) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts index 81ce02a90416..00805f728367 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlBlobsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlBlobsRequest, XmlBlobsResponse } from "../models/models_0"; -import { de_XmlBlobsCommand, se_XmlBlobsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlBlobs } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class XmlBlobsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlBlobs", {}) .n("RestXmlProtocolClient", "XmlBlobsCommand") .f(void 0, void 0) - .ser(se_XmlBlobsCommand) - .de(de_XmlBlobsCommand) + .sc(XmlBlobs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts index 603c5c806478..3cfec958a3f3 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlEmptyBlobsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlEmptyBlobsRequest, XmlEmptyBlobsResponse } from "../models/models_0"; -import { de_XmlEmptyBlobsCommand, se_XmlEmptyBlobsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlEmptyBlobs } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class XmlEmptyBlobsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlEmptyBlobs", {}) .n("RestXmlProtocolClient", "XmlEmptyBlobsCommand") .f(void 0, void 0) - .ser(se_XmlEmptyBlobsCommand) - .de(de_XmlEmptyBlobsCommand) + .sc(XmlEmptyBlobs) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts index 388590f23f61..f6968b694457 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlEmptyListsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlEmptyListsRequest, XmlEmptyListsResponse } from "../models/models_0"; -import { de_XmlEmptyListsCommand, se_XmlEmptyListsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlEmptyLists } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -168,13 +167,12 @@ export class XmlEmptyListsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlEmptyLists", {}) .n("RestXmlProtocolClient", "XmlEmptyListsCommand") .f(void 0, void 0) - .ser(se_XmlEmptyListsCommand) - .de(de_XmlEmptyListsCommand) + .sc(XmlEmptyLists) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts index 29989c60d59c..12ba043a9638 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlEmptyMapsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlEmptyMapsRequest, XmlEmptyMapsResponse } from "../models/models_0"; -import { de_XmlEmptyMapsCommand, se_XmlEmptyMapsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlEmptyMaps } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class XmlEmptyMapsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlEmptyMaps", {}) .n("RestXmlProtocolClient", "XmlEmptyMapsCommand") .f(void 0, void 0) - .ser(se_XmlEmptyMapsCommand) - .de(de_XmlEmptyMapsCommand) + .sc(XmlEmptyMaps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts index 6b2f65b15c9b..87c0a66e134a 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlEmptyStringsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlEmptyStringsRequest, XmlEmptyStringsResponse } from "../models/models_0"; -import { de_XmlEmptyStringsCommand, se_XmlEmptyStringsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlEmptyStrings } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -64,13 +63,12 @@ export class XmlEmptyStringsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlEmptyStrings", {}) .n("RestXmlProtocolClient", "XmlEmptyStringsCommand") .f(void 0, void 0) - .ser(se_XmlEmptyStringsCommand) - .de(de_XmlEmptyStringsCommand) + .sc(XmlEmptyStrings) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts index 03b4e851ee1a..04674eff17bb 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlEnumsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlEnumsRequest, XmlEnumsResponse } from "../models/models_0"; -import { de_XmlEnumsCommand, se_XmlEnumsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlEnums } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -86,13 +85,12 @@ export class XmlEnumsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlEnums", {}) .n("RestXmlProtocolClient", "XmlEnumsCommand") .f(void 0, void 0) - .ser(se_XmlEnumsCommand) - .de(de_XmlEnumsCommand) + .sc(XmlEnums) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlIntEnumsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlIntEnumsCommand.ts index 2ea856dc88bb..be6f11fa20c6 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlIntEnumsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlIntEnumsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlIntEnumsRequest, XmlIntEnumsResponse } from "../models/models_0"; -import { de_XmlIntEnumsCommand, se_XmlIntEnumsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlIntEnums } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -86,13 +85,12 @@ export class XmlIntEnumsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlIntEnums", {}) .n("RestXmlProtocolClient", "XmlIntEnumsCommand") .f(void 0, void 0) - .ser(se_XmlIntEnumsCommand) - .de(de_XmlIntEnumsCommand) + .sc(XmlIntEnums) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts index abf4c2bf9cc9..c4dcae3f4fd9 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlListsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlListsRequest, XmlListsResponse } from "../models/models_0"; -import { de_XmlListsCommand, se_XmlListsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlLists } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -179,13 +178,12 @@ export class XmlListsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlLists", {}) .n("RestXmlProtocolClient", "XmlListsCommand") .f(void 0, void 0) - .ser(se_XmlListsCommand) - .de(de_XmlListsCommand) + .sc(XmlLists) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts index bc99c4c111c6..92ec399c35d4 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlMapWithXmlNamespaceCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlMapWithXmlNamespaceRequest, XmlMapWithXmlNamespaceResponse } from "../models/models_0"; -import { de_XmlMapWithXmlNamespaceCommand, se_XmlMapWithXmlNamespaceCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlMapWithXmlNamespace } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -68,13 +67,12 @@ export class XmlMapWithXmlNamespaceCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlMapWithXmlNamespace", {}) .n("RestXmlProtocolClient", "XmlMapWithXmlNamespaceCommand") .f(void 0, void 0) - .ser(se_XmlMapWithXmlNamespaceCommand) - .de(de_XmlMapWithXmlNamespaceCommand) + .sc(XmlMapWithXmlNamespace) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts index 212082522db5..eb846b107f0d 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlMapsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlMapsRequest, XmlMapsResponse } from "../models/models_0"; -import { de_XmlMapsCommand, se_XmlMapsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlMaps } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class XmlMapsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlMaps", {}) .n("RestXmlProtocolClient", "XmlMapsCommand") .f(void 0, void 0) - .ser(se_XmlMapsCommand) - .de(de_XmlMapsCommand) + .sc(XmlMaps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts index 5b33fd1f2dc1..a2b37d5d52a1 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlMapsXmlNameCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlMapsXmlNameRequest, XmlMapsXmlNameResponse } from "../models/models_0"; -import { de_XmlMapsXmlNameCommand, se_XmlMapsXmlNameCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlMapsXmlName } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -72,13 +71,12 @@ export class XmlMapsXmlNameCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlMapsXmlName", {}) .n("RestXmlProtocolClient", "XmlMapsXmlNameCommand") .f(void 0, void 0) - .ser(se_XmlMapsXmlNameCommand) - .de(de_XmlMapsXmlNameCommand) + .sc(XmlMapsXmlName) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts index 6795527c3a5a..d5f2a2566e38 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlNamespacesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlNamespacesRequest, XmlNamespacesResponse } from "../models/models_0"; -import { de_XmlNamespacesCommand, se_XmlNamespacesCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlNamespaces } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -74,13 +73,12 @@ export class XmlNamespacesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlNamespaces", {}) .n("RestXmlProtocolClient", "XmlNamespacesCommand") .f(void 0, void 0) - .ser(se_XmlNamespacesCommand) - .de(de_XmlNamespacesCommand) + .sc(XmlNamespaces) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts index 4c948348785b..e8aa61b70e57 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlTimestampsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlTimestampsRequest, XmlTimestampsResponse } from "../models/models_0"; -import { de_XmlTimestampsCommand, se_XmlTimestampsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlTimestamps } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -78,13 +77,12 @@ export class XmlTimestampsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlTimestamps", {}) .n("RestXmlProtocolClient", "XmlTimestampsCommand") .f(void 0, void 0) - .ser(se_XmlTimestampsCommand) - .de(de_XmlTimestampsCommand) + .sc(XmlTimestamps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts b/private/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts index 0c685b132eae..3c7fb97fcc49 100644 --- a/private/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts +++ b/private/aws-protocoltests-restxml/src/commands/XmlUnionsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { XmlUnionsRequest, XmlUnionsResponse } from "../models/models_0"; -import { de_XmlUnionsCommand, se_XmlUnionsCommand } from "../protocols/Aws_restXml"; import { RestXmlProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RestXmlProtocolClient"; +import { XmlUnions } from "../schemas/aws.protocoltests.restxml"; /** * @public @@ -144,13 +143,12 @@ export class XmlUnionsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RestXmlProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RestXml", "XmlUnions", {}) .n("RestXmlProtocolClient", "XmlUnionsCommand") .f(void 0, void 0) - .ser(se_XmlUnionsCommand) - .de(de_XmlUnionsCommand) + .sc(XmlUnions) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-restxml/src/runtimeConfig.shared.ts b/private/aws-protocoltests-restxml/src/runtimeConfig.shared.ts index bbc0142d2e92..3d8e5efceaa3 100644 --- a/private/aws-protocoltests-restxml/src/runtimeConfig.shared.ts +++ b/private/aws-protocoltests-restxml/src/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { AwsSdkSigV4Signer } from "@aws-sdk/core"; +import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols"; import { NoOpLogger } from "@smithy/smithy-client"; import { IdentityProviderConfig } from "@smithy/types"; import { parseUrl } from "@smithy/url-parser"; @@ -29,6 +30,7 @@ export const getRuntimeConfig = (config: RestXmlProtocolClientConfig) => { }, ], logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? new AwsRestXmlProtocol("", "aws.protocoltests.restxml"), regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider, serviceId: config?.serviceId ?? "Rest Xml Protocol", urlParser: config?.urlParser ?? parseUrl, diff --git a/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.restxml.ts b/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.restxml.ts new file mode 100644 index 000000000000..d87fb7ddd6e7 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.restxml.ts @@ -0,0 +1,2476 @@ +const _A = "Ahoy"; +const _AQST = "AllQueryStringTypes"; +const _AQSTI = "AllQueryStringTypesInput"; +const _B = "Byte"; +const _BL = "BooleanList"; +const _BWXN = "BodyWithXmlName"; +const _BWXNIO = "BodyWithXmlNameInputOutput"; +const _Bo = "Boolean"; +const _CAVQS = "ConstantAndVariableQueryString"; +const _CAVQSI = "ConstantAndVariableQueryStringInput"; +const _CE = "ComplexError"; +const _CE_ = "Content-Encoding"; +const _CNED = "ComplexNestedErrorData"; +const _CQS = "ConstantQueryString"; +const _CQSI = "ConstantQueryStringInput"; +const _CTP = "ContentTypeParameters"; +const _CTPI = "ContentTypeParametersInput"; +const _CTPO = "ContentTypeParametersOutput"; +const _D = "Double"; +const _DD = "DoubleDribble"; +const _DL = "DoubleList"; +const _DO = "DatetimeOffsets"; +const _DOO = "DatetimeOffsetsOutput"; +const _E = "Enum"; +const _EIAEO = "EmptyInputAndEmptyOutput"; +const _EIAEOI = "EmptyInputAndEmptyOutputInput"; +const _EIAEOO = "EmptyInputAndEmptyOutputOutput"; +const _EL = "EnumList"; +const _EO = "EndpointOperation"; +const _EPI = "EnumPayloadInput"; +const _EWHLHO = "EndpointWithHostLabelHeaderOperation"; +const _EWHLO = "EndpointWithHostLabelOperation"; +const _EWHLOR = "EndpointWithHostLabelOperationRequest"; +const _Em = "Empty"; +const _F = "Float"; +const _FPH = "FooPrefixHeaders"; +const _FS = "FractionalSeconds"; +const _FSO = "FractionalSecondsOutput"; +const _FXM = "FlattenedXmlMap"; +const _FXMR = "FlattenedXmlMapRequest"; +const _FXMRl = "FlattenedXmlMapResponse"; +const _FXMWXN = "FlattenedXmlMapWithXmlName"; +const _FXMWXNIOM = "FlattenedXmlMapWithXmlNameInputOutputMap"; +const _FXMWXNO = "FlattenedXmlMapWithXmlNamespaceOutput"; +const _FXMWXNOM = "FlattenedXmlMapWithXmlNamespaceOutputMap"; +const _FXMWXNR = "FlattenedXmlMapWithXmlNameRequest"; +const _FXMWXNRl = "FlattenedXmlMapWithXmlNameResponse"; +const _FXMWXNl = "FlattenedXmlMapWithXmlNamespace"; +const _Fo = "Foo"; +const _GWE = "GreetingWithErrors"; +const _GWEO = "GreetingWithErrorsOutput"; +const _H = "Header"; +const _HEP = "HttpEnumPayload"; +const _HLHI = "HostLabelHeaderInput"; +const _HPH = "HttpPrefixHeaders"; +const _HPHIO = "HttpPrefixHeadersInputOutput"; +const _HPT = "HttpPayloadTraits"; +const _HPTIO = "HttpPayloadTraitsInputOutput"; +const _HPTWMT = "HttpPayloadTraitsWithMediaType"; +const _HPTWMTIO = "HttpPayloadTraitsWithMediaTypeInputOutput"; +const _HPWMXN = "HttpPayloadWithMemberXmlName"; +const _HPWMXNIO = "HttpPayloadWithMemberXmlNameInputOutput"; +const _HPWS = "HttpPayloadWithStructure"; +const _HPWSIO = "HttpPayloadWithStructureInputOutput"; +const _HPWU = "HttpPayloadWithUnion"; +const _HPWUIO = "HttpPayloadWithUnionInputOutput"; +const _HPWXN = "HttpPayloadWithXmlName"; +const _HPWXNAP = "HttpPayloadWithXmlNamespaceAndPrefix"; +const _HPWXNAPIO = "HttpPayloadWithXmlNamespaceAndPrefixInputOutput"; +const _HPWXNIO = "HttpPayloadWithXmlNameInputOutput"; +const _HPWXNIOt = "HttpPayloadWithXmlNamespaceInputOutput"; +const _HPWXNt = "HttpPayloadWithXmlNamespace"; +const _HRC = "HttpResponseCode"; +const _HRCO = "HttpResponseCodeOutput"; +const _HRWFL = "HttpRequestWithFloatLabels"; +const _HRWFLI = "HttpRequestWithFloatLabelsInput"; +const _HRWGLIP = "HttpRequestWithGreedyLabelInPath"; +const _HRWGLIPI = "HttpRequestWithGreedyLabelInPathInput"; +const _HRWL = "HttpRequestWithLabels"; +const _HRWLATF = "HttpRequestWithLabelsAndTimestampFormat"; +const _HRWLATFI = "HttpRequestWithLabelsAndTimestampFormatInput"; +const _HRWLI = "HttpRequestWithLabelsInput"; +const _HSP = "HttpStringPayload"; +const _He = "Hello"; +const _Ho = "Hola"; +const _I = "Integer"; +const _IAOWH = "InputAndOutputWithHeaders"; +const _IAOWHIO = "InputAndOutputWithHeadersIO"; +const _IE = "IntegerEnum"; +const _IEL = "IntegerEnumList"; +const _IG = "InvalidGreeting"; +const _IL = "IntegerList"; +const _IQPIR = "IgnoreQueryParamsInResponse"; +const _IQPIRO = "IgnoreQueryParamsInResponseOutput"; +const _IS = "IntegerSet"; +const _IV = "InnerValue"; +const _KVP = "KVP"; +const _L = "Long"; +const _LWMN = "ListWithMemberNamespace"; +const _LWN = "ListWithNamespace"; +const _M = "Message"; +const _N = "Nested"; +const _NAEHC = "NullAndEmptyHeadersClient"; +const _NAEHIO = "NullAndEmptyHeadersIO"; +const _NAEHS = "NullAndEmptyHeadersServer"; +const _NIANO = "NoInputAndNoOutput"; +const _NIAO = "NoInputAndOutput"; +const _NIAOO = "NoInputAndOutputOutput"; +const _NM = "NestedMap"; +const _NP = "NestedPayload"; +const _NXM = "NestedXmlMaps"; +const _NXMR = "NestedXmlMapsRequest"; +const _NXMRe = "NestedXmlMapsResponse"; +const _NXMWXN = "NestedXmlMapWithXmlName"; +const _NXMWXNIM = "NestedXmlMapWithXmlNameInnerMap"; +const _NXMWXNIO = "NestedXmlMapWithXmlNameInputOutput"; +const _NXMWXNM = "NestedXmlMapWithXmlNameMap"; +const _Nu = "Null"; +const _ONSES = "OmitsNullSerializesEmptyString"; +const _ONSESI = "OmitsNullSerializesEmptyStringInput"; +const _PWCE = "PutWithContentEncoding"; +const _PWCEI = "PutWithContentEncodingInput"; +const _PWXN = "PayloadWithXmlName"; +const _PWXNAP = "PayloadWithXmlNamespaceAndPrefix"; +const _PWXNa = "PayloadWithXmlNamespace"; +const _QITAF = "QueryIdempotencyTokenAutoFill"; +const _QITAFI = "QueryIdempotencyTokenAutoFillInput"; +const _QP = "QueryPrecedence"; +const _QPASLM = "QueryParamsAsStringListMap"; +const _QPASLMI = "QueryParamsAsStringListMapInput"; +const _QPI = "QueryPrecedenceInput"; +const _RLM = "RenamedListMembers"; +const _RS = "RecursiveShapes"; +const _RSION = "RecursiveShapesInputOutputNested1"; +const _RSIONe = "RecursiveShapesInputOutputNested2"; +const _RSR = "RecursiveShapesRequest"; +const _RSRe = "RecursiveShapesResponse"; +const _S = "String"; +const _SE = "StringEnum"; +const _SL = "StringList"; +const _SLM = "StructureListMember"; +const _SLt = "StructureList"; +const _SPI = "StringPayloadInput"; +const _SS = "StringSet"; +const _SSP = "SimpleScalarProperties"; +const _SSPR = "SimpleScalarPropertiesRequest"; +const _SSPRi = "SimpleScalarPropertiesResponse"; +const _Se = "Setting"; +const _Sh = "Short"; +const _St = "Status"; +const _T = "Timestamp"; +const _TFH = "TimestampFormatHeaders"; +const _TFHIO = "TimestampFormatHeadersIO"; +const _TL = "TimestampList"; +const _TLo = "TopLevel"; +const _UP = "UnionPayload"; +const _V = "V"; +const _XA = "X-A"; +const _XAAI = "X-Amz-Account-Id"; +const _XAOP = "XmlAttributesOnPayload"; +const _XAOPR = "XmlAttributesOnPayloadRequest"; +const _XAOPRm = "XmlAttributesOnPayloadResponse"; +const _XAPR = "XmlAttributesPayloadRequest"; +const _XAPRm = "XmlAttributesPayloadResponse"; +const _XAR = "XmlAttributesRequest"; +const _XARm = "XmlAttributesResponse"; +const _XAm = "XmlAttributes"; +const _XB = "X-Byte"; +const _XBR = "XmlBlobsRequest"; +const _XBRm = "XmlBlobsResponse"; +const _XB_ = "X-Boolean1"; +const _XB__ = "X-Boolean2"; +const _XB___ = "X-BooleanList"; +const _XB____ = "X-B"; +const _XBm = "XmlBlobs"; +const _XC = "X-C"; +const _XD = "X-Double"; +const _XE = "X-Enum"; +const _XEB = "XmlEmptyBlobs"; +const _XEBR = "XmlEmptyBlobsRequest"; +const _XEBRm = "XmlEmptyBlobsResponse"; +const _XEL = "XmlEmptyLists"; +const _XELR = "XmlEmptyListsRequest"; +const _XELRm = "XmlEmptyListsResponse"; +const _XEM = "XmlEmptyMaps"; +const _XEMR = "XmlEmptyMapsRequest"; +const _XEMRm = "XmlEmptyMapsResponse"; +const _XER = "XmlEnumsRequest"; +const _XERm = "XmlEnumsResponse"; +const _XES = "XmlEmptyStrings"; +const _XESR = "XmlEmptyStringsRequest"; +const _XESRm = "XmlEmptyStringsResponse"; +const _XE_ = "X-EnumList"; +const _XEm = "XmlEnums"; +const _XF = "X-Foo"; +const _XF_ = "X-Foo-"; +const _XF__ = "X-Float"; +const _XG = "X-Greeting"; +const _XH = "X-Header"; +const _XI = "X-Integer"; +const _XIE = "XmlIntEnums"; +const _XIER = "XmlIntEnumsRequest"; +const _XIERm = "XmlIntEnumsResponse"; +const _XI_ = "X-IntegerList"; +const _XL = "X-Long"; +const _XLR = "XmlListsRequest"; +const _XLRm = "XmlListsResponse"; +const _XLm = "XmlLists"; +const _XM = "XmlMaps"; +const _XMIOM = "XmlMapsInputOutputMap"; +const _XMR = "XmlMapsRequest"; +const _XMRm = "XmlMapsResponse"; +const _XMWXN = "XmlMapWithXmlNamespace"; +const _XMWXNIOM = "XmlMapWithXmlNamespaceInputOutputMap"; +const _XMWXNR = "XmlMapWithXmlNamespaceRequest"; +const _XMWXNRm = "XmlMapWithXmlNamespaceResponse"; +const _XMXN = "XmlMapsXmlName"; +const _XMXNIOM = "XmlMapsXmlNameInputOutputMap"; +const _XMXNR = "XmlMapsXmlNameRequest"; +const _XMXNRm = "XmlMapsXmlNameResponse"; +const _XN = "XmlNamespaces"; +const _XNL = "XmlNamespacedList"; +const _XNN = "XmlNamespaceNested"; +const _XNR = "XmlNamespacesRequest"; +const _XNRm = "XmlNamespacesResponse"; +const _XNUS = "XmlNestedUnionStruct"; +const _XS = "X-String"; +const _XS_ = "X-Short"; +const _XS__ = "X-StringList"; +const _XS___ = "X-StringSet"; +const _XT = "X-TimestampList"; +const _XTR = "XmlTimestampsRequest"; +const _XTRm = "XmlTimestampsResponse"; +const _XTm = "XmlTimestamps"; +const _XU = "XmlUnions"; +const _XUR = "XmlUnionsRequest"; +const _XURm = "XmlUnionsResponse"; +const _XUS = "XmlUnionShape"; +const _Xd = "X-defaultFormat"; +const _Xm = "X-memberEpochSeconds"; +const _Xm_ = "X-memberHttpDate"; +const _Xm__ = "X-memberDateTime"; +const _Xt = "X-targetEpochSeconds"; +const _Xt_ = "X-targetHttpDate"; +const _Xt__ = "X-targetDateTime"; +const _a = "a"; +const _aI = "accountId"; +const _at = "attr"; +const _b = "baz"; +const _bL = "booleanList"; +const _bV = "byteValue"; +const _bVo = "booleanValue"; +const _b_ = "b"; +const _ba = "bar"; +const _bl = "blob"; +const _bo = "boolean"; +const _c = "client"; +const _cN = "customName"; +const _c_ = "c"; +const _co = "corge"; +const _d = "datetime"; +const _dF = "defaultFormat"; +const _dT = "dateTime"; +const _dTOT = "dateTimeOnTarget"; +const _dV = "doubleValue"; +const _da = "data"; +const _do = "double"; +const _e = "error"; +const _eL = "enumList"; +const _eS = "emptyString"; +const _eSOT = "epochSecondsOnTarget"; +const _eSp = "epochSeconds"; +const _en = "encoding"; +const _f = "foo"; +const _fBV = "falseBooleanValue"; +const _fE = "fooEnum1"; +const _fEL = "fooEnumList"; +const _fEM = "fooEnumMap"; +const _fES = "fooEnumSet"; +const _fEo = "fooEnum2"; +const _fEoo = "fooEnum3"; +const _fL = "flattenedList"; +const _fLWMN = "flattenedListWithMemberNamespace"; +const _fLWN = "flattenedListWithNamespace"; +const _fLl = "flattenedList2"; +const _fM = "fooMap"; +const _fNM = "flatNestedMap"; +const _fSL = "flattenedStructureList"; +const _fV = "floatValue"; +const _fl = "float"; +const _g = "greeting"; +const _h = "hello"; +const _hB = "headerByte"; +const _hBL = "headerBooleanList"; +const _hD = "headerDouble"; +const _hDOT = "httpDateOnTarget"; +const _hDt = "httpDate"; +const _hE = "httpError"; +const _hEL = "headerEnumList"; +const _hEe = "headerEnum"; +const _hF = "headerFloat"; +const _hFB = "headerFalseBool"; +const _hH = "httpHeader"; +const _hI = "headerInteger"; +const _hIL = "headerIntegerList"; +const _hL = "httpLabel"; +const _hLe = "headerLong"; +const _hLo = "hostLabel"; +const _hP = "httpPayload"; +const _hPH = "httpPrefixHeaders"; +const _hQ = "httpQuery"; +const _hQP = "httpQueryParams"; +const _hRC = "httpResponseCode"; +const _hS = "headerString"; +const _hSL = "headerStringList"; +const _hSS = "headerStringSet"; +const _hSe = "headerShort"; +const _hTB = "headerTrueBool"; +const _hTL = "headerTimestampList"; +const _ht = "http"; +const _i = "integer"; +const _iE = "intEnum1"; +const _iEL = "intEnumList"; +const _iEM = "intEnumMap"; +const _iES = "intEnumSet"; +const _iEn = "intEnum2"; +const _iEnt = "intEnum3"; +const _iL = "integerList"; +const _iT = "idempotencyToken"; +const _iV = "integerValue"; +const _it = "item"; +const _l = "label"; +const _lV = "longValue"; +const _lo = "long"; +const _mDT = "memberDateTime"; +const _mES = "memberEpochSeconds"; +const _mHD = "memberHttpDate"; +const _mM = "myMap"; +const _mS = "maybeSet"; +const _mSL = "myStructureList"; +const _n = "nested"; +const _nM = "nestedMap"; +const _nSL = "nestedStringList"; +const _nV = "nullValue"; +const _nXMWXNM = "nestedXmlMapWithXmlNameMap"; +const _na = "name"; +const _no = "normal"; +const _o = "other"; +const _p = "payload"; +const _q = "qux"; +const _qB = "queryByte"; +const _qBL = "queryBooleanList"; +const _qBu = "queryBoolean"; +const _qD = "queryDouble"; +const _qDL = "queryDoubleList"; +const _qE = "queryEnum"; +const _qEL = "queryEnumList"; +const _qF = "queryFloat"; +const _qI = "queryInteger"; +const _qIE = "queryIntegerEnum"; +const _qIEL = "queryIntegerEnumList"; +const _qIL = "queryIntegerList"; +const _qIS = "queryIntegerSet"; +const _qL = "queryLong"; +const _qPMOS = "queryParamsMapOfStrings"; +const _qS = "queryString"; +const _qSL = "queryStringList"; +const _qSS = "queryStringSet"; +const _qSu = "queryShort"; +const _qT = "queryTimestamp"; +const _qTL = "queryTimestampList"; +const _r = "renamed"; +const _rLM = "renamedListMembers"; +const _rM = "recursiveMember"; +const _s = "string"; +const _sL = "stringList"; +const _sLt = "structureList"; +const _sS = "stringSet"; +const _sV = "stringValue"; +const _sVh = "shortValue"; +const _sVt = "structValue"; +const _sh = "short"; +const _t = "timestamp"; +const _tBV = "trueBooleanValue"; +const _tDT = "targetDateTime"; +const _tES = "targetEpochSeconds"; +const _tHD = "targetHttpDate"; +const _tL = "timestampList"; +const _te = "test"; +const _to = "token"; +const _uV = "unionValue"; +const _v = "value"; +const _va = "values"; +const _xA = "xmlAttribute"; +const _xF = "xmlFlattened"; +const _xN = "xmlName"; + +// smithy-typescript generated code +import { + error as __error, + list as __list, + map as __map, + op as __op, + struct as __struct, + struct as __uni, + TypeRegistry, +} from "@smithy/core/schema"; + +import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; +import { + BooleanList, + DoubleList, + FooEnumList, + FooEnumMap, + FooEnumSet, + GreetingStruct, + IntegerEnumList, + IntegerEnumMap, + IntegerEnumSet, + IntegerList, + IntegerSet, + NestedStringList, + StringList, + StringListMap, + StringMap, + StringSet, + TimestampList, +} from "./aws.protocoltests.shared"; +import { Unit } from "./smithy.api"; + +/* eslint no-var: 0 */ + +export const aws_protocoltests_restxmlRegistry = TypeRegistry.for("aws.protocoltests.restxml"); +aws_protocoltests_restxmlRegistry.startCapture(); +export var AllQueryStringTypesInput = __struct( + _AQSTI, + {}, + [ + _qS, + _qSL, + _qSS, + _qB, + _qSu, + _qI, + _qIL, + _qIS, + _qL, + _qF, + _qD, + _qDL, + _qBu, + _qBL, + _qT, + _qTL, + _qE, + _qEL, + _qIE, + _qIEL, + _qPMOS, + ], + [ + [ + 0, + { + [_hQ]: _S, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SL, + }, + ], + [ + 64 | 0, + { + [_hQ]: _SS, + }, + ], + [ + 1, + { + [_hQ]: _B, + }, + ], + [ + 1, + { + [_hQ]: _Sh, + }, + ], + [ + 1, + { + [_hQ]: _I, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IL, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IS, + }, + ], + [ + 1, + { + [_hQ]: _L, + }, + ], + [ + 1, + { + [_hQ]: _F, + }, + ], + [ + 1, + { + [_hQ]: _D, + }, + ], + [ + 64 | 1, + { + [_hQ]: _DL, + }, + ], + [ + 2, + { + [_hQ]: _Bo, + }, + ], + [ + 64 | 2, + { + [_hQ]: _BL, + }, + ], + [ + 4, + { + [_hQ]: _T, + }, + ], + [ + 64 | 4, + { + [_hQ]: _TL, + }, + ], + [ + 0, + { + [_hQ]: _E, + }, + ], + [ + 64 | 0, + { + [_hQ]: _EL, + }, + ], + [ + 1, + { + [_hQ]: _IE, + }, + ], + [ + 64 | 1, + { + [_hQ]: _IEL, + }, + ], + [ + 128 | 0, + { + [_hQP]: 1, + }, + ], + ] +); +export var BodyWithXmlNameInputOutput = __struct( + _BWXNIO, + { + [_xN]: _A, + }, + [_n], + [[() => PayloadWithXmlName, {}]] +); +export var ComplexError = __error( + _CE, + { + [_e]: _c, + [_hE]: 403, + }, + [_H, _TLo, _N], + [ + [ + 0, + { + [_hH]: _XH, + }, + ], + 0, + () => ComplexNestedErrorData, + ], + + __ComplexError +); +export var ComplexNestedErrorData = __struct(_CNED, {}, [_Fo], [0]); +export var ConstantAndVariableQueryStringInput = __struct( + _CAVQSI, + {}, + [_b, _mS], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + [ + 0, + { + [_hQ]: _mS, + }, + ], + ] +); +export var ConstantQueryStringInput = __struct( + _CQSI, + {}, + [_h], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var ContentTypeParametersInput = __struct(_CTPI, {}, [_v], [1]); +export var ContentTypeParametersOutput = __struct(_CTPO, {}, [], []); +export var DatetimeOffsetsOutput = __struct(_DOO, {}, [_d], [5]); +export var EmptyInputAndEmptyOutputInput = __struct(_EIAEOI, {}, [], []); +export var EmptyInputAndEmptyOutputOutput = __struct(_EIAEOO, {}, [], []); +export var EndpointWithHostLabelOperationRequest = __struct( + _EWHLOR, + {}, + [_l], + [ + [ + 0, + { + [_hLo]: 1, + }, + ], + ] +); +export var EnumPayloadInput = __struct( + _EPI, + {}, + [_p], + [ + [ + 0, + { + [_hP]: 1, + }, + ], + ] +); +export var FlattenedXmlMapRequest = __struct( + _FXMR, + {}, + [_mM], + [ + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + ] +); +export var FlattenedXmlMapResponse = __struct( + _FXMRl, + {}, + [_mM], + [ + [ + 128 | 0, + { + [_xF]: 1, + }, + ], + ] +); +export var FlattenedXmlMapWithXmlNameRequest = __struct( + _FXMWXNR, + {}, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNameInputOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ] +); +export var FlattenedXmlMapWithXmlNameResponse = __struct( + _FXMWXNRl, + {}, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNameInputOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ] +); +export var FlattenedXmlMapWithXmlNamespaceOutput = __struct( + _FXMWXNO, + {}, + [_mM], + [ + [ + () => FlattenedXmlMapWithXmlNamespaceOutputMap, + { + [_xN]: _KVP, + [_xF]: 1, + }, + ], + ] +); +export var FractionalSecondsOutput = __struct(_FSO, {}, [_d], [5]); +export var GreetingWithErrorsOutput = __struct( + _GWEO, + {}, + [_g], + [ + [ + 0, + { + [_hH]: _XG, + }, + ], + ] +); +export var HostLabelHeaderInput = __struct( + _HLHI, + {}, + [_aI], + [ + [ + 0, + { + [_hLo]: 1, + [_hH]: _XAAI, + }, + ], + ] +); +export var HttpPayloadTraitsInputOutput = __struct( + _HPTIO, + {}, + [_f, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [ + 21, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadTraitsWithMediaTypeInputOutput = __struct( + _HPTWMTIO, + {}, + [_f, _bl], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [ + () => TextPlainBlob, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadWithMemberXmlNameInputOutput = __struct( + _HPWMXNIO, + {}, + [_n], + [ + [ + () => PayloadWithXmlName, + { + [_hP]: 1, + [_xN]: _Ho, + }, + ], + ] +); +export var HttpPayloadWithStructureInputOutput = __struct( + _HPWSIO, + {}, + [_n], + [ + [ + () => NestedPayload, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadWithUnionInputOutput = __struct( + _HPWUIO, + {}, + [_n], + [ + [ + () => UnionPayload, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadWithXmlNameInputOutput = __struct( + _HPWXNIO, + {}, + [_n], + [ + [ + () => PayloadWithXmlName, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadWithXmlNamespaceAndPrefixInputOutput = __struct( + _HPWXNAPIO, + {}, + [_n], + [ + [ + () => PayloadWithXmlNamespaceAndPrefix, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPayloadWithXmlNamespaceInputOutput = __struct( + _HPWXNIOt, + {}, + [_n], + [ + [ + () => PayloadWithXmlNamespace, + { + [_hP]: 1, + }, + ], + ] +); +export var HttpPrefixHeadersInputOutput = __struct( + _HPHIO, + {}, + [_f, _fM], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + [ + 128 | 0, + { + [_hPH]: _XF_, + }, + ], + ] +); +export var HttpRequestWithFloatLabelsInput = __struct( + _HRWFLI, + {}, + [_fl, _do], + [ + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + ] +); +export var HttpRequestWithGreedyLabelInPathInput = __struct( + _HRWGLIPI, + {}, + [_f, _b], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 0, + { + [_hL]: 1, + }, + ], + ] +); +export var HttpRequestWithLabelsAndTimestampFormatInput = __struct( + _HRWLATFI, + {}, + [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], + [ + [ + 7, + { + [_hL]: 1, + }, + ], + [ + 6, + { + [_hL]: 1, + }, + ], + [ + 5, + { + [_hL]: 1, + }, + ], + [ + 4, + { + [_hL]: 1, + }, + ], + [ + 7, + { + [_hL]: 1, + }, + ], + [ + 6, + { + [_hL]: 1, + }, + ], + [ + 5, + { + [_hL]: 1, + }, + ], + ] +); +export var HttpRequestWithLabelsInput = __struct( + _HRWLI, + {}, + [_s, _sh, _i, _lo, _fl, _do, _bo, _t], + [ + [ + 0, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 1, + { + [_hL]: 1, + }, + ], + [ + 2, + { + [_hL]: 1, + }, + ], + [ + 4, + { + [_hL]: 1, + }, + ], + ] +); +export var HttpResponseCodeOutput = __struct( + _HRCO, + {}, + [_St], + [ + [ + 1, + { + [_hRC]: 1, + }, + ], + ] +); +export var IgnoreQueryParamsInResponseOutput = __struct( + _IQPIRO, + {}, + [_b], + [ + [ + 0, + { + [_hQ]: _b, + }, + ], + ] +); +export var InputAndOutputWithHeadersIO = __struct( + _IAOWHIO, + {}, + [_hS, _hB, _hSe, _hI, _hLe, _hF, _hD, _hTB, _hFB, _hSL, _hSS, _hIL, _hBL, _hTL, _hEe, _hEL], + [ + [ + 0, + { + [_hH]: _XS, + }, + ], + [ + 1, + { + [_hH]: _XB, + }, + ], + [ + 1, + { + [_hH]: _XS_, + }, + ], + [ + 1, + { + [_hH]: _XI, + }, + ], + [ + 1, + { + [_hH]: _XL, + }, + ], + [ + 1, + { + [_hH]: _XF__, + }, + ], + [ + 1, + { + [_hH]: _XD, + }, + ], + [ + 2, + { + [_hH]: _XB_, + }, + ], + [ + 2, + { + [_hH]: _XB__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS__, + }, + ], + [ + 64 | 0, + { + [_hH]: _XS___, + }, + ], + [ + 64 | 1, + { + [_hH]: _XI_, + }, + ], + [ + 64 | 2, + { + [_hH]: _XB___, + }, + ], + [ + 64 | 4, + { + [_hH]: _XT, + }, + ], + [ + 0, + { + [_hH]: _XE, + }, + ], + [ + 64 | 0, + { + [_hH]: _XE_, + }, + ], + ] +); +export var InvalidGreeting = __error( + _IG, + { + [_e]: _c, + [_hE]: 400, + }, + [_M], + [0], + + __InvalidGreeting +); +export var NestedPayload = __struct(_NP, {}, [_g, _na], [0, 0]); +export var NestedXmlMapsRequest = __struct( + _NXMR, + {}, + [_nM, _fNM], + [ + () => NestedMap, + [ + () => NestedMap, + { + [_xF]: 1, + }, + ], + ] +); +export var NestedXmlMapsResponse = __struct( + _NXMRe, + {}, + [_nM, _fNM], + [ + () => NestedMap, + [ + () => NestedMap, + { + [_xF]: 1, + }, + ], + ] +); +export var NestedXmlMapWithXmlNameInputOutput = __struct( + _NXMWXNIO, + {}, + [_nXMWXNM], + [[() => NestedXmlMapWithXmlNameMap, {}]] +); +export var NoInputAndOutputOutput = __struct(_NIAOO, {}, [], []); +export var NullAndEmptyHeadersIO = __struct( + _NAEHIO, + {}, + [_a, _b_, _c_], + [ + [ + 0, + { + [_hH]: _XA, + }, + ], + [ + 0, + { + [_hH]: _XB____, + }, + ], + [ + 64 | 0, + { + [_hH]: _XC, + }, + ], + ] +); +export var OmitsNullSerializesEmptyStringInput = __struct( + _ONSESI, + {}, + [_nV, _eS], + [ + [ + 0, + { + [_hQ]: _Nu, + }, + ], + [ + 0, + { + [_hQ]: _Em, + }, + ], + ] +); +export var PayloadWithXmlName = __struct( + _PWXN, + { + [_xN]: _He, + }, + [_na], + [0] +); +export var PayloadWithXmlNamespace = __struct(_PWXNa, {}, [_na], [0]); +export var PayloadWithXmlNamespaceAndPrefix = __struct(_PWXNAP, {}, [_na], [0]); +export var PutWithContentEncodingInput = __struct( + _PWCEI, + {}, + [_en, _da], + [ + [ + 0, + { + [_hH]: _CE_, + }, + ], + 0, + ] +); +export var QueryIdempotencyTokenAutoFillInput = __struct( + _QITAFI, + {}, + [_to], + [ + [ + 0, + { + [_iT]: 1, + [_hQ]: _to, + }, + ], + ] +); +export var QueryParamsAsStringListMapInput = __struct( + _QPASLMI, + {}, + [_q, _f], + [ + [ + 0, + { + [_hQ]: _co, + }, + ], + [ + () => StringListMap, + { + [_hQP]: 1, + }, + ], + ] +); +export var QueryPrecedenceInput = __struct( + _QPI, + {}, + [_f, _b], + [ + [ + 0, + { + [_hQ]: _ba, + }, + ], + [ + 128 | 0, + { + [_hQP]: 1, + }, + ], + ] +); +export var RecursiveShapesInputOutputNested1 = __struct( + _RSION, + {}, + [_f, _n], + [0, () => RecursiveShapesInputOutputNested2] +); +export var RecursiveShapesInputOutputNested2 = __struct( + _RSIONe, + {}, + [_ba, _rM], + [0, () => RecursiveShapesInputOutputNested1] +); +export var RecursiveShapesRequest = __struct(_RSR, {}, [_n], [() => RecursiveShapesInputOutputNested1]); +export var RecursiveShapesResponse = __struct(_RSRe, {}, [_n], [() => RecursiveShapesInputOutputNested1]); +export var SimpleScalarPropertiesRequest = __struct( + _SSPR, + {}, + [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ] +); +export var SimpleScalarPropertiesResponse = __struct( + _SSPRi, + {}, + [_f, _sV, _tBV, _fBV, _bV, _sVh, _iV, _lV, _fV, _dV], + [ + [ + 0, + { + [_hH]: _XF, + }, + ], + 0, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + [ + 1, + { + [_xN]: _DD, + }, + ], + ] +); +export var StringPayloadInput = __struct( + _SPI, + {}, + [_p], + [ + [ + 0, + { + [_hP]: 1, + }, + ], + ] +); +export var StructureListMember = __struct( + _SLM, + {}, + [_a, _b_], + [ + [ + 0, + { + [_xN]: _v, + }, + ], + [ + 0, + { + [_xN]: _o, + }, + ], + ] +); +export var TimestampFormatHeadersIO = __struct( + _TFHIO, + {}, + [_mES, _mHD, _mDT, _dF, _tES, _tHD, _tDT], + [ + [ + 7, + { + [_hH]: _Xm, + }, + ], + [ + 6, + { + [_hH]: _Xm_, + }, + ], + [ + 5, + { + [_hH]: _Xm__, + }, + ], + [ + 4, + { + [_hH]: _Xd, + }, + ], + [ + 7, + { + [_hH]: _Xt, + }, + ], + [ + 6, + { + [_hH]: _Xt_, + }, + ], + [ + 5, + { + [_hH]: _Xt__, + }, + ], + ] +); +export var XmlAttributesOnPayloadRequest = __struct( + _XAOPR, + {}, + [_p], + [ + [ + () => XmlAttributesPayloadRequest, + { + [_hP]: 1, + }, + ], + ] +); +export var XmlAttributesOnPayloadResponse = __struct( + _XAOPRm, + {}, + [_p], + [ + [ + () => XmlAttributesPayloadResponse, + { + [_hP]: 1, + }, + ], + ] +); +export var XmlAttributesPayloadRequest = __struct( + _XAPR, + {}, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ] +); +export var XmlAttributesPayloadResponse = __struct( + _XAPRm, + {}, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ] +); +export var XmlAttributesRequest = __struct( + _XAR, + {}, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ] +); +export var XmlAttributesResponse = __struct( + _XARm, + {}, + [_f, _at], + [ + 0, + [ + 0, + { + [_xN]: _te, + [_xA]: 1, + }, + ], + ] +); +export var XmlBlobsRequest = __struct(_XBR, {}, [_da], [21]); +export var XmlBlobsResponse = __struct(_XBRm, {}, [_da], [21]); +export var XmlEmptyBlobsRequest = __struct(_XEBR, {}, [_da], [21]); +export var XmlEmptyBlobsResponse = __struct(_XEBRm, {}, [_da], [21]); +export var XmlEmptyListsRequest = __struct( + _XELR, + {}, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + () => NestedStringList, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ] +); +export var XmlEmptyListsResponse = __struct( + _XELRm, + {}, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + () => NestedStringList, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ] +); +export var XmlEmptyMapsRequest = __struct(_XEMR, {}, [_mM], [() => XmlMapsInputOutputMap]); +export var XmlEmptyMapsResponse = __struct(_XEMRm, {}, [_mM], [() => XmlMapsInputOutputMap]); +export var XmlEmptyStringsRequest = __struct(_XESR, {}, [_eS], [0]); +export var XmlEmptyStringsResponse = __struct(_XESRm, {}, [_eS], [0]); +export var XmlEnumsRequest = __struct( + _XER, + {}, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] +); +export var XmlEnumsResponse = __struct( + _XERm, + {}, + [_fE, _fEo, _fEoo, _fEL, _fES, _fEM], + [0, 0, 0, 64 | 0, 64 | 0, 128 | 0] +); +export var XmlIntEnumsRequest = __struct( + _XIER, + {}, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] +); +export var XmlIntEnumsResponse = __struct( + _XIERm, + {}, + [_iE, _iEn, _iEnt, _iEL, _iES, _iEM], + [1, 1, 1, 64 | 1, 64 | 1, 128 | 1] +); +export var XmlListsRequest = __struct( + _XLR, + {}, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + () => NestedStringList, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ] +); +export var XmlListsResponse = __struct( + _XLRm, + {}, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _rLM, _fL, _fLl, _fLWMN, _fLWN, _sLt, _fSL], + [ + 64 | 0, + 64 | 0, + 64 | 1, + 64 | 2, + 64 | 4, + 64 | 0, + 64 | 1, + () => NestedStringList, + [ + () => RenamedListMembers, + { + [_xN]: _r, + }, + ], + [ + () => RenamedListMembers, + { + [_xF]: 1, + }, + ], + [ + () => RenamedListMembers, + { + [_xN]: _cN, + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + 64 | 0, + { + [_xF]: 1, + }, + ], + [ + () => StructureList, + { + [_xN]: _mSL, + }, + ], + [ + () => StructureList, + { + [_xF]: 1, + }, + ], + ] +); +export var XmlMapsRequest = __struct(_XMR, {}, [_mM], [() => XmlMapsInputOutputMap]); +export var XmlMapsResponse = __struct(_XMRm, {}, [_mM], [() => XmlMapsInputOutputMap]); +export var XmlMapsXmlNameRequest = __struct(_XMXNR, {}, [_mM], [[() => XmlMapsXmlNameInputOutputMap, {}]]); +export var XmlMapsXmlNameResponse = __struct(_XMXNRm, {}, [_mM], [[() => XmlMapsXmlNameInputOutputMap, {}]]); +export var XmlMapWithXmlNamespaceRequest = __struct( + _XMWXNR, + {}, + [_mM], + [ + [ + () => XmlMapWithXmlNamespaceInputOutputMap, + { + [_xN]: _KVP, + }, + ], + ] +); +export var XmlMapWithXmlNamespaceResponse = __struct( + _XMWXNRm, + {}, + [_mM], + [ + [ + () => XmlMapWithXmlNamespaceInputOutputMap, + { + [_xN]: _KVP, + }, + ], + ] +); +export var XmlNamespaceNested = __struct(_XNN, {}, [_f, _va], [0, 64 | 0]); +export var XmlNamespacesRequest = __struct(_XNR, {}, [_n], [() => XmlNamespaceNested]); +export var XmlNamespacesResponse = __struct(_XNRm, {}, [_n], [() => XmlNamespaceNested]); +export var XmlNestedUnionStruct = __struct( + _XNUS, + {}, + [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV], + [0, 2, 1, 1, 1, 1, 1, 1] +); +export var XmlTimestampsRequest = __struct( + _XTR, + {}, + [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], + [4, 5, 5, 7, 7, 6, 6] +); +export var XmlTimestampsResponse = __struct( + _XTRm, + {}, + [_no, _dT, _dTOT, _eSp, _eSOT, _hDt, _hDOT], + [4, 5, 5, 7, 7, 6, 6] +); +export var XmlUnionsRequest = __struct(_XUR, {}, [_uV], [() => XmlUnionShape]); +export var XmlUnionsResponse = __struct(_XURm, {}, [_uV], [() => XmlUnionShape]); +export var ListWithMemberNamespace = 64 | 0; + +export var ListWithNamespace = 64 | 0; + +export var RenamedListMembers = __list(_RLM, {}, [ + 0, + { + [_xN]: _it, + }, +]); +export var StructureList = __list(_SLt, {}, [ + () => StructureListMember, + { + [_xN]: _it, + }, +]); +export var XmlNamespacedList = 64 | 0; + +export var FlattenedXmlMapWithXmlNameInputOutputMap = __map(_FXMWXNIOM, {}, [ + 0, + { + [_xN]: _V, + }, +]); +export var FlattenedXmlMapWithXmlNamespaceOutputMap = __map(_FXMWXNOM, {}, [ + 0, + { + [_xN]: _V, + }, +]); +export var FooPrefixHeaders = 128 | 0; + +export var NestedMap = __map(_NM, {}, 128 | 0); +export var NestedXmlMapWithXmlNameInnerMap = __map(_NXMWXNIM, {}, [ + 0, + { + [_xN]: _IV, + }, +]); +export var NestedXmlMapWithXmlNameMap = __map(_NXMWXNM, {}, [() => NestedXmlMapWithXmlNameInnerMap, {}]); +export var XmlMapsInputOutputMap = __map(_XMIOM, {}, () => GreetingStruct); +export var XmlMapsXmlNameInputOutputMap = __map(_XMXNIOM, {}, [ + () => GreetingStruct, + { + [_xN]: _Se, + }, +]); +export var XmlMapWithXmlNamespaceInputOutputMap = __map(_XMWXNIOM, {}, [ + 0, + { + [_xN]: _V, + }, +]); +export var UnionPayload = __uni(_UP, {}, [_g], [0]); +export var XmlUnionShape = __uni( + _XUS, + {}, + [_sV, _bVo, _bV, _sVh, _iV, _lV, _fV, _dV, _uV, _sVt], + [0, 2, 1, 1, 1, 1, 1, 1, () => XmlUnionShape, () => XmlNestedUnionStruct] +); +export var AllQueryStringTypes = __op( + _AQST, + { + [_ht]: ["GET", "/AllQueryStringTypesInput", 200], + }, + () => AllQueryStringTypesInput, + () => Unit +); +export var BodyWithXmlName = __op( + _BWXN, + { + [_ht]: ["PUT", "/BodyWithXmlName", 200], + }, + () => BodyWithXmlNameInputOutput, + () => BodyWithXmlNameInputOutput +); +export var ConstantAndVariableQueryString = __op( + _CAVQS, + { + [_ht]: ["GET", "/ConstantAndVariableQueryString?foo=bar", 200], + }, + () => ConstantAndVariableQueryStringInput, + () => Unit +); +export var ConstantQueryString = __op( + _CQS, + { + [_ht]: ["GET", "/ConstantQueryString/{hello}?foo=bar&hello", 200], + }, + () => ConstantQueryStringInput, + () => Unit +); +export var ContentTypeParameters = __op( + _CTP, + { + [_ht]: ["PUT", "/ContentTypeParameters", 200], + }, + () => ContentTypeParametersInput, + () => ContentTypeParametersOutput +); +export var DatetimeOffsets = __op( + _DO, + { + [_ht]: ["POST", "/DatetimeOffsets", 200], + }, + () => Unit, + () => DatetimeOffsetsOutput +); +export var EmptyInputAndEmptyOutput = __op( + _EIAEO, + { + [_ht]: ["POST", "/EmptyInputAndEmptyOutput", 200], + }, + () => EmptyInputAndEmptyOutputInput, + () => EmptyInputAndEmptyOutputOutput +); +export var EndpointOperation = __op( + _EO, + { + [_ht]: ["POST", "/EndpointOperation", 200], + }, + () => Unit, + () => Unit +); +export var EndpointWithHostLabelHeaderOperation = __op( + _EWHLHO, + { + [_ht]: ["POST", "/EndpointWithHostLabelHeaderOperation", 200], + }, + () => HostLabelHeaderInput, + () => Unit +); +export var EndpointWithHostLabelOperation = __op( + _EWHLO, + { + [_ht]: ["POST", "/EndpointWithHostLabelOperation", 200], + }, + () => EndpointWithHostLabelOperationRequest, + () => Unit +); +export var FlattenedXmlMap = __op( + _FXM, + { + [_ht]: ["POST", "/FlattenedXmlMap", 200], + }, + () => FlattenedXmlMapRequest, + () => FlattenedXmlMapResponse +); +export var FlattenedXmlMapWithXmlName = __op( + _FXMWXN, + { + [_ht]: ["POST", "/FlattenedXmlMapWithXmlName", 200], + }, + () => FlattenedXmlMapWithXmlNameRequest, + () => FlattenedXmlMapWithXmlNameResponse +); +export var FlattenedXmlMapWithXmlNamespace = __op( + _FXMWXNl, + { + [_ht]: ["POST", "/FlattenedXmlMapWithXmlNamespace", 200], + }, + () => Unit, + () => FlattenedXmlMapWithXmlNamespaceOutput +); +export var FractionalSeconds = __op( + _FS, + { + [_ht]: ["POST", "/FractionalSeconds", 200], + }, + () => Unit, + () => FractionalSecondsOutput +); +export var GreetingWithErrors = __op( + _GWE, + { + [_ht]: ["PUT", "/GreetingWithErrors", 200], + }, + () => Unit, + () => GreetingWithErrorsOutput +); +export var HttpEnumPayload = __op( + _HEP, + { + [_ht]: ["POST", "/EnumPayload", 200], + }, + () => EnumPayloadInput, + () => EnumPayloadInput +); +export var HttpPayloadTraits = __op( + _HPT, + { + [_ht]: ["POST", "/HttpPayloadTraits", 200], + }, + () => HttpPayloadTraitsInputOutput, + () => HttpPayloadTraitsInputOutput +); +export var HttpPayloadTraitsWithMediaType = __op( + _HPTWMT, + { + [_ht]: ["POST", "/HttpPayloadTraitsWithMediaType", 200], + }, + () => HttpPayloadTraitsWithMediaTypeInputOutput, + () => HttpPayloadTraitsWithMediaTypeInputOutput +); +export var HttpPayloadWithMemberXmlName = __op( + _HPWMXN, + { + [_ht]: ["PUT", "/HttpPayloadWithMemberXmlName", 200], + }, + () => HttpPayloadWithMemberXmlNameInputOutput, + () => HttpPayloadWithMemberXmlNameInputOutput +); +export var HttpPayloadWithStructure = __op( + _HPWS, + { + [_ht]: ["PUT", "/HttpPayloadWithStructure", 200], + }, + () => HttpPayloadWithStructureInputOutput, + () => HttpPayloadWithStructureInputOutput +); +export var HttpPayloadWithUnion = __op( + _HPWU, + { + [_ht]: ["PUT", "/HttpPayloadWithUnion", 200], + }, + () => HttpPayloadWithUnionInputOutput, + () => HttpPayloadWithUnionInputOutput +); +export var HttpPayloadWithXmlName = __op( + _HPWXN, + { + [_ht]: ["PUT", "/HttpPayloadWithXmlName", 200], + }, + () => HttpPayloadWithXmlNameInputOutput, + () => HttpPayloadWithXmlNameInputOutput +); +export var HttpPayloadWithXmlNamespace = __op( + _HPWXNt, + { + [_ht]: ["PUT", "/HttpPayloadWithXmlNamespace", 200], + }, + () => HttpPayloadWithXmlNamespaceInputOutput, + () => HttpPayloadWithXmlNamespaceInputOutput +); +export var HttpPayloadWithXmlNamespaceAndPrefix = __op( + _HPWXNAP, + { + [_ht]: ["PUT", "/HttpPayloadWithXmlNamespaceAndPrefix", 200], + }, + () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput, + () => HttpPayloadWithXmlNamespaceAndPrefixInputOutput +); +export var HttpPrefixHeaders = __op( + _HPH, + { + [_ht]: ["GET", "/HttpPrefixHeaders", 200], + }, + () => HttpPrefixHeadersInputOutput, + () => HttpPrefixHeadersInputOutput +); +export var HttpRequestWithFloatLabels = __op( + _HRWFL, + { + [_ht]: ["GET", "/FloatHttpLabels/{float}/{double}", 200], + }, + () => HttpRequestWithFloatLabelsInput, + () => Unit +); +export var HttpRequestWithGreedyLabelInPath = __op( + _HRWGLIP, + { + [_ht]: ["GET", "/HttpRequestWithGreedyLabelInPath/foo/{foo}/baz/{baz+}", 200], + }, + () => HttpRequestWithGreedyLabelInPathInput, + () => Unit +); +export var HttpRequestWithLabels = __op( + _HRWL, + { + [_ht]: [ + "GET", + "/HttpRequestWithLabels/{string}/{short}/{integer}/{long}/{float}/{double}/{boolean}/{timestamp}", + 200, + ], + }, + () => HttpRequestWithLabelsInput, + () => Unit +); +export var HttpRequestWithLabelsAndTimestampFormat = __op( + _HRWLATF, + { + [_ht]: [ + "GET", + "/HttpRequestWithLabelsAndTimestampFormat/{memberEpochSeconds}/{memberHttpDate}/{memberDateTime}/{defaultFormat}/{targetEpochSeconds}/{targetHttpDate}/{targetDateTime}", + 200, + ], + }, + () => HttpRequestWithLabelsAndTimestampFormatInput, + () => Unit +); +export var HttpResponseCode = __op( + _HRC, + { + [_ht]: ["PUT", "/HttpResponseCode", 200], + }, + () => Unit, + () => HttpResponseCodeOutput +); +export var HttpStringPayload = __op( + _HSP, + { + [_ht]: ["POST", "/StringPayload", 200], + }, + () => StringPayloadInput, + () => StringPayloadInput +); +export var IgnoreQueryParamsInResponse = __op( + _IQPIR, + { + [_ht]: ["GET", "/IgnoreQueryParamsInResponse", 200], + }, + () => Unit, + () => IgnoreQueryParamsInResponseOutput +); +export var InputAndOutputWithHeaders = __op( + _IAOWH, + { + [_ht]: ["POST", "/InputAndOutputWithHeaders", 200], + }, + () => InputAndOutputWithHeadersIO, + () => InputAndOutputWithHeadersIO +); +export var NestedXmlMaps = __op( + _NXM, + { + [_ht]: ["POST", "/NestedXmlMaps", 200], + }, + () => NestedXmlMapsRequest, + () => NestedXmlMapsResponse +); +export var NestedXmlMapWithXmlName = __op( + _NXMWXN, + { + [_ht]: ["POST", "/NestedXmlMapWithXmlName", 200], + }, + () => NestedXmlMapWithXmlNameInputOutput, + () => NestedXmlMapWithXmlNameInputOutput +); +export var NoInputAndNoOutput = __op( + _NIANO, + { + [_ht]: ["POST", "/NoInputAndNoOutput", 200], + }, + () => Unit, + () => Unit +); +export var NoInputAndOutput = __op( + _NIAO, + { + [_ht]: ["POST", "/NoInputAndOutputOutput", 200], + }, + () => Unit, + () => NoInputAndOutputOutput +); +export var NullAndEmptyHeadersClient = __op( + _NAEHC, + { + [_ht]: ["GET", "/NullAndEmptyHeadersClient", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO +); +export var NullAndEmptyHeadersServer = __op( + _NAEHS, + { + [_ht]: ["GET", "/NullAndEmptyHeadersServer", 200], + }, + () => NullAndEmptyHeadersIO, + () => NullAndEmptyHeadersIO +); +export var OmitsNullSerializesEmptyString = __op( + _ONSES, + { + [_ht]: ["GET", "/OmitsNullSerializesEmptyString", 200], + }, + () => OmitsNullSerializesEmptyStringInput, + () => Unit +); +export var PutWithContentEncoding = __op( + _PWCE, + { + [_ht]: ["POST", "/requestcompression/putcontentwithencoding", 200], + }, + () => PutWithContentEncodingInput, + () => Unit +); +export var QueryIdempotencyTokenAutoFill = __op( + _QITAF, + { + [_ht]: ["POST", "/QueryIdempotencyTokenAutoFill", 200], + }, + () => QueryIdempotencyTokenAutoFillInput, + () => Unit +); +export var QueryParamsAsStringListMap = __op( + _QPASLM, + { + [_ht]: ["POST", "/StringListMap", 200], + }, + () => QueryParamsAsStringListMapInput, + () => Unit +); +export var QueryPrecedence = __op( + _QP, + { + [_ht]: ["POST", "/Precedence", 200], + }, + () => QueryPrecedenceInput, + () => Unit +); +export var RecursiveShapes = __op( + _RS, + { + [_ht]: ["PUT", "/RecursiveShapes", 200], + }, + () => RecursiveShapesRequest, + () => RecursiveShapesResponse +); +export var SimpleScalarProperties = __op( + _SSP, + { + [_ht]: ["PUT", "/SimpleScalarProperties", 200], + }, + () => SimpleScalarPropertiesRequest, + () => SimpleScalarPropertiesResponse +); +export var TimestampFormatHeaders = __op( + _TFH, + { + [_ht]: ["POST", "/TimestampFormatHeaders", 200], + }, + () => TimestampFormatHeadersIO, + () => TimestampFormatHeadersIO +); +export var XmlAttributes = __op( + _XAm, + { + [_ht]: ["PUT", "/XmlAttributes", 200], + }, + () => XmlAttributesRequest, + () => XmlAttributesResponse +); +export var XmlAttributesOnPayload = __op( + _XAOP, + { + [_ht]: ["PUT", "/XmlAttributesOnPayload", 200], + }, + () => XmlAttributesOnPayloadRequest, + () => XmlAttributesOnPayloadResponse +); +export var XmlBlobs = __op( + _XBm, + { + [_ht]: ["POST", "/XmlBlobs", 200], + }, + () => XmlBlobsRequest, + () => XmlBlobsResponse +); +export var XmlEmptyBlobs = __op( + _XEB, + { + [_ht]: ["POST", "/XmlEmptyBlobs", 200], + }, + () => XmlEmptyBlobsRequest, + () => XmlEmptyBlobsResponse +); +export var XmlEmptyLists = __op( + _XEL, + { + [_ht]: ["PUT", "/XmlEmptyLists", 200], + }, + () => XmlEmptyListsRequest, + () => XmlEmptyListsResponse +); +export var XmlEmptyMaps = __op( + _XEM, + { + [_ht]: ["POST", "/XmlEmptyMaps", 200], + }, + () => XmlEmptyMapsRequest, + () => XmlEmptyMapsResponse +); +export var XmlEmptyStrings = __op( + _XES, + { + [_ht]: ["PUT", "/XmlEmptyStrings", 200], + }, + () => XmlEmptyStringsRequest, + () => XmlEmptyStringsResponse +); +export var XmlEnums = __op( + _XEm, + { + [_ht]: ["PUT", "/XmlEnums", 200], + }, + () => XmlEnumsRequest, + () => XmlEnumsResponse +); +export var XmlIntEnums = __op( + _XIE, + { + [_ht]: ["PUT", "/XmlIntEnums", 200], + }, + () => XmlIntEnumsRequest, + () => XmlIntEnumsResponse +); +export var XmlLists = __op( + _XLm, + { + [_ht]: ["PUT", "/XmlLists", 200], + }, + () => XmlListsRequest, + () => XmlListsResponse +); +export var XmlMaps = __op( + _XM, + { + [_ht]: ["POST", "/XmlMaps", 200], + }, + () => XmlMapsRequest, + () => XmlMapsResponse +); +export var XmlMapsXmlName = __op( + _XMXN, + { + [_ht]: ["POST", "/XmlMapsXmlName", 200], + }, + () => XmlMapsXmlNameRequest, + () => XmlMapsXmlNameResponse +); +export var XmlMapWithXmlNamespace = __op( + _XMWXN, + { + [_ht]: ["POST", "/XmlMapWithXmlNamespace", 200], + }, + () => XmlMapWithXmlNamespaceRequest, + () => XmlMapWithXmlNamespaceResponse +); +export var XmlNamespaces = __op( + _XN, + { + [_ht]: ["POST", "/XmlNamespaces", 200], + }, + () => XmlNamespacesRequest, + () => XmlNamespacesResponse +); +export var XmlTimestamps = __op( + _XTm, + { + [_ht]: ["POST", "/XmlTimestamps", 200], + }, + () => XmlTimestampsRequest, + () => XmlTimestampsResponse +); +export var XmlUnions = __op( + _XU, + { + [_ht]: ["PUT", "/XmlUnions", 200], + }, + () => XmlUnionsRequest, + () => XmlUnionsResponse +); +aws_protocoltests_restxmlRegistry.stopCapture(); diff --git a/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.shared.ts b/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.shared.ts new file mode 100644 index 000000000000..fa9e6c358052 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/schemas/aws.protocoltests.shared.ts @@ -0,0 +1,64 @@ +const _BL = "BooleanList"; +const _DL = "DoubleList"; +const _DT = "DateTime"; +const _ES = "EpochSeconds"; +const _FE = "FooEnum"; +const _FEL = "FooEnumList"; +const _FEM = "FooEnumMap"; +const _FES = "FooEnumSet"; +const _GS = "GreetingStruct"; +const _HD = "HttpDate"; +const _IE = "IntegerEnum"; +const _IEL = "IntegerEnumList"; +const _IEM = "IntegerEnumMap"; +const _IES = "IntegerEnumSet"; +const _IL = "IntegerList"; +const _IS = "IntegerSet"; +const _NSL = "NestedStringList"; +const _SL = "StringList"; +const _SLM = "StringListMap"; +const _SM = "StringMap"; +const _SS = "StringSet"; +const _TL = "TimestampList"; +const _TPB = "TextPlainBlob"; +const _h = "hi"; + +// smithy-typescript generated code +import { list as __list, map as __map, struct as __struct, TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const aws_protocoltests_sharedRegistry = TypeRegistry.for("aws.protocoltests.shared"); +aws_protocoltests_sharedRegistry.startCapture(); +export var GreetingStruct = __struct(_GS, {}, [_h], [0]); +export var BooleanList = 64 | 2; + +export var DoubleList = 64 | 1; + +export var FooEnumList = 64 | 0; + +export var FooEnumSet = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerEnumSet = 64 | 1; + +export var IntegerList = 64 | 1; + +export var IntegerSet = 64 | 1; + +export var NestedStringList = __list(_NSL, {}, 64 | 0); +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var FooEnumMap = 128 | 0; + +export var IntegerEnumMap = 128 | 1; + +export var StringListMap = __map(_SLM, {}, 64 | 0); +export var StringMap = 128 | 0; + +aws_protocoltests_sharedRegistry.stopCapture(); diff --git a/private/aws-protocoltests-restxml/src/schemas/index.ts b/private/aws-protocoltests-restxml/src/schemas/index.ts new file mode 100644 index 000000000000..5db911909932 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/schemas/index.ts @@ -0,0 +1,6 @@ +export * from "./aws.protocoltests.restxml"; + +// smithy-typescript generated code +export * from "./aws.protocoltests.shared"; + +export * from "./smithy.api"; diff --git a/private/aws-protocoltests-restxml/src/schemas/smithy.api.ts b/private/aws-protocoltests-restxml/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..7f81ee005f63 --- /dev/null +++ b/private/aws-protocoltests-restxml/src/schemas/smithy.api.ts @@ -0,0 +1,21 @@ +const _B = "Boolean"; +const _Bl = "Blob"; +const _By = "Byte"; +const _D = "Double"; +const _F = "Float"; +const _I = "Integer"; +const _L = "Long"; +const _S = "String"; +const _Sh = "Short"; +const _T = "Timestamp"; + +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit"; + +smithy_apiRegistry.stopCapture(); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/RpcV2ProtocolClient.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/RpcV2ProtocolClient.ts index b8d8d56a2c9b..700759df92a1 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/RpcV2ProtocolClient.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/RpcV2ProtocolClient.ts @@ -19,6 +19,7 @@ import { resolveCustomEndpointsConfig, } from "@smithy/config-resolver"; import { DefaultIdentityProviderConfig, getHttpAuthSchemePlugin, getHttpSigningPlugin } from "@smithy/core"; +import { getSchemaSerdePlugin } from "@smithy/core/schema"; import { getContentLengthPlugin } from "@smithy/middleware-content-length"; import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; @@ -301,6 +302,7 @@ export class RpcV2ProtocolClient extends __Client< const _config_6 = resolveRuntimeExtensions(_config_5, configuration?.extensions || []); super(_config_6); this.config = _config_6; + this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/EmptyInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/EmptyInputOutputCommand.ts index 0bd71d5b0a36..bcdba9db54ce 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/EmptyInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/EmptyInputOutputCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { EmptyStructure } from "../models/models_0"; -import { de_EmptyInputOutputCommand, se_EmptyInputOutputCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { EmptyInputOutput } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -60,13 +59,12 @@ export class EmptyInputOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "EmptyInputOutput", {}) .n("RpcV2ProtocolClient", "EmptyInputOutputCommand") .f(void 0, void 0) - .ser(se_EmptyInputOutputCommand) - .de(de_EmptyInputOutputCommand) + .sc(EmptyInputOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/Float16Command.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/Float16Command.ts index c07663856b7c..d13d54d1a017 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/Float16Command.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/Float16Command.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { Float16Output } from "../models/models_0"; -import { de_Float16Command, se_Float16Command } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { Float16 } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -62,13 +61,12 @@ export class Float16Command extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "Float16", {}) .n("RpcV2ProtocolClient", "Float16Command") .f(void 0, void 0) - .ser(se_Float16Command) - .de(de_Float16Command) + .sc(Float16) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/FractionalSecondsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/FractionalSecondsCommand.ts index 6541998b0f7b..cba8f63ff6e8 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/FractionalSecondsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/FractionalSecondsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { FractionalSecondsOutput } from "../models/models_0"; -import { de_FractionalSecondsCommand, se_FractionalSecondsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { FractionalSeconds } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -62,13 +61,12 @@ export class FractionalSecondsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "FractionalSeconds", {}) .n("RpcV2ProtocolClient", "FractionalSecondsCommand") .f(void 0, void 0) - .ser(se_FractionalSecondsCommand) - .de(de_FractionalSecondsCommand) + .sc(FractionalSeconds) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/GreetingWithErrorsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/GreetingWithErrorsCommand.ts index 7f5b1263fb42..aaf4afbb5930 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/GreetingWithErrorsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/GreetingWithErrorsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GreetingWithErrorsOutput } from "../models/models_0"; -import { de_GreetingWithErrorsCommand, se_GreetingWithErrorsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { GreetingWithErrors } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -75,13 +74,12 @@ export class GreetingWithErrorsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "GreetingWithErrors", {}) .n("RpcV2ProtocolClient", "GreetingWithErrorsCommand") .f(void 0, void 0) - .ser(se_GreetingWithErrorsCommand) - .de(de_GreetingWithErrorsCommand) + .sc(GreetingWithErrors) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/NoInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/NoInputOutputCommand.ts index 12e926851932..c7a405a2a57f 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/NoInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/NoInputOutputCommand.ts @@ -1,10 +1,9 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { de_NoInputOutputCommand, se_NoInputOutputCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { NoInputOutput } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -59,13 +58,12 @@ export class NoInputOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "NoInputOutput", {}) .n("RpcV2ProtocolClient", "NoInputOutputCommand") .f(void 0, void 0) - .ser(se_NoInputOutputCommand) - .de(de_NoInputOutputCommand) + .sc(NoInputOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OperationWithDefaultsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OperationWithDefaultsCommand.ts index 7e1f91a55e4a..31db29488c81 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OperationWithDefaultsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OperationWithDefaultsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { OperationWithDefaultsInput, OperationWithDefaultsOutput } from "../models/models_0"; -import { de_OperationWithDefaultsCommand, se_OperationWithDefaultsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { OperationWithDefaults } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -128,13 +127,12 @@ export class OperationWithDefaultsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "OperationWithDefaults", {}) .n("RpcV2ProtocolClient", "OperationWithDefaultsCommand") .f(void 0, void 0) - .ser(se_OperationWithDefaultsCommand) - .de(de_OperationWithDefaultsCommand) + .sc(OperationWithDefaults) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OptionalInputOutputCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OptionalInputOutputCommand.ts index a96ea6b777ef..aabec41ca817 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OptionalInputOutputCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/OptionalInputOutputCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { SimpleStructure } from "../models/models_0"; -import { de_OptionalInputOutputCommand, se_OptionalInputOutputCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { OptionalInputOutput } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -64,13 +63,12 @@ export class OptionalInputOutputCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "OptionalInputOutput", {}) .n("RpcV2ProtocolClient", "OptionalInputOutputCommand") .f(void 0, void 0) - .ser(se_OptionalInputOutputCommand) - .de(de_OptionalInputOutputCommand) + .sc(OptionalInputOutput) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RecursiveShapesCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RecursiveShapesCommand.ts index 7ec9c0318eeb..c337400c5e43 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RecursiveShapesCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RecursiveShapesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { RecursiveShapesInputOutput } from "../models/models_0"; -import { de_RecursiveShapesCommand, se_RecursiveShapesCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { RecursiveShapes } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -88,13 +87,12 @@ export class RecursiveShapesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "RecursiveShapes", {}) .n("RpcV2ProtocolClient", "RecursiveShapesCommand") .f(void 0, void 0) - .ser(se_RecursiveShapesCommand) - .de(de_RecursiveShapesCommand) + .sc(RecursiveShapes) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborDenseMapsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborDenseMapsCommand.ts index 2f87b3a67e56..c5c52e2e834d 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborDenseMapsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborDenseMapsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { RpcV2CborDenseMapsInputOutput } from "../models/models_0"; -import { de_RpcV2CborDenseMapsCommand, se_RpcV2CborDenseMapsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { RpcV2CborDenseMaps } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -105,13 +104,12 @@ export class RpcV2CborDenseMapsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "RpcV2CborDenseMaps", {}) .n("RpcV2ProtocolClient", "RpcV2CborDenseMapsCommand") .f(void 0, void 0) - .ser(se_RpcV2CborDenseMapsCommand) - .de(de_RpcV2CborDenseMapsCommand) + .sc(RpcV2CborDenseMaps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborListsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborListsCommand.ts index 7d2e7e3b3adf..2bd90085b8f4 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborListsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborListsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { RpcV2CborListInputOutput } from "../models/models_0"; -import { de_RpcV2CborListsCommand, se_RpcV2CborListsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { RpcV2CborLists } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -143,13 +142,12 @@ export class RpcV2CborListsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "RpcV2CborLists", {}) .n("RpcV2ProtocolClient", "RpcV2CborListsCommand") .f(void 0, void 0) - .ser(se_RpcV2CborListsCommand) - .de(de_RpcV2CborListsCommand) + .sc(RpcV2CborLists) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborSparseMapsCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborSparseMapsCommand.ts index fd95641c80c6..e6d90c11bce5 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborSparseMapsCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/RpcV2CborSparseMapsCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { RpcV2CborSparseMapsInputOutput } from "../models/models_0"; -import { de_RpcV2CborSparseMapsCommand, se_RpcV2CborSparseMapsCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { RpcV2CborSparseMaps } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -105,13 +104,12 @@ export class RpcV2CborSparseMapsCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "RpcV2CborSparseMaps", {}) .n("RpcV2ProtocolClient", "RpcV2CborSparseMapsCommand") .f(void 0, void 0) - .ser(se_RpcV2CborSparseMapsCommand) - .de(de_RpcV2CborSparseMapsCommand) + .sc(RpcV2CborSparseMaps) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SimpleScalarPropertiesCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SimpleScalarPropertiesCommand.ts index 916e74aace8a..50112df7db43 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SimpleScalarPropertiesCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SimpleScalarPropertiesCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { SimpleScalarStructure } from "../models/models_0"; -import { de_SimpleScalarPropertiesCommand, se_SimpleScalarPropertiesCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { SimpleScalarProperties } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -82,13 +81,12 @@ export class SimpleScalarPropertiesCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "SimpleScalarProperties", {}) .n("RpcV2ProtocolClient", "SimpleScalarPropertiesCommand") .f(void 0, void 0) - .ser(se_SimpleScalarPropertiesCommand) - .de(de_SimpleScalarPropertiesCommand) + .sc(SimpleScalarProperties) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SparseNullsOperationCommand.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SparseNullsOperationCommand.ts index 27699376c7ef..3f511f1c5e72 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SparseNullsOperationCommand.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/commands/SparseNullsOperationCommand.ts @@ -1,11 +1,10 @@ // smithy-typescript generated code -import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { SparseNullsOperationInputOutput } from "../models/models_0"; -import { de_SparseNullsOperationCommand, se_SparseNullsOperationCommand } from "../protocols/Rpcv2cbor"; import { RpcV2ProtocolClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RpcV2ProtocolClient"; +import { SparseNullsOperation } from "../schemas/smithy.protocoltests.rpcv2Cbor"; /** * @public @@ -74,13 +73,12 @@ export class SparseNullsOperationCommand extends $Command ServiceOutputTypes >() .m(function (this: any, Command: any, cs: any, config: RpcV2ProtocolClientResolvedConfig, o: any) { - return [getSerdePlugin(config, this.serialize, this.deserialize)]; + return []; }) .s("RpcV2Protocol", "SparseNullsOperation", {}) .n("RpcV2ProtocolClient", "SparseNullsOperationCommand") .f(void 0, void 0) - .ser(se_SparseNullsOperationCommand) - .de(de_SparseNullsOperationCommand) + .sc(SparseNullsOperation) .build() { /** @internal type navigation helper, not in runtime. */ protected declare static __types: { diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/runtimeConfig.shared.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/runtimeConfig.shared.ts index 7f16a3e53741..8c5610c8cad4 100644 --- a/private/aws-protocoltests-smithy-rpcv2-cbor/src/runtimeConfig.shared.ts +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { NoAuthSigner } from "@smithy/core"; +import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; import { NoOpLogger } from "@smithy/smithy-client"; import { IdentityProviderConfig } from "@smithy/types"; import { parseUrl } from "@smithy/url-parser"; @@ -29,6 +30,7 @@ export const getRuntimeConfig = (config: RpcV2ProtocolClientConfig) => { }, ], logger: config?.logger ?? new NoOpLogger(), + protocol: config?.protocol ?? new SmithyRpcV2CborProtocol(), urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/index.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/index.ts new file mode 100644 index 000000000000..a3ca8ba386ff --- /dev/null +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/index.ts @@ -0,0 +1,8 @@ +// smithy-typescript generated code +export * from "./smithy.api"; + +export * from "./smithy.framework"; + +export * from "./smithy.protocoltests.rpcv2Cbor"; + +export * from "./smithy.protocoltests.shared"; diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.api.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.api.ts new file mode 100644 index 000000000000..1f52205497ac --- /dev/null +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.api.ts @@ -0,0 +1,21 @@ +const _B = "Blob"; +const _Bo = "Boolean"; +const _By = "Byte"; +const _D = "Double"; +const _F = "Float"; +const _I = "Integer"; +const _L = "Long"; +const _S = "String"; +const _Sh = "Short"; +const _T = "Timestamp"; + +// smithy-typescript generated code +import { TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_apiRegistry = TypeRegistry.for("smithy.api"); +smithy_apiRegistry.startCapture(); +export var Unit = "unit"; + +smithy_apiRegistry.stopCapture(); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.framework.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.framework.ts new file mode 100644 index 000000000000..0d7fe7fa5aec --- /dev/null +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.framework.ts @@ -0,0 +1,31 @@ +const _VE = "ValidationException"; +const _VEF = "ValidationExceptionField"; +const _VEFL = "ValidationExceptionFieldList"; +const _c = "client"; +const _e = "error"; +const _fL = "fieldList"; +const _m = "message"; +const _p = "path"; + +// smithy-typescript generated code +import { error as __error, list as __list, struct as __struct, TypeRegistry } from "@smithy/core/schema"; + +import { ValidationException as __ValidationException } from "../models/index"; + +/* eslint no-var: 0 */ + +export const smithy_frameworkRegistry = TypeRegistry.for("smithy.framework"); +smithy_frameworkRegistry.startCapture(); +export var ValidationException = __error( + _VE, + { + [_e]: _c, + }, + [_m, _fL], + [0, () => ValidationExceptionFieldList], + + __ValidationException +); +export var ValidationExceptionField = __struct(_VEF, {}, [_p, _m], [0, 0]); +export var ValidationExceptionFieldList = __list(_VEFL, {}, () => ValidationExceptionField); +smithy_frameworkRegistry.stopCapture(); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.rpcv2Cbor.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.rpcv2Cbor.ts new file mode 100644 index 000000000000..fce0f2abde38 --- /dev/null +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.rpcv2Cbor.ts @@ -0,0 +1,421 @@ +const _CE = "ComplexError"; +const _CNED = "ComplexNestedErrorData"; +const _COD = "ClientOptionalDefaults"; +const _D = "Defaults"; +const _DBM = "DenseBooleanMap"; +const _DNM = "DenseNumberMap"; +const _DSM = "DenseStringMap"; +const _DSMe = "DenseSetMap"; +const _DSMen = "DenseStructMap"; +const _EIO = "EmptyInputOutput"; +const _ES = "EmptyStructure"; +const _F = "Foo"; +const _FO = "Float16Output"; +const _FS = "FractionalSeconds"; +const _FSO = "FractionalSecondsOutput"; +const _Fl = "Float16"; +const _GWE = "GreetingWithErrors"; +const _GWEO = "GreetingWithErrorsOutput"; +const _IG = "InvalidGreeting"; +const _M = "Message"; +const _N = "Nested"; +const _NIO = "NoInputOutput"; +const _OIO = "OptionalInputOutput"; +const _OWD = "OperationWithDefaults"; +const _OWDI = "OperationWithDefaultsInput"; +const _OWDO = "OperationWithDefaultsOutput"; +const _RS = "RecursiveShapes"; +const _RSIO = "RecursiveShapesInputOutput"; +const _RSION = "RecursiveShapesInputOutputNested1"; +const _RSIONe = "RecursiveShapesInputOutputNested2"; +const _RVCDM = "RpcV2CborDenseMaps"; +const _RVCDMIO = "RpcV2CborDenseMapsInputOutput"; +const _RVCL = "RpcV2CborLists"; +const _RVCLIO = "RpcV2CborListInputOutput"; +const _RVCSM = "RpcV2CborSparseMaps"; +const _RVCSMIO = "RpcV2CborSparseMapsInputOutput"; +const _SBM = "SparseBooleanMap"; +const _SL = "StructureList"; +const _SLM = "StructureListMember"; +const _SNM = "SparseNumberMap"; +const _SNO = "SparseNullsOperation"; +const _SNOIO = "SparseNullsOperationInputOutput"; +const _SS = "SimpleStructure"; +const _SSM = "SparseSetMap"; +const _SSMp = "SparseStructMap"; +const _SSP = "SimpleScalarProperties"; +const _SSS = "SimpleScalarStructure"; +const _TE = "TestEnum"; +const _TIE = "TestIntEnum"; +const _TL = "TopLevel"; +const _TSL = "TestStringList"; +const _TSM = "TestStringMap"; +const _a = "a"; +const _b = "bar"; +const _bL = "booleanList"; +const _bLl = "blobList"; +const _bV = "byteValue"; +const _bVl = "blobValue"; +const _b_ = "b"; +const _c = "client"; +const _cOD = "clientOptionalDefaults"; +const _d = "datetime"; +const _dB = "defaultBoolean"; +const _dBM = "denseBooleanMap"; +const _dBe = "defaultBlob"; +const _dBef = "defaultByte"; +const _dD = "defaultDouble"; +const _dE = "defaultEnum"; +const _dF = "defaultFloat"; +const _dI = "defaultInteger"; +const _dIE = "defaultIntEnum"; +const _dL = "defaultList"; +const _dLe = "defaultLong"; +const _dM = "defaultMap"; +const _dNM = "denseNumberMap"; +const _dS = "defaultString"; +const _dSM = "denseStructMap"; +const _dSMe = "denseStringMap"; +const _dSMen = "denseSetMap"; +const _dSe = "defaultShort"; +const _dT = "defaultTimestamp"; +const _dV = "doubleValue"; +const _de = "defaults"; +const _e = "error"; +const _eB = "emptyBlob"; +const _eL = "enumList"; +const _eS = "emptyString"; +const _f = "foo"; +const _fB = "falseBoolean"; +const _fBV = "falseBooleanValue"; +const _fV = "floatValue"; +const _g = "greeting"; +const _iEL = "intEnumList"; +const _iL = "integerList"; +const _iV = "integerValue"; +const _lV = "longValue"; +const _m = "member"; +const _n = "nested"; +const _nSL = "nestedStringList"; +const _oTLD = "otherTopLevelDefault"; +const _rM = "recursiveMember"; +const _s = "sparse"; +const _sBM = "sparseBooleanMap"; +const _sL = "stringList"; +const _sLt = "structureList"; +const _sNM = "sparseNumberMap"; +const _sS = "stringSet"; +const _sSL = "sparseStringList"; +const _sSM = "sparseStructMap"; +const _sSMp = "sparseStringMap"; +const _sSMpa = "sparseSetMap"; +const _sV = "shortValue"; +const _sVt = "stringValue"; +const _tBV = "trueBooleanValue"; +const _tL = "timestampList"; +const _tLD = "topLevelDefault"; +const _v = "value"; +const _zB = "zeroByte"; +const _zD = "zeroDouble"; +const _zF = "zeroFloat"; +const _zI = "zeroInteger"; +const _zL = "zeroLong"; +const _zS = "zeroShort"; + +// smithy-typescript generated code +import { + error as __error, + list as __list, + map as __map, + op as __op, + struct as __struct, + TypeRegistry, +} from "@smithy/core/schema"; + +import { ComplexError as __ComplexError, InvalidGreeting as __InvalidGreeting } from "../models/index"; +import { Unit } from "./smithy.api"; +import { + BlobList, + BooleanList, + FooEnumList, + GreetingStruct, + IntegerEnumList, + IntegerList, + NestedStringList, + SparseStringList, + SparseStringMap, + StringList, + StringSet, + TimestampList, +} from "./smithy.protocoltests.shared"; + +/* eslint no-var: 0 */ + +export const smithy_protocoltests_rpcv2CborRegistry = TypeRegistry.for("smithy.protocoltests.rpcv2Cbor"); +smithy_protocoltests_rpcv2CborRegistry.startCapture(); +export var ClientOptionalDefaults = __struct(_COD, {}, [_m], [1]); +export var ComplexError = __error( + _CE, + { + [_e]: _c, + }, + [_TL, _N], + [0, () => ComplexNestedErrorData], + + __ComplexError +); +export var ComplexNestedErrorData = __struct(_CNED, {}, [_F], [0]); +export var Defaults = __struct( + _D, + {}, + [ + _dS, + _dB, + _dL, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] +); +export var EmptyStructure = __struct(_ES, {}, [], []); +export var Float16Output = __struct(_FO, {}, [_v], [1]); +export var FractionalSecondsOutput = __struct(_FSO, {}, [_d], [5]); +export var GreetingWithErrorsOutput = __struct(_GWEO, {}, [_g], [0]); +export var InvalidGreeting = __error( + _IG, + { + [_e]: _c, + }, + [_M], + [0], + + __InvalidGreeting +); +export var OperationWithDefaultsInput = __struct( + _OWDI, + {}, + [_de, _cOD, _tLD, _oTLD], + [() => Defaults, () => ClientOptionalDefaults, 0, 1] +); +export var OperationWithDefaultsOutput = __struct( + _OWDO, + {}, + [ + _dS, + _dB, + _dL, + _dT, + _dBe, + _dBef, + _dSe, + _dI, + _dLe, + _dF, + _dD, + _dM, + _dE, + _dIE, + _eS, + _fB, + _eB, + _zB, + _zS, + _zI, + _zL, + _zF, + _zD, + ], + [0, 2, 64 | 0, 4, 21, 1, 1, 1, 1, 1, 1, 128 | 0, 0, 1, 0, 2, 21, 1, 1, 1, 1, 1, 1] +); +export var RecursiveShapesInputOutput = __struct(_RSIO, {}, [_n], [() => RecursiveShapesInputOutputNested1]); +export var RecursiveShapesInputOutputNested1 = __struct( + _RSION, + {}, + [_f, _n], + [0, () => RecursiveShapesInputOutputNested2] +); +export var RecursiveShapesInputOutputNested2 = __struct( + _RSIONe, + {}, + [_b, _rM], + [0, () => RecursiveShapesInputOutputNested1] +); +export var RpcV2CborDenseMapsInputOutput = __struct( + _RVCDMIO, + {}, + [_dSM, _dNM, _dBM, _dSMe, _dSMen], + [() => DenseStructMap, 128 | 1, 128 | 2, 128 | 0, () => DenseSetMap] +); +export var RpcV2CborListInputOutput = __struct( + _RVCLIO, + {}, + [_sL, _sS, _iL, _bL, _tL, _eL, _iEL, _nSL, _sLt, _bLl], + [64 | 0, 64 | 0, 64 | 1, 64 | 2, 64 | 4, 64 | 0, 64 | 1, () => NestedStringList, () => StructureList, 64 | 21] +); +export var RpcV2CborSparseMapsInputOutput = __struct( + _RVCSMIO, + {}, + [_sSM, _sNM, _sBM, _sSMp, _sSMpa], + [ + [() => SparseStructMap, {}], + [() => SparseNumberMap, {}], + [() => SparseBooleanMap, {}], + [() => SparseStringMap, {}], + [() => SparseSetMap, {}], + ] +); +export var SimpleScalarStructure = __struct( + _SSS, + {}, + [_tBV, _fBV, _bV, _dV, _fV, _iV, _lV, _sV, _sVt, _bVl], + [2, 2, 1, 1, 1, 1, 1, 1, 0, 21] +); +export var SimpleStructure = __struct(_SS, {}, [_v], [0]); +export var SparseNullsOperationInputOutput = __struct( + _SNOIO, + {}, + [_sSL, _sSMp], + [ + [() => SparseStringList, {}], + [() => SparseStringMap, {}], + ] +); +export var StructureListMember = __struct(_SLM, {}, [_a, _b_], [0, 0]); +export var StructureList = __list(_SL, {}, () => StructureListMember); +export var TestStringList = 64 | 0; + +export var DenseBooleanMap = 128 | 2; + +export var DenseNumberMap = 128 | 1; + +export var DenseSetMap = __map(_DSMe, {}, 64 | 0); +export var DenseStringMap = 128 | 0; + +export var DenseStructMap = __map(_DSMen, {}, () => GreetingStruct); +export var SparseBooleanMap = __map( + _SBM, + { + [_s]: 1, + }, + 2 +); +export var SparseNumberMap = __map( + _SNM, + { + [_s]: 1, + }, + 1 +); +export var SparseSetMap = __map( + _SSM, + { + [_s]: 1, + }, + 64 | 0 +); +export var SparseStructMap = __map( + _SSMp, + { + [_s]: 1, + }, + () => GreetingStruct +); +export var TestStringMap = 128 | 0; + +export var EmptyInputOutput = __op( + _EIO, + {}, + () => EmptyStructure, + () => EmptyStructure +); +export var Float16 = __op( + _Fl, + {}, + () => Unit, + () => Float16Output +); +export var FractionalSeconds = __op( + _FS, + {}, + () => Unit, + () => FractionalSecondsOutput +); +export var GreetingWithErrors = __op( + _GWE, + {}, + () => Unit, + () => GreetingWithErrorsOutput +); +export var NoInputOutput = __op( + _NIO, + {}, + () => Unit, + () => Unit +); +export var OperationWithDefaults = __op( + _OWD, + {}, + () => OperationWithDefaultsInput, + () => OperationWithDefaultsOutput +); +export var OptionalInputOutput = __op( + _OIO, + {}, + () => SimpleStructure, + () => SimpleStructure +); +export var RecursiveShapes = __op( + _RS, + {}, + () => RecursiveShapesInputOutput, + () => RecursiveShapesInputOutput +); +export var RpcV2CborDenseMaps = __op( + _RVCDM, + {}, + () => RpcV2CborDenseMapsInputOutput, + () => RpcV2CborDenseMapsInputOutput +); +export var RpcV2CborLists = __op( + _RVCL, + {}, + () => RpcV2CborListInputOutput, + () => RpcV2CborListInputOutput +); +export var RpcV2CborSparseMaps = __op( + _RVCSM, + {}, + () => RpcV2CborSparseMapsInputOutput, + () => RpcV2CborSparseMapsInputOutput +); +export var SimpleScalarProperties = __op( + _SSP, + {}, + () => SimpleScalarStructure, + () => SimpleScalarStructure +); +export var SparseNullsOperation = __op( + _SNO, + {}, + () => SparseNullsOperationInputOutput, + () => SparseNullsOperationInputOutput +); +smithy_protocoltests_rpcv2CborRegistry.stopCapture(); diff --git a/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.shared.ts b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.shared.ts new file mode 100644 index 000000000000..e63bacc9278a --- /dev/null +++ b/private/aws-protocoltests-smithy-rpcv2-cbor/src/schemas/smithy.protocoltests.shared.ts @@ -0,0 +1,58 @@ +const _BL = "BlobList"; +const _BLo = "BooleanList"; +const _DT = "DateTime"; +const _FE = "FooEnum"; +const _FEL = "FooEnumList"; +const _GS = "GreetingStruct"; +const _IE = "IntegerEnum"; +const _IEL = "IntegerEnumList"; +const _IL = "IntegerList"; +const _NSL = "NestedStringList"; +const _SL = "StringList"; +const _SS = "StringSet"; +const _SSL = "SparseStringList"; +const _SSM = "SparseStringMap"; +const _TL = "TimestampList"; +const _h = "hi"; +const _s = "sparse"; + +// smithy-typescript generated code +import { list as __list, map as __map, struct as __struct, TypeRegistry } from "@smithy/core/schema"; + +/* eslint no-var: 0 */ + +export const smithy_protocoltests_sharedRegistry = TypeRegistry.for("smithy.protocoltests.shared"); +smithy_protocoltests_sharedRegistry.startCapture(); +export var GreetingStruct = __struct(_GS, {}, [_h], [0]); +export var BlobList = 64 | 21; + +export var BooleanList = 64 | 2; + +export var FooEnumList = 64 | 0; + +export var IntegerEnumList = 64 | 1; + +export var IntegerList = 64 | 1; + +export var NestedStringList = __list(_NSL, {}, 64 | 0); +export var SparseStringList = __list( + _SSL, + { + [_s]: 1, + }, + 0 +); +export var StringList = 64 | 0; + +export var StringSet = 64 | 0; + +export var TimestampList = 64 | 4; + +export var SparseStringMap = __map( + _SSM, + { + [_s]: 1, + }, + 0 +); +smithy_protocoltests_sharedRegistry.stopCapture(); diff --git a/scripts/copy-smithy-dist-files.js b/scripts/copy-smithy-dist-files.js index 93d2ef11538b..61795a523b4a 100644 --- a/scripts/copy-smithy-dist-files.js +++ b/scripts/copy-smithy-dist-files.js @@ -36,4 +36,16 @@ const adjacentSmithyPkgs = fs.readdirSync(smithyPackages); } process.stdout.write("."); } + + const smithyCoreRoot = path.join(smithyPackages, "core"); + const destination = path.join(node_modules, "@smithy", "core"); + for (const file of fs.readdirSync(smithyCoreRoot)) { + if (file.endsWith(".js")) { + fs.cpSync(path.join(smithyCoreRoot, file), path.join(destination, file)); + fs.cpSync( + path.join(smithyCoreRoot, file.replace(".js", ".d.ts")), + path.join(destination, file.replace(".js", ".d.ts")) + ); + } + } })(); diff --git a/yarn.lock b/yarn.lock index 2d62d1fc8a5c..d554bc02bd4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22416,6 +22416,7 @@ __metadata: resolution: "@aws-sdk/core@workspace:packages/core" dependencies: "@aws-sdk/types": "npm:*" + "@aws-sdk/xml-builder": "npm:*" "@smithy/core": "npm:^3.1.5" "@smithy/node-config-provider": "npm:^4.0.1" "@smithy/property-provider": "npm:^4.0.1" @@ -22424,6 +22425,7 @@ __metadata: "@smithy/smithy-client": "npm:^4.1.6" "@smithy/types": "npm:^4.1.0" "@smithy/util-middleware": "npm:^4.0.1" + "@smithy/util-utf8": "npm:^4.0.0" "@tsconfig/recommended": "npm:1.0.1" concurrently: "npm:7.0.0" downlevel-dts: "npm:0.10.1"