@aws-sdk/client-marketplace-commerce-analytics 3.296.0 → 3.297.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-types/MarketplaceCommerceAnalytics.d.ts +5 -2
- package/dist-types/MarketplaceCommerceAnalyticsClient.d.ts +24 -4
- package/dist-types/commands/GenerateDataSetCommand.d.ts +17 -1
- package/dist-types/commands/StartSupportDataExportCommand.d.ts +17 -1
- package/dist-types/models/MarketplaceCommerceAnalyticsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +11 -0
- package/package.json +3 -3
|
@@ -3,14 +3,16 @@ import { GenerateDataSetCommandInput, GenerateDataSetCommandOutput } from "./com
|
|
|
3
3
|
import { StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput } from "./commands/StartSupportDataExportCommand";
|
|
4
4
|
import { MarketplaceCommerceAnalyticsClient } from "./MarketplaceCommerceAnalyticsClient";
|
|
5
5
|
/**
|
|
6
|
+
* @public
|
|
6
7
|
* Provides AWS Marketplace business intelligence data on-demand.
|
|
7
8
|
*/
|
|
8
9
|
export declare class MarketplaceCommerceAnalytics extends MarketplaceCommerceAnalyticsClient {
|
|
9
10
|
/**
|
|
11
|
+
* @public
|
|
10
12
|
* Given a data set type and data set publication date, asynchronously publishes the requested data set to the specified
|
|
11
13
|
* S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that
|
|
12
14
|
* can be used to correlate requests with notifications from the SNS topic.
|
|
13
|
-
* Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD.csv.
|
|
15
|
+
* Data sets will be published in comma-separated values (CSV) format with the file name \{data_set_type\}_YYYY-MM-DD.csv.
|
|
14
16
|
* If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will
|
|
15
17
|
* be overwritten by the new file.
|
|
16
18
|
* Requires a Role with an attached permissions policy providing Allow permissions for the following actions:
|
|
@@ -20,10 +22,11 @@ export declare class MarketplaceCommerceAnalytics extends MarketplaceCommerceAna
|
|
|
20
22
|
generateDataSet(args: GenerateDataSetCommandInput, cb: (err: any, data?: GenerateDataSetCommandOutput) => void): void;
|
|
21
23
|
generateDataSet(args: GenerateDataSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateDataSetCommandOutput) => void): void;
|
|
22
24
|
/**
|
|
25
|
+
* @public
|
|
23
26
|
* Given a data set type and a from date, asynchronously publishes the requested customer support data
|
|
24
27
|
* to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request
|
|
25
28
|
* identifier that can be used to correlate requests with notifications from the SNS topic.
|
|
26
|
-
* Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv.
|
|
29
|
+
* Data sets will be published in comma-separated values (CSV) format with the file name \{data_set_type\}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv.
|
|
27
30
|
* If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will
|
|
28
31
|
* be overwritten by the new file.
|
|
29
32
|
* Requires a Role with an attached permissions policy providing Allow permissions for the following actions:
|
|
@@ -10,15 +10,24 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
10
10
|
import { GenerateDataSetCommandInput, GenerateDataSetCommandOutput } from "./commands/GenerateDataSetCommand";
|
|
11
11
|
import { StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput } from "./commands/StartSupportDataExportCommand";
|
|
12
12
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
13
16
|
export type ServiceInputTypes = GenerateDataSetCommandInput | StartSupportDataExportCommandInput;
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
14
20
|
export type ServiceOutputTypes = GenerateDataSetCommandOutput | StartSupportDataExportCommandOutput;
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
15
24
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
16
25
|
/**
|
|
17
26
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
18
27
|
*/
|
|
19
28
|
requestHandler?: __HttpHandler;
|
|
20
29
|
/**
|
|
21
|
-
* A constructor for a class implementing the {@link
|
|
30
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
22
31
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
23
32
|
* @internal
|
|
24
33
|
*/
|
|
@@ -108,23 +117,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
108
117
|
*/
|
|
109
118
|
logger?: __Logger;
|
|
110
119
|
/**
|
|
111
|
-
* The {@link
|
|
120
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
112
121
|
*/
|
|
113
122
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
114
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
115
127
|
type MarketplaceCommerceAnalyticsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
116
128
|
/**
|
|
117
|
-
*
|
|
129
|
+
* @public
|
|
130
|
+
*
|
|
131
|
+
* The configuration interface of MarketplaceCommerceAnalyticsClient class constructor that set the region, credentials and other options.
|
|
118
132
|
*/
|
|
119
133
|
export interface MarketplaceCommerceAnalyticsClientConfig extends MarketplaceCommerceAnalyticsClientConfigType {
|
|
120
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
121
138
|
type MarketplaceCommerceAnalyticsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
122
139
|
/**
|
|
123
|
-
*
|
|
140
|
+
* @public
|
|
141
|
+
*
|
|
142
|
+
* The resolved configuration interface of MarketplaceCommerceAnalyticsClient class. This is resolved and normalized from the {@link MarketplaceCommerceAnalyticsClientConfig | constructor configuration interface}.
|
|
124
143
|
*/
|
|
125
144
|
export interface MarketplaceCommerceAnalyticsClientResolvedConfig extends MarketplaceCommerceAnalyticsClientResolvedConfigType {
|
|
126
145
|
}
|
|
127
146
|
/**
|
|
147
|
+
* @public
|
|
128
148
|
* Provides AWS Marketplace business intelligence data on-demand.
|
|
129
149
|
*/
|
|
130
150
|
export declare class MarketplaceCommerceAnalyticsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MarketplaceCommerceAnalyticsClientResolvedConfig> {
|
|
@@ -4,20 +4,25 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCommerceAnalyticsClient";
|
|
5
5
|
import { GenerateDataSetRequest, GenerateDataSetResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GenerateDataSetCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GenerateDataSetCommandInput extends GenerateDataSetRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GenerateDataSetCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GenerateDataSetCommandOutput extends GenerateDataSetResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* Given a data set type and data set publication date, asynchronously publishes the requested data set to the specified
|
|
18
23
|
* S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request identifier that
|
|
19
24
|
* can be used to correlate requests with notifications from the SNS topic.
|
|
20
|
-
* Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD.csv.
|
|
25
|
+
* Data sets will be published in comma-separated values (CSV) format with the file name \{data_set_type\}_YYYY-MM-DD.csv.
|
|
21
26
|
* If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will
|
|
22
27
|
* be overwritten by the new file.
|
|
23
28
|
* Requires a Role with an attached permissions policy providing Allow permissions for the following actions:
|
|
@@ -32,6 +37,8 @@ export interface GenerateDataSetCommandOutput extends GenerateDataSetResult, __M
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param GenerateDataSetCommandInput - {@link GenerateDataSetCommandInput}
|
|
41
|
+
* @returns {@link GenerateDataSetCommandOutput}
|
|
35
42
|
* @see {@link GenerateDataSetCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link GenerateDataSetCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link MarketplaceCommerceAnalyticsClientResolvedConfig | config} for MarketplaceCommerceAnalyticsClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface GenerateDataSetCommandOutput extends GenerateDataSetResult, __M
|
|
|
44
51
|
export declare class GenerateDataSetCommand extends $Command<GenerateDataSetCommandInput, GenerateDataSetCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig> {
|
|
45
52
|
readonly input: GenerateDataSetCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: GenerateDataSetCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceCommerceAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GenerateDataSetCommandInput, GenerateDataSetCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,20 +4,25 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MarketplaceCommerceAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceCommerceAnalyticsClient";
|
|
5
5
|
import { StartSupportDataExportRequest, StartSupportDataExportResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartSupportDataExportCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartSupportDataExportCommandInput extends StartSupportDataExportRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartSupportDataExportCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartSupportDataExportCommandOutput extends StartSupportDataExportResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* Given a data set type and a from date, asynchronously publishes the requested customer support data
|
|
18
23
|
* to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request
|
|
19
24
|
* identifier that can be used to correlate requests with notifications from the SNS topic.
|
|
20
|
-
* Data sets will be published in comma-separated values (CSV) format with the file name {data_set_type}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv.
|
|
25
|
+
* Data sets will be published in comma-separated values (CSV) format with the file name \{data_set_type\}_YYYY-MM-DD'T'HH-mm-ss'Z'.csv.
|
|
21
26
|
* If a file with the same name already exists (e.g. if the same data set is requested twice), the original file will
|
|
22
27
|
* be overwritten by the new file.
|
|
23
28
|
* Requires a Role with an attached permissions policy providing Allow permissions for the following actions:
|
|
@@ -32,6 +37,8 @@ export interface StartSupportDataExportCommandOutput extends StartSupportDataExp
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param StartSupportDataExportCommandInput - {@link StartSupportDataExportCommandInput}
|
|
41
|
+
* @returns {@link StartSupportDataExportCommandOutput}
|
|
35
42
|
* @see {@link StartSupportDataExportCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link StartSupportDataExportCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link MarketplaceCommerceAnalyticsClientResolvedConfig | config} for MarketplaceCommerceAnalyticsClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface StartSupportDataExportCommandOutput extends StartSupportDataExp
|
|
|
44
51
|
export declare class StartSupportDataExportCommand extends $Command<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig> {
|
|
45
52
|
readonly input: StartSupportDataExportCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: StartSupportDataExportCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceCommerceAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSupportDataExportCommandInput, StartSupportDataExportCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from MarketplaceCommerceAnalytics service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class MarketplaceCommerceAnalyticsServiceException extends __ServiceException {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { MarketplaceCommerceAnalyticsServiceException as __BaseException } from "./MarketplaceCommerceAnalyticsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum DataSetType {
|
|
4
7
|
CUSTOMER_PROFILE_BY_GEOGRAPHY = "customer_profile_by_geography",
|
|
5
8
|
CUSTOMER_PROFILE_BY_INDUSTRY = "customer_profile_by_industry",
|
|
@@ -28,6 +31,7 @@ export declare enum DataSetType {
|
|
|
28
31
|
US_SALES_AND_USE_TAX_RECORDS = "us_sales_and_use_tax_records"
|
|
29
32
|
}
|
|
30
33
|
/**
|
|
34
|
+
* @public
|
|
31
35
|
* Container for the parameters to the GenerateDataSet operation.
|
|
32
36
|
*/
|
|
33
37
|
export interface GenerateDataSetRequest {
|
|
@@ -177,6 +181,7 @@ export interface GenerateDataSetRequest {
|
|
|
177
181
|
customerDefinedValues?: Record<string, string>;
|
|
178
182
|
}
|
|
179
183
|
/**
|
|
184
|
+
* @public
|
|
180
185
|
* Container for the result of the GenerateDataSet operation.
|
|
181
186
|
*/
|
|
182
187
|
export interface GenerateDataSetResult {
|
|
@@ -187,6 +192,7 @@ export interface GenerateDataSetResult {
|
|
|
187
192
|
dataSetRequestId?: string;
|
|
188
193
|
}
|
|
189
194
|
/**
|
|
195
|
+
* @public
|
|
190
196
|
* This exception is thrown when an internal service error occurs.
|
|
191
197
|
*/
|
|
192
198
|
export declare class MarketplaceCommerceAnalyticsException extends __BaseException {
|
|
@@ -197,8 +203,12 @@ export declare class MarketplaceCommerceAnalyticsException extends __BaseExcepti
|
|
|
197
203
|
*/
|
|
198
204
|
constructor(opts: __ExceptionOptionType<MarketplaceCommerceAnalyticsException, __BaseException>);
|
|
199
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
200
209
|
export type SupportDataSetType = "customer_support_contacts_data" | "test_customer_support_contacts_data";
|
|
201
210
|
/**
|
|
211
|
+
* @public
|
|
202
212
|
* Container for the parameters to the StartSupportDataExport operation.
|
|
203
213
|
*/
|
|
204
214
|
export interface StartSupportDataExportRequest {
|
|
@@ -250,6 +260,7 @@ export interface StartSupportDataExportRequest {
|
|
|
250
260
|
customerDefinedValues?: Record<string, string>;
|
|
251
261
|
}
|
|
252
262
|
/**
|
|
263
|
+
* @public
|
|
253
264
|
* Container for the result of the StartSupportDataExport operation.
|
|
254
265
|
*/
|
|
255
266
|
export interface StartSupportDataExportResult {
|
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.297.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|