@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,153 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { PartnerCentralChannelServiceException as __BaseException } from "./PartnerCentralChannelServiceException";
5
+ /**
6
+ * <p>The request was denied due to insufficient permissions.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>The reason for the access denial.</p>
14
+ * @public
15
+ */
16
+ reason?: string | undefined;
17
+ /**
18
+ * @internal
19
+ */
20
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
21
+ }
22
+ /**
23
+ * <p>An internal server error occurred while processing the request.</p>
24
+ * @public
25
+ */
26
+ export declare class InternalServerException extends __BaseException {
27
+ readonly name: "InternalServerException";
28
+ readonly $fault: "server";
29
+ $retryable: {};
30
+ /**
31
+ * @internal
32
+ */
33
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
34
+ }
35
+ /**
36
+ * <p>The specified resource was not found.</p>
37
+ * @public
38
+ */
39
+ export declare class ResourceNotFoundException extends __BaseException {
40
+ readonly name: "ResourceNotFoundException";
41
+ readonly $fault: "client";
42
+ /**
43
+ * <p>The identifier of the resource that was not found.</p>
44
+ * @public
45
+ */
46
+ resourceId?: string | undefined;
47
+ /**
48
+ * <p>The type of the resource that was not found.</p>
49
+ * @public
50
+ */
51
+ resourceType?: string | undefined;
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>The request was throttled due to too many requests being sent in a short period.</p>
59
+ * @public
60
+ */
61
+ export declare class ThrottlingException extends __BaseException {
62
+ readonly name: "ThrottlingException";
63
+ readonly $fault: "client";
64
+ $retryable: {
65
+ throttling: boolean;
66
+ };
67
+ /**
68
+ * <p>The service code associated with the throttling error.</p>
69
+ * @public
70
+ */
71
+ serviceCode?: string | undefined;
72
+ /**
73
+ * <p>The quota code associated with the throttling error.</p>
74
+ * @public
75
+ */
76
+ quotaCode?: string | undefined;
77
+ /**
78
+ * @internal
79
+ */
80
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
81
+ }
82
+ /**
83
+ * <p>The request failed validation due to invalid input parameters.</p>
84
+ * @public
85
+ */
86
+ export declare class ValidationException extends __BaseException {
87
+ readonly name: "ValidationException";
88
+ readonly $fault: "client";
89
+ /**
90
+ * <p>The reason for the validation failure.</p>
91
+ * @public
92
+ */
93
+ reason: ValidationExceptionReason | undefined;
94
+ /**
95
+ * <p>A list of fields that failed validation.</p>
96
+ * @public
97
+ */
98
+ fieldList?: ValidationExceptionField[] | undefined;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
106
+ * @public
107
+ */
108
+ export declare class ConflictException extends __BaseException {
109
+ readonly name: "ConflictException";
110
+ readonly $fault: "client";
111
+ /**
112
+ * <p>The identifier of the resource that caused the conflict.</p>
113
+ * @public
114
+ */
115
+ resourceId: string | undefined;
116
+ /**
117
+ * <p>The type of the resource that caused the conflict.</p>
118
+ * @public
119
+ */
120
+ resourceType: string | undefined;
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
125
+ }
126
+ /**
127
+ * <p>The request would exceed a service quota limit.</p>
128
+ * @public
129
+ */
130
+ export declare class ServiceQuotaExceededException extends __BaseException {
131
+ readonly name: "ServiceQuotaExceededException";
132
+ readonly $fault: "client";
133
+ $retryable: {};
134
+ /**
135
+ * <p>The identifier of the resource that would exceed the quota.</p>
136
+ * @public
137
+ */
138
+ resourceId: string | undefined;
139
+ /**
140
+ * <p>The type of the resource that would exceed the quota.</p>
141
+ * @public
142
+ */
143
+ resourceType: string | undefined;
144
+ /**
145
+ * <p>The code identifying the specific quota that would be exceeded.</p>
146
+ * @public
147
+ */
148
+ quotaCode: string | undefined;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
153
+ }