@aws-sdk/client-partnercentral-channel 3.935.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 (137) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +341 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1379 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +57 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +48 -0
  11. package/dist-es/PartnerCentralChannel.js +41 -0
  12. package/dist-es/PartnerCentralChannelClient.js +51 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  15. package/dist-es/commands/AcceptChannelHandshakeCommand.js +16 -0
  16. package/dist-es/commands/CancelChannelHandshakeCommand.js +16 -0
  17. package/dist-es/commands/CreateChannelHandshakeCommand.js +16 -0
  18. package/dist-es/commands/CreateProgramManagementAccountCommand.js +16 -0
  19. package/dist-es/commands/CreateRelationshipCommand.js +16 -0
  20. package/dist-es/commands/DeleteProgramManagementAccountCommand.js +16 -0
  21. package/dist-es/commands/DeleteRelationshipCommand.js +16 -0
  22. package/dist-es/commands/GetRelationshipCommand.js +16 -0
  23. package/dist-es/commands/ListChannelHandshakesCommand.js +16 -0
  24. package/dist-es/commands/ListProgramManagementAccountsCommand.js +16 -0
  25. package/dist-es/commands/ListRelationshipsCommand.js +16 -0
  26. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  27. package/dist-es/commands/RejectChannelHandshakeCommand.js +16 -0
  28. package/dist-es/commands/TagResourceCommand.js +16 -0
  29. package/dist-es/commands/UntagResourceCommand.js +16 -0
  30. package/dist-es/commands/UpdateProgramManagementAccountCommand.js +16 -0
  31. package/dist-es/commands/UpdateRelationshipCommand.js +16 -0
  32. package/dist-es/commands/index.js +17 -0
  33. package/dist-es/endpoint/EndpointParameters.js +11 -0
  34. package/dist-es/endpoint/endpointResolver.js +14 -0
  35. package/dist-es/endpoint/ruleset.js +4 -0
  36. package/dist-es/extensionConfiguration.js +1 -0
  37. package/dist-es/index.js +7 -0
  38. package/dist-es/models/PartnerCentralChannelServiceException.js +8 -0
  39. package/dist-es/models/enums.js +76 -0
  40. package/dist-es/models/errors.js +114 -0
  41. package/dist-es/models/models_0.js +1 -0
  42. package/dist-es/pagination/Interfaces.js +1 -0
  43. package/dist-es/pagination/ListChannelHandshakesPaginator.js +4 -0
  44. package/dist-es/pagination/ListProgramManagementAccountsPaginator.js +4 -0
  45. package/dist-es/pagination/ListRelationshipsPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/runtimeConfig.browser.js +34 -0
  48. package/dist-es/runtimeConfig.js +52 -0
  49. package/dist-es/runtimeConfig.native.js +11 -0
  50. package/dist-es/runtimeConfig.shared.js +44 -0
  51. package/dist-es/runtimeExtensions.js +9 -0
  52. package/dist-es/schemas/schemas_0.js +795 -0
  53. package/dist-types/PartnerCentralChannel.d.ts +129 -0
  54. package/dist-types/PartnerCentralChannelClient.d.ts +213 -0
  55. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  56. package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
  57. package/dist-types/commands/AcceptChannelHandshakeCommand.d.ts +114 -0
  58. package/dist-types/commands/CancelChannelHandshakeCommand.d.ts +114 -0
  59. package/dist-types/commands/CreateChannelHandshakeCommand.d.ts +226 -0
  60. package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +130 -0
  61. package/dist-types/commands/CreateRelationshipCommand.d.ts +151 -0
  62. package/dist-types/commands/DeleteProgramManagementAccountCommand.d.ts +107 -0
  63. package/dist-types/commands/DeleteRelationshipCommand.d.ts +109 -0
  64. package/dist-types/commands/GetRelationshipCommand.d.ts +134 -0
  65. package/dist-types/commands/ListChannelHandshakesCommand.d.ts +360 -0
  66. package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +168 -0
  67. package/dist-types/commands/ListRelationshipsCommand.d.ts +169 -0
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +114 -0
  69. package/dist-types/commands/RejectChannelHandshakeCommand.d.ts +114 -0
  70. package/dist-types/commands/TagResourceCommand.d.ts +115 -0
  71. package/dist-types/commands/UntagResourceCommand.d.ts +109 -0
  72. package/dist-types/commands/UpdateProgramManagementAccountCommand.d.ts +123 -0
  73. package/dist-types/commands/UpdateRelationshipCommand.d.ts +140 -0
  74. package/dist-types/commands/index.d.ts +17 -0
  75. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  76. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  77. package/dist-types/endpoint/ruleset.d.ts +2 -0
  78. package/dist-types/extensionConfiguration.d.ts +9 -0
  79. package/dist-types/index.d.ts +16 -0
  80. package/dist-types/models/PartnerCentralChannelServiceException.d.ts +14 -0
  81. package/dist-types/models/enums.d.ts +220 -0
  82. package/dist-types/models/errors.d.ts +153 -0
  83. package/dist-types/models/models_0.d.ts +1677 -0
  84. package/dist-types/pagination/Interfaces.d.ts +8 -0
  85. package/dist-types/pagination/ListChannelHandshakesPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListProgramManagementAccountsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListRelationshipsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/index.d.ts +4 -0
  89. package/dist-types/runtimeConfig.browser.d.ts +52 -0
  90. package/dist-types/runtimeConfig.d.ts +52 -0
  91. package/dist-types/runtimeConfig.native.d.ts +51 -0
  92. package/dist-types/runtimeConfig.shared.d.ts +24 -0
  93. package/dist-types/runtimeExtensions.d.ts +17 -0
  94. package/dist-types/schemas/schemas_0.d.ts +112 -0
  95. package/dist-types/ts3.4/PartnerCentralChannel.d.ts +296 -0
  96. package/dist-types/ts3.4/PartnerCentralChannelClient.d.ts +228 -0
  97. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  98. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +59 -0
  99. package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +50 -0
  107. package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  114. package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  117. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  118. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  119. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  120. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  121. package/dist-types/ts3.4/index.d.ts +11 -0
  122. package/dist-types/ts3.4/models/PartnerCentralChannelServiceException.d.ts +9 -0
  123. package/dist-types/ts3.4/models/enums.d.ts +106 -0
  124. package/dist-types/ts3.4/models/errors.d.ts +68 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +542 -0
  126. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  127. package/dist-types/ts3.4/pagination/ListChannelHandshakesPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListProgramManagementAccountsPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListRelationshipsPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  131. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +103 -0
  132. package/dist-types/ts3.4/runtimeConfig.d.ts +98 -0
  133. package/dist-types/ts3.4/runtimeConfig.native.d.ts +107 -0
  134. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +34 -0
  135. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  136. package/dist-types/ts3.4/schemas/schemas_0.d.ts +117 -0
  137. package/package.json +100 -0
@@ -0,0 +1,1677 @@
1
+ import { AssociationType, Coverage, HandshakeStatus, HandshakeType, ListProgramManagementAccountsSortName, ListRelationshipsSortName, ParticipantType, Program, ProgramManagementAccountStatus, ProgramManagementAccountTypeSortName, Provider, ResaleAccountModel, RevokeServicePeriodTypeSortName, Sector, ServicePeriodType, SortOrder, StartServicePeriodTypeSortName } from "./enums";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface AcceptChannelHandshakeRequest {
6
+ /**
7
+ * <p>The catalog identifier for the handshake request.</p>
8
+ * @public
9
+ */
10
+ catalog: string | undefined;
11
+ /**
12
+ * <p>The unique identifier of the channel handshake to accept.</p>
13
+ * @public
14
+ */
15
+ identifier: string | undefined;
16
+ }
17
+ /**
18
+ * <p>Contains details about an accepted channel handshake.</p>
19
+ * @public
20
+ */
21
+ export interface AcceptChannelHandshakeDetail {
22
+ /**
23
+ * <p>The unique identifier of the accepted handshake.</p>
24
+ * @public
25
+ */
26
+ id?: string | undefined;
27
+ /**
28
+ * <p>The Amazon Resource Name (ARN) of the accepted handshake.</p>
29
+ * @public
30
+ */
31
+ arn?: string | undefined;
32
+ /**
33
+ * <p>The current status of the accepted handshake.</p>
34
+ * @public
35
+ */
36
+ status?: HandshakeStatus | undefined;
37
+ }
38
+ /**
39
+ * @public
40
+ */
41
+ export interface AcceptChannelHandshakeResponse {
42
+ /**
43
+ * <p>Details of the accepted channel handshake.</p>
44
+ * @public
45
+ */
46
+ channelHandshakeDetail?: AcceptChannelHandshakeDetail | undefined;
47
+ }
48
+ /**
49
+ * <p>Information about a field that failed validation.</p>
50
+ * @public
51
+ */
52
+ export interface ValidationExceptionField {
53
+ /**
54
+ * <p>The name of the field that failed validation.</p>
55
+ * @public
56
+ */
57
+ name: string | undefined;
58
+ /**
59
+ * <p>The validation error code for the field.</p>
60
+ * @public
61
+ */
62
+ code: string | undefined;
63
+ /**
64
+ * <p>A descriptive message about the validation error.</p>
65
+ * @public
66
+ */
67
+ message: string | undefined;
68
+ }
69
+ /**
70
+ * @public
71
+ */
72
+ export interface CancelChannelHandshakeRequest {
73
+ /**
74
+ * <p>The catalog identifier for the handshake request.</p>
75
+ * @public
76
+ */
77
+ catalog: string | undefined;
78
+ /**
79
+ * <p>The unique identifier of the channel handshake to cancel.</p>
80
+ * @public
81
+ */
82
+ identifier: string | undefined;
83
+ }
84
+ /**
85
+ * <p>Contains details about a canceled channel handshake.</p>
86
+ * @public
87
+ */
88
+ export interface CancelChannelHandshakeDetail {
89
+ /**
90
+ * <p>The unique identifier of the canceled handshake.</p>
91
+ * @public
92
+ */
93
+ id?: string | undefined;
94
+ /**
95
+ * <p>The Amazon Resource Name (ARN) of the canceled handshake.</p>
96
+ * @public
97
+ */
98
+ arn?: string | undefined;
99
+ /**
100
+ * <p>The current status of the canceled handshake.</p>
101
+ * @public
102
+ */
103
+ status?: HandshakeStatus | undefined;
104
+ }
105
+ /**
106
+ * @public
107
+ */
108
+ export interface CancelChannelHandshakeResponse {
109
+ /**
110
+ * <p>Details of the canceled channel handshake.</p>
111
+ * @public
112
+ */
113
+ channelHandshakeDetail?: CancelChannelHandshakeDetail | undefined;
114
+ }
115
+ /**
116
+ * <p>Payload for revoke service period handshake requests.</p>
117
+ * @public
118
+ */
119
+ export interface RevokeServicePeriodPayload {
120
+ /**
121
+ * <p>The identifier of the program management account.</p>
122
+ * @public
123
+ */
124
+ programManagementAccountIdentifier: string | undefined;
125
+ /**
126
+ * <p>A note explaining the reason for revoking the service period.</p>
127
+ * @public
128
+ */
129
+ note?: string | undefined;
130
+ }
131
+ /**
132
+ * <p>Payload for start service period handshake requests.</p>
133
+ * @public
134
+ */
135
+ export interface StartServicePeriodPayload {
136
+ /**
137
+ * <p>The identifier of the program management account.</p>
138
+ * @public
139
+ */
140
+ programManagementAccountIdentifier: string | undefined;
141
+ /**
142
+ * <p>A note providing additional information about the service period.</p>
143
+ * @public
144
+ */
145
+ note?: string | undefined;
146
+ /**
147
+ * <p>The type of service period being started.</p>
148
+ * @public
149
+ */
150
+ servicePeriodType: ServicePeriodType | undefined;
151
+ /**
152
+ * <p>The minimum number of days notice required for changes.</p>
153
+ * @public
154
+ */
155
+ minimumNoticeDays?: string | undefined;
156
+ /**
157
+ * <p>The end date of the service period.</p>
158
+ * @public
159
+ */
160
+ endDate?: Date | undefined;
161
+ }
162
+ /**
163
+ * <p>Contains the payload data for different types of channel handshakes.</p>
164
+ * @public
165
+ */
166
+ export type ChannelHandshakePayload = ChannelHandshakePayload.RevokeServicePeriodPayloadMember | ChannelHandshakePayload.StartServicePeriodPayloadMember | ChannelHandshakePayload.$UnknownMember;
167
+ /**
168
+ * @public
169
+ */
170
+ export declare namespace ChannelHandshakePayload {
171
+ /**
172
+ * <p>Payload for starting a service period handshake.</p>
173
+ * @public
174
+ */
175
+ interface StartServicePeriodPayloadMember {
176
+ startServicePeriodPayload: StartServicePeriodPayload;
177
+ revokeServicePeriodPayload?: never;
178
+ $unknown?: never;
179
+ }
180
+ /**
181
+ * <p>Payload for revoking a service period handshake.</p>
182
+ * @public
183
+ */
184
+ interface RevokeServicePeriodPayloadMember {
185
+ startServicePeriodPayload?: never;
186
+ revokeServicePeriodPayload: RevokeServicePeriodPayload;
187
+ $unknown?: never;
188
+ }
189
+ /**
190
+ * @public
191
+ */
192
+ interface $UnknownMember {
193
+ startServicePeriodPayload?: never;
194
+ revokeServicePeriodPayload?: never;
195
+ $unknown: [string, any];
196
+ }
197
+ /**
198
+ * @deprecated unused in schema-serde mode.
199
+ *
200
+ */
201
+ interface Visitor<T> {
202
+ startServicePeriodPayload: (value: StartServicePeriodPayload) => T;
203
+ revokeServicePeriodPayload: (value: RevokeServicePeriodPayload) => T;
204
+ _: (name: string, value: any) => T;
205
+ }
206
+ }
207
+ /**
208
+ * <p>A key-value pair that can be associated with a resource.</p>
209
+ * @public
210
+ */
211
+ export interface Tag {
212
+ /**
213
+ * <p>The key of the tag.</p>
214
+ * @public
215
+ */
216
+ key: string | undefined;
217
+ /**
218
+ * <p>The value of the tag.</p>
219
+ * @public
220
+ */
221
+ value: string | undefined;
222
+ }
223
+ /**
224
+ * @public
225
+ */
226
+ export interface CreateChannelHandshakeRequest {
227
+ /**
228
+ * <p>The type of handshake to create (e.g., start service period, revoke service period).</p>
229
+ * @public
230
+ */
231
+ handshakeType: HandshakeType | undefined;
232
+ /**
233
+ * <p>The catalog identifier for the handshake request.</p>
234
+ * @public
235
+ */
236
+ catalog: string | undefined;
237
+ /**
238
+ * <p>The identifier of the resource associated with this handshake.</p>
239
+ * @public
240
+ */
241
+ associatedResourceIdentifier: string | undefined;
242
+ /**
243
+ * <p>The payload containing specific details for the handshake type.</p>
244
+ * @public
245
+ */
246
+ payload?: ChannelHandshakePayload | undefined;
247
+ /**
248
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
249
+ * @public
250
+ */
251
+ clientToken?: string | undefined;
252
+ /**
253
+ * <p>Key-value pairs to associate with the channel handshake.</p>
254
+ * @public
255
+ */
256
+ tags?: Tag[] | undefined;
257
+ }
258
+ /**
259
+ * <p>Contains details about a newly created channel handshake.</p>
260
+ * @public
261
+ */
262
+ export interface CreateChannelHandshakeDetail {
263
+ /**
264
+ * <p>The unique identifier of the created handshake.</p>
265
+ * @public
266
+ */
267
+ id?: string | undefined;
268
+ /**
269
+ * <p>The Amazon Resource Name (ARN) of the created handshake.</p>
270
+ * @public
271
+ */
272
+ arn?: string | undefined;
273
+ }
274
+ /**
275
+ * @public
276
+ */
277
+ export interface CreateChannelHandshakeResponse {
278
+ /**
279
+ * <p>Details of the created channel handshake.</p>
280
+ * @public
281
+ */
282
+ channelHandshakeDetail?: CreateChannelHandshakeDetail | undefined;
283
+ }
284
+ /**
285
+ * <p>Type-specific filters for program management accounts.</p>
286
+ * @public
287
+ */
288
+ export interface ProgramManagementAccountTypeFilters {
289
+ /**
290
+ * <p>Filter by program types.</p>
291
+ * @public
292
+ */
293
+ programs?: Program[] | undefined;
294
+ }
295
+ /**
296
+ * <p>Filters specific to revoke service period handshakes.</p>
297
+ * @public
298
+ */
299
+ export interface RevokeServicePeriodTypeFilters {
300
+ /**
301
+ * <p>Filter by service period types.</p>
302
+ * @public
303
+ */
304
+ servicePeriodTypes?: ServicePeriodType[] | undefined;
305
+ }
306
+ /**
307
+ * <p>Filters specific to start service period handshakes.</p>
308
+ * @public
309
+ */
310
+ export interface StartServicePeriodTypeFilters {
311
+ /**
312
+ * <p>Filter by service period types.</p>
313
+ * @public
314
+ */
315
+ servicePeriodTypes?: ServicePeriodType[] | undefined;
316
+ }
317
+ /**
318
+ * <p>Type-specific filters for listing channel handshakes.</p>
319
+ * @public
320
+ */
321
+ export type ListChannelHandshakesTypeFilters = ListChannelHandshakesTypeFilters.ProgramManagementAccountTypeFiltersMember | ListChannelHandshakesTypeFilters.RevokeServicePeriodTypeFiltersMember | ListChannelHandshakesTypeFilters.StartServicePeriodTypeFiltersMember | ListChannelHandshakesTypeFilters.$UnknownMember;
322
+ /**
323
+ * @public
324
+ */
325
+ export declare namespace ListChannelHandshakesTypeFilters {
326
+ /**
327
+ * <p>Filters specific to start service period handshakes.</p>
328
+ * @public
329
+ */
330
+ interface StartServicePeriodTypeFiltersMember {
331
+ startServicePeriodTypeFilters: StartServicePeriodTypeFilters;
332
+ revokeServicePeriodTypeFilters?: never;
333
+ programManagementAccountTypeFilters?: never;
334
+ $unknown?: never;
335
+ }
336
+ /**
337
+ * <p>Filters specific to revoke service period handshakes.</p>
338
+ * @public
339
+ */
340
+ interface RevokeServicePeriodTypeFiltersMember {
341
+ startServicePeriodTypeFilters?: never;
342
+ revokeServicePeriodTypeFilters: RevokeServicePeriodTypeFilters;
343
+ programManagementAccountTypeFilters?: never;
344
+ $unknown?: never;
345
+ }
346
+ /**
347
+ * <p>Filters specific to program management account handshakes.</p>
348
+ * @public
349
+ */
350
+ interface ProgramManagementAccountTypeFiltersMember {
351
+ startServicePeriodTypeFilters?: never;
352
+ revokeServicePeriodTypeFilters?: never;
353
+ programManagementAccountTypeFilters: ProgramManagementAccountTypeFilters;
354
+ $unknown?: never;
355
+ }
356
+ /**
357
+ * @public
358
+ */
359
+ interface $UnknownMember {
360
+ startServicePeriodTypeFilters?: never;
361
+ revokeServicePeriodTypeFilters?: never;
362
+ programManagementAccountTypeFilters?: never;
363
+ $unknown: [string, any];
364
+ }
365
+ /**
366
+ * @deprecated unused in schema-serde mode.
367
+ *
368
+ */
369
+ interface Visitor<T> {
370
+ startServicePeriodTypeFilters: (value: StartServicePeriodTypeFilters) => T;
371
+ revokeServicePeriodTypeFilters: (value: RevokeServicePeriodTypeFilters) => T;
372
+ programManagementAccountTypeFilters: (value: ProgramManagementAccountTypeFilters) => T;
373
+ _: (name: string, value: any) => T;
374
+ }
375
+ }
376
+ /**
377
+ * <p>Type-specific sorting options for program management accounts.</p>
378
+ * @public
379
+ */
380
+ export interface ProgramManagementAccountTypeSort {
381
+ /**
382
+ * <p>The sort order (ascending or descending).</p>
383
+ * @public
384
+ */
385
+ sortOrder: SortOrder | undefined;
386
+ /**
387
+ * <p>The field to sort by.</p>
388
+ * @public
389
+ */
390
+ sortBy: ProgramManagementAccountTypeSortName | undefined;
391
+ }
392
+ /**
393
+ * <p>Sorting options specific to revoke service period handshakes.</p>
394
+ * @public
395
+ */
396
+ export interface RevokeServicePeriodTypeSort {
397
+ /**
398
+ * <p>The sort order (ascending or descending).</p>
399
+ * @public
400
+ */
401
+ sortOrder: SortOrder | undefined;
402
+ /**
403
+ * <p>The field to sort by.</p>
404
+ * @public
405
+ */
406
+ sortBy: RevokeServicePeriodTypeSortName | undefined;
407
+ }
408
+ /**
409
+ * <p>Sorting options specific to start service period handshakes.</p>
410
+ * @public
411
+ */
412
+ export interface StartServicePeriodTypeSort {
413
+ /**
414
+ * <p>The sort order (ascending or descending).</p>
415
+ * @public
416
+ */
417
+ sortOrder: SortOrder | undefined;
418
+ /**
419
+ * <p>The field to sort by.</p>
420
+ * @public
421
+ */
422
+ sortBy: StartServicePeriodTypeSortName | undefined;
423
+ }
424
+ /**
425
+ * <p>Type-specific sorting options for listing channel handshakes.</p>
426
+ * @public
427
+ */
428
+ export type ListChannelHandshakesTypeSort = ListChannelHandshakesTypeSort.ProgramManagementAccountTypeSortMember | ListChannelHandshakesTypeSort.RevokeServicePeriodTypeSortMember | ListChannelHandshakesTypeSort.StartServicePeriodTypeSortMember | ListChannelHandshakesTypeSort.$UnknownMember;
429
+ /**
430
+ * @public
431
+ */
432
+ export declare namespace ListChannelHandshakesTypeSort {
433
+ /**
434
+ * <p>Sorting options specific to start service period handshakes.</p>
435
+ * @public
436
+ */
437
+ interface StartServicePeriodTypeSortMember {
438
+ startServicePeriodTypeSort: StartServicePeriodTypeSort;
439
+ revokeServicePeriodTypeSort?: never;
440
+ programManagementAccountTypeSort?: never;
441
+ $unknown?: never;
442
+ }
443
+ /**
444
+ * <p>Sorting options specific to revoke service period handshakes.</p>
445
+ * @public
446
+ */
447
+ interface RevokeServicePeriodTypeSortMember {
448
+ startServicePeriodTypeSort?: never;
449
+ revokeServicePeriodTypeSort: RevokeServicePeriodTypeSort;
450
+ programManagementAccountTypeSort?: never;
451
+ $unknown?: never;
452
+ }
453
+ /**
454
+ * <p>Sorting options specific to program management account handshakes.</p>
455
+ * @public
456
+ */
457
+ interface ProgramManagementAccountTypeSortMember {
458
+ startServicePeriodTypeSort?: never;
459
+ revokeServicePeriodTypeSort?: never;
460
+ programManagementAccountTypeSort: ProgramManagementAccountTypeSort;
461
+ $unknown?: never;
462
+ }
463
+ /**
464
+ * @public
465
+ */
466
+ interface $UnknownMember {
467
+ startServicePeriodTypeSort?: never;
468
+ revokeServicePeriodTypeSort?: never;
469
+ programManagementAccountTypeSort?: never;
470
+ $unknown: [string, any];
471
+ }
472
+ /**
473
+ * @deprecated unused in schema-serde mode.
474
+ *
475
+ */
476
+ interface Visitor<T> {
477
+ startServicePeriodTypeSort: (value: StartServicePeriodTypeSort) => T;
478
+ revokeServicePeriodTypeSort: (value: RevokeServicePeriodTypeSort) => T;
479
+ programManagementAccountTypeSort: (value: ProgramManagementAccountTypeSort) => T;
480
+ _: (name: string, value: any) => T;
481
+ }
482
+ }
483
+ /**
484
+ * @public
485
+ */
486
+ export interface ListChannelHandshakesRequest {
487
+ /**
488
+ * <p>Filter results by handshake type.</p>
489
+ * @public
490
+ */
491
+ handshakeType: HandshakeType | undefined;
492
+ /**
493
+ * <p>The catalog identifier to filter handshakes.</p>
494
+ * @public
495
+ */
496
+ catalog: string | undefined;
497
+ /**
498
+ * <p>Filter by participant type (sender or receiver).</p>
499
+ * @public
500
+ */
501
+ participantType: ParticipantType | undefined;
502
+ /**
503
+ * <p>The maximum number of results to return in a single call.</p>
504
+ * @public
505
+ */
506
+ maxResults?: number | undefined;
507
+ /**
508
+ * <p>Filter results by handshake status.</p>
509
+ * @public
510
+ */
511
+ statuses?: HandshakeStatus[] | undefined;
512
+ /**
513
+ * <p>Filter by associated resource identifiers.</p>
514
+ * @public
515
+ */
516
+ associatedResourceIdentifiers?: string[] | undefined;
517
+ /**
518
+ * <p>Type-specific filters for handshakes.</p>
519
+ * @public
520
+ */
521
+ handshakeTypeFilters?: ListChannelHandshakesTypeFilters | undefined;
522
+ /**
523
+ * <p>Type-specific sorting options for handshakes.</p>
524
+ * @public
525
+ */
526
+ handshakeTypeSort?: ListChannelHandshakesTypeSort | undefined;
527
+ /**
528
+ * <p>Token for retrieving the next page of results.</p>
529
+ * @public
530
+ */
531
+ nextToken?: string | undefined;
532
+ }
533
+ /**
534
+ * <p>Details specific to program management account handshakes.</p>
535
+ * @public
536
+ */
537
+ export interface ProgramManagementAccountHandshakeDetail {
538
+ /**
539
+ * <p>The program associated with the handshake.</p>
540
+ * @public
541
+ */
542
+ program?: Program | undefined;
543
+ }
544
+ /**
545
+ * <p>Details specific to revoke service period handshakes.</p>
546
+ * @public
547
+ */
548
+ export interface RevokeServicePeriodHandshakeDetail {
549
+ /**
550
+ * <p>A note explaining the reason for revoking the service period.</p>
551
+ * @public
552
+ */
553
+ note?: string | undefined;
554
+ /**
555
+ * <p>The type of service period being revoked.</p>
556
+ * @public
557
+ */
558
+ servicePeriodType?: ServicePeriodType | undefined;
559
+ /**
560
+ * <p>The minimum number of days notice required for revocation.</p>
561
+ * @public
562
+ */
563
+ minimumNoticeDays?: string | undefined;
564
+ /**
565
+ * <p>The start date of the service period being revoked.</p>
566
+ * @public
567
+ */
568
+ startDate?: Date | undefined;
569
+ /**
570
+ * <p>The end date of the service period being revoked.</p>
571
+ * @public
572
+ */
573
+ endDate?: Date | undefined;
574
+ }
575
+ /**
576
+ * <p>Details specific to start service period handshakes.</p>
577
+ * @public
578
+ */
579
+ export interface StartServicePeriodHandshakeDetail {
580
+ /**
581
+ * <p>A note providing additional information about the service period.</p>
582
+ * @public
583
+ */
584
+ note?: string | undefined;
585
+ /**
586
+ * <p>The type of service period being started.</p>
587
+ * @public
588
+ */
589
+ servicePeriodType?: ServicePeriodType | undefined;
590
+ /**
591
+ * <p>The minimum number of days notice required for changes.</p>
592
+ * @public
593
+ */
594
+ minimumNoticeDays?: string | undefined;
595
+ /**
596
+ * <p>The start date of the service period.</p>
597
+ * @public
598
+ */
599
+ startDate?: Date | undefined;
600
+ /**
601
+ * <p>The end date of the service period.</p>
602
+ * @public
603
+ */
604
+ endDate?: Date | undefined;
605
+ }
606
+ /**
607
+ * <p>Contains detailed information about different types of handshakes.</p>
608
+ * @public
609
+ */
610
+ export type HandshakeDetail = HandshakeDetail.ProgramManagementAccountHandshakeDetailMember | HandshakeDetail.RevokeServicePeriodHandshakeDetailMember | HandshakeDetail.StartServicePeriodHandshakeDetailMember | HandshakeDetail.$UnknownMember;
611
+ /**
612
+ * @public
613
+ */
614
+ export declare namespace HandshakeDetail {
615
+ /**
616
+ * <p>Details for a start service period handshake.</p>
617
+ * @public
618
+ */
619
+ interface StartServicePeriodHandshakeDetailMember {
620
+ startServicePeriodHandshakeDetail: StartServicePeriodHandshakeDetail;
621
+ revokeServicePeriodHandshakeDetail?: never;
622
+ programManagementAccountHandshakeDetail?: never;
623
+ $unknown?: never;
624
+ }
625
+ /**
626
+ * <p>Details for a revoke service period handshake.</p>
627
+ * @public
628
+ */
629
+ interface RevokeServicePeriodHandshakeDetailMember {
630
+ startServicePeriodHandshakeDetail?: never;
631
+ revokeServicePeriodHandshakeDetail: RevokeServicePeriodHandshakeDetail;
632
+ programManagementAccountHandshakeDetail?: never;
633
+ $unknown?: never;
634
+ }
635
+ /**
636
+ * <p>Details for a program management account handshake.</p>
637
+ * @public
638
+ */
639
+ interface ProgramManagementAccountHandshakeDetailMember {
640
+ startServicePeriodHandshakeDetail?: never;
641
+ revokeServicePeriodHandshakeDetail?: never;
642
+ programManagementAccountHandshakeDetail: ProgramManagementAccountHandshakeDetail;
643
+ $unknown?: never;
644
+ }
645
+ /**
646
+ * @public
647
+ */
648
+ interface $UnknownMember {
649
+ startServicePeriodHandshakeDetail?: never;
650
+ revokeServicePeriodHandshakeDetail?: never;
651
+ programManagementAccountHandshakeDetail?: never;
652
+ $unknown: [string, any];
653
+ }
654
+ /**
655
+ * @deprecated unused in schema-serde mode.
656
+ *
657
+ */
658
+ interface Visitor<T> {
659
+ startServicePeriodHandshakeDetail: (value: StartServicePeriodHandshakeDetail) => T;
660
+ revokeServicePeriodHandshakeDetail: (value: RevokeServicePeriodHandshakeDetail) => T;
661
+ programManagementAccountHandshakeDetail: (value: ProgramManagementAccountHandshakeDetail) => T;
662
+ _: (name: string, value: any) => T;
663
+ }
664
+ }
665
+ /**
666
+ * <p>Summary information about a channel handshake.</p>
667
+ * @public
668
+ */
669
+ export interface ChannelHandshakeSummary {
670
+ /**
671
+ * <p>The unique identifier of the handshake.</p>
672
+ * @public
673
+ */
674
+ id?: string | undefined;
675
+ /**
676
+ * <p>The Amazon Resource Name (ARN) of the handshake.</p>
677
+ * @public
678
+ */
679
+ arn?: string | undefined;
680
+ /**
681
+ * <p>The catalog identifier associated with the handshake.</p>
682
+ * @public
683
+ */
684
+ catalog?: string | undefined;
685
+ /**
686
+ * <p>The type of the handshake.</p>
687
+ * @public
688
+ */
689
+ handshakeType?: HandshakeType | undefined;
690
+ /**
691
+ * <p>The AWS account ID of the handshake owner.</p>
692
+ * @public
693
+ */
694
+ ownerAccountId?: string | undefined;
695
+ /**
696
+ * <p>The AWS account ID of the handshake sender.</p>
697
+ * @public
698
+ */
699
+ senderAccountId?: string | undefined;
700
+ /**
701
+ * <p>The display name of the handshake sender.</p>
702
+ * @public
703
+ */
704
+ senderDisplayName?: string | undefined;
705
+ /**
706
+ * <p>The AWS account ID of the handshake receiver.</p>
707
+ * @public
708
+ */
709
+ receiverAccountId?: string | undefined;
710
+ /**
711
+ * <p>The identifier of the resource associated with the handshake.</p>
712
+ * @public
713
+ */
714
+ associatedResourceId?: string | undefined;
715
+ /**
716
+ * <p>Detailed information about the handshake.</p>
717
+ * @public
718
+ */
719
+ detail?: HandshakeDetail | undefined;
720
+ /**
721
+ * <p>The timestamp when the handshake was created.</p>
722
+ * @public
723
+ */
724
+ createdAt?: Date | undefined;
725
+ /**
726
+ * <p>The timestamp when the handshake was last updated.</p>
727
+ * @public
728
+ */
729
+ updatedAt?: Date | undefined;
730
+ /**
731
+ * <p>The current status of the handshake.</p>
732
+ * @public
733
+ */
734
+ status?: HandshakeStatus | undefined;
735
+ }
736
+ /**
737
+ * @public
738
+ */
739
+ export interface ListChannelHandshakesResponse {
740
+ /**
741
+ * <p>List of channel handshakes matching the criteria.</p>
742
+ * @public
743
+ */
744
+ items?: ChannelHandshakeSummary[] | undefined;
745
+ /**
746
+ * <p>Token for retrieving the next page of results, if available.</p>
747
+ * @public
748
+ */
749
+ nextToken?: string | undefined;
750
+ }
751
+ /**
752
+ * @public
753
+ */
754
+ export interface RejectChannelHandshakeRequest {
755
+ /**
756
+ * <p>The catalog identifier for the handshake request.</p>
757
+ * @public
758
+ */
759
+ catalog: string | undefined;
760
+ /**
761
+ * <p>The unique identifier of the channel handshake to reject.</p>
762
+ * @public
763
+ */
764
+ identifier: string | undefined;
765
+ }
766
+ /**
767
+ * <p>Contains details about a rejected channel handshake.</p>
768
+ * @public
769
+ */
770
+ export interface RejectChannelHandshakeDetail {
771
+ /**
772
+ * <p>The unique identifier of the rejected handshake.</p>
773
+ * @public
774
+ */
775
+ id?: string | undefined;
776
+ /**
777
+ * <p>The Amazon Resource Name (ARN) of the rejected handshake.</p>
778
+ * @public
779
+ */
780
+ arn?: string | undefined;
781
+ /**
782
+ * <p>The current status of the rejected handshake.</p>
783
+ * @public
784
+ */
785
+ status?: HandshakeStatus | undefined;
786
+ }
787
+ /**
788
+ * @public
789
+ */
790
+ export interface RejectChannelHandshakeResponse {
791
+ /**
792
+ * <p>Details of the rejected channel handshake.</p>
793
+ * @public
794
+ */
795
+ channelHandshakeDetail?: RejectChannelHandshakeDetail | undefined;
796
+ }
797
+ /**
798
+ * @public
799
+ */
800
+ export interface CreateProgramManagementAccountRequest {
801
+ /**
802
+ * <p>The catalog identifier for the program management account.</p>
803
+ * @public
804
+ */
805
+ catalog: string | undefined;
806
+ /**
807
+ * <p>The program type for the management account.</p>
808
+ * @public
809
+ */
810
+ program: Program | undefined;
811
+ /**
812
+ * <p>A human-readable name for the program management account.</p>
813
+ * @public
814
+ */
815
+ displayName: string | undefined;
816
+ /**
817
+ * <p>The AWS account ID to associate with the program management account.</p>
818
+ * @public
819
+ */
820
+ accountId: string | undefined;
821
+ /**
822
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
823
+ * @public
824
+ */
825
+ clientToken?: string | undefined;
826
+ /**
827
+ * <p>Key-value pairs to associate with the program management account.</p>
828
+ * @public
829
+ */
830
+ tags?: Tag[] | undefined;
831
+ }
832
+ /**
833
+ * <p>Contains details about a newly created program management account.</p>
834
+ * @public
835
+ */
836
+ export interface CreateProgramManagementAccountDetail {
837
+ /**
838
+ * <p>The unique identifier of the created program management account.</p>
839
+ * @public
840
+ */
841
+ id?: string | undefined;
842
+ /**
843
+ * <p>The Amazon Resource Name (ARN) of the created program management account.</p>
844
+ * @public
845
+ */
846
+ arn?: string | undefined;
847
+ }
848
+ /**
849
+ * @public
850
+ */
851
+ export interface CreateProgramManagementAccountResponse {
852
+ /**
853
+ * <p>Details of the created program management account.</p>
854
+ * @public
855
+ */
856
+ programManagementAccountDetail?: CreateProgramManagementAccountDetail | undefined;
857
+ }
858
+ /**
859
+ * <p>Configuration for partner-led support plans.</p>
860
+ * @public
861
+ */
862
+ export interface PartnerLedSupport {
863
+ /**
864
+ * <p>The coverage level for partner-led support.</p>
865
+ * @public
866
+ */
867
+ coverage: Coverage | undefined;
868
+ /**
869
+ * <p>The provider of the partner-led support.</p>
870
+ * @public
871
+ */
872
+ provider?: Provider | undefined;
873
+ /**
874
+ * <p>The location of the Technical Account Manager (TAM).</p>
875
+ * @public
876
+ */
877
+ tamLocation: string | undefined;
878
+ }
879
+ /**
880
+ * <p>Configuration for resold business support plans.</p>
881
+ * @public
882
+ */
883
+ export interface ResoldBusiness {
884
+ /**
885
+ * <p>The coverage level for resold business support.</p>
886
+ * @public
887
+ */
888
+ coverage: Coverage | undefined;
889
+ }
890
+ /**
891
+ * <p>Configuration for resold enterprise support plans.</p>
892
+ * @public
893
+ */
894
+ export interface ResoldEnterprise {
895
+ /**
896
+ * <p>The coverage level for resold enterprise support.</p>
897
+ * @public
898
+ */
899
+ coverage: Coverage | undefined;
900
+ /**
901
+ * <p>The location of the Technical Account Manager (TAM).</p>
902
+ * @public
903
+ */
904
+ tamLocation: string | undefined;
905
+ /**
906
+ * <p>The AWS account ID to charge for the support plan.</p>
907
+ * @public
908
+ */
909
+ chargeAccountId?: string | undefined;
910
+ }
911
+ /**
912
+ * <p>Configuration for different types of support plans.</p>
913
+ * @public
914
+ */
915
+ export type SupportPlan = SupportPlan.PartnerLedSupportMember | SupportPlan.ResoldBusinessMember | SupportPlan.ResoldEnterpriseMember | SupportPlan.$UnknownMember;
916
+ /**
917
+ * @public
918
+ */
919
+ export declare namespace SupportPlan {
920
+ /**
921
+ * <p>Configuration for resold business support plans.</p>
922
+ * @public
923
+ */
924
+ interface ResoldBusinessMember {
925
+ resoldBusiness: ResoldBusiness;
926
+ resoldEnterprise?: never;
927
+ partnerLedSupport?: never;
928
+ $unknown?: never;
929
+ }
930
+ /**
931
+ * <p>Configuration for resold enterprise support plans.</p>
932
+ * @public
933
+ */
934
+ interface ResoldEnterpriseMember {
935
+ resoldBusiness?: never;
936
+ resoldEnterprise: ResoldEnterprise;
937
+ partnerLedSupport?: never;
938
+ $unknown?: never;
939
+ }
940
+ /**
941
+ * <p>Configuration for partner-led support plans.</p>
942
+ * @public
943
+ */
944
+ interface PartnerLedSupportMember {
945
+ resoldBusiness?: never;
946
+ resoldEnterprise?: never;
947
+ partnerLedSupport: PartnerLedSupport;
948
+ $unknown?: never;
949
+ }
950
+ /**
951
+ * @public
952
+ */
953
+ interface $UnknownMember {
954
+ resoldBusiness?: never;
955
+ resoldEnterprise?: never;
956
+ partnerLedSupport?: never;
957
+ $unknown: [string, any];
958
+ }
959
+ /**
960
+ * @deprecated unused in schema-serde mode.
961
+ *
962
+ */
963
+ interface Visitor<T> {
964
+ resoldBusiness: (value: ResoldBusiness) => T;
965
+ resoldEnterprise: (value: ResoldEnterprise) => T;
966
+ partnerLedSupport: (value: PartnerLedSupport) => T;
967
+ _: (name: string, value: any) => T;
968
+ }
969
+ }
970
+ /**
971
+ * @public
972
+ */
973
+ export interface CreateRelationshipRequest {
974
+ /**
975
+ * <p>The catalog identifier for the relationship.</p>
976
+ * @public
977
+ */
978
+ catalog: string | undefined;
979
+ /**
980
+ * <p>The type of association for the relationship (e.g., reseller, distributor).</p>
981
+ * @public
982
+ */
983
+ associationType: AssociationType | undefined;
984
+ /**
985
+ * <p>The identifier of the program management account for this relationship.</p>
986
+ * @public
987
+ */
988
+ programManagementAccountIdentifier: string | undefined;
989
+ /**
990
+ * <p>The AWS account ID to associate in this relationship.</p>
991
+ * @public
992
+ */
993
+ associatedAccountId: string | undefined;
994
+ /**
995
+ * <p>A human-readable name for the relationship.</p>
996
+ * @public
997
+ */
998
+ displayName: string | undefined;
999
+ /**
1000
+ * <p>The resale account model for the relationship.</p>
1001
+ * @public
1002
+ */
1003
+ resaleAccountModel?: ResaleAccountModel | undefined;
1004
+ /**
1005
+ * <p>The business sector for the relationship.</p>
1006
+ * @public
1007
+ */
1008
+ sector: Sector | undefined;
1009
+ /**
1010
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1011
+ * @public
1012
+ */
1013
+ clientToken?: string | undefined;
1014
+ /**
1015
+ * <p>Key-value pairs to associate with the relationship.</p>
1016
+ * @public
1017
+ */
1018
+ tags?: Tag[] | undefined;
1019
+ /**
1020
+ * <p>The support plan requested for this relationship.</p>
1021
+ * @public
1022
+ */
1023
+ requestedSupportPlan?: SupportPlan | undefined;
1024
+ }
1025
+ /**
1026
+ * <p>Contains details about a newly created relationship.</p>
1027
+ * @public
1028
+ */
1029
+ export interface CreateRelationshipDetail {
1030
+ /**
1031
+ * <p>The Amazon Resource Name (ARN) of the created relationship.</p>
1032
+ * @public
1033
+ */
1034
+ arn?: string | undefined;
1035
+ /**
1036
+ * <p>The unique identifier of the created relationship.</p>
1037
+ * @public
1038
+ */
1039
+ id?: string | undefined;
1040
+ }
1041
+ /**
1042
+ * @public
1043
+ */
1044
+ export interface CreateRelationshipResponse {
1045
+ /**
1046
+ * <p>Details of the created relationship.</p>
1047
+ * @public
1048
+ */
1049
+ relationshipDetail?: CreateRelationshipDetail | undefined;
1050
+ }
1051
+ /**
1052
+ * @public
1053
+ */
1054
+ export interface DeleteProgramManagementAccountRequest {
1055
+ /**
1056
+ * <p>The catalog identifier for the program management account.</p>
1057
+ * @public
1058
+ */
1059
+ catalog: string | undefined;
1060
+ /**
1061
+ * <p>The unique identifier of the program management account to delete.</p>
1062
+ * @public
1063
+ */
1064
+ identifier: string | undefined;
1065
+ /**
1066
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1067
+ * @public
1068
+ */
1069
+ clientToken?: string | undefined;
1070
+ }
1071
+ /**
1072
+ * @public
1073
+ */
1074
+ export interface DeleteProgramManagementAccountResponse {
1075
+ }
1076
+ /**
1077
+ * @public
1078
+ */
1079
+ export interface DeleteRelationshipRequest {
1080
+ /**
1081
+ * <p>The catalog identifier for the relationship.</p>
1082
+ * @public
1083
+ */
1084
+ catalog: string | undefined;
1085
+ /**
1086
+ * <p>The unique identifier of the relationship to delete.</p>
1087
+ * @public
1088
+ */
1089
+ identifier: string | undefined;
1090
+ /**
1091
+ * <p>The identifier of the program management account associated with the relationship.</p>
1092
+ * @public
1093
+ */
1094
+ programManagementAccountIdentifier: string | undefined;
1095
+ /**
1096
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1097
+ * @public
1098
+ */
1099
+ clientToken?: string | undefined;
1100
+ }
1101
+ /**
1102
+ * @public
1103
+ */
1104
+ export interface DeleteRelationshipResponse {
1105
+ }
1106
+ /**
1107
+ * @public
1108
+ */
1109
+ export interface GetRelationshipRequest {
1110
+ /**
1111
+ * <p>The catalog identifier for the relationship.</p>
1112
+ * @public
1113
+ */
1114
+ catalog: string | undefined;
1115
+ /**
1116
+ * <p>The identifier of the program management account associated with the relationship.</p>
1117
+ * @public
1118
+ */
1119
+ programManagementAccountIdentifier: string | undefined;
1120
+ /**
1121
+ * <p>The unique identifier of the relationship to retrieve.</p>
1122
+ * @public
1123
+ */
1124
+ identifier: string | undefined;
1125
+ }
1126
+ /**
1127
+ * <p>Detailed information about a partner relationship.</p>
1128
+ * @public
1129
+ */
1130
+ export interface RelationshipDetail {
1131
+ /**
1132
+ * <p>The Amazon Resource Name (ARN) of the relationship.</p>
1133
+ * @public
1134
+ */
1135
+ arn?: string | undefined;
1136
+ /**
1137
+ * <p>The unique identifier of the relationship.</p>
1138
+ * @public
1139
+ */
1140
+ id?: string | undefined;
1141
+ /**
1142
+ * <p>The current revision number of the relationship.</p>
1143
+ * @public
1144
+ */
1145
+ revision?: string | undefined;
1146
+ /**
1147
+ * <p>The catalog identifier associated with the relationship.</p>
1148
+ * @public
1149
+ */
1150
+ catalog?: string | undefined;
1151
+ /**
1152
+ * <p>The type of association for the relationship.</p>
1153
+ * @public
1154
+ */
1155
+ associationType?: AssociationType | undefined;
1156
+ /**
1157
+ * <p>The identifier of the program management account.</p>
1158
+ * @public
1159
+ */
1160
+ programManagementAccountId?: string | undefined;
1161
+ /**
1162
+ * <p>The AWS account ID associated in this relationship.</p>
1163
+ * @public
1164
+ */
1165
+ associatedAccountId?: string | undefined;
1166
+ /**
1167
+ * <p>The display name of the relationship.</p>
1168
+ * @public
1169
+ */
1170
+ displayName?: string | undefined;
1171
+ /**
1172
+ * <p>The resale account model for the relationship.</p>
1173
+ * @public
1174
+ */
1175
+ resaleAccountModel?: ResaleAccountModel | undefined;
1176
+ /**
1177
+ * <p>The business sector for the relationship.</p>
1178
+ * @public
1179
+ */
1180
+ sector?: Sector | undefined;
1181
+ /**
1182
+ * <p>The timestamp when the relationship was created.</p>
1183
+ * @public
1184
+ */
1185
+ createdAt?: Date | undefined;
1186
+ /**
1187
+ * <p>The timestamp when the relationship was last updated.</p>
1188
+ * @public
1189
+ */
1190
+ updatedAt?: Date | undefined;
1191
+ /**
1192
+ * <p>The start date of the relationship.</p>
1193
+ * @public
1194
+ */
1195
+ startDate?: Date | undefined;
1196
+ }
1197
+ /**
1198
+ * @public
1199
+ */
1200
+ export interface GetRelationshipResponse {
1201
+ /**
1202
+ * <p>Details of the requested relationship.</p>
1203
+ * @public
1204
+ */
1205
+ relationshipDetail?: RelationshipDetail | undefined;
1206
+ }
1207
+ /**
1208
+ * <p>Base sorting configuration for program management accounts.</p>
1209
+ * @public
1210
+ */
1211
+ export interface ListProgramManagementAccountsSortBase {
1212
+ /**
1213
+ * <p>The sort order (ascending or descending).</p>
1214
+ * @public
1215
+ */
1216
+ sortOrder: SortOrder | undefined;
1217
+ /**
1218
+ * <p>The field to sort by.</p>
1219
+ * @public
1220
+ */
1221
+ sortBy: ListProgramManagementAccountsSortName | undefined;
1222
+ }
1223
+ /**
1224
+ * @public
1225
+ */
1226
+ export interface ListProgramManagementAccountsRequest {
1227
+ /**
1228
+ * <p>The catalog identifier to filter accounts.</p>
1229
+ * @public
1230
+ */
1231
+ catalog: string | undefined;
1232
+ /**
1233
+ * <p>The maximum number of results to return in a single call.</p>
1234
+ * @public
1235
+ */
1236
+ maxResults?: number | undefined;
1237
+ /**
1238
+ * <p>Filter by display names.</p>
1239
+ * @public
1240
+ */
1241
+ displayNames?: string[] | undefined;
1242
+ /**
1243
+ * <p>Filter by program types.</p>
1244
+ * @public
1245
+ */
1246
+ programs?: Program[] | undefined;
1247
+ /**
1248
+ * <p>Filter by AWS account IDs.</p>
1249
+ * @public
1250
+ */
1251
+ accountIds?: string[] | undefined;
1252
+ /**
1253
+ * <p>Filter by program management account statuses.</p>
1254
+ * @public
1255
+ */
1256
+ statuses?: ProgramManagementAccountStatus[] | undefined;
1257
+ /**
1258
+ * <p>Sorting options for the results.</p>
1259
+ * @public
1260
+ */
1261
+ sort?: ListProgramManagementAccountsSortBase | undefined;
1262
+ /**
1263
+ * <p>Token for retrieving the next page of results.</p>
1264
+ * @public
1265
+ */
1266
+ nextToken?: string | undefined;
1267
+ }
1268
+ /**
1269
+ * <p>Summary information about a program management account.</p>
1270
+ * @public
1271
+ */
1272
+ export interface ProgramManagementAccountSummary {
1273
+ /**
1274
+ * <p>The unique identifier of the program management account.</p>
1275
+ * @public
1276
+ */
1277
+ id?: string | undefined;
1278
+ /**
1279
+ * <p>The current revision number of the program management account.</p>
1280
+ * @public
1281
+ */
1282
+ revision?: string | undefined;
1283
+ /**
1284
+ * <p>The catalog identifier associated with the account.</p>
1285
+ * @public
1286
+ */
1287
+ catalog?: string | undefined;
1288
+ /**
1289
+ * <p>The program type for the management account.</p>
1290
+ * @public
1291
+ */
1292
+ program?: Program | undefined;
1293
+ /**
1294
+ * <p>The display name of the program management account.</p>
1295
+ * @public
1296
+ */
1297
+ displayName?: string | undefined;
1298
+ /**
1299
+ * <p>The AWS account ID associated with the program management account.</p>
1300
+ * @public
1301
+ */
1302
+ accountId?: string | undefined;
1303
+ /**
1304
+ * <p>The Amazon Resource Name (ARN) of the program management account.</p>
1305
+ * @public
1306
+ */
1307
+ arn?: string | undefined;
1308
+ /**
1309
+ * <p>The timestamp when the account was created.</p>
1310
+ * @public
1311
+ */
1312
+ createdAt?: Date | undefined;
1313
+ /**
1314
+ * <p>The timestamp when the account was last updated.</p>
1315
+ * @public
1316
+ */
1317
+ updatedAt?: Date | undefined;
1318
+ /**
1319
+ * <p>The start date of the program management account.</p>
1320
+ * @public
1321
+ */
1322
+ startDate?: Date | undefined;
1323
+ /**
1324
+ * <p>The current status of the program management account.</p>
1325
+ * @public
1326
+ */
1327
+ status?: ProgramManagementAccountStatus | undefined;
1328
+ }
1329
+ /**
1330
+ * @public
1331
+ */
1332
+ export interface ListProgramManagementAccountsResponse {
1333
+ /**
1334
+ * <p>List of program management accounts matching the criteria.</p>
1335
+ * @public
1336
+ */
1337
+ items?: ProgramManagementAccountSummary[] | undefined;
1338
+ /**
1339
+ * <p>Token for retrieving the next page of results, if available.</p>
1340
+ * @public
1341
+ */
1342
+ nextToken?: string | undefined;
1343
+ }
1344
+ /**
1345
+ * <p>Base sorting configuration for relationships.</p>
1346
+ * @public
1347
+ */
1348
+ export interface ListRelationshipsSortBase {
1349
+ /**
1350
+ * <p>The sort order (ascending or descending).</p>
1351
+ * @public
1352
+ */
1353
+ sortOrder: SortOrder | undefined;
1354
+ /**
1355
+ * <p>The field to sort by.</p>
1356
+ * @public
1357
+ */
1358
+ sortBy: ListRelationshipsSortName | undefined;
1359
+ }
1360
+ /**
1361
+ * @public
1362
+ */
1363
+ export interface ListRelationshipsRequest {
1364
+ /**
1365
+ * <p>The catalog identifier to filter relationships.</p>
1366
+ * @public
1367
+ */
1368
+ catalog: string | undefined;
1369
+ /**
1370
+ * <p>The maximum number of results to return in a single call.</p>
1371
+ * @public
1372
+ */
1373
+ maxResults?: number | undefined;
1374
+ /**
1375
+ * <p>Filter by associated AWS account IDs.</p>
1376
+ * @public
1377
+ */
1378
+ associatedAccountIds?: string[] | undefined;
1379
+ /**
1380
+ * <p>Filter by association types.</p>
1381
+ * @public
1382
+ */
1383
+ associationTypes?: AssociationType[] | undefined;
1384
+ /**
1385
+ * <p>Filter by display names.</p>
1386
+ * @public
1387
+ */
1388
+ displayNames?: string[] | undefined;
1389
+ /**
1390
+ * <p>Filter by program management account identifiers.</p>
1391
+ * @public
1392
+ */
1393
+ programManagementAccountIdentifiers?: string[] | undefined;
1394
+ /**
1395
+ * <p>Sorting options for the results.</p>
1396
+ * @public
1397
+ */
1398
+ sort?: ListRelationshipsSortBase | undefined;
1399
+ /**
1400
+ * <p>Token for retrieving the next page of results.</p>
1401
+ * @public
1402
+ */
1403
+ nextToken?: string | undefined;
1404
+ }
1405
+ /**
1406
+ * <p>Summary information about a partner relationship.</p>
1407
+ * @public
1408
+ */
1409
+ export interface RelationshipSummary {
1410
+ /**
1411
+ * <p>The Amazon Resource Name (ARN) of the relationship.</p>
1412
+ * @public
1413
+ */
1414
+ arn?: string | undefined;
1415
+ /**
1416
+ * <p>The unique identifier of the relationship.</p>
1417
+ * @public
1418
+ */
1419
+ id?: string | undefined;
1420
+ /**
1421
+ * <p>The current revision number of the relationship.</p>
1422
+ * @public
1423
+ */
1424
+ revision?: string | undefined;
1425
+ /**
1426
+ * <p>The catalog identifier associated with the relationship.</p>
1427
+ * @public
1428
+ */
1429
+ catalog?: string | undefined;
1430
+ /**
1431
+ * <p>The type of association for the relationship.</p>
1432
+ * @public
1433
+ */
1434
+ associationType?: AssociationType | undefined;
1435
+ /**
1436
+ * <p>The identifier of the program management account.</p>
1437
+ * @public
1438
+ */
1439
+ programManagementAccountId?: string | undefined;
1440
+ /**
1441
+ * <p>The AWS account ID associated in this relationship.</p>
1442
+ * @public
1443
+ */
1444
+ associatedAccountId?: string | undefined;
1445
+ /**
1446
+ * <p>The display name of the relationship.</p>
1447
+ * @public
1448
+ */
1449
+ displayName?: string | undefined;
1450
+ /**
1451
+ * <p>The business sector for the relationship.</p>
1452
+ * @public
1453
+ */
1454
+ sector?: Sector | undefined;
1455
+ /**
1456
+ * <p>The timestamp when the relationship was created.</p>
1457
+ * @public
1458
+ */
1459
+ createdAt?: Date | undefined;
1460
+ /**
1461
+ * <p>The timestamp when the relationship was last updated.</p>
1462
+ * @public
1463
+ */
1464
+ updatedAt?: Date | undefined;
1465
+ /**
1466
+ * <p>The start date of the relationship.</p>
1467
+ * @public
1468
+ */
1469
+ startDate?: Date | undefined;
1470
+ }
1471
+ /**
1472
+ * @public
1473
+ */
1474
+ export interface ListRelationshipsResponse {
1475
+ /**
1476
+ * <p>List of relationships matching the criteria.</p>
1477
+ * @public
1478
+ */
1479
+ items?: RelationshipSummary[] | undefined;
1480
+ /**
1481
+ * <p>Token for retrieving the next page of results, if available.</p>
1482
+ * @public
1483
+ */
1484
+ nextToken?: string | undefined;
1485
+ }
1486
+ /**
1487
+ * @public
1488
+ */
1489
+ export interface ListTagsForResourceRequest {
1490
+ /**
1491
+ * <p>The Amazon Resource Name (ARN) of the resource to list tags for.</p>
1492
+ * @public
1493
+ */
1494
+ resourceArn: string | undefined;
1495
+ }
1496
+ /**
1497
+ * @public
1498
+ */
1499
+ export interface ListTagsForResourceResponse {
1500
+ /**
1501
+ * <p>Key-value pairs associated with the resource.</p>
1502
+ * @public
1503
+ */
1504
+ tags?: Tag[] | undefined;
1505
+ }
1506
+ /**
1507
+ * @public
1508
+ */
1509
+ export interface UpdateProgramManagementAccountRequest {
1510
+ /**
1511
+ * <p>The catalog identifier for the program management account.</p>
1512
+ * @public
1513
+ */
1514
+ catalog: string | undefined;
1515
+ /**
1516
+ * <p>The unique identifier of the program management account to update.</p>
1517
+ * @public
1518
+ */
1519
+ identifier: string | undefined;
1520
+ /**
1521
+ * <p>The current revision number of the program management account.</p>
1522
+ * @public
1523
+ */
1524
+ revision?: string | undefined;
1525
+ /**
1526
+ * <p>The new display name for the program management account.</p>
1527
+ * @public
1528
+ */
1529
+ displayName?: string | undefined;
1530
+ }
1531
+ /**
1532
+ * <p>Contains details about an updated program management account.</p>
1533
+ * @public
1534
+ */
1535
+ export interface UpdateProgramManagementAccountDetail {
1536
+ /**
1537
+ * <p>The unique identifier of the updated program management account.</p>
1538
+ * @public
1539
+ */
1540
+ id?: string | undefined;
1541
+ /**
1542
+ * <p>The Amazon Resource Name (ARN) of the updated program management account.</p>
1543
+ * @public
1544
+ */
1545
+ arn?: string | undefined;
1546
+ /**
1547
+ * <p>The new revision number of the program management account.</p>
1548
+ * @public
1549
+ */
1550
+ revision?: string | undefined;
1551
+ /**
1552
+ * <p>The updated display name of the program management account.</p>
1553
+ * @public
1554
+ */
1555
+ displayName?: string | undefined;
1556
+ }
1557
+ /**
1558
+ * @public
1559
+ */
1560
+ export interface UpdateProgramManagementAccountResponse {
1561
+ /**
1562
+ * <p>Details of the updated program management account.</p>
1563
+ * @public
1564
+ */
1565
+ programManagementAccountDetail?: UpdateProgramManagementAccountDetail | undefined;
1566
+ }
1567
+ /**
1568
+ * @public
1569
+ */
1570
+ export interface UpdateRelationshipRequest {
1571
+ /**
1572
+ * <p>The catalog identifier for the relationship.</p>
1573
+ * @public
1574
+ */
1575
+ catalog: string | undefined;
1576
+ /**
1577
+ * <p>The unique identifier of the relationship to update.</p>
1578
+ * @public
1579
+ */
1580
+ identifier: string | undefined;
1581
+ /**
1582
+ * <p>The identifier of the program management account associated with the relationship.</p>
1583
+ * @public
1584
+ */
1585
+ programManagementAccountIdentifier: string | undefined;
1586
+ /**
1587
+ * <p>The current revision number of the relationship.</p>
1588
+ * @public
1589
+ */
1590
+ revision?: string | undefined;
1591
+ /**
1592
+ * <p>The new display name for the relationship.</p>
1593
+ * @public
1594
+ */
1595
+ displayName?: string | undefined;
1596
+ /**
1597
+ * <p>The updated support plan for the relationship.</p>
1598
+ * @public
1599
+ */
1600
+ requestedSupportPlan?: SupportPlan | undefined;
1601
+ }
1602
+ /**
1603
+ * <p>Contains details about an updated relationship.</p>
1604
+ * @public
1605
+ */
1606
+ export interface UpdateRelationshipDetail {
1607
+ /**
1608
+ * <p>The Amazon Resource Name (ARN) of the updated relationship.</p>
1609
+ * @public
1610
+ */
1611
+ arn?: string | undefined;
1612
+ /**
1613
+ * <p>The unique identifier of the updated relationship.</p>
1614
+ * @public
1615
+ */
1616
+ id?: string | undefined;
1617
+ /**
1618
+ * <p>The new revision number of the relationship.</p>
1619
+ * @public
1620
+ */
1621
+ revision?: string | undefined;
1622
+ /**
1623
+ * <p>The updated display name of the relationship.</p>
1624
+ * @public
1625
+ */
1626
+ displayName?: string | undefined;
1627
+ }
1628
+ /**
1629
+ * @public
1630
+ */
1631
+ export interface UpdateRelationshipResponse {
1632
+ /**
1633
+ * <p>Details of the updated relationship.</p>
1634
+ * @public
1635
+ */
1636
+ relationshipDetail?: UpdateRelationshipDetail | undefined;
1637
+ }
1638
+ /**
1639
+ * @public
1640
+ */
1641
+ export interface TagResourceRequest {
1642
+ /**
1643
+ * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
1644
+ * @public
1645
+ */
1646
+ resourceArn: string | undefined;
1647
+ /**
1648
+ * <p>Key-value pairs to associate with the resource.</p>
1649
+ * @public
1650
+ */
1651
+ tags: Tag[] | undefined;
1652
+ }
1653
+ /**
1654
+ * @public
1655
+ */
1656
+ export interface TagResourceResponse {
1657
+ }
1658
+ /**
1659
+ * @public
1660
+ */
1661
+ export interface UntagResourceRequest {
1662
+ /**
1663
+ * <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
1664
+ * @public
1665
+ */
1666
+ resourceArn: string | undefined;
1667
+ /**
1668
+ * <p>The keys of the tags to remove from the resource.</p>
1669
+ * @public
1670
+ */
1671
+ tagKeys: string[] | undefined;
1672
+ }
1673
+ /**
1674
+ * @public
1675
+ */
1676
+ export interface UntagResourceResponse {
1677
+ }