@aws-sdk/client-marketplace-reporting 3.664.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.
Files changed (83) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +248 -0
  3. package/dist-cjs/MarketplaceReporting.js +13 -0
  4. package/dist-cjs/MarketplaceReportingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetBuyerDashboardCommand.js +26 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  10. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  11. package/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist-cjs/extensionConfiguration.js +2 -0
  13. package/dist-cjs/index.js +10 -0
  14. package/dist-cjs/models/MarketplaceReportingServiceException.js +12 -0
  15. package/dist-cjs/models/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +56 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +128 -0
  18. package/dist-cjs/runtimeConfig.browser.js +39 -0
  19. package/dist-cjs/runtimeConfig.js +50 -0
  20. package/dist-cjs/runtimeConfig.native.js +15 -0
  21. package/dist-cjs/runtimeConfig.shared.js +34 -0
  22. package/dist-cjs/runtimeExtensions.js +25 -0
  23. package/dist-es/MarketplaceReporting.js +9 -0
  24. package/dist-es/MarketplaceReportingClient.js +46 -0
  25. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  26. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  27. package/dist-es/commands/GetBuyerDashboardCommand.js +22 -0
  28. package/dist-es/commands/index.js +1 -0
  29. package/dist-es/endpoint/EndpointParameters.js +14 -0
  30. package/dist-es/endpoint/endpointResolver.js +14 -0
  31. package/dist-es/endpoint/ruleset.js +4 -0
  32. package/dist-es/extensionConfiguration.js +1 -0
  33. package/dist-es/index.js +5 -0
  34. package/dist-es/models/MarketplaceReportingServiceException.js +8 -0
  35. package/dist-es/models/index.js +1 -0
  36. package/dist-es/models/models_0.js +49 -0
  37. package/dist-es/protocols/Aws_restJson1.js +123 -0
  38. package/dist-es/runtimeConfig.browser.js +34 -0
  39. package/dist-es/runtimeConfig.js +45 -0
  40. package/dist-es/runtimeConfig.native.js +11 -0
  41. package/dist-es/runtimeConfig.shared.js +30 -0
  42. package/dist-es/runtimeExtensions.js +21 -0
  43. package/dist-types/MarketplaceReporting.d.ts +52 -0
  44. package/dist-types/MarketplaceReportingClient.d.ts +205 -0
  45. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  46. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  47. package/dist-types/commands/GetBuyerDashboardCommand.d.ts +145 -0
  48. package/dist-types/commands/index.d.ts +1 -0
  49. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  50. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  51. package/dist-types/endpoint/ruleset.d.ts +2 -0
  52. package/dist-types/extensionConfiguration.d.ts +9 -0
  53. package/dist-types/index.d.ts +48 -0
  54. package/dist-types/models/MarketplaceReportingServiceException.d.ts +14 -0
  55. package/dist-types/models/index.d.ts +1 -0
  56. package/dist-types/models/models_0.d.ts +89 -0
  57. package/dist-types/protocols/Aws_restJson1.d.ts +11 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  59. package/dist-types/runtimeConfig.d.ts +48 -0
  60. package/dist-types/runtimeConfig.native.d.ts +47 -0
  61. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  62. package/dist-types/runtimeExtensions.d.ts +17 -0
  63. package/dist-types/ts3.4/MarketplaceReporting.d.ts +24 -0
  64. package/dist-types/ts3.4/MarketplaceReportingClient.d.ts +125 -0
  65. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  66. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  67. package/dist-types/ts3.4/commands/GetBuyerDashboardCommand.d.ts +46 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  69. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  70. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  71. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  72. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  73. package/dist-types/ts3.4/index.d.ts +8 -0
  74. package/dist-types/ts3.4/models/MarketplaceReportingServiceException.d.ts +9 -0
  75. package/dist-types/ts3.4/models/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  77. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +17 -0
  78. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  79. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  81. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  82. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  83. package/package.json +101 -0
@@ -0,0 +1,24 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ GetBuyerDashboardCommandInput,
4
+ GetBuyerDashboardCommandOutput,
5
+ } from "./commands/GetBuyerDashboardCommand";
6
+ import { MarketplaceReportingClient } from "./MarketplaceReportingClient";
7
+ export interface MarketplaceReporting {
8
+ getBuyerDashboard(
9
+ args: GetBuyerDashboardCommandInput,
10
+ options?: __HttpHandlerOptions
11
+ ): Promise<GetBuyerDashboardCommandOutput>;
12
+ getBuyerDashboard(
13
+ args: GetBuyerDashboardCommandInput,
14
+ cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void
15
+ ): void;
16
+ getBuyerDashboard(
17
+ args: GetBuyerDashboardCommandInput,
18
+ options: __HttpHandlerOptions,
19
+ cb: (err: any, data?: GetBuyerDashboardCommandOutput) => void
20
+ ): void;
21
+ }
22
+ export declare class MarketplaceReporting
23
+ extends MarketplaceReportingClient
24
+ implements MarketplaceReporting {}
@@ -0,0 +1,125 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetBuyerDashboardCommandInput,
50
+ GetBuyerDashboardCommandOutput,
51
+ } from "./commands/GetBuyerDashboardCommand";
52
+ import {
53
+ ClientInputEndpointParameters,
54
+ ClientResolvedEndpointParameters,
55
+ EndpointParameters,
56
+ } from "./endpoint/EndpointParameters";
57
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
58
+ export { __Client };
59
+ export type ServiceInputTypes = GetBuyerDashboardCommandInput;
60
+ export type ServiceOutputTypes = GetBuyerDashboardCommandOutput;
61
+ export interface ClientDefaults
62
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
63
+ requestHandler?: __HttpHandlerUserInput;
64
+ sha256?: __ChecksumConstructor | __HashConstructor;
65
+ urlParser?: __UrlParser;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
67
+ streamCollector?: __StreamCollector;
68
+ base64Decoder?: __Decoder;
69
+ base64Encoder?: __Encoder;
70
+ utf8Decoder?: __Decoder;
71
+ utf8Encoder?: __Encoder;
72
+ runtime?: string;
73
+ disableHostPrefix?: boolean;
74
+ serviceId?: string;
75
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
76
+ useFipsEndpoint?: boolean | __Provider<boolean>;
77
+ region?: string | __Provider<string>;
78
+ defaultUserAgentProvider?: Provider<__UserAgent>;
79
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
80
+ maxAttempts?: number | __Provider<number>;
81
+ retryMode?: string | __Provider<string>;
82
+ logger?: __Logger;
83
+ extensions?: RuntimeExtension[];
84
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
85
+ }
86
+ export type MarketplaceReportingClientConfigType = Partial<
87
+ __SmithyConfiguration<__HttpHandlerOptions>
88
+ > &
89
+ ClientDefaults &
90
+ UserAgentInputConfig &
91
+ RetryInputConfig &
92
+ RegionInputConfig &
93
+ HostHeaderInputConfig &
94
+ EndpointInputConfig<EndpointParameters> &
95
+ HttpAuthSchemeInputConfig &
96
+ ClientInputEndpointParameters;
97
+ export interface MarketplaceReportingClientConfig
98
+ extends MarketplaceReportingClientConfigType {}
99
+ export type MarketplaceReportingClientResolvedConfigType =
100
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
101
+ Required<ClientDefaults> &
102
+ RuntimeExtensionsConfig &
103
+ UserAgentResolvedConfig &
104
+ RetryResolvedConfig &
105
+ RegionResolvedConfig &
106
+ HostHeaderResolvedConfig &
107
+ EndpointResolvedConfig<EndpointParameters> &
108
+ HttpAuthSchemeResolvedConfig &
109
+ ClientResolvedEndpointParameters;
110
+ export interface MarketplaceReportingClientResolvedConfig
111
+ extends MarketplaceReportingClientResolvedConfigType {}
112
+ export declare class MarketplaceReportingClient extends __Client<
113
+ __HttpHandlerOptions,
114
+ ServiceInputTypes,
115
+ ServiceOutputTypes,
116
+ MarketplaceReportingClientResolvedConfig
117
+ > {
118
+ readonly config: MarketplaceReportingClientResolvedConfig;
119
+ constructor(
120
+ ...[
121
+ configuration,
122
+ ]: __CheckOptionalClientConfig<MarketplaceReportingClientConfig>
123
+ );
124
+ destroy(): void;
125
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { MarketplaceReportingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: MarketplaceReportingHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): MarketplaceReportingHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: MarketplaceReportingHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { MarketplaceReportingClientResolvedConfig } from "../MarketplaceReportingClient";
14
+ export interface MarketplaceReportingHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface MarketplaceReportingHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ MarketplaceReportingClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ MarketplaceReportingHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultMarketplaceReportingHttpAuthSchemeParametersProvider: (
26
+ config: MarketplaceReportingClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<MarketplaceReportingHttpAuthSchemeParameters>;
30
+ export interface MarketplaceReportingHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<MarketplaceReportingHttpAuthSchemeParameters> {}
32
+ export declare const defaultMarketplaceReportingHttpAuthSchemeProvider: MarketplaceReportingHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: MarketplaceReportingHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: MarketplaceReportingHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,46 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { MarketplaceReportingClientResolvedConfig } from "../MarketplaceReportingClient";
4
+ import {
5
+ GetBuyerDashboardInput,
6
+ GetBuyerDashboardOutput,
7
+ } from "../models/models_0";
8
+ export { __MetadataBearer };
9
+ export { $Command };
10
+ export interface GetBuyerDashboardCommandInput extends GetBuyerDashboardInput {}
11
+ export interface GetBuyerDashboardCommandOutput
12
+ extends GetBuyerDashboardOutput,
13
+ __MetadataBearer {}
14
+ declare const GetBuyerDashboardCommand_base: {
15
+ new (
16
+ input: GetBuyerDashboardCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetBuyerDashboardCommandInput,
19
+ GetBuyerDashboardCommandOutput,
20
+ MarketplaceReportingClientResolvedConfig,
21
+ GetBuyerDashboardCommandInput,
22
+ GetBuyerDashboardCommandOutput
23
+ >;
24
+ new (
25
+ __0_0: GetBuyerDashboardCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ GetBuyerDashboardCommandInput,
28
+ GetBuyerDashboardCommandOutput,
29
+ MarketplaceReportingClientResolvedConfig,
30
+ GetBuyerDashboardCommandInput,
31
+ GetBuyerDashboardCommandOutput
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class GetBuyerDashboardCommand extends GetBuyerDashboardCommand_base {
36
+ protected static __types: {
37
+ api: {
38
+ input: GetBuyerDashboardInput;
39
+ output: GetBuyerDashboardOutput;
40
+ };
41
+ sdk: {
42
+ input: GetBuyerDashboardCommandInput;
43
+ output: GetBuyerDashboardCommandOutput;
44
+ };
45
+ };
46
+ }
@@ -0,0 +1 @@
1
+ export * from "./GetBuyerDashboardCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ Region?: string;
48
+ UseDualStack?: boolean;
49
+ UseFIPS?: boolean;
50
+ Endpoint?: string;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface MarketplaceReportingExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,8 @@
1
+ export * from "./MarketplaceReportingClient";
2
+ export * from "./MarketplaceReporting";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { MarketplaceReportingExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./models";
8
+ export { MarketplaceReportingServiceException } from "./models/MarketplaceReportingServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class MarketplaceReportingServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,39 @@
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 interface GetBuyerDashboardInput {
18
+ dashboardIdentifier: string | undefined;
19
+ embeddingDomains: string[] | undefined;
20
+ }
21
+ export interface GetBuyerDashboardOutput {
22
+ embedUrl: string | undefined;
23
+ dashboardIdentifier: string | undefined;
24
+ embeddingDomains: string[] | undefined;
25
+ }
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
+ }
@@ -0,0 +1,17 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ GetBuyerDashboardCommandInput,
8
+ GetBuyerDashboardCommandOutput,
9
+ } from "../commands/GetBuyerDashboardCommand";
10
+ export declare const se_GetBuyerDashboardCommand: (
11
+ input: GetBuyerDashboardCommandInput,
12
+ context: __SerdeContext
13
+ ) => Promise<__HttpRequest>;
14
+ export declare const de_GetBuyerDashboardCommand: (
15
+ output: __HttpResponse,
16
+ context: __SerdeContext
17
+ ) => Promise<GetBuyerDashboardCommandOutput>;
@@ -0,0 +1,93 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { MarketplaceReportingClientConfig } from "./MarketplaceReportingClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceReportingClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
14
+ defaultUserAgentProvider: (
15
+ config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
+ apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: string | Uint8Array) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: string | Uint8Array) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ logger: import("@smithy/types").Logger;
37
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
38
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ userAgentAppId?:
40
+ | string
41
+ | import("@smithy/types").Provider<string | undefined>
42
+ | undefined;
43
+ retryStrategy?:
44
+ | import("@smithy/types").RetryStrategy
45
+ | import("@smithy/types").RetryStrategyV2
46
+ | undefined;
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
72
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
73
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceReportingHttpAuthSchemeProvider;
74
+ credentials?:
75
+ | import("@smithy/types").AwsCredentialIdentity
76
+ | import("@smithy/types").AwsCredentialIdentityProvider
77
+ | undefined;
78
+ signer?:
79
+ | import("@smithy/types").RequestSigner
80
+ | ((
81
+ authScheme?: import("@smithy/types").AuthScheme | undefined
82
+ ) => Promise<import("@smithy/types").RequestSigner>)
83
+ | undefined;
84
+ signingEscapePath?: boolean | undefined;
85
+ systemClockOffset?: number | undefined;
86
+ signingRegion?: string | undefined;
87
+ signerConstructor?:
88
+ | (new (
89
+ options: import("@smithy/signature-v4").SignatureV4Init &
90
+ import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ ) => import("@smithy/types").RequestSigner)
92
+ | undefined;
93
+ };
@@ -0,0 +1,96 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { MarketplaceReportingClientConfig } from "./MarketplaceReportingClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: MarketplaceReportingClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >;
18
+ defaultUserAgentProvider: (
19
+ config?:
20
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
+ | undefined
22
+ ) => Promise<import("@smithy/types").UserAgent>;
23
+ maxAttempts: number | import("@smithy/types").Provider<number>;
24
+ region: string | import("@smithy/types").Provider<string>;
25
+ requestHandler:
26
+ | RequestHandler
27
+ | import("@smithy/protocol-http").HttpHandler<any>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ sha256: import("@smithy/types").HashConstructor;
30
+ streamCollector: import("@smithy/types").StreamCollector;
31
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
34
+ apiVersion: string;
35
+ cacheMiddleware?: boolean | undefined;
36
+ urlParser: import("@smithy/types").UrlParser;
37
+ base64Decoder: import("@smithy/types").Decoder;
38
+ base64Encoder: (_input: string | Uint8Array) => string;
39
+ utf8Decoder: import("@smithy/types").Decoder;
40
+ utf8Encoder: (input: string | Uint8Array) => string;
41
+ disableHostPrefix: boolean;
42
+ serviceId: string;
43
+ logger: import("@smithy/types").Logger;
44
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
45
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ retryStrategy?:
47
+ | import("@smithy/types").RetryStrategy
48
+ | import("@smithy/types").RetryStrategyV2
49
+ | undefined;
50
+ endpoint?:
51
+ | ((
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ ) &
58
+ (
59
+ | string
60
+ | import("@smithy/types").Provider<string>
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ))
66
+ | undefined;
67
+ endpointProvider: (
68
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
+ context?: {
70
+ logger?: import("@smithy/types").Logger | undefined;
71
+ }
72
+ ) => import("@smithy/types").EndpointV2;
73
+ tls?: boolean | undefined;
74
+ serviceConfiguredEndpoint?: undefined;
75
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
76
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceReportingHttpAuthSchemeProvider;
77
+ credentials?:
78
+ | import("@smithy/types").AwsCredentialIdentity
79
+ | import("@smithy/types").AwsCredentialIdentityProvider
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ };