@aws-sdk/client-marketplace-reporting 3.934.0 → 3.936.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-es/index.js +1 -1
- package/dist-es/models/errors.js +49 -0
- package/dist-es/models/models_0.js +1 -49
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +50 -0
- package/dist-types/models/models_0.d.ts +0 -50
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +30 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -30
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./MarketplaceReportingClient";
|
|
2
2
|
export * from "./MarketplaceReporting";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/errors";
|
|
5
5
|
export { MarketplaceReportingServiceException } from "./models/MarketplaceReportingServiceException";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { MarketplaceReportingServiceException as __BaseException } from "./MarketplaceReportingServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class BadRequestException extends __BaseException {
|
|
15
|
+
name = "BadRequestException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "BadRequestException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class UnauthorizedException extends __BaseException {
|
|
39
|
+
name = "UnauthorizedException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "UnauthorizedException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,49 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class BadRequestException extends __BaseException {
|
|
15
|
-
name = "BadRequestException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "BadRequestException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class InternalServerException extends __BaseException {
|
|
27
|
-
name = "InternalServerException";
|
|
28
|
-
$fault = "server";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InternalServerException",
|
|
32
|
-
$fault: "server",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class UnauthorizedException extends __BaseException {
|
|
39
|
-
name = "UnauthorizedException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "UnauthorizedException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
export {};
|
|
@@ -17,7 +17,7 @@ const _s = "server";
|
|
|
17
17
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.marketplacereporting";
|
|
18
18
|
const n0 = "com.amazonaws.marketplacereporting";
|
|
19
19
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
20
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, InternalServerException as __InternalServerException, UnauthorizedException as __UnauthorizedException, } from "../models/
|
|
20
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, InternalServerException as __InternalServerException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
|
|
21
21
|
import { MarketplaceReportingServiceException as __MarketplaceReportingServiceException } from "../models/MarketplaceReportingServiceException";
|
|
22
22
|
export var AccessDeniedException = [
|
|
23
23
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -64,5 +64,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
64
64
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
65
65
|
export type { MarketplaceReportingExtensionConfiguration } from "./extensionConfiguration";
|
|
66
66
|
export * from "./commands";
|
|
67
|
-
export * from "./models";
|
|
67
|
+
export * from "./models/errors";
|
|
68
|
+
export type * from "./models/models_0";
|
|
68
69
|
export { MarketplaceReportingServiceException } from "./models/MarketplaceReportingServiceException";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MarketplaceReportingServiceException as __BaseException } from "./MarketplaceReportingServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request is malformed, or it contains an error such as an invalid parameter. Ensure the request has all required parameters.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class BadRequestException extends __BaseException {
|
|
20
|
+
readonly name: "BadRequestException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The operation failed due to a server error.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>You do not have permission to perform this action.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
44
|
+
readonly name: "UnauthorizedException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
50
|
+
}
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { MarketplaceReportingServiceException as __BaseException } from "./MarketplaceReportingServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* <p>The request is malformed, or it contains an error such as an invalid parameter. Ensure the request has all required parameters.</p>
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export declare class BadRequestException extends __BaseException {
|
|
20
|
-
readonly name: "BadRequestException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
26
|
-
}
|
|
27
1
|
/**
|
|
28
2
|
* @public
|
|
29
3
|
*/
|
|
@@ -63,27 +37,3 @@ export interface GetBuyerDashboardOutput {
|
|
|
63
37
|
*/
|
|
64
38
|
embeddingDomains: string[] | undefined;
|
|
65
39
|
}
|
|
66
|
-
/**
|
|
67
|
-
* <p>The operation failed due to a server error.</p>
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
export declare class InternalServerException extends __BaseException {
|
|
71
|
-
readonly name: "InternalServerException";
|
|
72
|
-
readonly $fault: "server";
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* <p>You do not have permission to perform this action.</p>
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
83
|
-
readonly name: "UnauthorizedException";
|
|
84
|
-
readonly $fault: "client";
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
89
|
-
}
|
|
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { MarketplaceReportingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/errors";
|
|
8
|
+
export * from "./models/models_0";
|
|
8
9
|
export { MarketplaceReportingServiceException } from "./models/MarketplaceReportingServiceException";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MarketplaceReportingServiceException as __BaseException } from "./MarketplaceReportingServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class BadRequestException extends __BaseException {
|
|
11
|
+
readonly name: "BadRequestException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
readonly name: "InternalServerException";
|
|
19
|
+
readonly $fault: "server";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
25
|
+
readonly name: "UnauthorizedException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { MarketplaceReportingServiceException as __BaseException } from "./MarketplaceReportingServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
|
-
export declare class BadRequestException extends __BaseException {
|
|
11
|
-
readonly name: "BadRequestException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
1
|
export interface GetBuyerDashboardInput {
|
|
18
2
|
dashboardIdentifier: string | undefined;
|
|
19
3
|
embeddingDomains: string[] | undefined;
|
|
@@ -23,17 +7,3 @@ export interface GetBuyerDashboardOutput {
|
|
|
23
7
|
dashboardIdentifier: string | undefined;
|
|
24
8
|
embeddingDomains: string[] | undefined;
|
|
25
9
|
}
|
|
26
|
-
export declare class InternalServerException extends __BaseException {
|
|
27
|
-
readonly name: "InternalServerException";
|
|
28
|
-
readonly $fault: "server";
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
34
|
-
readonly name: "UnauthorizedException";
|
|
35
|
-
readonly $fault: "client";
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
38
|
-
);
|
|
39
|
-
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-reporting",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Reporting Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-marketplace-reporting",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|