@aws-sdk/client-marketplace-commerce-analytics 3.303.0 → 3.309.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/commands/GenerateDataSetCommand.js +2 -2
- package/dist-cjs/commands/StartSupportDataExportCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +29 -29
- package/dist-es/commands/GenerateDataSetCommand.js +3 -3
- package/dist-es/commands/StartSupportDataExportCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +24 -24
- package/dist-types/protocols/Aws_json1_1.d.ts +16 -4
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +4 -4
- package/package.json +29 -29
|
@@ -36,10 +36,10 @@ class GenerateDataSetCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GenerateDataSetCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GenerateDataSetCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GenerateDataSetCommand = GenerateDataSetCommand;
|
|
@@ -36,10 +36,10 @@ class StartSupportDataExportCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StartSupportDataExportCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StartSupportDataExportCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StartSupportDataExportCommand = StartSupportDataExportCommand;
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_StartSupportDataExportCommand = exports.de_GenerateDataSetCommand = exports.se_StartSupportDataExportCommand = exports.se_GenerateDataSetCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const MarketplaceCommerceAnalyticsServiceException_1 = require("../models/MarketplaceCommerceAnalyticsServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_GenerateDataSetCommand = async (input, context) => {
|
|
9
9
|
const headers = {
|
|
10
10
|
"content-type": "application/x-amz-json-1.1",
|
|
11
11
|
"x-amz-target": "MarketplaceCommerceAnalytics20150701.GenerateDataSet",
|
|
12
12
|
};
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_GenerateDataSetRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
17
|
+
exports.se_GenerateDataSetCommand = se_GenerateDataSetCommand;
|
|
18
|
+
const se_StartSupportDataExportCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-amz-json-1.1",
|
|
21
21
|
"x-amz-target": "MarketplaceCommerceAnalytics20150701.StartSupportDataExport",
|
|
22
22
|
};
|
|
23
23
|
let body;
|
|
24
|
-
body = JSON.stringify(
|
|
24
|
+
body = JSON.stringify(se_StartSupportDataExportRequest(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
27
|
+
exports.se_StartSupportDataExportCommand = se_StartSupportDataExportCommand;
|
|
28
|
+
const de_GenerateDataSetCommand = async (output, context) => {
|
|
29
29
|
if (output.statusCode >= 300) {
|
|
30
|
-
return
|
|
30
|
+
return de_GenerateDataSetCommandError(output, context);
|
|
31
31
|
}
|
|
32
32
|
const data = await parseBody(output.body, context);
|
|
33
33
|
let contents = {};
|
|
34
|
-
contents =
|
|
34
|
+
contents = de_GenerateDataSetResult(data, context);
|
|
35
35
|
const response = {
|
|
36
36
|
$metadata: deserializeMetadata(output),
|
|
37
37
|
...contents,
|
|
38
38
|
};
|
|
39
39
|
return Promise.resolve(response);
|
|
40
40
|
};
|
|
41
|
-
exports.
|
|
42
|
-
const
|
|
41
|
+
exports.de_GenerateDataSetCommand = de_GenerateDataSetCommand;
|
|
42
|
+
const de_GenerateDataSetCommandError = async (output, context) => {
|
|
43
43
|
const parsedOutput = {
|
|
44
44
|
...output,
|
|
45
45
|
body: await parseErrorBody(output.body, context),
|
|
@@ -48,7 +48,7 @@ const deserializeAws_json1_1GenerateDataSetCommandError = async (output, context
|
|
|
48
48
|
switch (errorCode) {
|
|
49
49
|
case "MarketplaceCommerceAnalyticsException":
|
|
50
50
|
case "com.amazonaws.marketplacecommerceanalytics#MarketplaceCommerceAnalyticsException":
|
|
51
|
-
throw await
|
|
51
|
+
throw await de_MarketplaceCommerceAnalyticsExceptionRes(parsedOutput, context);
|
|
52
52
|
default:
|
|
53
53
|
const parsedBody = parsedOutput.body;
|
|
54
54
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -59,21 +59,21 @@ const deserializeAws_json1_1GenerateDataSetCommandError = async (output, context
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const de_StartSupportDataExportCommand = async (output, context) => {
|
|
63
63
|
if (output.statusCode >= 300) {
|
|
64
|
-
return
|
|
64
|
+
return de_StartSupportDataExportCommandError(output, context);
|
|
65
65
|
}
|
|
66
66
|
const data = await parseBody(output.body, context);
|
|
67
67
|
let contents = {};
|
|
68
|
-
contents =
|
|
68
|
+
contents = de_StartSupportDataExportResult(data, context);
|
|
69
69
|
const response = {
|
|
70
70
|
$metadata: deserializeMetadata(output),
|
|
71
71
|
...contents,
|
|
72
72
|
};
|
|
73
73
|
return Promise.resolve(response);
|
|
74
74
|
};
|
|
75
|
-
exports.
|
|
76
|
-
const
|
|
75
|
+
exports.de_StartSupportDataExportCommand = de_StartSupportDataExportCommand;
|
|
76
|
+
const de_StartSupportDataExportCommandError = async (output, context) => {
|
|
77
77
|
const parsedOutput = {
|
|
78
78
|
...output,
|
|
79
79
|
body: await parseErrorBody(output.body, context),
|
|
@@ -82,7 +82,7 @@ const deserializeAws_json1_1StartSupportDataExportCommandError = async (output,
|
|
|
82
82
|
switch (errorCode) {
|
|
83
83
|
case "MarketplaceCommerceAnalyticsException":
|
|
84
84
|
case "com.amazonaws.marketplacecommerceanalytics#MarketplaceCommerceAnalyticsException":
|
|
85
|
-
throw await
|
|
85
|
+
throw await de_MarketplaceCommerceAnalyticsExceptionRes(parsedOutput, context);
|
|
86
86
|
default:
|
|
87
87
|
const parsedBody = parsedOutput.body;
|
|
88
88
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -93,16 +93,16 @@ const deserializeAws_json1_1StartSupportDataExportCommandError = async (output,
|
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
-
const
|
|
96
|
+
const de_MarketplaceCommerceAnalyticsExceptionRes = async (parsedOutput, context) => {
|
|
97
97
|
const body = parsedOutput.body;
|
|
98
|
-
const deserialized =
|
|
98
|
+
const deserialized = de_MarketplaceCommerceAnalyticsException(body, context);
|
|
99
99
|
const exception = new models_0_1.MarketplaceCommerceAnalyticsException({
|
|
100
100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
101
101
|
...deserialized,
|
|
102
102
|
});
|
|
103
103
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
104
104
|
};
|
|
105
|
-
const
|
|
105
|
+
const se_CustomerDefinedValues = (input, context) => {
|
|
106
106
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
107
107
|
if (value === null) {
|
|
108
108
|
return acc;
|
|
@@ -111,10 +111,10 @@ const serializeAws_json1_1CustomerDefinedValues = (input, context) => {
|
|
|
111
111
|
return acc;
|
|
112
112
|
}, {});
|
|
113
113
|
};
|
|
114
|
-
const
|
|
114
|
+
const se_GenerateDataSetRequest = (input, context) => {
|
|
115
115
|
return {
|
|
116
116
|
...(input.customerDefinedValues != null && {
|
|
117
|
-
customerDefinedValues:
|
|
117
|
+
customerDefinedValues: se_CustomerDefinedValues(input.customerDefinedValues, context),
|
|
118
118
|
}),
|
|
119
119
|
...(input.dataSetPublicationDate != null && {
|
|
120
120
|
dataSetPublicationDate: Math.round(input.dataSetPublicationDate.getTime() / 1000),
|
|
@@ -126,10 +126,10 @@ const serializeAws_json1_1GenerateDataSetRequest = (input, context) => {
|
|
|
126
126
|
...(input.snsTopicArn != null && { snsTopicArn: input.snsTopicArn }),
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
const
|
|
129
|
+
const se_StartSupportDataExportRequest = (input, context) => {
|
|
130
130
|
return {
|
|
131
131
|
...(input.customerDefinedValues != null && {
|
|
132
|
-
customerDefinedValues:
|
|
132
|
+
customerDefinedValues: se_CustomerDefinedValues(input.customerDefinedValues, context),
|
|
133
133
|
}),
|
|
134
134
|
...(input.dataSetType != null && { dataSetType: input.dataSetType }),
|
|
135
135
|
...(input.destinationS3BucketName != null && { destinationS3BucketName: input.destinationS3BucketName }),
|
|
@@ -139,17 +139,17 @@ const serializeAws_json1_1StartSupportDataExportRequest = (input, context) => {
|
|
|
139
139
|
...(input.snsTopicArn != null && { snsTopicArn: input.snsTopicArn }),
|
|
140
140
|
};
|
|
141
141
|
};
|
|
142
|
-
const
|
|
142
|
+
const de_GenerateDataSetResult = (output, context) => {
|
|
143
143
|
return {
|
|
144
144
|
dataSetRequestId: (0, smithy_client_1.expectString)(output.dataSetRequestId),
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
|
-
const
|
|
147
|
+
const de_MarketplaceCommerceAnalyticsException = (output, context) => {
|
|
148
148
|
return {
|
|
149
149
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
|
-
const
|
|
152
|
+
const de_StartSupportDataExportResult = (output, context) => {
|
|
153
153
|
return {
|
|
154
154
|
dataSetRequestId: (0, smithy_client_1.expectString)(output.dataSetRequestId),
|
|
155
155
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_GenerateDataSetCommand, se_GenerateDataSetCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class GenerateDataSetCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class GenerateDataSetCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_GenerateDataSetCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_GenerateDataSetCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_StartSupportDataExportCommand, se_StartSupportDataExportCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export class StartSupportDataExportCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class StartSupportDataExportCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_StartSupportDataExportCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_StartSupportDataExportCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,38 +2,38 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectString as __expectString, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { MarketplaceCommerceAnalyticsServiceException as __BaseException } from "../models/MarketplaceCommerceAnalyticsServiceException";
|
|
4
4
|
import { MarketplaceCommerceAnalyticsException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_GenerateDataSetCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "MarketplaceCommerceAnalytics20150701.GenerateDataSet",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_GenerateDataSetRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_StartSupportDataExportCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "MarketplaceCommerceAnalytics20150701.StartSupportDataExport",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_StartSupportDataExportRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const de_GenerateDataSetCommand = async (output, context) => {
|
|
24
24
|
if (output.statusCode >= 300) {
|
|
25
|
-
return
|
|
25
|
+
return de_GenerateDataSetCommandError(output, context);
|
|
26
26
|
}
|
|
27
27
|
const data = await parseBody(output.body, context);
|
|
28
28
|
let contents = {};
|
|
29
|
-
contents =
|
|
29
|
+
contents = de_GenerateDataSetResult(data, context);
|
|
30
30
|
const response = {
|
|
31
31
|
$metadata: deserializeMetadata(output),
|
|
32
32
|
...contents,
|
|
33
33
|
};
|
|
34
34
|
return Promise.resolve(response);
|
|
35
35
|
};
|
|
36
|
-
const
|
|
36
|
+
const de_GenerateDataSetCommandError = async (output, context) => {
|
|
37
37
|
const parsedOutput = {
|
|
38
38
|
...output,
|
|
39
39
|
body: await parseErrorBody(output.body, context),
|
|
@@ -42,7 +42,7 @@ const deserializeAws_json1_1GenerateDataSetCommandError = async (output, context
|
|
|
42
42
|
switch (errorCode) {
|
|
43
43
|
case "MarketplaceCommerceAnalyticsException":
|
|
44
44
|
case "com.amazonaws.marketplacecommerceanalytics#MarketplaceCommerceAnalyticsException":
|
|
45
|
-
throw await
|
|
45
|
+
throw await de_MarketplaceCommerceAnalyticsExceptionRes(parsedOutput, context);
|
|
46
46
|
default:
|
|
47
47
|
const parsedBody = parsedOutput.body;
|
|
48
48
|
throwDefaultError({
|
|
@@ -53,20 +53,20 @@ const deserializeAws_json1_1GenerateDataSetCommandError = async (output, context
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
-
export const
|
|
56
|
+
export const de_StartSupportDataExportCommand = async (output, context) => {
|
|
57
57
|
if (output.statusCode >= 300) {
|
|
58
|
-
return
|
|
58
|
+
return de_StartSupportDataExportCommandError(output, context);
|
|
59
59
|
}
|
|
60
60
|
const data = await parseBody(output.body, context);
|
|
61
61
|
let contents = {};
|
|
62
|
-
contents =
|
|
62
|
+
contents = de_StartSupportDataExportResult(data, context);
|
|
63
63
|
const response = {
|
|
64
64
|
$metadata: deserializeMetadata(output),
|
|
65
65
|
...contents,
|
|
66
66
|
};
|
|
67
67
|
return Promise.resolve(response);
|
|
68
68
|
};
|
|
69
|
-
const
|
|
69
|
+
const de_StartSupportDataExportCommandError = async (output, context) => {
|
|
70
70
|
const parsedOutput = {
|
|
71
71
|
...output,
|
|
72
72
|
body: await parseErrorBody(output.body, context),
|
|
@@ -75,7 +75,7 @@ const deserializeAws_json1_1StartSupportDataExportCommandError = async (output,
|
|
|
75
75
|
switch (errorCode) {
|
|
76
76
|
case "MarketplaceCommerceAnalyticsException":
|
|
77
77
|
case "com.amazonaws.marketplacecommerceanalytics#MarketplaceCommerceAnalyticsException":
|
|
78
|
-
throw await
|
|
78
|
+
throw await de_MarketplaceCommerceAnalyticsExceptionRes(parsedOutput, context);
|
|
79
79
|
default:
|
|
80
80
|
const parsedBody = parsedOutput.body;
|
|
81
81
|
throwDefaultError({
|
|
@@ -86,16 +86,16 @@ const deserializeAws_json1_1StartSupportDataExportCommandError = async (output,
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
};
|
|
89
|
-
const
|
|
89
|
+
const de_MarketplaceCommerceAnalyticsExceptionRes = async (parsedOutput, context) => {
|
|
90
90
|
const body = parsedOutput.body;
|
|
91
|
-
const deserialized =
|
|
91
|
+
const deserialized = de_MarketplaceCommerceAnalyticsException(body, context);
|
|
92
92
|
const exception = new MarketplaceCommerceAnalyticsException({
|
|
93
93
|
$metadata: deserializeMetadata(parsedOutput),
|
|
94
94
|
...deserialized,
|
|
95
95
|
});
|
|
96
96
|
return __decorateServiceException(exception, body);
|
|
97
97
|
};
|
|
98
|
-
const
|
|
98
|
+
const se_CustomerDefinedValues = (input, context) => {
|
|
99
99
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
100
100
|
if (value === null) {
|
|
101
101
|
return acc;
|
|
@@ -104,10 +104,10 @@ const serializeAws_json1_1CustomerDefinedValues = (input, context) => {
|
|
|
104
104
|
return acc;
|
|
105
105
|
}, {});
|
|
106
106
|
};
|
|
107
|
-
const
|
|
107
|
+
const se_GenerateDataSetRequest = (input, context) => {
|
|
108
108
|
return {
|
|
109
109
|
...(input.customerDefinedValues != null && {
|
|
110
|
-
customerDefinedValues:
|
|
110
|
+
customerDefinedValues: se_CustomerDefinedValues(input.customerDefinedValues, context),
|
|
111
111
|
}),
|
|
112
112
|
...(input.dataSetPublicationDate != null && {
|
|
113
113
|
dataSetPublicationDate: Math.round(input.dataSetPublicationDate.getTime() / 1000),
|
|
@@ -119,10 +119,10 @@ const serializeAws_json1_1GenerateDataSetRequest = (input, context) => {
|
|
|
119
119
|
...(input.snsTopicArn != null && { snsTopicArn: input.snsTopicArn }),
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
-
const
|
|
122
|
+
const se_StartSupportDataExportRequest = (input, context) => {
|
|
123
123
|
return {
|
|
124
124
|
...(input.customerDefinedValues != null && {
|
|
125
|
-
customerDefinedValues:
|
|
125
|
+
customerDefinedValues: se_CustomerDefinedValues(input.customerDefinedValues, context),
|
|
126
126
|
}),
|
|
127
127
|
...(input.dataSetType != null && { dataSetType: input.dataSetType }),
|
|
128
128
|
...(input.destinationS3BucketName != null && { destinationS3BucketName: input.destinationS3BucketName }),
|
|
@@ -132,17 +132,17 @@ const serializeAws_json1_1StartSupportDataExportRequest = (input, context) => {
|
|
|
132
132
|
...(input.snsTopicArn != null && { snsTopicArn: input.snsTopicArn }),
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
const
|
|
135
|
+
const de_GenerateDataSetResult = (output, context) => {
|
|
136
136
|
return {
|
|
137
137
|
dataSetRequestId: __expectString(output.dataSetRequestId),
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
const
|
|
140
|
+
const de_MarketplaceCommerceAnalyticsException = (output, context) => {
|
|
141
141
|
return {
|
|
142
142
|
message: __expectString(output.message),
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
|
-
const
|
|
145
|
+
const de_StartSupportDataExportResult = (output, context) => {
|
|
146
146
|
return {
|
|
147
147
|
dataSetRequestId: __expectString(output.dataSetRequestId),
|
|
148
148
|
};
|
|
@@ -2,7 +2,19 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { GenerateDataSetCommandInput, GenerateDataSetCommandOutput } from "../commands/GenerateDataSetCommand";
|
|
4
4
|
import { StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput } from "../commands/StartSupportDataExportCommand";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
5
|
+
/**
|
|
6
|
+
* serializeAws_json1_1GenerateDataSetCommand
|
|
7
|
+
*/
|
|
8
|
+
export declare const se_GenerateDataSetCommand: (input: GenerateDataSetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
+
/**
|
|
10
|
+
* serializeAws_json1_1StartSupportDataExportCommand
|
|
11
|
+
*/
|
|
12
|
+
export declare const se_StartSupportDataExportCommand: (input: StartSupportDataExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
/**
|
|
14
|
+
* deserializeAws_json1_1GenerateDataSetCommand
|
|
15
|
+
*/
|
|
16
|
+
export declare const de_GenerateDataSetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateDataSetCommandOutput>;
|
|
17
|
+
/**
|
|
18
|
+
* deserializeAws_json1_1StartSupportDataExportCommand
|
|
19
|
+
*/
|
|
20
|
+
export declare const de_StartSupportDataExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSupportDataExportCommandOutput>;
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
StartSupportDataExportCommandInput,
|
|
12
12
|
StartSupportDataExportCommandOutput,
|
|
13
13
|
} from "../commands/StartSupportDataExportCommand";
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const se_GenerateDataSetCommand: (
|
|
15
15
|
input: GenerateDataSetCommandInput,
|
|
16
16
|
context: __SerdeContext
|
|
17
17
|
) => Promise<__HttpRequest>;
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const se_StartSupportDataExportCommand: (
|
|
19
19
|
input: StartSupportDataExportCommandInput,
|
|
20
20
|
context: __SerdeContext
|
|
21
21
|
) => Promise<__HttpRequest>;
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const de_GenerateDataSetCommand: (
|
|
23
23
|
output: __HttpResponse,
|
|
24
24
|
context: __SerdeContext
|
|
25
25
|
) => Promise<GenerateDataSetCommandOutput>;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const de_StartSupportDataExportCommand: (
|
|
27
27
|
output: __HttpResponse,
|
|
28
28
|
context: __SerdeContext
|
|
29
29
|
) => Promise<StartSupportDataExportCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-commerce-analytics",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Commerce Analytics Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.309.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.309.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.309.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.303.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.309.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.309.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|