@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,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProgramManagementAccountRequest, UpdateProgramManagementAccountResponse } 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 UpdateProgramManagementAccountCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProgramManagementAccountCommandInput extends UpdateProgramManagementAccountRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProgramManagementAccountCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProgramManagementAccountCommandOutput extends UpdateProgramManagementAccountResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProgramManagementAccountCommand_base: {
|
|
25
|
+
new (input: UpdateProgramManagementAccountCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProgramManagementAccountCommandInput, UpdateProgramManagementAccountCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProgramManagementAccountCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProgramManagementAccountCommandInput, UpdateProgramManagementAccountCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the properties of a program management 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, UpdateProgramManagementAccountCommand } from "@aws-sdk/client-partnercentral-channel"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralChannelClient, UpdateProgramManagementAccountCommand } = 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 = { // UpdateProgramManagementAccountRequest
|
|
40
|
+
* catalog: "STRING_VALUE", // required
|
|
41
|
+
* identifier: "STRING_VALUE", // required
|
|
42
|
+
* revision: "STRING_VALUE",
|
|
43
|
+
* displayName: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateProgramManagementAccountCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // UpdateProgramManagementAccountResponse
|
|
48
|
+
* // programManagementAccountDetail: { // UpdateProgramManagementAccountDetail
|
|
49
|
+
* // id: "STRING_VALUE",
|
|
50
|
+
* // arn: "STRING_VALUE",
|
|
51
|
+
* // revision: "STRING_VALUE",
|
|
52
|
+
* // displayName: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param UpdateProgramManagementAccountCommandInput - {@link UpdateProgramManagementAccountCommandInput}
|
|
59
|
+
* @returns {@link UpdateProgramManagementAccountCommandOutput}
|
|
60
|
+
* @see {@link UpdateProgramManagementAccountCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link UpdateProgramManagementAccountCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link PartnerCentralChannelClientResolvedConfig | config} for PartnerCentralChannelClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource was not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was throttled due to too many requests being sent in a short period.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link PartnerCentralChannelServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from PartnerCentralChannel service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @example Example for UpdateProgramManagementAccount
|
|
87
|
+
* ```javascript
|
|
88
|
+
* //
|
|
89
|
+
* const input = {
|
|
90
|
+
* catalog: "AWS",
|
|
91
|
+
* displayName: "TestDisplayName",
|
|
92
|
+
* identifier: "pma-u8ic702rtzng8",
|
|
93
|
+
* revision: "3"
|
|
94
|
+
* };
|
|
95
|
+
* const command = new UpdateProgramManagementAccountCommand(input);
|
|
96
|
+
* const response = await client.send(command);
|
|
97
|
+
* /* response is
|
|
98
|
+
* {
|
|
99
|
+
* programManagementAccountDetail: {
|
|
100
|
+
* arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/program-management-account/pma-u8ic702rtzng8",
|
|
101
|
+
* displayName: "TestDisplayName",
|
|
102
|
+
* id: "pma-u8ic702rtzng8",
|
|
103
|
+
* revision: "4"
|
|
104
|
+
* }
|
|
105
|
+
* }
|
|
106
|
+
* *\/
|
|
107
|
+
* ```
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class UpdateProgramManagementAccountCommand extends UpdateProgramManagementAccountCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: UpdateProgramManagementAccountRequest;
|
|
116
|
+
output: UpdateProgramManagementAccountResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: UpdateProgramManagementAccountCommandInput;
|
|
120
|
+
output: UpdateProgramManagementAccountCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateRelationshipRequest, UpdateRelationshipResponse } 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 UpdateRelationshipCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRelationshipCommandInput extends UpdateRelationshipRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRelationshipCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRelationshipCommandOutput extends UpdateRelationshipResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateRelationshipCommand_base: {
|
|
25
|
+
new (input: UpdateRelationshipCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRelationshipCommandInput, UpdateRelationshipCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateRelationshipCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRelationshipCommandInput, UpdateRelationshipCommandOutput, PartnerCentralChannelClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the properties of a partner relationship.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PartnerCentralChannelClient, UpdateRelationshipCommand } from "@aws-sdk/client-partnercentral-channel"; // ES Modules import
|
|
35
|
+
* // const { PartnerCentralChannelClient, UpdateRelationshipCommand } = 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 = { // UpdateRelationshipRequest
|
|
40
|
+
* catalog: "STRING_VALUE", // required
|
|
41
|
+
* identifier: "STRING_VALUE", // required
|
|
42
|
+
* programManagementAccountIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* revision: "STRING_VALUE",
|
|
44
|
+
* displayName: "STRING_VALUE",
|
|
45
|
+
* requestedSupportPlan: { // SupportPlan Union: only one key present
|
|
46
|
+
* resoldBusiness: { // ResoldBusiness
|
|
47
|
+
* coverage: "ENTIRE_ORGANIZATION" || "MANAGEMENT_ACCOUNT_ONLY", // required
|
|
48
|
+
* },
|
|
49
|
+
* resoldEnterprise: { // ResoldEnterprise
|
|
50
|
+
* coverage: "ENTIRE_ORGANIZATION" || "MANAGEMENT_ACCOUNT_ONLY", // required
|
|
51
|
+
* tamLocation: "STRING_VALUE", // required
|
|
52
|
+
* chargeAccountId: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* partnerLedSupport: { // PartnerLedSupport
|
|
55
|
+
* coverage: "ENTIRE_ORGANIZATION" || "MANAGEMENT_ACCOUNT_ONLY", // required
|
|
56
|
+
* provider: "DISTRIBUTOR" || "DISTRIBUTION_SELLER",
|
|
57
|
+
* tamLocation: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* };
|
|
61
|
+
* const command = new UpdateRelationshipCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // UpdateRelationshipResponse
|
|
64
|
+
* // relationshipDetail: { // UpdateRelationshipDetail
|
|
65
|
+
* // arn: "STRING_VALUE",
|
|
66
|
+
* // id: "STRING_VALUE",
|
|
67
|
+
* // revision: "STRING_VALUE",
|
|
68
|
+
* // displayName: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param UpdateRelationshipCommandInput - {@link UpdateRelationshipCommandInput}
|
|
75
|
+
* @returns {@link UpdateRelationshipCommandOutput}
|
|
76
|
+
* @see {@link UpdateRelationshipCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link UpdateRelationshipCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link PartnerCentralChannelClientResolvedConfig | config} for PartnerCentralChannelClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ConflictException} (client fault)
|
|
84
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>The specified resource was not found.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was throttled due to too many requests being sent in a short period.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link PartnerCentralChannelServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from PartnerCentralChannel service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @example Example for UpdateRelationship
|
|
103
|
+
* ```javascript
|
|
104
|
+
* //
|
|
105
|
+
* const input = {
|
|
106
|
+
* catalog: "AWS",
|
|
107
|
+
* displayName: "TestDisplayName",
|
|
108
|
+
* identifier: "rs-l9o4fj3b5zb91",
|
|
109
|
+
* programManagementAccountIdentifier: "pma-u8ic702rtzng8",
|
|
110
|
+
* revision: "3"
|
|
111
|
+
* };
|
|
112
|
+
* const command = new UpdateRelationshipCommand(input);
|
|
113
|
+
* const response = await client.send(command);
|
|
114
|
+
* /* response is
|
|
115
|
+
* {
|
|
116
|
+
* relationshipDetail: {
|
|
117
|
+
* arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/program-management-account/pma-u8ic702rtzng8/relationship/rs-l9o4fj3b5zb91",
|
|
118
|
+
* displayName: "TestDisplayName",
|
|
119
|
+
* id: "rs-l9o4fj3b5zb91",
|
|
120
|
+
* revision: "4"
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
123
|
+
* *\/
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class UpdateRelationshipCommand extends UpdateRelationshipCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: UpdateRelationshipRequest;
|
|
133
|
+
output: UpdateRelationshipResponse;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: UpdateRelationshipCommandInput;
|
|
137
|
+
output: UpdateRelationshipCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "./AcceptChannelHandshakeCommand";
|
|
2
|
+
export * from "./CancelChannelHandshakeCommand";
|
|
3
|
+
export * from "./CreateChannelHandshakeCommand";
|
|
4
|
+
export * from "./CreateProgramManagementAccountCommand";
|
|
5
|
+
export * from "./CreateRelationshipCommand";
|
|
6
|
+
export * from "./DeleteProgramManagementAccountCommand";
|
|
7
|
+
export * from "./DeleteRelationshipCommand";
|
|
8
|
+
export * from "./GetRelationshipCommand";
|
|
9
|
+
export * from "./ListChannelHandshakesCommand";
|
|
10
|
+
export * from "./ListProgramManagementAccountsCommand";
|
|
11
|
+
export * from "./ListRelationshipsCommand";
|
|
12
|
+
export * from "./ListTagsForResourceCommand";
|
|
13
|
+
export * from "./RejectChannelHandshakeCommand";
|
|
14
|
+
export * from "./TagResourceCommand";
|
|
15
|
+
export * from "./UntagResourceCommand";
|
|
16
|
+
export * from "./UpdateProgramManagementAccountCommand";
|
|
17
|
+
export * from "./UpdateRelationshipCommand";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
11
|
+
defaultSigningName: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
14
|
+
export declare const commonParams: {
|
|
15
|
+
readonly UseFIPS: {
|
|
16
|
+
readonly type: "builtInParams";
|
|
17
|
+
readonly name: "useFipsEndpoint";
|
|
18
|
+
};
|
|
19
|
+
readonly Endpoint: {
|
|
20
|
+
readonly type: "builtInParams";
|
|
21
|
+
readonly name: "endpoint";
|
|
22
|
+
};
|
|
23
|
+
readonly Region: {
|
|
24
|
+
readonly type: "builtInParams";
|
|
25
|
+
readonly name: "region";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
+
UseFIPS?: boolean | undefined;
|
|
30
|
+
Endpoint?: string | undefined;
|
|
31
|
+
Region?: string | undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface PartnerCentralChannelExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>AWS Partner Central Channel service for managing partner relationships, handshakes, and program management accounts.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./PartnerCentralChannelClient";
|
|
7
|
+
export * from "./PartnerCentralChannel";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { PartnerCentralChannelExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
16
|
+
export { PartnerCentralChannelServiceException } from "./models/PartnerCentralChannelServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from PartnerCentralChannel service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PartnerCentralChannelServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const HandshakeStatus: {
|
|
6
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
7
|
+
readonly CANCELED: "CANCELED";
|
|
8
|
+
readonly EXPIRED: "EXPIRED";
|
|
9
|
+
readonly PENDING: "PENDING";
|
|
10
|
+
readonly REJECTED: "REJECTED";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type HandshakeStatus = (typeof HandshakeStatus)[keyof typeof HandshakeStatus];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const ValidationExceptionReason: {
|
|
21
|
+
readonly BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED";
|
|
22
|
+
readonly REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const AssociationType: {
|
|
33
|
+
readonly DOWNSTREAM_SELLER: "DOWNSTREAM_SELLER";
|
|
34
|
+
readonly END_CUSTOMER: "END_CUSTOMER";
|
|
35
|
+
readonly INTERNAL: "INTERNAL";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const ServicePeriodType: {
|
|
46
|
+
readonly FIXED_COMMITMENT_PERIOD: "FIXED_COMMITMENT_PERIOD";
|
|
47
|
+
readonly MINIMUM_NOTICE_PERIOD: "MINIMUM_NOTICE_PERIOD";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type ServicePeriodType = (typeof ServicePeriodType)[keyof typeof ServicePeriodType];
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* @enum
|
|
56
|
+
*/
|
|
57
|
+
export declare const HandshakeType: {
|
|
58
|
+
readonly PROGRAM_MANAGEMENT_ACCOUNT: "PROGRAM_MANAGEMENT_ACCOUNT";
|
|
59
|
+
readonly REVOKE_SERVICE_PERIOD: "REVOKE_SERVICE_PERIOD";
|
|
60
|
+
readonly START_SERVICE_PERIOD: "START_SERVICE_PERIOD";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type HandshakeType = (typeof HandshakeType)[keyof typeof HandshakeType];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const Program: {
|
|
71
|
+
readonly DISTRIBUTION: "DISTRIBUTION";
|
|
72
|
+
readonly DISTRIBUTION_SELLER: "DISTRIBUTION_SELLER";
|
|
73
|
+
readonly SOLUTION_PROVIDER: "SOLUTION_PROVIDER";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type Program = (typeof Program)[keyof typeof Program];
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @enum
|
|
82
|
+
*/
|
|
83
|
+
export declare const ProgramManagementAccountTypeSortName: {
|
|
84
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export type ProgramManagementAccountTypeSortName = (typeof ProgramManagementAccountTypeSortName)[keyof typeof ProgramManagementAccountTypeSortName];
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @enum
|
|
93
|
+
*/
|
|
94
|
+
export declare const SortOrder: {
|
|
95
|
+
readonly ASCENDING: "Ascending";
|
|
96
|
+
readonly DESCENDING: "Descending";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const RevokeServicePeriodTypeSortName: {
|
|
107
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type RevokeServicePeriodTypeSortName = (typeof RevokeServicePeriodTypeSortName)[keyof typeof RevokeServicePeriodTypeSortName];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const StartServicePeriodTypeSortName: {
|
|
118
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export type StartServicePeriodTypeSortName = (typeof StartServicePeriodTypeSortName)[keyof typeof StartServicePeriodTypeSortName];
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
* @enum
|
|
127
|
+
*/
|
|
128
|
+
export declare const ParticipantType: {
|
|
129
|
+
readonly RECEIVER: "RECEIVER";
|
|
130
|
+
readonly SENDER: "SENDER";
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export type ParticipantType = (typeof ParticipantType)[keyof typeof ParticipantType];
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @enum
|
|
139
|
+
*/
|
|
140
|
+
export declare const Coverage: {
|
|
141
|
+
readonly ENTIRE_ORGANIZATION: "ENTIRE_ORGANIZATION";
|
|
142
|
+
readonly MANAGEMENT_ACCOUNT_ONLY: "MANAGEMENT_ACCOUNT_ONLY";
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export type Coverage = (typeof Coverage)[keyof typeof Coverage];
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* @enum
|
|
151
|
+
*/
|
|
152
|
+
export declare const Provider: {
|
|
153
|
+
readonly DISTRIBUTION_SELLER: "DISTRIBUTION_SELLER";
|
|
154
|
+
readonly DISTRIBUTOR: "DISTRIBUTOR";
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @enum
|
|
163
|
+
*/
|
|
164
|
+
export declare const ResaleAccountModel: {
|
|
165
|
+
readonly DISTRIBUTOR: "DISTRIBUTOR";
|
|
166
|
+
readonly END_CUSTOMER: "END_CUSTOMER";
|
|
167
|
+
readonly SOLUTION_PROVIDER: "SOLUTION_PROVIDER";
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export type ResaleAccountModel = (typeof ResaleAccountModel)[keyof typeof ResaleAccountModel];
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* @enum
|
|
176
|
+
*/
|
|
177
|
+
export declare const Sector: {
|
|
178
|
+
readonly COMMERCIAL: "COMMERCIAL";
|
|
179
|
+
readonly GOVERNMENT: "GOVERNMENT";
|
|
180
|
+
readonly GOVERNMENT_EXCEPTION: "GOVERNMENT_EXCEPTION";
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export type Sector = (typeof Sector)[keyof typeof Sector];
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
* @enum
|
|
189
|
+
*/
|
|
190
|
+
export declare const ListProgramManagementAccountsSortName: {
|
|
191
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export type ListProgramManagementAccountsSortName = (typeof ListProgramManagementAccountsSortName)[keyof typeof ListProgramManagementAccountsSortName];
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* @enum
|
|
200
|
+
*/
|
|
201
|
+
export declare const ProgramManagementAccountStatus: {
|
|
202
|
+
readonly ACTIVE: "ACTIVE";
|
|
203
|
+
readonly INACTIVE: "INACTIVE";
|
|
204
|
+
readonly PENDING: "PENDING";
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
export type ProgramManagementAccountStatus = (typeof ProgramManagementAccountStatus)[keyof typeof ProgramManagementAccountStatus];
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* @enum
|
|
213
|
+
*/
|
|
214
|
+
export declare const ListRelationshipsSortName: {
|
|
215
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type ListRelationshipsSortName = (typeof ListRelationshipsSortName)[keyof typeof ListRelationshipsSortName];
|