@cdk8s/awscdk-resolver 0.0.404 → 0.0.406
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +10 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3126 -9437
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetHookResultCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetAutoDeploymentTargetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +3 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +29 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +3052 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +15 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +20 -10
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetHookResultCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +7 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +319 -434
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +328 -27
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/schemas/schemas_0.d.ts +456 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +18 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackEventsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetHookResultCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetOperationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +65 -58
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +54 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/schemas/schemas_0.d.ts +461 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -35
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +11 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +11 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +207 -548
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +0 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +214 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +26 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +43 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +7 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +44 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -2
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +0 -8938
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +0 -794
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -1061
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
|
@@ -1048,11 +1048,21 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
1048
1048
|
request.headers["content-type"] = contentType;
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
|
-
if (request.headers["content-type"]
|
|
1051
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
1052
1052
|
request.body = "{}";
|
|
1053
1053
|
}
|
|
1054
1054
|
return request;
|
|
1055
1055
|
}
|
|
1056
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
1057
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
1058
|
+
const outputSchema = schema.NormalizedSchema.of(operationSchema.output);
|
|
1059
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
1060
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
1061
|
+
output[name] = null;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return output;
|
|
1065
|
+
}
|
|
1056
1066
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1057
1067
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
1058
1068
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
@@ -718,11 +718,21 @@ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
|
|
|
718
718
|
request.headers["content-type"] = contentType;
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
-
if (request.headers["content-type"]
|
|
721
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
722
722
|
request.body = "{}";
|
|
723
723
|
}
|
|
724
724
|
return request;
|
|
725
725
|
}
|
|
726
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
727
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
728
|
+
const outputSchema = schema.NormalizedSchema.of(operationSchema.output);
|
|
729
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
730
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
731
|
+
output[name] = null;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
return output;
|
|
735
|
+
}
|
|
726
736
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
727
737
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
728
738
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
@@ -43,11 +43,21 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
43
43
|
request.headers["content-type"] = contentType;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
if (request.headers["content-type"]
|
|
46
|
+
if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
|
|
47
47
|
request.body = "{}";
|
|
48
48
|
}
|
|
49
49
|
return request;
|
|
50
50
|
}
|
|
51
|
+
async deserializeResponse(operationSchema, context, response) {
|
|
52
|
+
const output = await super.deserializeResponse(operationSchema, context, response);
|
|
53
|
+
const outputSchema = NormalizedSchema.of(operationSchema.output);
|
|
54
|
+
for (const [name, member] of outputSchema.structIterator()) {
|
|
55
|
+
if (member.getMemberTraits().httpPayload && !(name in output)) {
|
|
56
|
+
output[name] = null;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return output;
|
|
60
|
+
}
|
|
51
61
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
52
62
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
53
63
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import type { EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
3
3
|
import { JsonCodec } from "./JsonCodec";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
@@ -15,7 +15,17 @@ export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
15
15
|
getShapeId(): string;
|
|
16
16
|
getPayloadCodec(): JsonCodec;
|
|
17
17
|
setSerdeContext(serdeContext: SerdeFunctions): void;
|
|
18
|
+
/**
|
|
19
|
+
* @override
|
|
20
|
+
*/
|
|
18
21
|
serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<HttpRequest>;
|
|
22
|
+
/**
|
|
23
|
+
* @override
|
|
24
|
+
*/
|
|
25
|
+
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse): Promise<Output>;
|
|
26
|
+
/**
|
|
27
|
+
* @override
|
|
28
|
+
*/
|
|
19
29
|
protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: HttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
|
20
30
|
/**
|
|
21
31
|
* @override
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
HandlerExecutionContext,
|
|
5
5
|
HttpRequest,
|
|
6
6
|
HttpResponse,
|
|
7
|
+
MetadataBearer,
|
|
7
8
|
OperationSchema,
|
|
8
9
|
ResponseMetadata,
|
|
9
10
|
SerdeFunctions,
|
|
@@ -25,6 +26,11 @@ export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
25
26
|
input: Input,
|
|
26
27
|
context: HandlerExecutionContext & SerdeFunctions & EndpointBearer
|
|
27
28
|
): Promise<HttpRequest>;
|
|
29
|
+
deserializeResponse<Output extends MetadataBearer>(
|
|
30
|
+
operationSchema: OperationSchema,
|
|
31
|
+
context: HandlerExecutionContext & SerdeFunctions,
|
|
32
|
+
response: HttpResponse
|
|
33
|
+
): Promise<Output>;
|
|
28
34
|
protected handleError(
|
|
29
35
|
operationSchema: OperationSchema,
|
|
30
36
|
context: HandlerExecutionContext & SerdeFunctions,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
85
|
-
"@aws-sdk/xml-builder": "3.
|
|
86
|
-
"@smithy/core": "^3.
|
|
87
|
-
"@smithy/node-config-provider": "^4.3.
|
|
88
|
-
"@smithy/property-provider": "^4.2.
|
|
89
|
-
"@smithy/protocol-http": "^5.3.
|
|
90
|
-
"@smithy/signature-v4": "^5.3.
|
|
91
|
-
"@smithy/smithy-client": "^4.9.
|
|
92
|
-
"@smithy/types": "^4.
|
|
84
|
+
"@aws-sdk/types": "3.930.0",
|
|
85
|
+
"@aws-sdk/xml-builder": "3.930.0",
|
|
86
|
+
"@smithy/core": "^3.18.2",
|
|
87
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
88
|
+
"@smithy/property-provider": "^4.2.5",
|
|
89
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
90
|
+
"@smithy/signature-v4": "^5.3.5",
|
|
91
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
92
|
+
"@smithy/types": "^4.9.0",
|
|
93
93
|
"@smithy/util-base64": "^4.3.0",
|
|
94
|
-
"@smithy/util-middleware": "^4.2.
|
|
94
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
95
95
|
"@smithy/util-utf8": "^4.2.0",
|
|
96
96
|
"tslib": "^2.6.2"
|
|
97
97
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "3.931.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.5",
|
|
32
|
+
"@smithy/types": "^4.9.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
34
|
-
"@smithy/node-http-handler": "^4.4.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/protocol-http": "^5.3.
|
|
37
|
-
"@smithy/smithy-client": "^4.9.
|
|
38
|
-
"@smithy/types": "^4.
|
|
39
|
-
"@smithy/util-stream": "^4.5.
|
|
31
|
+
"@aws-sdk/core": "3.931.0",
|
|
32
|
+
"@aws-sdk/types": "3.930.0",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
34
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
35
|
+
"@smithy/property-provider": "^4.2.5",
|
|
36
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
37
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
38
|
+
"@smithy/types": "^4.9.0",
|
|
39
|
+
"@smithy/util-stream": "^4.5.6",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
40
|
-
"@smithy/property-provider": "^4.2.
|
|
41
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
42
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.931.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.931.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.931.0",
|
|
34
|
+
"@aws-sdk/credential-provider-process": "3.931.0",
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.931.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.931.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.931.0",
|
|
38
|
+
"@aws-sdk/types": "3.930.0",
|
|
39
|
+
"@smithy/credential-provider-imds": "^4.2.5",
|
|
40
|
+
"@smithy/property-provider": "^4.2.5",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
42
|
+
"@smithy/types": "^4.9.0",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
42
|
-
"@smithy/property-provider": "^4.2.
|
|
43
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
44
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.931.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.931.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.931.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.931.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.931.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.931.0",
|
|
40
|
+
"@aws-sdk/types": "3.930.0",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.2.5",
|
|
42
|
+
"@smithy/property-provider": "^4.2.5",
|
|
43
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
44
|
+
"@smithy/types": "^4.9.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
33
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "3.931.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.5",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
33
|
+
"@smithy/types": "^4.9.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso": "3.
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@smithy/property-provider": "^4.2.
|
|
34
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
35
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/client-sso": "3.931.0",
|
|
30
|
+
"@aws-sdk/core": "3.931.0",
|
|
31
|
+
"@aws-sdk/token-providers": "3.931.0",
|
|
32
|
+
"@aws-sdk/types": "3.930.0",
|
|
33
|
+
"@smithy/property-provider": "^4.2.5",
|
|
34
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
35
|
+
"@smithy/types": "^4.9.0",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@smithy/property-provider": "^4.2.
|
|
41
|
-
"@smithy/shared-ini-file-loader": "^4.
|
|
42
|
-
"@smithy/types": "^4.
|
|
37
|
+
"@aws-sdk/core": "3.931.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.931.0",
|
|
39
|
+
"@aws-sdk/types": "3.930.0",
|
|
40
|
+
"@smithy/property-provider": "^4.2.5",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.4.0",
|
|
42
|
+
"@smithy/types": "^4.9.0",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/types": "3.930.0",
|
|
29
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
30
|
+
"@smithy/types": "^4.9.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/types": "3.930.0",
|
|
29
|
+
"@smithy/types": "^4.9.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.930.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.930.0",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.1.1",
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
30
|
+
"@smithy/types": "^4.9.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.931.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
-
"@smithy/core": "^3.
|
|
32
|
-
"@smithy/protocol-http": "^5.3.
|
|
33
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/core": "3.931.0",
|
|
29
|
+
"@aws-sdk/types": "3.930.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
31
|
+
"@smithy/core": "^3.18.2",
|
|
32
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
33
|
+
"@smithy/types": "^4.9.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -7,6 +7,7 @@ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-
|
|
|
7
7
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const core_1 = require("@smithy/core");
|
|
10
|
+
const schema_1 = require("@smithy/core/schema");
|
|
10
11
|
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
12
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
13
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
@@ -31,6 +32,7 @@ class STSClient extends smithy_client_1.Client {
|
|
|
31
32
|
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
32
33
|
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
33
34
|
this.config = _config_8;
|
|
35
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
34
36
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
37
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
38
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|