@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.
- package/LICENSE +201 -0
- package/README.md +341 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1379 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +57 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +48 -0
- package/dist-es/PartnerCentralChannel.js +41 -0
- package/dist-es/PartnerCentralChannelClient.js +51 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +123 -0
- package/dist-es/commands/AcceptChannelHandshakeCommand.js +16 -0
- package/dist-es/commands/CancelChannelHandshakeCommand.js +16 -0
- package/dist-es/commands/CreateChannelHandshakeCommand.js +16 -0
- package/dist-es/commands/CreateProgramManagementAccountCommand.js +16 -0
- package/dist-es/commands/CreateRelationshipCommand.js +16 -0
- package/dist-es/commands/DeleteProgramManagementAccountCommand.js +16 -0
- package/dist-es/commands/DeleteRelationshipCommand.js +16 -0
- package/dist-es/commands/GetRelationshipCommand.js +16 -0
- package/dist-es/commands/ListChannelHandshakesCommand.js +16 -0
- package/dist-es/commands/ListProgramManagementAccountsCommand.js +16 -0
- package/dist-es/commands/ListRelationshipsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/RejectChannelHandshakeCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateProgramManagementAccountCommand.js +16 -0
- package/dist-es/commands/UpdateRelationshipCommand.js +16 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/PartnerCentralChannelServiceException.js +8 -0
- package/dist-es/models/enums.js +76 -0
- package/dist-es/models/errors.js +114 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChannelHandshakesPaginator.js +4 -0
- package/dist-es/pagination/ListProgramManagementAccountsPaginator.js +4 -0
- package/dist-es/pagination/ListRelationshipsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +52 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +44 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +795 -0
- package/dist-types/PartnerCentralChannel.d.ts +129 -0
- package/dist-types/PartnerCentralChannelClient.d.ts +213 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
- package/dist-types/commands/AcceptChannelHandshakeCommand.d.ts +114 -0
- package/dist-types/commands/CancelChannelHandshakeCommand.d.ts +114 -0
- package/dist-types/commands/CreateChannelHandshakeCommand.d.ts +226 -0
- package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +130 -0
- package/dist-types/commands/CreateRelationshipCommand.d.ts +151 -0
- package/dist-types/commands/DeleteProgramManagementAccountCommand.d.ts +107 -0
- package/dist-types/commands/DeleteRelationshipCommand.d.ts +109 -0
- package/dist-types/commands/GetRelationshipCommand.d.ts +134 -0
- package/dist-types/commands/ListChannelHandshakesCommand.d.ts +360 -0
- package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +168 -0
- package/dist-types/commands/ListRelationshipsCommand.d.ts +169 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +114 -0
- package/dist-types/commands/RejectChannelHandshakeCommand.d.ts +114 -0
- package/dist-types/commands/TagResourceCommand.d.ts +115 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +109 -0
- package/dist-types/commands/UpdateProgramManagementAccountCommand.d.ts +123 -0
- package/dist-types/commands/UpdateRelationshipCommand.d.ts +140 -0
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/PartnerCentralChannelServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +220 -0
- package/dist-types/models/errors.d.ts +153 -0
- package/dist-types/models/models_0.d.ts +1677 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChannelHandshakesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProgramManagementAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRelationshipsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +52 -0
- package/dist-types/runtimeConfig.d.ts +52 -0
- package/dist-types/runtimeConfig.native.d.ts +51 -0
- package/dist-types/runtimeConfig.shared.d.ts +24 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +112 -0
- package/dist-types/ts3.4/PartnerCentralChannel.d.ts +296 -0
- package/dist-types/ts3.4/PartnerCentralChannelClient.d.ts +228 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/PartnerCentralChannelServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +106 -0
- package/dist-types/ts3.4/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/models/models_0.d.ts +542 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelHandshakesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProgramManagementAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRelationshipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +103 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +107 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +34 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +117 -0
- package/package.json +100 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AcceptChannelHandshakeCommandInput, AcceptChannelHandshakeCommandOutput } from "./commands/AcceptChannelHandshakeCommand";
|
|
3
|
+
import { CancelChannelHandshakeCommandInput, CancelChannelHandshakeCommandOutput } from "./commands/CancelChannelHandshakeCommand";
|
|
4
|
+
import { CreateChannelHandshakeCommandInput, CreateChannelHandshakeCommandOutput } from "./commands/CreateChannelHandshakeCommand";
|
|
5
|
+
import { CreateProgramManagementAccountCommandInput, CreateProgramManagementAccountCommandOutput } from "./commands/CreateProgramManagementAccountCommand";
|
|
6
|
+
import { CreateRelationshipCommandInput, CreateRelationshipCommandOutput } from "./commands/CreateRelationshipCommand";
|
|
7
|
+
import { DeleteProgramManagementAccountCommandInput, DeleteProgramManagementAccountCommandOutput } from "./commands/DeleteProgramManagementAccountCommand";
|
|
8
|
+
import { DeleteRelationshipCommandInput, DeleteRelationshipCommandOutput } from "./commands/DeleteRelationshipCommand";
|
|
9
|
+
import { GetRelationshipCommandInput, GetRelationshipCommandOutput } from "./commands/GetRelationshipCommand";
|
|
10
|
+
import { ListChannelHandshakesCommandInput, ListChannelHandshakesCommandOutput } from "./commands/ListChannelHandshakesCommand";
|
|
11
|
+
import { ListProgramManagementAccountsCommandInput, ListProgramManagementAccountsCommandOutput } from "./commands/ListProgramManagementAccountsCommand";
|
|
12
|
+
import { ListRelationshipsCommandInput, ListRelationshipsCommandOutput } from "./commands/ListRelationshipsCommand";
|
|
13
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
14
|
+
import { RejectChannelHandshakeCommandInput, RejectChannelHandshakeCommandOutput } from "./commands/RejectChannelHandshakeCommand";
|
|
15
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { UpdateProgramManagementAccountCommandInput, UpdateProgramManagementAccountCommandOutput } from "./commands/UpdateProgramManagementAccountCommand";
|
|
18
|
+
import { UpdateRelationshipCommandInput, UpdateRelationshipCommandOutput } from "./commands/UpdateRelationshipCommand";
|
|
19
|
+
import { PartnerCentralChannelClient } from "./PartnerCentralChannelClient";
|
|
20
|
+
export interface PartnerCentralChannel {
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link AcceptChannelHandshakeCommand}
|
|
23
|
+
*/
|
|
24
|
+
acceptChannelHandshake(args: AcceptChannelHandshakeCommandInput, options?: __HttpHandlerOptions): Promise<AcceptChannelHandshakeCommandOutput>;
|
|
25
|
+
acceptChannelHandshake(args: AcceptChannelHandshakeCommandInput, cb: (err: any, data?: AcceptChannelHandshakeCommandOutput) => void): void;
|
|
26
|
+
acceptChannelHandshake(args: AcceptChannelHandshakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptChannelHandshakeCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CancelChannelHandshakeCommand}
|
|
29
|
+
*/
|
|
30
|
+
cancelChannelHandshake(args: CancelChannelHandshakeCommandInput, options?: __HttpHandlerOptions): Promise<CancelChannelHandshakeCommandOutput>;
|
|
31
|
+
cancelChannelHandshake(args: CancelChannelHandshakeCommandInput, cb: (err: any, data?: CancelChannelHandshakeCommandOutput) => void): void;
|
|
32
|
+
cancelChannelHandshake(args: CancelChannelHandshakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelChannelHandshakeCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link CreateChannelHandshakeCommand}
|
|
35
|
+
*/
|
|
36
|
+
createChannelHandshake(args: CreateChannelHandshakeCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelHandshakeCommandOutput>;
|
|
37
|
+
createChannelHandshake(args: CreateChannelHandshakeCommandInput, cb: (err: any, data?: CreateChannelHandshakeCommandOutput) => void): void;
|
|
38
|
+
createChannelHandshake(args: CreateChannelHandshakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelHandshakeCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link CreateProgramManagementAccountCommand}
|
|
41
|
+
*/
|
|
42
|
+
createProgramManagementAccount(args: CreateProgramManagementAccountCommandInput, options?: __HttpHandlerOptions): Promise<CreateProgramManagementAccountCommandOutput>;
|
|
43
|
+
createProgramManagementAccount(args: CreateProgramManagementAccountCommandInput, cb: (err: any, data?: CreateProgramManagementAccountCommandOutput) => void): void;
|
|
44
|
+
createProgramManagementAccount(args: CreateProgramManagementAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProgramManagementAccountCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link CreateRelationshipCommand}
|
|
47
|
+
*/
|
|
48
|
+
createRelationship(args: CreateRelationshipCommandInput, options?: __HttpHandlerOptions): Promise<CreateRelationshipCommandOutput>;
|
|
49
|
+
createRelationship(args: CreateRelationshipCommandInput, cb: (err: any, data?: CreateRelationshipCommandOutput) => void): void;
|
|
50
|
+
createRelationship(args: CreateRelationshipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRelationshipCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link DeleteProgramManagementAccountCommand}
|
|
53
|
+
*/
|
|
54
|
+
deleteProgramManagementAccount(args: DeleteProgramManagementAccountCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProgramManagementAccountCommandOutput>;
|
|
55
|
+
deleteProgramManagementAccount(args: DeleteProgramManagementAccountCommandInput, cb: (err: any, data?: DeleteProgramManagementAccountCommandOutput) => void): void;
|
|
56
|
+
deleteProgramManagementAccount(args: DeleteProgramManagementAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProgramManagementAccountCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link DeleteRelationshipCommand}
|
|
59
|
+
*/
|
|
60
|
+
deleteRelationship(args: DeleteRelationshipCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRelationshipCommandOutput>;
|
|
61
|
+
deleteRelationship(args: DeleteRelationshipCommandInput, cb: (err: any, data?: DeleteRelationshipCommandOutput) => void): void;
|
|
62
|
+
deleteRelationship(args: DeleteRelationshipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRelationshipCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link GetRelationshipCommand}
|
|
65
|
+
*/
|
|
66
|
+
getRelationship(args: GetRelationshipCommandInput, options?: __HttpHandlerOptions): Promise<GetRelationshipCommandOutput>;
|
|
67
|
+
getRelationship(args: GetRelationshipCommandInput, cb: (err: any, data?: GetRelationshipCommandOutput) => void): void;
|
|
68
|
+
getRelationship(args: GetRelationshipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRelationshipCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link ListChannelHandshakesCommand}
|
|
71
|
+
*/
|
|
72
|
+
listChannelHandshakes(args: ListChannelHandshakesCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelHandshakesCommandOutput>;
|
|
73
|
+
listChannelHandshakes(args: ListChannelHandshakesCommandInput, cb: (err: any, data?: ListChannelHandshakesCommandOutput) => void): void;
|
|
74
|
+
listChannelHandshakes(args: ListChannelHandshakesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelHandshakesCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link ListProgramManagementAccountsCommand}
|
|
77
|
+
*/
|
|
78
|
+
listProgramManagementAccounts(args: ListProgramManagementAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListProgramManagementAccountsCommandOutput>;
|
|
79
|
+
listProgramManagementAccounts(args: ListProgramManagementAccountsCommandInput, cb: (err: any, data?: ListProgramManagementAccountsCommandOutput) => void): void;
|
|
80
|
+
listProgramManagementAccounts(args: ListProgramManagementAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProgramManagementAccountsCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link ListRelationshipsCommand}
|
|
83
|
+
*/
|
|
84
|
+
listRelationships(args: ListRelationshipsCommandInput, options?: __HttpHandlerOptions): Promise<ListRelationshipsCommandOutput>;
|
|
85
|
+
listRelationships(args: ListRelationshipsCommandInput, cb: (err: any, data?: ListRelationshipsCommandOutput) => void): void;
|
|
86
|
+
listRelationships(args: ListRelationshipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRelationshipsCommandOutput) => void): void;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link ListTagsForResourceCommand}
|
|
89
|
+
*/
|
|
90
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
91
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
92
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link RejectChannelHandshakeCommand}
|
|
95
|
+
*/
|
|
96
|
+
rejectChannelHandshake(args: RejectChannelHandshakeCommandInput, options?: __HttpHandlerOptions): Promise<RejectChannelHandshakeCommandOutput>;
|
|
97
|
+
rejectChannelHandshake(args: RejectChannelHandshakeCommandInput, cb: (err: any, data?: RejectChannelHandshakeCommandOutput) => void): void;
|
|
98
|
+
rejectChannelHandshake(args: RejectChannelHandshakeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectChannelHandshakeCommandOutput) => void): void;
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link TagResourceCommand}
|
|
101
|
+
*/
|
|
102
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
103
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
104
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
105
|
+
/**
|
|
106
|
+
* @see {@link UntagResourceCommand}
|
|
107
|
+
*/
|
|
108
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
109
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
110
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link UpdateProgramManagementAccountCommand}
|
|
113
|
+
*/
|
|
114
|
+
updateProgramManagementAccount(args: UpdateProgramManagementAccountCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProgramManagementAccountCommandOutput>;
|
|
115
|
+
updateProgramManagementAccount(args: UpdateProgramManagementAccountCommandInput, cb: (err: any, data?: UpdateProgramManagementAccountCommandOutput) => void): void;
|
|
116
|
+
updateProgramManagementAccount(args: UpdateProgramManagementAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProgramManagementAccountCommandOutput) => void): void;
|
|
117
|
+
/**
|
|
118
|
+
* @see {@link UpdateRelationshipCommand}
|
|
119
|
+
*/
|
|
120
|
+
updateRelationship(args: UpdateRelationshipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRelationshipCommandOutput>;
|
|
121
|
+
updateRelationship(args: UpdateRelationshipCommandInput, cb: (err: any, data?: UpdateRelationshipCommandOutput) => void): void;
|
|
122
|
+
updateRelationship(args: UpdateRelationshipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRelationshipCommandOutput) => void): void;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* <p>AWS Partner Central Channel service for managing partner relationships, handshakes, and program management accounts.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class PartnerCentralChannel extends PartnerCentralChannelClient implements PartnerCentralChannel {
|
|
129
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { AcceptChannelHandshakeCommandInput, AcceptChannelHandshakeCommandOutput } from "./commands/AcceptChannelHandshakeCommand";
|
|
11
|
+
import { CancelChannelHandshakeCommandInput, CancelChannelHandshakeCommandOutput } from "./commands/CancelChannelHandshakeCommand";
|
|
12
|
+
import { CreateChannelHandshakeCommandInput, CreateChannelHandshakeCommandOutput } from "./commands/CreateChannelHandshakeCommand";
|
|
13
|
+
import { CreateProgramManagementAccountCommandInput, CreateProgramManagementAccountCommandOutput } from "./commands/CreateProgramManagementAccountCommand";
|
|
14
|
+
import { CreateRelationshipCommandInput, CreateRelationshipCommandOutput } from "./commands/CreateRelationshipCommand";
|
|
15
|
+
import { DeleteProgramManagementAccountCommandInput, DeleteProgramManagementAccountCommandOutput } from "./commands/DeleteProgramManagementAccountCommand";
|
|
16
|
+
import { DeleteRelationshipCommandInput, DeleteRelationshipCommandOutput } from "./commands/DeleteRelationshipCommand";
|
|
17
|
+
import { GetRelationshipCommandInput, GetRelationshipCommandOutput } from "./commands/GetRelationshipCommand";
|
|
18
|
+
import { ListChannelHandshakesCommandInput, ListChannelHandshakesCommandOutput } from "./commands/ListChannelHandshakesCommand";
|
|
19
|
+
import { ListProgramManagementAccountsCommandInput, ListProgramManagementAccountsCommandOutput } from "./commands/ListProgramManagementAccountsCommand";
|
|
20
|
+
import { ListRelationshipsCommandInput, ListRelationshipsCommandOutput } from "./commands/ListRelationshipsCommand";
|
|
21
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { RejectChannelHandshakeCommandInput, RejectChannelHandshakeCommandOutput } from "./commands/RejectChannelHandshakeCommand";
|
|
23
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { UpdateProgramManagementAccountCommandInput, UpdateProgramManagementAccountCommandOutput } from "./commands/UpdateProgramManagementAccountCommand";
|
|
26
|
+
import { UpdateRelationshipCommandInput, UpdateRelationshipCommandOutput } from "./commands/UpdateRelationshipCommand";
|
|
27
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
29
|
+
export { __Client };
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ServiceInputTypes = AcceptChannelHandshakeCommandInput | CancelChannelHandshakeCommandInput | CreateChannelHandshakeCommandInput | CreateProgramManagementAccountCommandInput | CreateRelationshipCommandInput | DeleteProgramManagementAccountCommandInput | DeleteRelationshipCommandInput | GetRelationshipCommandInput | ListChannelHandshakesCommandInput | ListProgramManagementAccountsCommandInput | ListRelationshipsCommandInput | ListTagsForResourceCommandInput | RejectChannelHandshakeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateProgramManagementAccountCommandInput | UpdateRelationshipCommandInput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type ServiceOutputTypes = AcceptChannelHandshakeCommandOutput | CancelChannelHandshakeCommandOutput | CreateChannelHandshakeCommandOutput | CreateProgramManagementAccountCommandOutput | CreateRelationshipCommandOutput | DeleteProgramManagementAccountCommandOutput | DeleteRelationshipCommandOutput | GetRelationshipCommandOutput | ListChannelHandshakesCommandOutput | ListProgramManagementAccountsCommandOutput | ListRelationshipsCommandOutput | ListTagsForResourceCommandOutput | RejectChannelHandshakeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateProgramManagementAccountCommandOutput | UpdateRelationshipCommandOutput;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
42
|
+
/**
|
|
43
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
44
|
+
*/
|
|
45
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
46
|
+
/**
|
|
47
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
48
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
52
|
+
/**
|
|
53
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
urlParser?: __UrlParser;
|
|
57
|
+
/**
|
|
58
|
+
* A function that can calculate the length of a request body.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
|
+
/**
|
|
63
|
+
* A function that converts a stream into an array of bytes.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
streamCollector?: __StreamCollector;
|
|
67
|
+
/**
|
|
68
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
/**
|
|
73
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
base64Encoder?: __Encoder;
|
|
77
|
+
/**
|
|
78
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
utf8Decoder?: __Decoder;
|
|
82
|
+
/**
|
|
83
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
utf8Encoder?: __Encoder;
|
|
87
|
+
/**
|
|
88
|
+
* The runtime environment.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
runtime?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
94
|
+
* trait of an operation.
|
|
95
|
+
*/
|
|
96
|
+
disableHostPrefix?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Unique service identifier.
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
serviceId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
104
|
+
*/
|
|
105
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Enables FIPS compatible endpoints.
|
|
108
|
+
*/
|
|
109
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* The AWS region to which this client will send requests
|
|
112
|
+
*/
|
|
113
|
+
region?: string | __Provider<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Setting a client profile is similar to setting a value for the
|
|
116
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
117
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
118
|
+
*
|
|
119
|
+
* When set, and only for environments where an AWS configuration
|
|
120
|
+
* file exists, fields configurable by this file will be retrieved
|
|
121
|
+
* from the specified profile within that file.
|
|
122
|
+
* Conflicting code configuration and environment variables will
|
|
123
|
+
* still have higher priority.
|
|
124
|
+
*
|
|
125
|
+
* For client credential resolution that involves checking the AWS
|
|
126
|
+
* configuration file, the client's profile (this value) will be
|
|
127
|
+
* used unless a different profile is set in the credential
|
|
128
|
+
* provider options.
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
profile?: string;
|
|
132
|
+
/**
|
|
133
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
137
|
+
/**
|
|
138
|
+
* Default credentials provider; Not available in browser runtime.
|
|
139
|
+
* @deprecated
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
143
|
+
/**
|
|
144
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
145
|
+
*/
|
|
146
|
+
maxAttempts?: number | __Provider<number>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies which retry algorithm to use.
|
|
149
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
retryMode?: string | __Provider<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Optional logger for logging debug/info/warn/error.
|
|
155
|
+
*/
|
|
156
|
+
logger?: __Logger;
|
|
157
|
+
/**
|
|
158
|
+
* Optional extensions
|
|
159
|
+
*/
|
|
160
|
+
extensions?: RuntimeExtension[];
|
|
161
|
+
/**
|
|
162
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
163
|
+
* may be overridden. A default will always be set by the client.
|
|
164
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
165
|
+
* the client.
|
|
166
|
+
* @alpha
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
172
|
+
*/
|
|
173
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export type PartnerCentralChannelClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*
|
|
182
|
+
* The configuration interface of PartnerCentralChannelClient class constructor that set the region, credentials and other options.
|
|
183
|
+
*/
|
|
184
|
+
export interface PartnerCentralChannelClientConfig extends PartnerCentralChannelClientConfigType {
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export type PartnerCentralChannelClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*
|
|
193
|
+
* The resolved configuration interface of PartnerCentralChannelClient class. This is resolved and normalized from the {@link PartnerCentralChannelClientConfig | constructor configuration interface}.
|
|
194
|
+
*/
|
|
195
|
+
export interface PartnerCentralChannelClientResolvedConfig extends PartnerCentralChannelClientResolvedConfigType {
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* <p>AWS Partner Central Channel service for managing partner relationships, handshakes, and program management accounts.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare class PartnerCentralChannelClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PartnerCentralChannelClientResolvedConfig> {
|
|
202
|
+
/**
|
|
203
|
+
* The resolved configuration of PartnerCentralChannelClient class. This is resolved and normalized from the {@link PartnerCentralChannelClientConfig | constructor configuration interface}.
|
|
204
|
+
*/
|
|
205
|
+
readonly config: PartnerCentralChannelClientResolvedConfig;
|
|
206
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<PartnerCentralChannelClientConfig>);
|
|
207
|
+
/**
|
|
208
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
209
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
210
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
211
|
+
*/
|
|
212
|
+
destroy(): void;
|
|
213
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { PartnerCentralChannelHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): PartnerCentralChannelHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { EndpointParameters } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PartnerCentralChannelClientResolvedConfig } from "../PartnerCentralChannelClient";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
interface _PartnerCentralChannelHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
9
|
+
region?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export interface PartnerCentralChannelHttpAuthSchemeParameters extends _PartnerCentralChannelHttpAuthSchemeParameters, EndpointParameters {
|
|
15
|
+
region?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export interface PartnerCentralChannelHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<PartnerCentralChannelClientResolvedConfig, HandlerExecutionContext, PartnerCentralChannelHttpAuthSchemeParameters, object> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const defaultPartnerCentralChannelHttpAuthSchemeParametersProvider: PartnerCentralChannelHttpAuthSchemeParametersProvider;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export interface PartnerCentralChannelHttpAuthSchemeProvider extends HttpAuthSchemeProvider<PartnerCentralChannelHttpAuthSchemeParameters> {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare const defaultPartnerCentralChannelHttpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
|
|
39
|
+
/**
|
|
40
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
41
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
42
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
51
|
+
/**
|
|
52
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
httpAuthSchemeProvider?: PartnerCentralChannelHttpAuthSchemeProvider;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
|
|
61
|
+
/**
|
|
62
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
63
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
64
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
68
|
+
/**
|
|
69
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
73
|
+
/**
|
|
74
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
readonly httpAuthSchemeProvider: PartnerCentralChannelHttpAuthSchemeProvider;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved & AwsSdkSigV4APreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AcceptChannelHandshakeRequest, AcceptChannelHandshakeResponse } from "../models/models_0";
|
|
4
|
+
import { PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralChannelClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AcceptChannelHandshakeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AcceptChannelHandshakeCommandInput extends AcceptChannelHandshakeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AcceptChannelHandshakeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AcceptChannelHandshakeCommandOutput extends AcceptChannelHandshakeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AcceptChannelHandshakeCommand_base: {
|
|
25
|
+
new (input: AcceptChannelHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptChannelHandshakeCommandInput, AcceptChannelHandshakeCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AcceptChannelHandshakeCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptChannelHandshakeCommandInput, AcceptChannelHandshakeCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Accepts a pending channel handshake request from another AWS account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralChannelClient, AcceptChannelHandshakeCommand } from "@aws-sdk/client-partnercentral-channel"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralChannelClient, AcceptChannelHandshakeCommand } = require("@aws-sdk/client-partnercentral-channel"); // CommonJS import
|
|
36
|
+
* // import type { PartnerCentralChannelClientConfig } from "@aws-sdk/client-partnercentral-channel";
|
|
37
|
+
* const config = {}; // type is PartnerCentralChannelClientConfig
|
|
38
|
+
* const client = new PartnerCentralChannelClient(config);
|
|
39
|
+
* const input = { // AcceptChannelHandshakeRequest
|
|
40
|
+
* catalog: "STRING_VALUE", // required
|
|
41
|
+
* identifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new AcceptChannelHandshakeCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // AcceptChannelHandshakeResponse
|
|
46
|
+
* // channelHandshakeDetail: { // AcceptChannelHandshakeDetail
|
|
47
|
+
* // id: "STRING_VALUE",
|
|
48
|
+
* // arn: "STRING_VALUE",
|
|
49
|
+
* // status: "PENDING" || "ACCEPTED" || "REJECTED" || "CANCELED" || "EXPIRED",
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param AcceptChannelHandshakeCommandInput - {@link AcceptChannelHandshakeCommandInput}
|
|
56
|
+
* @returns {@link AcceptChannelHandshakeCommandOutput}
|
|
57
|
+
* @see {@link AcceptChannelHandshakeCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link AcceptChannelHandshakeCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link PartnerCentralChannelClientResolvedConfig | config} for PartnerCentralChannelClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified resource was not found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was throttled due to too many requests being sent in a short period.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PartnerCentralChannelServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from PartnerCentralChannel service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @example Example for AcceptChannelHandshake
|
|
81
|
+
* ```javascript
|
|
82
|
+
* //
|
|
83
|
+
* const input = {
|
|
84
|
+
* catalog: "AWS",
|
|
85
|
+
* identifier: "ch-4fj3bd2o3vb91"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new AcceptChannelHandshakeCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* {
|
|
91
|
+
* channelHandshakeDetail: {
|
|
92
|
+
* arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/channel-handshake/ch-4fj3bd2o3vb91",
|
|
93
|
+
* id: "ch-4fj3bd2o3vb91",
|
|
94
|
+
* status: "ACCEPTED"
|
|
95
|
+
* }
|
|
96
|
+
* }
|
|
97
|
+
* *\/
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class AcceptChannelHandshakeCommand extends AcceptChannelHandshakeCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: AcceptChannelHandshakeRequest;
|
|
107
|
+
output: AcceptChannelHandshakeResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: AcceptChannelHandshakeCommandInput;
|
|
111
|
+
output: AcceptChannelHandshakeCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|