@aws-sdk/client-marketplace-commerce-analytics 3.433.0 → 3.434.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://marketplacecommerceanalytics.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -23,7 +23,9 @@ export interface StartSupportDataExportCommandOutput extends StartSupportDataExp
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
*
|
|
26
|
+
* @deprecated
|
|
27
|
+
*
|
|
28
|
+
* <i>This target has been deprecated.</i> Given a data set type and a from date, asynchronously publishes the requested customer support data
|
|
27
29
|
* to the specified S3 bucket and notifies the specified SNS topic once the data is available. Returns a unique request
|
|
28
30
|
* identifier that can be used to correlate requests with notifications from the SNS topic.
|
|
29
31
|
* 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.
|
|
@@ -230,13 +230,15 @@ export declare const SupportDataSetType: {
|
|
|
230
230
|
export type SupportDataSetType = (typeof SupportDataSetType)[keyof typeof SupportDataSetType];
|
|
231
231
|
/**
|
|
232
232
|
* @public
|
|
233
|
-
*
|
|
233
|
+
* @deprecated
|
|
234
|
+
*
|
|
235
|
+
* <i>This target has been deprecated.</i> Container for the parameters to the StartSupportDataExport operation.
|
|
234
236
|
*/
|
|
235
237
|
export interface StartSupportDataExportRequest {
|
|
236
238
|
/**
|
|
237
239
|
* @public
|
|
238
240
|
* <p>
|
|
239
|
-
*
|
|
241
|
+
* <i>This target has been deprecated.</i> Specifies the data set type to be written to the output csv file. The data set types customer_support_contacts_data and
|
|
240
242
|
* test_customer_support_contacts_data both result in a csv file containing the following fields: Product Id, Product Code, Customer Guid,
|
|
241
243
|
* Subscription Guid, Subscription Start Date, Organization, AWS Account Id, Given Name, Surname, Telephone Number, Email, Title,
|
|
242
244
|
* Country Code, ZIP Code, Operation Type, and Operation Time.
|
|
@@ -251,23 +253,23 @@ export interface StartSupportDataExportRequest {
|
|
|
251
253
|
dataSetType: SupportDataSetType | undefined;
|
|
252
254
|
/**
|
|
253
255
|
* @public
|
|
254
|
-
* The start date from which to retrieve the data set in UTC. This parameter only affects the customer_support_contacts_data data set type.
|
|
256
|
+
* <i>This target has been deprecated.</i> The start date from which to retrieve the data set in UTC. This parameter only affects the customer_support_contacts_data data set type.
|
|
255
257
|
*/
|
|
256
258
|
fromDate: Date | undefined;
|
|
257
259
|
/**
|
|
258
260
|
* @public
|
|
259
|
-
* The Amazon Resource Name (ARN) of the Role with an attached permissions policy to interact with the provided
|
|
261
|
+
* <i>This target has been deprecated.</i> The Amazon Resource Name (ARN) of the Role with an attached permissions policy to interact with the provided
|
|
260
262
|
* AWS services.
|
|
261
263
|
*/
|
|
262
264
|
roleNameArn: string | undefined;
|
|
263
265
|
/**
|
|
264
266
|
* @public
|
|
265
|
-
* The name (friendly name, not ARN) of the destination S3 bucket.
|
|
267
|
+
* <i>This target has been deprecated.</i> The name (friendly name, not ARN) of the destination S3 bucket.
|
|
266
268
|
*/
|
|
267
269
|
destinationS3BucketName: string | undefined;
|
|
268
270
|
/**
|
|
269
271
|
* @public
|
|
270
|
-
* (Optional) The desired S3 prefix for the published data set, similar to a directory path in standard file systems.
|
|
272
|
+
* <i>This target has been deprecated.</i> (Optional) The desired S3 prefix for the published data set, similar to a directory path in standard file systems.
|
|
271
273
|
* For example, if given the bucket name "mybucket" and the prefix "myprefix/mydatasets", the output file
|
|
272
274
|
* "outputfile" would be published to "s3://mybucket/myprefix/mydatasets/outputfile".
|
|
273
275
|
* If the prefix directory structure does not exist, it will be created.
|
|
@@ -276,25 +278,27 @@ export interface StartSupportDataExportRequest {
|
|
|
276
278
|
destinationS3Prefix?: string;
|
|
277
279
|
/**
|
|
278
280
|
* @public
|
|
279
|
-
* Amazon Resource Name (ARN) for the SNS Topic that will be notified when the data set has been published or if an
|
|
281
|
+
* <i>This target has been deprecated.</i> Amazon Resource Name (ARN) for the SNS Topic that will be notified when the data set has been published or if an
|
|
280
282
|
* error has occurred.
|
|
281
283
|
*/
|
|
282
284
|
snsTopicArn: string | undefined;
|
|
283
285
|
/**
|
|
284
286
|
* @public
|
|
285
|
-
* (Optional) Key-value pairs which will be returned, unmodified, in the
|
|
287
|
+
* <i>This target has been deprecated.</i> (Optional) Key-value pairs which will be returned, unmodified, in the
|
|
286
288
|
* Amazon SNS notification message and the data set metadata file.
|
|
287
289
|
*/
|
|
288
290
|
customerDefinedValues?: Record<string, string>;
|
|
289
291
|
}
|
|
290
292
|
/**
|
|
291
293
|
* @public
|
|
292
|
-
*
|
|
294
|
+
* @deprecated
|
|
295
|
+
*
|
|
296
|
+
* <i>This target has been deprecated.</i> Container for the result of the StartSupportDataExport operation.
|
|
293
297
|
*/
|
|
294
298
|
export interface StartSupportDataExportResult {
|
|
295
299
|
/**
|
|
296
300
|
* @public
|
|
297
|
-
* A unique identifier representing a specific request to the StartSupportDataExport operation. This identifier can be
|
|
301
|
+
* <i>This target has been deprecated.</i> A unique identifier representing a specific request to the StartSupportDataExport operation. This identifier can be
|
|
298
302
|
* used to correlate a request with notifications from the SNS topic.
|
|
299
303
|
*/
|
|
300
304
|
dataSetRequestId?: string;
|
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.434.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",
|