@aws-sdk/core 3.910.0 → 3.911.0
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/dist-cjs/index.js +1 -1
- package/dist-cjs/submodules/protocols/index.js +1 -1
- package/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
- package/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -2
- package/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -1
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -935,7 +935,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
935
935
|
}
|
|
936
936
|
Object.assign(request.headers, {
|
|
937
937
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
938
|
-
"x-amz-target": `${this.serviceTarget}.${
|
|
938
|
+
"x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
|
|
939
939
|
});
|
|
940
940
|
if (this.awsQueryCompatible) {
|
|
941
941
|
request.headers["x-amzn-query-mode"] = "true";
|
|
@@ -605,7 +605,7 @@ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
|
|
|
605
605
|
}
|
|
606
606
|
Object.assign(request.headers, {
|
|
607
607
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
608
|
-
"x-amz-target": `${this.serviceTarget}.${
|
|
608
|
+
"x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
|
|
609
609
|
});
|
|
610
610
|
if (this.awsQueryCompatible) {
|
|
611
611
|
request.headers["x-amzn-query-mode"] = "true";
|
|
@@ -33,7 +33,7 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
33
33
|
}
|
|
34
34
|
Object.assign(request.headers, {
|
|
35
35
|
"content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
|
|
36
|
-
"x-amz-target": `${this.serviceTarget}.${
|
|
36
|
+
"x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
|
|
37
37
|
});
|
|
38
38
|
if (this.awsQueryCompatible) {
|
|
39
39
|
request.headers["x-amzn-query-mode"] = "true";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import { OperationSchema } from "@smithy/
|
|
3
|
-
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
2
|
+
import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
|
|
4
3
|
import { XmlCodec } from "./XmlCodec";
|
|
5
4
|
/**
|
|
6
5
|
* @alpha
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HttpBindingProtocol } from "@smithy/core/protocols";
|
|
2
|
-
import { OperationSchema } from "@smithy/core/schema";
|
|
3
2
|
import {
|
|
4
3
|
EndpointBearer,
|
|
5
4
|
HandlerExecutionContext,
|
|
6
5
|
HttpRequest as IHttpRequest,
|
|
7
6
|
HttpResponse as IHttpResponse,
|
|
8
7
|
MetadataBearer,
|
|
8
|
+
OperationSchema,
|
|
9
9
|
ResponseMetadata,
|
|
10
10
|
SerdeFunctions,
|
|
11
11
|
ShapeDeserializer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.911.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'",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@aws-sdk/types": "3.910.0",
|
|
85
|
-
"@aws-sdk/xml-builder": "3.
|
|
85
|
+
"@aws-sdk/xml-builder": "3.911.0",
|
|
86
86
|
"@smithy/core": "^3.16.1",
|
|
87
87
|
"@smithy/node-config-provider": "^4.3.2",
|
|
88
88
|
"@smithy/property-provider": "^4.2.2",
|