@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,228 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
34
+ Decoder as __Decoder,
35
+ Encoder as __Encoder,
36
+ HashConstructor as __HashConstructor,
37
+ HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
40
+ Logger as __Logger,
41
+ Provider as __Provider,
42
+ Provider,
43
+ StreamCollector as __StreamCollector,
44
+ UrlParser as __UrlParser,
45
+ UserAgent as __UserAgent,
46
+ } from "@smithy/types";
47
+ import {
48
+ HttpAuthSchemeInputConfig,
49
+ HttpAuthSchemeResolvedConfig,
50
+ } from "./auth/httpAuthSchemeProvider";
51
+ import {
52
+ AcceptChannelHandshakeCommandInput,
53
+ AcceptChannelHandshakeCommandOutput,
54
+ } from "./commands/AcceptChannelHandshakeCommand";
55
+ import {
56
+ CancelChannelHandshakeCommandInput,
57
+ CancelChannelHandshakeCommandOutput,
58
+ } from "./commands/CancelChannelHandshakeCommand";
59
+ import {
60
+ CreateChannelHandshakeCommandInput,
61
+ CreateChannelHandshakeCommandOutput,
62
+ } from "./commands/CreateChannelHandshakeCommand";
63
+ import {
64
+ CreateProgramManagementAccountCommandInput,
65
+ CreateProgramManagementAccountCommandOutput,
66
+ } from "./commands/CreateProgramManagementAccountCommand";
67
+ import {
68
+ CreateRelationshipCommandInput,
69
+ CreateRelationshipCommandOutput,
70
+ } from "./commands/CreateRelationshipCommand";
71
+ import {
72
+ DeleteProgramManagementAccountCommandInput,
73
+ DeleteProgramManagementAccountCommandOutput,
74
+ } from "./commands/DeleteProgramManagementAccountCommand";
75
+ import {
76
+ DeleteRelationshipCommandInput,
77
+ DeleteRelationshipCommandOutput,
78
+ } from "./commands/DeleteRelationshipCommand";
79
+ import {
80
+ GetRelationshipCommandInput,
81
+ GetRelationshipCommandOutput,
82
+ } from "./commands/GetRelationshipCommand";
83
+ import {
84
+ ListChannelHandshakesCommandInput,
85
+ ListChannelHandshakesCommandOutput,
86
+ } from "./commands/ListChannelHandshakesCommand";
87
+ import {
88
+ ListProgramManagementAccountsCommandInput,
89
+ ListProgramManagementAccountsCommandOutput,
90
+ } from "./commands/ListProgramManagementAccountsCommand";
91
+ import {
92
+ ListRelationshipsCommandInput,
93
+ ListRelationshipsCommandOutput,
94
+ } from "./commands/ListRelationshipsCommand";
95
+ import {
96
+ ListTagsForResourceCommandInput,
97
+ ListTagsForResourceCommandOutput,
98
+ } from "./commands/ListTagsForResourceCommand";
99
+ import {
100
+ RejectChannelHandshakeCommandInput,
101
+ RejectChannelHandshakeCommandOutput,
102
+ } from "./commands/RejectChannelHandshakeCommand";
103
+ import {
104
+ TagResourceCommandInput,
105
+ TagResourceCommandOutput,
106
+ } from "./commands/TagResourceCommand";
107
+ import {
108
+ UntagResourceCommandInput,
109
+ UntagResourceCommandOutput,
110
+ } from "./commands/UntagResourceCommand";
111
+ import {
112
+ UpdateProgramManagementAccountCommandInput,
113
+ UpdateProgramManagementAccountCommandOutput,
114
+ } from "./commands/UpdateProgramManagementAccountCommand";
115
+ import {
116
+ UpdateRelationshipCommandInput,
117
+ UpdateRelationshipCommandOutput,
118
+ } from "./commands/UpdateRelationshipCommand";
119
+ import {
120
+ ClientInputEndpointParameters,
121
+ ClientResolvedEndpointParameters,
122
+ EndpointParameters,
123
+ } from "./endpoint/EndpointParameters";
124
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
125
+ export { __Client };
126
+ export type ServiceInputTypes =
127
+ | AcceptChannelHandshakeCommandInput
128
+ | CancelChannelHandshakeCommandInput
129
+ | CreateChannelHandshakeCommandInput
130
+ | CreateProgramManagementAccountCommandInput
131
+ | CreateRelationshipCommandInput
132
+ | DeleteProgramManagementAccountCommandInput
133
+ | DeleteRelationshipCommandInput
134
+ | GetRelationshipCommandInput
135
+ | ListChannelHandshakesCommandInput
136
+ | ListProgramManagementAccountsCommandInput
137
+ | ListRelationshipsCommandInput
138
+ | ListTagsForResourceCommandInput
139
+ | RejectChannelHandshakeCommandInput
140
+ | TagResourceCommandInput
141
+ | UntagResourceCommandInput
142
+ | UpdateProgramManagementAccountCommandInput
143
+ | UpdateRelationshipCommandInput;
144
+ export type ServiceOutputTypes =
145
+ | AcceptChannelHandshakeCommandOutput
146
+ | CancelChannelHandshakeCommandOutput
147
+ | CreateChannelHandshakeCommandOutput
148
+ | CreateProgramManagementAccountCommandOutput
149
+ | CreateRelationshipCommandOutput
150
+ | DeleteProgramManagementAccountCommandOutput
151
+ | DeleteRelationshipCommandOutput
152
+ | GetRelationshipCommandOutput
153
+ | ListChannelHandshakesCommandOutput
154
+ | ListProgramManagementAccountsCommandOutput
155
+ | ListRelationshipsCommandOutput
156
+ | ListTagsForResourceCommandOutput
157
+ | RejectChannelHandshakeCommandOutput
158
+ | TagResourceCommandOutput
159
+ | UntagResourceCommandOutput
160
+ | UpdateProgramManagementAccountCommandOutput
161
+ | UpdateRelationshipCommandOutput;
162
+ export interface ClientDefaults
163
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
164
+ requestHandler?: __HttpHandlerUserInput;
165
+ sha256?: __ChecksumConstructor | __HashConstructor;
166
+ urlParser?: __UrlParser;
167
+ bodyLengthChecker?: __BodyLengthCalculator;
168
+ streamCollector?: __StreamCollector;
169
+ base64Decoder?: __Decoder;
170
+ base64Encoder?: __Encoder;
171
+ utf8Decoder?: __Decoder;
172
+ utf8Encoder?: __Encoder;
173
+ runtime?: string;
174
+ disableHostPrefix?: boolean;
175
+ serviceId?: string;
176
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
177
+ useFipsEndpoint?: boolean | __Provider<boolean>;
178
+ region?: string | __Provider<string>;
179
+ profile?: string;
180
+ defaultUserAgentProvider?: Provider<__UserAgent>;
181
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
182
+ maxAttempts?: number | __Provider<number>;
183
+ retryMode?: string | __Provider<string>;
184
+ logger?: __Logger;
185
+ extensions?: RuntimeExtension[];
186
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
187
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
188
+ }
189
+ export type PartnerCentralChannelClientConfigType = Partial<
190
+ __SmithyConfiguration<__HttpHandlerOptions>
191
+ > &
192
+ ClientDefaults &
193
+ UserAgentInputConfig &
194
+ RetryInputConfig &
195
+ RegionInputConfig &
196
+ HostHeaderInputConfig &
197
+ EndpointInputConfig<EndpointParameters> &
198
+ HttpAuthSchemeInputConfig &
199
+ ClientInputEndpointParameters;
200
+ export interface PartnerCentralChannelClientConfig
201
+ extends PartnerCentralChannelClientConfigType {}
202
+ export type PartnerCentralChannelClientResolvedConfigType =
203
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
204
+ Required<ClientDefaults> &
205
+ RuntimeExtensionsConfig &
206
+ UserAgentResolvedConfig &
207
+ RetryResolvedConfig &
208
+ RegionResolvedConfig &
209
+ HostHeaderResolvedConfig &
210
+ EndpointResolvedConfig<EndpointParameters> &
211
+ HttpAuthSchemeResolvedConfig &
212
+ ClientResolvedEndpointParameters;
213
+ export interface PartnerCentralChannelClientResolvedConfig
214
+ extends PartnerCentralChannelClientResolvedConfigType {}
215
+ export declare class PartnerCentralChannelClient extends __Client<
216
+ __HttpHandlerOptions,
217
+ ServiceInputTypes,
218
+ ServiceOutputTypes,
219
+ PartnerCentralChannelClientResolvedConfig
220
+ > {
221
+ readonly config: PartnerCentralChannelClientResolvedConfig;
222
+ constructor(
223
+ ...[
224
+ configuration,
225
+ ]: __CheckOptionalClientConfig<PartnerCentralChannelClientConfig>
226
+ );
227
+ destroy(): void;
228
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { PartnerCentralChannelHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): PartnerCentralChannelHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,59 @@
1
+ import {
2
+ AwsSdkSigV4AAuthInputConfig,
3
+ AwsSdkSigV4AAuthResolvedConfig,
4
+ AwsSdkSigV4APreviouslyResolved,
5
+ AwsSdkSigV4AuthInputConfig,
6
+ AwsSdkSigV4AuthResolvedConfig,
7
+ AwsSdkSigV4PreviouslyResolved,
8
+ } from "@aws-sdk/core";
9
+ import {
10
+ HandlerExecutionContext,
11
+ HttpAuthScheme,
12
+ HttpAuthSchemeParameters,
13
+ HttpAuthSchemeParametersProvider,
14
+ HttpAuthSchemeProvider,
15
+ Provider,
16
+ } from "@smithy/types";
17
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
18
+ import { PartnerCentralChannelClientResolvedConfig } from "../PartnerCentralChannelClient";
19
+ interface _PartnerCentralChannelHttpAuthSchemeParameters
20
+ extends HttpAuthSchemeParameters {
21
+ region?: string;
22
+ }
23
+ export interface PartnerCentralChannelHttpAuthSchemeParameters
24
+ extends _PartnerCentralChannelHttpAuthSchemeParameters,
25
+ EndpointParameters {
26
+ region?: string;
27
+ }
28
+ export interface PartnerCentralChannelHttpAuthSchemeParametersProvider
29
+ extends HttpAuthSchemeParametersProvider<
30
+ PartnerCentralChannelClientResolvedConfig,
31
+ HandlerExecutionContext,
32
+ PartnerCentralChannelHttpAuthSchemeParameters,
33
+ object
34
+ > {}
35
+ export declare const defaultPartnerCentralChannelHttpAuthSchemeParametersProvider: PartnerCentralChannelHttpAuthSchemeParametersProvider;
36
+ export interface PartnerCentralChannelHttpAuthSchemeProvider
37
+ extends HttpAuthSchemeProvider<PartnerCentralChannelHttpAuthSchemeParameters> {}
38
+ export declare const defaultPartnerCentralChannelHttpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
39
+ export interface HttpAuthSchemeInputConfig
40
+ extends AwsSdkSigV4AuthInputConfig,
41
+ AwsSdkSigV4AAuthInputConfig {
42
+ authSchemePreference?: string[] | Provider<string[]>;
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ httpAuthSchemeProvider?: PartnerCentralChannelHttpAuthSchemeProvider;
45
+ }
46
+ export interface HttpAuthSchemeResolvedConfig
47
+ extends AwsSdkSigV4AuthResolvedConfig,
48
+ AwsSdkSigV4AAuthResolvedConfig {
49
+ readonly authSchemePreference: Provider<string[]>;
50
+ readonly httpAuthSchemes: HttpAuthScheme[];
51
+ readonly httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
52
+ }
53
+ export declare const resolveHttpAuthSchemeConfig: <T>(
54
+ config: T &
55
+ HttpAuthSchemeInputConfig &
56
+ AwsSdkSigV4PreviouslyResolved &
57
+ AwsSdkSigV4APreviouslyResolved
58
+ ) => T & HttpAuthSchemeResolvedConfig;
59
+ export {};
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AcceptChannelHandshakeRequest,
5
+ AcceptChannelHandshakeResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AcceptChannelHandshakeCommandInput
15
+ extends AcceptChannelHandshakeRequest {}
16
+ export interface AcceptChannelHandshakeCommandOutput
17
+ extends AcceptChannelHandshakeResponse,
18
+ __MetadataBearer {}
19
+ declare const AcceptChannelHandshakeCommand_base: {
20
+ new (
21
+ input: AcceptChannelHandshakeCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AcceptChannelHandshakeCommandInput,
24
+ AcceptChannelHandshakeCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: AcceptChannelHandshakeCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AcceptChannelHandshakeCommandInput,
33
+ AcceptChannelHandshakeCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AcceptChannelHandshakeCommand extends AcceptChannelHandshakeCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AcceptChannelHandshakeRequest;
44
+ output: AcceptChannelHandshakeResponse;
45
+ };
46
+ sdk: {
47
+ input: AcceptChannelHandshakeCommandInput;
48
+ output: AcceptChannelHandshakeCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CancelChannelHandshakeRequest,
5
+ CancelChannelHandshakeResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CancelChannelHandshakeCommandInput
15
+ extends CancelChannelHandshakeRequest {}
16
+ export interface CancelChannelHandshakeCommandOutput
17
+ extends CancelChannelHandshakeResponse,
18
+ __MetadataBearer {}
19
+ declare const CancelChannelHandshakeCommand_base: {
20
+ new (
21
+ input: CancelChannelHandshakeCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CancelChannelHandshakeCommandInput,
24
+ CancelChannelHandshakeCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CancelChannelHandshakeCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CancelChannelHandshakeCommandInput,
33
+ CancelChannelHandshakeCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CancelChannelHandshakeCommand extends CancelChannelHandshakeCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CancelChannelHandshakeRequest;
44
+ output: CancelChannelHandshakeResponse;
45
+ };
46
+ sdk: {
47
+ input: CancelChannelHandshakeCommandInput;
48
+ output: CancelChannelHandshakeCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateChannelHandshakeRequest,
5
+ CreateChannelHandshakeResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateChannelHandshakeCommandInput
15
+ extends CreateChannelHandshakeRequest {}
16
+ export interface CreateChannelHandshakeCommandOutput
17
+ extends CreateChannelHandshakeResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateChannelHandshakeCommand_base: {
20
+ new (
21
+ input: CreateChannelHandshakeCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateChannelHandshakeCommandInput,
24
+ CreateChannelHandshakeCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateChannelHandshakeCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateChannelHandshakeCommandInput,
33
+ CreateChannelHandshakeCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateChannelHandshakeCommand extends CreateChannelHandshakeCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateChannelHandshakeRequest;
44
+ output: CreateChannelHandshakeResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateChannelHandshakeCommandInput;
48
+ output: CreateChannelHandshakeCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateProgramManagementAccountRequest,
5
+ CreateProgramManagementAccountResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateProgramManagementAccountCommandInput
15
+ extends CreateProgramManagementAccountRequest {}
16
+ export interface CreateProgramManagementAccountCommandOutput
17
+ extends CreateProgramManagementAccountResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateProgramManagementAccountCommand_base: {
20
+ new (
21
+ input: CreateProgramManagementAccountCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateProgramManagementAccountCommandInput,
24
+ CreateProgramManagementAccountCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateProgramManagementAccountCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateProgramManagementAccountCommandInput,
33
+ CreateProgramManagementAccountCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateProgramManagementAccountCommand extends CreateProgramManagementAccountCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateProgramManagementAccountRequest;
44
+ output: CreateProgramManagementAccountResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateProgramManagementAccountCommandInput;
48
+ output: CreateProgramManagementAccountCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateRelationshipRequest,
5
+ CreateRelationshipResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateRelationshipCommandInput
15
+ extends CreateRelationshipRequest {}
16
+ export interface CreateRelationshipCommandOutput
17
+ extends CreateRelationshipResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateRelationshipCommand_base: {
20
+ new (
21
+ input: CreateRelationshipCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateRelationshipCommandInput,
24
+ CreateRelationshipCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateRelationshipCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateRelationshipCommandInput,
33
+ CreateRelationshipCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateRelationshipCommand extends CreateRelationshipCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateRelationshipRequest;
44
+ output: CreateRelationshipResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateRelationshipCommandInput;
48
+ output: CreateRelationshipCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteProgramManagementAccountRequest,
5
+ DeleteProgramManagementAccountResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteProgramManagementAccountCommandInput
15
+ extends DeleteProgramManagementAccountRequest {}
16
+ export interface DeleteProgramManagementAccountCommandOutput
17
+ extends DeleteProgramManagementAccountResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteProgramManagementAccountCommand_base: {
20
+ new (
21
+ input: DeleteProgramManagementAccountCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteProgramManagementAccountCommandInput,
24
+ DeleteProgramManagementAccountCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteProgramManagementAccountCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteProgramManagementAccountCommandInput,
33
+ DeleteProgramManagementAccountCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteProgramManagementAccountCommand extends DeleteProgramManagementAccountCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteProgramManagementAccountRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteProgramManagementAccountCommandInput;
48
+ output: DeleteProgramManagementAccountCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteRelationshipRequest,
5
+ DeleteRelationshipResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PartnerCentralChannelClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PartnerCentralChannelClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteRelationshipCommandInput
15
+ extends DeleteRelationshipRequest {}
16
+ export interface DeleteRelationshipCommandOutput
17
+ extends DeleteRelationshipResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteRelationshipCommand_base: {
20
+ new (
21
+ input: DeleteRelationshipCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteRelationshipCommandInput,
24
+ DeleteRelationshipCommandOutput,
25
+ PartnerCentralChannelClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteRelationshipCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteRelationshipCommandInput,
33
+ DeleteRelationshipCommandOutput,
34
+ PartnerCentralChannelClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteRelationshipCommand extends DeleteRelationshipCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteRelationshipRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteRelationshipCommandInput;
48
+ output: DeleteRelationshipCommandOutput;
49
+ };
50
+ };
51
+ }