@aws-sdk/client-partnercentral-revenue-measurement 3.1136.0 → 3.1138.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/index.js CHANGED
@@ -194,7 +194,7 @@ const commonParams = {
194
194
  Region: { type: "builtInParams", name: "region" },
195
195
  };
196
196
 
197
- var version = "3.1135.0";
197
+ var version = "3.1137.0";
198
198
  var packageInfo = {
199
199
  version: version};
200
200
 
@@ -486,10 +486,10 @@ const _se = "server";
486
486
  const _t = "tags";
487
487
  const _tK = "tagKeys";
488
488
  const n0 = "com.amazonaws.partnercentralrevenuemeasurement";
489
- const _s_registry = TypeRegistry.for(_s);
489
+ const _s_registry = new TypeRegistry(_s);
490
490
  var PartnerCentralRevenueMeasurementServiceException$ = [-3, _s, "PartnerCentralRevenueMeasurementServiceException", 0, [], []];
491
491
  _s_registry.registerError(PartnerCentralRevenueMeasurementServiceException$, PartnerCentralRevenueMeasurementServiceException);
492
- const n0_registry = TypeRegistry.for(n0);
492
+ const n0_registry = new TypeRegistry(n0);
493
493
  var AccessDeniedException$ = [-3, n0, _ADE,
494
494
  { [_e]: _c, [_hE]: 403 },
495
495
  [_M, _R],
@@ -165,10 +165,10 @@ const n0 = "com.amazonaws.partnercentralrevenuemeasurement";
165
165
  import { TypeRegistry } from "@smithy/core/schema";
166
166
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
167
167
  import { PartnerCentralRevenueMeasurementServiceException, } from "../models/PartnerCentralRevenueMeasurementServiceException";
168
- const _s_registry = TypeRegistry.for(_s);
168
+ const _s_registry = new TypeRegistry(_s);
169
169
  export var PartnerCentralRevenueMeasurementServiceException$ = [-3, _s, "PartnerCentralRevenueMeasurementServiceException", 0, [], []];
170
170
  _s_registry.registerError(PartnerCentralRevenueMeasurementServiceException$, PartnerCentralRevenueMeasurementServiceException);
171
- const n0_registry = TypeRegistry.for(n0);
171
+ const n0_registry = new TypeRegistry(n0);
172
172
  export var AccessDeniedException$ = [-3, n0, _ADE,
173
173
  { [_e]: _c, [_hE]: 403 },
174
174
  [_M, _R],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreateMarketplaceRevenueShareAllocationCommandInput, type CreateMarketplaceRevenueShareAllocationCommandOutput } from "./commands/CreateMarketplaceRevenueShareAllocationCommand";
3
3
  import { type CreateMarketplaceRevenueShareCommandInput, type CreateMarketplaceRevenueShareCommandOutput } from "./commands/CreateMarketplaceRevenueShareCommand";
4
4
  import { type CreateRevenueAttributionCommandInput, type CreateRevenueAttributionCommandOutput } from "./commands/CreateRevenueAttributionCommand";
@@ -18,115 +18,121 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
18
18
  import { type UpdateMarketplaceRevenueShareAllocationCommandInput, type UpdateMarketplaceRevenueShareAllocationCommandOutput } from "./commands/UpdateMarketplaceRevenueShareAllocationCommand";
19
19
  import { type UpdateRevenueAttributionCommandInput, type UpdateRevenueAttributionCommandOutput } from "./commands/UpdateRevenueAttributionCommand";
20
20
  import { PartnerCentralRevenueMeasurementClient } from "./PartnerCentralRevenueMeasurementClient";
21
+ /**
22
+ * @public
23
+ */
24
+ export interface PartnerCentralRevenueMeasurementRequestOptions extends __HttpHandlerOptions {
25
+ metricsRecorder?: __MetricsRecorder<unknown>;
26
+ }
21
27
  export interface PartnerCentralRevenueMeasurement {
22
28
  /**
23
29
  * @see {@link CreateMarketplaceRevenueShareCommand}
24
30
  */
25
- createMarketplaceRevenueShare(args: CreateMarketplaceRevenueShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateMarketplaceRevenueShareCommandOutput>;
31
+ createMarketplaceRevenueShare(args: CreateMarketplaceRevenueShareCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<CreateMarketplaceRevenueShareCommandOutput>;
26
32
  createMarketplaceRevenueShare(args: CreateMarketplaceRevenueShareCommandInput, cb: (err: any, data?: CreateMarketplaceRevenueShareCommandOutput) => void): void;
27
- createMarketplaceRevenueShare(args: CreateMarketplaceRevenueShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMarketplaceRevenueShareCommandOutput) => void): void;
33
+ createMarketplaceRevenueShare(args: CreateMarketplaceRevenueShareCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: CreateMarketplaceRevenueShareCommandOutput) => void): void;
28
34
  /**
29
35
  * @see {@link CreateMarketplaceRevenueShareAllocationCommand}
30
36
  */
31
- createMarketplaceRevenueShareAllocation(args: CreateMarketplaceRevenueShareAllocationCommandInput, options?: __HttpHandlerOptions): Promise<CreateMarketplaceRevenueShareAllocationCommandOutput>;
37
+ createMarketplaceRevenueShareAllocation(args: CreateMarketplaceRevenueShareAllocationCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<CreateMarketplaceRevenueShareAllocationCommandOutput>;
32
38
  createMarketplaceRevenueShareAllocation(args: CreateMarketplaceRevenueShareAllocationCommandInput, cb: (err: any, data?: CreateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
33
- createMarketplaceRevenueShareAllocation(args: CreateMarketplaceRevenueShareAllocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
39
+ createMarketplaceRevenueShareAllocation(args: CreateMarketplaceRevenueShareAllocationCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: CreateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link CreateRevenueAttributionCommand}
36
42
  */
37
- createRevenueAttribution(args: CreateRevenueAttributionCommandInput, options?: __HttpHandlerOptions): Promise<CreateRevenueAttributionCommandOutput>;
43
+ createRevenueAttribution(args: CreateRevenueAttributionCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<CreateRevenueAttributionCommandOutput>;
38
44
  createRevenueAttribution(args: CreateRevenueAttributionCommandInput, cb: (err: any, data?: CreateRevenueAttributionCommandOutput) => void): void;
39
- createRevenueAttribution(args: CreateRevenueAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRevenueAttributionCommandOutput) => void): void;
45
+ createRevenueAttribution(args: CreateRevenueAttributionCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: CreateRevenueAttributionCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link GetMarketplaceRevenueShareCommand}
42
48
  */
43
- getMarketplaceRevenueShare(args: GetMarketplaceRevenueShareCommandInput, options?: __HttpHandlerOptions): Promise<GetMarketplaceRevenueShareCommandOutput>;
49
+ getMarketplaceRevenueShare(args: GetMarketplaceRevenueShareCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<GetMarketplaceRevenueShareCommandOutput>;
44
50
  getMarketplaceRevenueShare(args: GetMarketplaceRevenueShareCommandInput, cb: (err: any, data?: GetMarketplaceRevenueShareCommandOutput) => void): void;
45
- getMarketplaceRevenueShare(args: GetMarketplaceRevenueShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMarketplaceRevenueShareCommandOutput) => void): void;
51
+ getMarketplaceRevenueShare(args: GetMarketplaceRevenueShareCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: GetMarketplaceRevenueShareCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link GetMarketplaceRevenueShareAllocationCommand}
48
54
  */
49
- getMarketplaceRevenueShareAllocation(args: GetMarketplaceRevenueShareAllocationCommandInput, options?: __HttpHandlerOptions): Promise<GetMarketplaceRevenueShareAllocationCommandOutput>;
55
+ getMarketplaceRevenueShareAllocation(args: GetMarketplaceRevenueShareAllocationCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<GetMarketplaceRevenueShareAllocationCommandOutput>;
50
56
  getMarketplaceRevenueShareAllocation(args: GetMarketplaceRevenueShareAllocationCommandInput, cb: (err: any, data?: GetMarketplaceRevenueShareAllocationCommandOutput) => void): void;
51
- getMarketplaceRevenueShareAllocation(args: GetMarketplaceRevenueShareAllocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMarketplaceRevenueShareAllocationCommandOutput) => void): void;
57
+ getMarketplaceRevenueShareAllocation(args: GetMarketplaceRevenueShareAllocationCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: GetMarketplaceRevenueShareAllocationCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link GetRevenueAttributionCommand}
54
60
  */
55
- getRevenueAttribution(args: GetRevenueAttributionCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueAttributionCommandOutput>;
61
+ getRevenueAttribution(args: GetRevenueAttributionCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<GetRevenueAttributionCommandOutput>;
56
62
  getRevenueAttribution(args: GetRevenueAttributionCommandInput, cb: (err: any, data?: GetRevenueAttributionCommandOutput) => void): void;
57
- getRevenueAttribution(args: GetRevenueAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueAttributionCommandOutput) => void): void;
63
+ getRevenueAttribution(args: GetRevenueAttributionCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: GetRevenueAttributionCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link GetRevenueAttributionAllocationCommand}
60
66
  */
61
- getRevenueAttributionAllocation(args: GetRevenueAttributionAllocationCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueAttributionAllocationCommandOutput>;
67
+ getRevenueAttributionAllocation(args: GetRevenueAttributionAllocationCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<GetRevenueAttributionAllocationCommandOutput>;
62
68
  getRevenueAttributionAllocation(args: GetRevenueAttributionAllocationCommandInput, cb: (err: any, data?: GetRevenueAttributionAllocationCommandOutput) => void): void;
63
- getRevenueAttributionAllocation(args: GetRevenueAttributionAllocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueAttributionAllocationCommandOutput) => void): void;
69
+ getRevenueAttributionAllocation(args: GetRevenueAttributionAllocationCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: GetRevenueAttributionAllocationCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link GetRevenueAttributionAllocationsTaskCommand}
66
72
  */
67
- getRevenueAttributionAllocationsTask(args: GetRevenueAttributionAllocationsTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetRevenueAttributionAllocationsTaskCommandOutput>;
73
+ getRevenueAttributionAllocationsTask(args: GetRevenueAttributionAllocationsTaskCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<GetRevenueAttributionAllocationsTaskCommandOutput>;
68
74
  getRevenueAttributionAllocationsTask(args: GetRevenueAttributionAllocationsTaskCommandInput, cb: (err: any, data?: GetRevenueAttributionAllocationsTaskCommandOutput) => void): void;
69
- getRevenueAttributionAllocationsTask(args: GetRevenueAttributionAllocationsTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRevenueAttributionAllocationsTaskCommandOutput) => void): void;
75
+ getRevenueAttributionAllocationsTask(args: GetRevenueAttributionAllocationsTaskCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: GetRevenueAttributionAllocationsTaskCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link ListMarketplaceRevenueShareAllocationsCommand}
72
78
  */
73
- listMarketplaceRevenueShareAllocations(args: ListMarketplaceRevenueShareAllocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListMarketplaceRevenueShareAllocationsCommandOutput>;
79
+ listMarketplaceRevenueShareAllocations(args: ListMarketplaceRevenueShareAllocationsCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<ListMarketplaceRevenueShareAllocationsCommandOutput>;
74
80
  listMarketplaceRevenueShareAllocations(args: ListMarketplaceRevenueShareAllocationsCommandInput, cb: (err: any, data?: ListMarketplaceRevenueShareAllocationsCommandOutput) => void): void;
75
- listMarketplaceRevenueShareAllocations(args: ListMarketplaceRevenueShareAllocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMarketplaceRevenueShareAllocationsCommandOutput) => void): void;
81
+ listMarketplaceRevenueShareAllocations(args: ListMarketplaceRevenueShareAllocationsCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: ListMarketplaceRevenueShareAllocationsCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link ListMarketplaceRevenueSharesCommand}
78
84
  */
79
- listMarketplaceRevenueShares(args: ListMarketplaceRevenueSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListMarketplaceRevenueSharesCommandOutput>;
85
+ listMarketplaceRevenueShares(args: ListMarketplaceRevenueSharesCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<ListMarketplaceRevenueSharesCommandOutput>;
80
86
  listMarketplaceRevenueShares(args: ListMarketplaceRevenueSharesCommandInput, cb: (err: any, data?: ListMarketplaceRevenueSharesCommandOutput) => void): void;
81
- listMarketplaceRevenueShares(args: ListMarketplaceRevenueSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMarketplaceRevenueSharesCommandOutput) => void): void;
87
+ listMarketplaceRevenueShares(args: ListMarketplaceRevenueSharesCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: ListMarketplaceRevenueSharesCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link ListRevenueAttributionAllocationsCommand}
84
90
  */
85
- listRevenueAttributionAllocations(args: ListRevenueAttributionAllocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRevenueAttributionAllocationsCommandOutput>;
91
+ listRevenueAttributionAllocations(args: ListRevenueAttributionAllocationsCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<ListRevenueAttributionAllocationsCommandOutput>;
86
92
  listRevenueAttributionAllocations(args: ListRevenueAttributionAllocationsCommandInput, cb: (err: any, data?: ListRevenueAttributionAllocationsCommandOutput) => void): void;
87
- listRevenueAttributionAllocations(args: ListRevenueAttributionAllocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRevenueAttributionAllocationsCommandOutput) => void): void;
93
+ listRevenueAttributionAllocations(args: ListRevenueAttributionAllocationsCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: ListRevenueAttributionAllocationsCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link ListRevenueAttributionsCommand}
90
96
  */
91
- listRevenueAttributions(args: ListRevenueAttributionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRevenueAttributionsCommandOutput>;
97
+ listRevenueAttributions(args: ListRevenueAttributionsCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<ListRevenueAttributionsCommandOutput>;
92
98
  listRevenueAttributions(args: ListRevenueAttributionsCommandInput, cb: (err: any, data?: ListRevenueAttributionsCommandOutput) => void): void;
93
- listRevenueAttributions(args: ListRevenueAttributionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRevenueAttributionsCommandOutput) => void): void;
99
+ listRevenueAttributions(args: ListRevenueAttributionsCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: ListRevenueAttributionsCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link ListTagsForResourceCommand}
96
102
  */
97
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
103
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<ListTagsForResourceCommandOutput>;
98
104
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
99
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
105
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link StartRevenueAttributionAllocationsTaskCommand}
102
108
  */
103
- startRevenueAttributionAllocationsTask(args: StartRevenueAttributionAllocationsTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartRevenueAttributionAllocationsTaskCommandOutput>;
109
+ startRevenueAttributionAllocationsTask(args: StartRevenueAttributionAllocationsTaskCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<StartRevenueAttributionAllocationsTaskCommandOutput>;
104
110
  startRevenueAttributionAllocationsTask(args: StartRevenueAttributionAllocationsTaskCommandInput, cb: (err: any, data?: StartRevenueAttributionAllocationsTaskCommandOutput) => void): void;
105
- startRevenueAttributionAllocationsTask(args: StartRevenueAttributionAllocationsTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRevenueAttributionAllocationsTaskCommandOutput) => void): void;
111
+ startRevenueAttributionAllocationsTask(args: StartRevenueAttributionAllocationsTaskCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: StartRevenueAttributionAllocationsTaskCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link TagResourceCommand}
108
114
  */
109
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
115
+ tagResource(args: TagResourceCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<TagResourceCommandOutput>;
110
116
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
111
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
117
+ tagResource(args: TagResourceCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link UntagResourceCommand}
114
120
  */
115
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
121
+ untagResource(args: UntagResourceCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<UntagResourceCommandOutput>;
116
122
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
117
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
123
+ untagResource(args: UntagResourceCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link UpdateMarketplaceRevenueShareAllocationCommand}
120
126
  */
121
- updateMarketplaceRevenueShareAllocation(args: UpdateMarketplaceRevenueShareAllocationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMarketplaceRevenueShareAllocationCommandOutput>;
127
+ updateMarketplaceRevenueShareAllocation(args: UpdateMarketplaceRevenueShareAllocationCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<UpdateMarketplaceRevenueShareAllocationCommandOutput>;
122
128
  updateMarketplaceRevenueShareAllocation(args: UpdateMarketplaceRevenueShareAllocationCommandInput, cb: (err: any, data?: UpdateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
123
- updateMarketplaceRevenueShareAllocation(args: UpdateMarketplaceRevenueShareAllocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
129
+ updateMarketplaceRevenueShareAllocation(args: UpdateMarketplaceRevenueShareAllocationCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: UpdateMarketplaceRevenueShareAllocationCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link UpdateRevenueAttributionCommand}
126
132
  */
127
- updateRevenueAttribution(args: UpdateRevenueAttributionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRevenueAttributionCommandOutput>;
133
+ updateRevenueAttribution(args: UpdateRevenueAttributionCommandInput, options?: PartnerCentralRevenueMeasurementRequestOptions): Promise<UpdateRevenueAttributionCommandOutput>;
128
134
  updateRevenueAttribution(args: UpdateRevenueAttributionCommandInput, cb: (err: any, data?: UpdateRevenueAttributionCommandOutput) => void): void;
129
- updateRevenueAttribution(args: UpdateRevenueAttributionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRevenueAttributionCommandOutput) => void): void;
135
+ updateRevenueAttribution(args: UpdateRevenueAttributionCommandInput, options: PartnerCentralRevenueMeasurementRequestOptions, cb: (err: any, data?: UpdateRevenueAttributionCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link ListMarketplaceRevenueShareAllocationsCommand}
132
138
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -73,10 +74,13 @@ import {
73
74
  UpdateRevenueAttributionCommandOutput,
74
75
  } from "./commands/UpdateRevenueAttributionCommand";
75
76
  import { PartnerCentralRevenueMeasurementClient } from "./PartnerCentralRevenueMeasurementClient";
77
+ export interface PartnerCentralRevenueMeasurementRequestOptions extends __HttpHandlerOptions {
78
+ metricsRecorder?: __MetricsRecorder<unknown>;
79
+ }
76
80
  export interface PartnerCentralRevenueMeasurement {
77
81
  createMarketplaceRevenueShare(
78
82
  args: CreateMarketplaceRevenueShareCommandInput,
79
- options?: __HttpHandlerOptions,
83
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
80
84
  ): Promise<CreateMarketplaceRevenueShareCommandOutput>;
81
85
  createMarketplaceRevenueShare(
82
86
  args: CreateMarketplaceRevenueShareCommandInput,
@@ -84,12 +88,12 @@ export interface PartnerCentralRevenueMeasurement {
84
88
  ): void;
85
89
  createMarketplaceRevenueShare(
86
90
  args: CreateMarketplaceRevenueShareCommandInput,
87
- options: __HttpHandlerOptions,
91
+ options: PartnerCentralRevenueMeasurementRequestOptions,
88
92
  cb: (err: any, data?: CreateMarketplaceRevenueShareCommandOutput) => void,
89
93
  ): void;
90
94
  createMarketplaceRevenueShareAllocation(
91
95
  args: CreateMarketplaceRevenueShareAllocationCommandInput,
92
- options?: __HttpHandlerOptions,
96
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
93
97
  ): Promise<CreateMarketplaceRevenueShareAllocationCommandOutput>;
94
98
  createMarketplaceRevenueShareAllocation(
95
99
  args: CreateMarketplaceRevenueShareAllocationCommandInput,
@@ -97,12 +101,12 @@ export interface PartnerCentralRevenueMeasurement {
97
101
  ): void;
98
102
  createMarketplaceRevenueShareAllocation(
99
103
  args: CreateMarketplaceRevenueShareAllocationCommandInput,
100
- options: __HttpHandlerOptions,
104
+ options: PartnerCentralRevenueMeasurementRequestOptions,
101
105
  cb: (err: any, data?: CreateMarketplaceRevenueShareAllocationCommandOutput) => void,
102
106
  ): void;
103
107
  createRevenueAttribution(
104
108
  args: CreateRevenueAttributionCommandInput,
105
- options?: __HttpHandlerOptions,
109
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
106
110
  ): Promise<CreateRevenueAttributionCommandOutput>;
107
111
  createRevenueAttribution(
108
112
  args: CreateRevenueAttributionCommandInput,
@@ -110,12 +114,12 @@ export interface PartnerCentralRevenueMeasurement {
110
114
  ): void;
111
115
  createRevenueAttribution(
112
116
  args: CreateRevenueAttributionCommandInput,
113
- options: __HttpHandlerOptions,
117
+ options: PartnerCentralRevenueMeasurementRequestOptions,
114
118
  cb: (err: any, data?: CreateRevenueAttributionCommandOutput) => void,
115
119
  ): void;
116
120
  getMarketplaceRevenueShare(
117
121
  args: GetMarketplaceRevenueShareCommandInput,
118
- options?: __HttpHandlerOptions,
122
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
119
123
  ): Promise<GetMarketplaceRevenueShareCommandOutput>;
120
124
  getMarketplaceRevenueShare(
121
125
  args: GetMarketplaceRevenueShareCommandInput,
@@ -123,12 +127,12 @@ export interface PartnerCentralRevenueMeasurement {
123
127
  ): void;
124
128
  getMarketplaceRevenueShare(
125
129
  args: GetMarketplaceRevenueShareCommandInput,
126
- options: __HttpHandlerOptions,
130
+ options: PartnerCentralRevenueMeasurementRequestOptions,
127
131
  cb: (err: any, data?: GetMarketplaceRevenueShareCommandOutput) => void,
128
132
  ): void;
129
133
  getMarketplaceRevenueShareAllocation(
130
134
  args: GetMarketplaceRevenueShareAllocationCommandInput,
131
- options?: __HttpHandlerOptions,
135
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
132
136
  ): Promise<GetMarketplaceRevenueShareAllocationCommandOutput>;
133
137
  getMarketplaceRevenueShareAllocation(
134
138
  args: GetMarketplaceRevenueShareAllocationCommandInput,
@@ -136,12 +140,12 @@ export interface PartnerCentralRevenueMeasurement {
136
140
  ): void;
137
141
  getMarketplaceRevenueShareAllocation(
138
142
  args: GetMarketplaceRevenueShareAllocationCommandInput,
139
- options: __HttpHandlerOptions,
143
+ options: PartnerCentralRevenueMeasurementRequestOptions,
140
144
  cb: (err: any, data?: GetMarketplaceRevenueShareAllocationCommandOutput) => void,
141
145
  ): void;
142
146
  getRevenueAttribution(
143
147
  args: GetRevenueAttributionCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
145
149
  ): Promise<GetRevenueAttributionCommandOutput>;
146
150
  getRevenueAttribution(
147
151
  args: GetRevenueAttributionCommandInput,
@@ -149,12 +153,12 @@ export interface PartnerCentralRevenueMeasurement {
149
153
  ): void;
150
154
  getRevenueAttribution(
151
155
  args: GetRevenueAttributionCommandInput,
152
- options: __HttpHandlerOptions,
156
+ options: PartnerCentralRevenueMeasurementRequestOptions,
153
157
  cb: (err: any, data?: GetRevenueAttributionCommandOutput) => void,
154
158
  ): void;
155
159
  getRevenueAttributionAllocation(
156
160
  args: GetRevenueAttributionAllocationCommandInput,
157
- options?: __HttpHandlerOptions,
161
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
158
162
  ): Promise<GetRevenueAttributionAllocationCommandOutput>;
159
163
  getRevenueAttributionAllocation(
160
164
  args: GetRevenueAttributionAllocationCommandInput,
@@ -162,12 +166,12 @@ export interface PartnerCentralRevenueMeasurement {
162
166
  ): void;
163
167
  getRevenueAttributionAllocation(
164
168
  args: GetRevenueAttributionAllocationCommandInput,
165
- options: __HttpHandlerOptions,
169
+ options: PartnerCentralRevenueMeasurementRequestOptions,
166
170
  cb: (err: any, data?: GetRevenueAttributionAllocationCommandOutput) => void,
167
171
  ): void;
168
172
  getRevenueAttributionAllocationsTask(
169
173
  args: GetRevenueAttributionAllocationsTaskCommandInput,
170
- options?: __HttpHandlerOptions,
174
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
171
175
  ): Promise<GetRevenueAttributionAllocationsTaskCommandOutput>;
172
176
  getRevenueAttributionAllocationsTask(
173
177
  args: GetRevenueAttributionAllocationsTaskCommandInput,
@@ -175,12 +179,12 @@ export interface PartnerCentralRevenueMeasurement {
175
179
  ): void;
176
180
  getRevenueAttributionAllocationsTask(
177
181
  args: GetRevenueAttributionAllocationsTaskCommandInput,
178
- options: __HttpHandlerOptions,
182
+ options: PartnerCentralRevenueMeasurementRequestOptions,
179
183
  cb: (err: any, data?: GetRevenueAttributionAllocationsTaskCommandOutput) => void,
180
184
  ): void;
181
185
  listMarketplaceRevenueShareAllocations(
182
186
  args: ListMarketplaceRevenueShareAllocationsCommandInput,
183
- options?: __HttpHandlerOptions,
187
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
184
188
  ): Promise<ListMarketplaceRevenueShareAllocationsCommandOutput>;
185
189
  listMarketplaceRevenueShareAllocations(
186
190
  args: ListMarketplaceRevenueShareAllocationsCommandInput,
@@ -188,12 +192,12 @@ export interface PartnerCentralRevenueMeasurement {
188
192
  ): void;
189
193
  listMarketplaceRevenueShareAllocations(
190
194
  args: ListMarketplaceRevenueShareAllocationsCommandInput,
191
- options: __HttpHandlerOptions,
195
+ options: PartnerCentralRevenueMeasurementRequestOptions,
192
196
  cb: (err: any, data?: ListMarketplaceRevenueShareAllocationsCommandOutput) => void,
193
197
  ): void;
194
198
  listMarketplaceRevenueShares(
195
199
  args: ListMarketplaceRevenueSharesCommandInput,
196
- options?: __HttpHandlerOptions,
200
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
197
201
  ): Promise<ListMarketplaceRevenueSharesCommandOutput>;
198
202
  listMarketplaceRevenueShares(
199
203
  args: ListMarketplaceRevenueSharesCommandInput,
@@ -201,12 +205,12 @@ export interface PartnerCentralRevenueMeasurement {
201
205
  ): void;
202
206
  listMarketplaceRevenueShares(
203
207
  args: ListMarketplaceRevenueSharesCommandInput,
204
- options: __HttpHandlerOptions,
208
+ options: PartnerCentralRevenueMeasurementRequestOptions,
205
209
  cb: (err: any, data?: ListMarketplaceRevenueSharesCommandOutput) => void,
206
210
  ): void;
207
211
  listRevenueAttributionAllocations(
208
212
  args: ListRevenueAttributionAllocationsCommandInput,
209
- options?: __HttpHandlerOptions,
213
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
210
214
  ): Promise<ListRevenueAttributionAllocationsCommandOutput>;
211
215
  listRevenueAttributionAllocations(
212
216
  args: ListRevenueAttributionAllocationsCommandInput,
@@ -214,12 +218,12 @@ export interface PartnerCentralRevenueMeasurement {
214
218
  ): void;
215
219
  listRevenueAttributionAllocations(
216
220
  args: ListRevenueAttributionAllocationsCommandInput,
217
- options: __HttpHandlerOptions,
221
+ options: PartnerCentralRevenueMeasurementRequestOptions,
218
222
  cb: (err: any, data?: ListRevenueAttributionAllocationsCommandOutput) => void,
219
223
  ): void;
220
224
  listRevenueAttributions(
221
225
  args: ListRevenueAttributionsCommandInput,
222
- options?: __HttpHandlerOptions,
226
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
223
227
  ): Promise<ListRevenueAttributionsCommandOutput>;
224
228
  listRevenueAttributions(
225
229
  args: ListRevenueAttributionsCommandInput,
@@ -227,12 +231,12 @@ export interface PartnerCentralRevenueMeasurement {
227
231
  ): void;
228
232
  listRevenueAttributions(
229
233
  args: ListRevenueAttributionsCommandInput,
230
- options: __HttpHandlerOptions,
234
+ options: PartnerCentralRevenueMeasurementRequestOptions,
231
235
  cb: (err: any, data?: ListRevenueAttributionsCommandOutput) => void,
232
236
  ): void;
233
237
  listTagsForResource(
234
238
  args: ListTagsForResourceCommandInput,
235
- options?: __HttpHandlerOptions,
239
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
236
240
  ): Promise<ListTagsForResourceCommandOutput>;
237
241
  listTagsForResource(
238
242
  args: ListTagsForResourceCommandInput,
@@ -240,12 +244,12 @@ export interface PartnerCentralRevenueMeasurement {
240
244
  ): void;
241
245
  listTagsForResource(
242
246
  args: ListTagsForResourceCommandInput,
243
- options: __HttpHandlerOptions,
247
+ options: PartnerCentralRevenueMeasurementRequestOptions,
244
248
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
245
249
  ): void;
246
250
  startRevenueAttributionAllocationsTask(
247
251
  args: StartRevenueAttributionAllocationsTaskCommandInput,
248
- options?: __HttpHandlerOptions,
252
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
249
253
  ): Promise<StartRevenueAttributionAllocationsTaskCommandOutput>;
250
254
  startRevenueAttributionAllocationsTask(
251
255
  args: StartRevenueAttributionAllocationsTaskCommandInput,
@@ -253,12 +257,12 @@ export interface PartnerCentralRevenueMeasurement {
253
257
  ): void;
254
258
  startRevenueAttributionAllocationsTask(
255
259
  args: StartRevenueAttributionAllocationsTaskCommandInput,
256
- options: __HttpHandlerOptions,
260
+ options: PartnerCentralRevenueMeasurementRequestOptions,
257
261
  cb: (err: any, data?: StartRevenueAttributionAllocationsTaskCommandOutput) => void,
258
262
  ): void;
259
263
  tagResource(
260
264
  args: TagResourceCommandInput,
261
- options?: __HttpHandlerOptions,
265
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
262
266
  ): Promise<TagResourceCommandOutput>;
263
267
  tagResource(
264
268
  args: TagResourceCommandInput,
@@ -266,12 +270,12 @@ export interface PartnerCentralRevenueMeasurement {
266
270
  ): void;
267
271
  tagResource(
268
272
  args: TagResourceCommandInput,
269
- options: __HttpHandlerOptions,
273
+ options: PartnerCentralRevenueMeasurementRequestOptions,
270
274
  cb: (err: any, data?: TagResourceCommandOutput) => void,
271
275
  ): void;
272
276
  untagResource(
273
277
  args: UntagResourceCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
275
279
  ): Promise<UntagResourceCommandOutput>;
276
280
  untagResource(
277
281
  args: UntagResourceCommandInput,
@@ -279,12 +283,12 @@ export interface PartnerCentralRevenueMeasurement {
279
283
  ): void;
280
284
  untagResource(
281
285
  args: UntagResourceCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: PartnerCentralRevenueMeasurementRequestOptions,
283
287
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
284
288
  ): void;
285
289
  updateMarketplaceRevenueShareAllocation(
286
290
  args: UpdateMarketplaceRevenueShareAllocationCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
288
292
  ): Promise<UpdateMarketplaceRevenueShareAllocationCommandOutput>;
289
293
  updateMarketplaceRevenueShareAllocation(
290
294
  args: UpdateMarketplaceRevenueShareAllocationCommandInput,
@@ -292,12 +296,12 @@ export interface PartnerCentralRevenueMeasurement {
292
296
  ): void;
293
297
  updateMarketplaceRevenueShareAllocation(
294
298
  args: UpdateMarketplaceRevenueShareAllocationCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: PartnerCentralRevenueMeasurementRequestOptions,
296
300
  cb: (err: any, data?: UpdateMarketplaceRevenueShareAllocationCommandOutput) => void,
297
301
  ): void;
298
302
  updateRevenueAttribution(
299
303
  args: UpdateRevenueAttributionCommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: PartnerCentralRevenueMeasurementRequestOptions,
301
305
  ): Promise<UpdateRevenueAttributionCommandOutput>;
302
306
  updateRevenueAttribution(
303
307
  args: UpdateRevenueAttributionCommandInput,
@@ -305,7 +309,7 @@ export interface PartnerCentralRevenueMeasurement {
305
309
  ): void;
306
310
  updateRevenueAttribution(
307
311
  args: UpdateRevenueAttributionCommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: PartnerCentralRevenueMeasurementRequestOptions,
309
313
  cb: (err: any, data?: UpdateRevenueAttributionCommandOutput) => void,
310
314
  ): void;
311
315
  paginateListMarketplaceRevenueShareAllocations(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-partnercentral-revenue-measurement",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Partnercentral Revenue Measurement Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-partnercentral-revenue-measurement",
6
6
  "license": "Apache-2.0",
@@ -46,14 +46,14 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/signature-v4-multi-region": "^3.996.46",
52
- "@aws-sdk/types": "^3.974.5",
53
- "@smithy/core": "^3.33.3",
54
- "@smithy/fetch-http-handler": "^5.7.2",
55
- "@smithy/node-http-handler": "^4.11.3",
56
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/signature-v4-multi-region": "^3.996.47",
52
+ "@aws-sdk/types": "^3.974.6",
53
+ "@smithy/core": "^3.35.0",
54
+ "@smithy/fetch-http-handler": "^5.8.0",
55
+ "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/types": "^4.19.0",
57
57
  "tslib": "^2.6.2"
58
58
  },
59
59
  "devDependencies": {