@aws-sdk/client-partnercentral-channel 3.1173.0 → 3.1174.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/README.md +28 -0
- package/dist-cjs/index.js +310 -21
- package/dist-es/PartnerCentralChannel.js +10 -0
- package/dist-es/commands/CancelChannelContractCommand.js +4 -0
- package/dist-es/commands/CreateChannelContractCommand.js +4 -0
- package/dist-es/commands/GetChannelContractCommand.js +4 -0
- package/dist-es/commands/ListChannelContractsCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +37 -4
- package/dist-es/pagination/ListChannelContractsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +219 -16
- package/dist-types/PartnerCentralChannel.d.ts +35 -0
- package/dist-types/PartnerCentralChannelClient.d.ts +6 -2
- package/dist-types/commands/CancelChannelContractCommand.d.ts +120 -0
- package/dist-types/commands/CreateChannelContractCommand.d.ts +172 -0
- package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +25 -1
- package/dist-types/commands/CreateRelationshipCommand.d.ts +30 -2
- package/dist-types/commands/GetChannelContractCommand.d.ts +220 -0
- package/dist-types/commands/GetRelationshipCommand.d.ts +36 -1
- package/dist-types/commands/ListChannelContractsCommand.d.ts +196 -0
- package/dist-types/commands/ListChannelHandshakesCommand.d.ts +2 -2
- package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +4 -2
- package/dist-types/commands/ListRelationshipsCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +19 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +93 -12
- package/dist-types/models/models_0.d.ts +750 -35
- package/dist-types/pagination/ListChannelContractsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +27 -0
- package/dist-types/ts3.4/PartnerCentralChannel.d.ts +75 -0
- package/dist-types/ts3.4/PartnerCentralChannelClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelChannelContractCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateChannelContractCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetChannelContractCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListChannelContractsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +48 -5
- package/dist-types/ts3.4/models/models_0.d.ts +222 -5
- package/dist-types/ts3.4/pagination/ListChannelContractsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetChannelContractRequest, GetChannelContractResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetChannelContractCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetChannelContractCommandInput extends GetChannelContractRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetChannelContractCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetChannelContractCommandOutput extends GetChannelContractResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetChannelContractCommand_base: {
|
|
22
|
+
new (input: GetChannelContractCommandInput): import("@smithy/core/client").CommandImpl<GetChannelContractCommandInput, GetChannelContractCommandOutput, import("..").PartnerCentralChannelClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetChannelContractCommandInput): import("@smithy/core/client").CommandImpl<GetChannelContractCommandInput, GetChannelContractCommandOutput, import("..").PartnerCentralChannelClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves details of a specific channel contract.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralChannelClient, GetChannelContractCommand } from "@aws-sdk/client-partnercentral-channel"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralChannelClient, GetChannelContractCommand } = require("@aws-sdk/client-partnercentral-channel"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralChannelClientConfig } from "@aws-sdk/client-partnercentral-channel";
|
|
34
|
+
* const config = {}; // type is PartnerCentralChannelClientConfig
|
|
35
|
+
* const client = new PartnerCentralChannelClient(config);
|
|
36
|
+
* const input = { // GetChannelContractRequest
|
|
37
|
+
* catalog: "STRING_VALUE", // required
|
|
38
|
+
* identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetChannelContractCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetChannelContractResponse
|
|
43
|
+
* // channelContractDetail: { // ChannelContractDetail
|
|
44
|
+
* // id: "STRING_VALUE", // required
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // catalog: "STRING_VALUE", // required
|
|
47
|
+
* // contractType: "MANAGED_SERVICES_ATTESTATION", // required
|
|
48
|
+
* // status: "PENDING" || "ACCEPTED" || "EXPIRED" || "CANCELED" || "INACTIVE", // required
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // respondedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // cancellationReason: "STRING_VALUE",
|
|
53
|
+
* // details: { // ChannelContractDetails Union: only one key present
|
|
54
|
+
* // managedServicesAttestationDetails: { // ManagedServicesAttestationDetails
|
|
55
|
+
* // legalEntityName: "STRING_VALUE", // required
|
|
56
|
+
* // relationshipIdentifier: "STRING_VALUE", // required
|
|
57
|
+
* // programManagementAccountIdentifier: "STRING_VALUE", // required
|
|
58
|
+
* // memberAccountIds: [ // MemberAccountIdList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // endDate: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // supportedServices: [ // ManagedServicesSupportedServiceList // required
|
|
63
|
+
* // "MONITORING" || "PATCHING" || "SECURITY" || "BACKUP_AND_DISASTER_RECOVERY" || "FINANCIAL_OPERATIONS" || "INFRASTRUCTURE_AS_CODE_AND_AUTOMATION" || "WELL_ARCHITECTED" || "ARTIFICIAL_INTELLIGENCE_AND_MACHINE_LEARNING_OPERATIONS",
|
|
64
|
+
* // ],
|
|
65
|
+
* // signatoryName: "STRING_VALUE", // required
|
|
66
|
+
* // signatoryEmail: "STRING_VALUE", // required
|
|
67
|
+
* // legalEntityAddress: { // Address
|
|
68
|
+
* // city: "STRING_VALUE", // required
|
|
69
|
+
* // stateOrRegion: "STRING_VALUE", // required
|
|
70
|
+
* // postalCode: "STRING_VALUE", // required
|
|
71
|
+
* // countryCode: "STRING_VALUE", // required
|
|
72
|
+
* // addressLine: "STRING_VALUE", // required
|
|
73
|
+
* // addressLine2: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param GetChannelContractCommandInput - {@link GetChannelContractCommandInput}
|
|
83
|
+
* @returns {@link GetChannelContractCommandOutput}
|
|
84
|
+
* @see {@link GetChannelContractCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link GetChannelContractCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link PartnerCentralChannelClientResolvedConfig | config} for PartnerCentralChannelClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerException} (server fault)
|
|
92
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>The specified resource was not found.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
98
|
+
* <p>The request was throttled due to too many requests being sent in a short period.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link PartnerCentralChannelServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from PartnerCentralChannel service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @example Example for GetChannelContract - MANAGED_SERVICES_ATTESTATION
|
|
108
|
+
* ```javascript
|
|
109
|
+
* //
|
|
110
|
+
* const input = {
|
|
111
|
+
* catalog: "AWS",
|
|
112
|
+
* identifier: "cc-4fj3bd2o3vb91"
|
|
113
|
+
* };
|
|
114
|
+
* const command = new GetChannelContractCommand(input);
|
|
115
|
+
* const response = await client.send(command);
|
|
116
|
+
* /* response is
|
|
117
|
+
* {
|
|
118
|
+
* channelContractDetail: {
|
|
119
|
+
* arn: "arn:aws:partnercentral:us-east-1:111122223333:catalog/AWS/channel-contract/cc-4fj3bd2o3vb91",
|
|
120
|
+
* catalog: "AWS",
|
|
121
|
+
* contractType: "MANAGED_SERVICES_ATTESTATION",
|
|
122
|
+
* createdAt: "2026-09-08T16:18:16.000Z",
|
|
123
|
+
* details: {
|
|
124
|
+
* managedServicesAttestationDetails: {
|
|
125
|
+
* endDate: "2027-03-31T00:00:00Z",
|
|
126
|
+
* legalEntityAddress: {
|
|
127
|
+
* addressLine: "123 Any Street",
|
|
128
|
+
* addressLine2: "Suite 100",
|
|
129
|
+
* city: "Anytown",
|
|
130
|
+
* countryCode: "US",
|
|
131
|
+
* postalCode: "98101",
|
|
132
|
+
* stateOrRegion: "WA"
|
|
133
|
+
* },
|
|
134
|
+
* legalEntityName: "Example Partner Corp",
|
|
135
|
+
* memberAccountIds: [
|
|
136
|
+
* "111122224444"
|
|
137
|
+
* ],
|
|
138
|
+
* programManagementAccountIdentifier: "pma-abcdef123456g",
|
|
139
|
+
* relationshipIdentifier: "rs-abc123def456g",
|
|
140
|
+
* signatoryEmail: "mary.major@example.com",
|
|
141
|
+
* signatoryName: "Mary Major",
|
|
142
|
+
* supportedServices: [
|
|
143
|
+
* "MONITORING",
|
|
144
|
+
* "SECURITY"
|
|
145
|
+
* ]
|
|
146
|
+
* }
|
|
147
|
+
* },
|
|
148
|
+
* id: "cc-4fj3bd2o3vb91",
|
|
149
|
+
* status: "PENDING",
|
|
150
|
+
* updatedAt: "2026-09-08T16:18:16.000Z"
|
|
151
|
+
* }
|
|
152
|
+
* }
|
|
153
|
+
* *\/
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @example Example for GetChannelContract - CANCELED
|
|
157
|
+
* ```javascript
|
|
158
|
+
* //
|
|
159
|
+
* const input = {
|
|
160
|
+
* catalog: "AWS",
|
|
161
|
+
* identifier: "cc-9xq4rt6w2zp81"
|
|
162
|
+
* };
|
|
163
|
+
* const command = new GetChannelContractCommand(input);
|
|
164
|
+
* const response = await client.send(command);
|
|
165
|
+
* /* response is
|
|
166
|
+
* {
|
|
167
|
+
* channelContractDetail: {
|
|
168
|
+
* arn: "arn:aws:partnercentral:us-east-1:111122223333:catalog/AWS/channel-contract/cc-9xq4rt6w2zp81",
|
|
169
|
+
* cancellationReason: "No longer providing managed services for this customer",
|
|
170
|
+
* catalog: "AWS",
|
|
171
|
+
* contractType: "MANAGED_SERVICES_ATTESTATION",
|
|
172
|
+
* createdAt: "2026-09-08T16:18:16.000Z",
|
|
173
|
+
* details: {
|
|
174
|
+
* managedServicesAttestationDetails: {
|
|
175
|
+
* endDate: "2027-03-31T00:00:00Z",
|
|
176
|
+
* legalEntityAddress: {
|
|
177
|
+
* addressLine: "123 Any Street",
|
|
178
|
+
* addressLine2: "Suite 100",
|
|
179
|
+
* city: "Anytown",
|
|
180
|
+
* countryCode: "US",
|
|
181
|
+
* postalCode: "98101",
|
|
182
|
+
* stateOrRegion: "WA"
|
|
183
|
+
* },
|
|
184
|
+
* legalEntityName: "Example Partner Corp",
|
|
185
|
+
* memberAccountIds: [
|
|
186
|
+
* "111122224444"
|
|
187
|
+
* ],
|
|
188
|
+
* programManagementAccountIdentifier: "pma-abcdef123456g",
|
|
189
|
+
* relationshipIdentifier: "rs-abc123def456g",
|
|
190
|
+
* signatoryEmail: "mary.major@example.com",
|
|
191
|
+
* signatoryName: "Mary Major",
|
|
192
|
+
* supportedServices: [
|
|
193
|
+
* "MONITORING",
|
|
194
|
+
* "SECURITY"
|
|
195
|
+
* ]
|
|
196
|
+
* }
|
|
197
|
+
* },
|
|
198
|
+
* id: "cc-9xq4rt6w2zp81",
|
|
199
|
+
* status: "CANCELED",
|
|
200
|
+
* updatedAt: "2026-09-10T09:30:00.000Z"
|
|
201
|
+
* }
|
|
202
|
+
* }
|
|
203
|
+
* *\/
|
|
204
|
+
* ```
|
|
205
|
+
*
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export declare class GetChannelContractCommand extends GetChannelContractCommand_base {
|
|
209
|
+
/** @internal type navigation helper, not in runtime. */
|
|
210
|
+
protected static __types: {
|
|
211
|
+
api: {
|
|
212
|
+
input: GetChannelContractRequest;
|
|
213
|
+
output: GetChannelContractResponse;
|
|
214
|
+
};
|
|
215
|
+
sdk: {
|
|
216
|
+
input: GetChannelContractCommandInput;
|
|
217
|
+
output: GetChannelContractCommandOutput;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
}
|
|
@@ -46,15 +46,18 @@ declare const GetRelationshipCommand_base: {
|
|
|
46
46
|
* // id: "STRING_VALUE",
|
|
47
47
|
* // revision: "STRING_VALUE",
|
|
48
48
|
* // catalog: "STRING_VALUE",
|
|
49
|
-
* // associationType: "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL",
|
|
49
|
+
* // associationType: "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL" || "MANAGED_SERVICES_END_CUSTOMER",
|
|
50
50
|
* // programManagementAccountId: "STRING_VALUE",
|
|
51
51
|
* // associatedAccountId: "STRING_VALUE",
|
|
52
52
|
* // displayName: "STRING_VALUE",
|
|
53
53
|
* // resaleAccountModel: "DISTRIBUTOR" || "END_CUSTOMER" || "SOLUTION_PROVIDER",
|
|
54
54
|
* // sector: "COMMERCIAL" || "GOVERNMENT" || "GOVERNMENT_EXCEPTION",
|
|
55
|
+
* // accountScope: "ENTIRE_ORGANIZATION" || "SPECIFIC_MEMBER_ACCOUNTS",
|
|
56
|
+
* // channelContractId: "STRING_VALUE",
|
|
55
57
|
* // createdAt: new Date("TIMESTAMP"),
|
|
56
58
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
57
59
|
* // startDate: new Date("TIMESTAMP"),
|
|
60
|
+
* // endDate: new Date("TIMESTAMP"),
|
|
58
61
|
* // },
|
|
59
62
|
* // };
|
|
60
63
|
*
|
|
@@ -114,6 +117,38 @@ declare const GetRelationshipCommand_base: {
|
|
|
114
117
|
* *\/
|
|
115
118
|
* ```
|
|
116
119
|
*
|
|
120
|
+
* @example Example for GetRelationship - MANAGED_SERVICES_END_CUSTOMER
|
|
121
|
+
* ```javascript
|
|
122
|
+
* //
|
|
123
|
+
* const input = {
|
|
124
|
+
* catalog: "AWS",
|
|
125
|
+
* identifier: "rs-abc123def456g",
|
|
126
|
+
* programManagementAccountIdentifier: "pma-abcdef123456g"
|
|
127
|
+
* };
|
|
128
|
+
* const command = new GetRelationshipCommand(input);
|
|
129
|
+
* const response = await client.send(command);
|
|
130
|
+
* /* response is
|
|
131
|
+
* {
|
|
132
|
+
* relationshipDetail: {
|
|
133
|
+
* accountScope: "ENTIRE_ORGANIZATION",
|
|
134
|
+
* arn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/program-management-account/pma-abcdef123456g/relationship/rs-abc123def456g",
|
|
135
|
+
* associatedAccountId: "987654321012",
|
|
136
|
+
* associationType: "MANAGED_SERVICES_END_CUSTOMER",
|
|
137
|
+
* channelContractId: "cc-4fj3bd2o3vb91",
|
|
138
|
+
* createdAt: "2026-09-08T16:18:16Z",
|
|
139
|
+
* displayName: "TestManagedCustomer",
|
|
140
|
+
* endDate: "2027-03-31T00:00:00Z",
|
|
141
|
+
* id: "rs-abc123def456g",
|
|
142
|
+
* programManagementAccountId: "pma-abcdef123456g",
|
|
143
|
+
* revision: "2",
|
|
144
|
+
* sector: "COMMERCIAL",
|
|
145
|
+
* startDate: "2026-10-01T00:00:00Z",
|
|
146
|
+
* updatedAt: "2026-09-10T09:30:00Z"
|
|
147
|
+
* }
|
|
148
|
+
* }
|
|
149
|
+
* *\/
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
117
152
|
* @public
|
|
118
153
|
*/
|
|
119
154
|
export declare class GetRelationshipCommand extends GetRelationshipCommand_base {
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListChannelContractsRequest, ListChannelContractsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListChannelContractsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListChannelContractsCommandInput extends ListChannelContractsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListChannelContractsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListChannelContractsCommandOutput extends ListChannelContractsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListChannelContractsCommand_base: {
|
|
22
|
+
new (input: ListChannelContractsCommandInput): import("@smithy/core/client").CommandImpl<ListChannelContractsCommandInput, ListChannelContractsCommandOutput, import("..").PartnerCentralChannelClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListChannelContractsCommandInput): import("@smithy/core/client").CommandImpl<ListChannelContractsCommandInput, ListChannelContractsCommandOutput, import("..").PartnerCentralChannelClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists channel contracts based on specified criteria.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralChannelClient, ListChannelContractsCommand } from "@aws-sdk/client-partnercentral-channel"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralChannelClient, ListChannelContractsCommand } = require("@aws-sdk/client-partnercentral-channel"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralChannelClientConfig } from "@aws-sdk/client-partnercentral-channel";
|
|
34
|
+
* const config = {}; // type is PartnerCentralChannelClientConfig
|
|
35
|
+
* const client = new PartnerCentralChannelClient(config);
|
|
36
|
+
* const input = { // ListChannelContractsRequest
|
|
37
|
+
* catalog: "STRING_VALUE", // required
|
|
38
|
+
* contractType: "MANAGED_SERVICES_ATTESTATION", // required
|
|
39
|
+
* statuses: [ // ChannelContractStatusFilterList
|
|
40
|
+
* "PENDING" || "ACCEPTED" || "EXPIRED" || "CANCELED" || "INACTIVE",
|
|
41
|
+
* ],
|
|
42
|
+
* contractTypeFilters: { // ListChannelContractsTypeFilters Union: only one key present
|
|
43
|
+
* managedServicesAttestationTypeFilters: { // ManagedServicesAttestationTypeFilters
|
|
44
|
+
* relationshipIdentifiers: [ // RelationshipIdentifierFilterList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* legalEntityNames: [ // ChannelContractLegalEntityNameFilterList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* contractTypeSort: { // ListChannelContractsTypeSort Union: only one key present
|
|
53
|
+
* managedServicesAttestationTypeSort: { // ManagedServicesAttestationTypeSort
|
|
54
|
+
* sortOrder: "Ascending" || "Descending", // required
|
|
55
|
+
* sortBy: "UpdatedAt", // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* maxResults: Number("int"),
|
|
59
|
+
* nextToken: "STRING_VALUE",
|
|
60
|
+
* };
|
|
61
|
+
* const command = new ListChannelContractsCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // ListChannelContractsResponse
|
|
64
|
+
* // items: [ // ChannelContractSummaries // required
|
|
65
|
+
* // { // ChannelContractSummary
|
|
66
|
+
* // id: "STRING_VALUE", // required
|
|
67
|
+
* // arn: "STRING_VALUE", // required
|
|
68
|
+
* // catalog: "STRING_VALUE", // required
|
|
69
|
+
* // contractType: "MANAGED_SERVICES_ATTESTATION", // required
|
|
70
|
+
* // status: "PENDING" || "ACCEPTED" || "EXPIRED" || "CANCELED" || "INACTIVE", // required
|
|
71
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
72
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
73
|
+
* // respondedAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // details: { // ChannelContractSummaryDetails Union: only one key present
|
|
75
|
+
* // managedServicesAttestationDetails: { // ManagedServicesAttestationSummaryDetails
|
|
76
|
+
* // legalEntityName: "STRING_VALUE", // required
|
|
77
|
+
* // relationshipIdentifier: "STRING_VALUE", // required
|
|
78
|
+
* // programManagementAccountIdentifier: "STRING_VALUE", // required
|
|
79
|
+
* // memberAccountIds: [ // MemberAccountIdList
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // endDate: new Date("TIMESTAMP"), // required
|
|
83
|
+
* // supportedServices: [ // ManagedServicesSupportedServiceList // required
|
|
84
|
+
* // "MONITORING" || "PATCHING" || "SECURITY" || "BACKUP_AND_DISASTER_RECOVERY" || "FINANCIAL_OPERATIONS" || "INFRASTRUCTURE_AS_CODE_AND_AUTOMATION" || "WELL_ARCHITECTED" || "ARTIFICIAL_INTELLIGENCE_AND_MACHINE_LEARNING_OPERATIONS",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // nextToken: "STRING_VALUE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param ListChannelContractsCommandInput - {@link ListChannelContractsCommandInput}
|
|
96
|
+
* @returns {@link ListChannelContractsCommandOutput}
|
|
97
|
+
* @see {@link ListChannelContractsCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link ListChannelContractsCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link PartnerCentralChannelClientResolvedConfig | config} for PartnerCentralChannelClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* <p>The request was denied due to insufficient permissions.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InternalServerException} (server fault)
|
|
105
|
+
* <p>An internal server error occurred while processing the request.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
+
* <p>The specified resource was not found.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
111
|
+
* <p>The request was throttled due to too many requests being sent in a short period.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ValidationException} (client fault)
|
|
114
|
+
* <p>The request failed validation due to invalid input parameters.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link PartnerCentralChannelServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from PartnerCentralChannel service.</p>
|
|
118
|
+
*
|
|
119
|
+
*
|
|
120
|
+
* @example Example for ListChannelContracts - MANAGED_SERVICES_ATTESTATION
|
|
121
|
+
* ```javascript
|
|
122
|
+
* //
|
|
123
|
+
* const input = {
|
|
124
|
+
* catalog: "AWS",
|
|
125
|
+
* contractType: "MANAGED_SERVICES_ATTESTATION",
|
|
126
|
+
* contractTypeFilters: {
|
|
127
|
+
* managedServicesAttestationTypeFilters: {
|
|
128
|
+
* legalEntityNames: [
|
|
129
|
+
* "Example Partner Corp"
|
|
130
|
+
* ],
|
|
131
|
+
* relationshipIdentifiers: [
|
|
132
|
+
* "rs-abc123def456g"
|
|
133
|
+
* ]
|
|
134
|
+
* }
|
|
135
|
+
* },
|
|
136
|
+
* contractTypeSort: {
|
|
137
|
+
* managedServicesAttestationTypeSort: {
|
|
138
|
+
* sortBy: "UpdatedAt",
|
|
139
|
+
* sortOrder: "Descending"
|
|
140
|
+
* }
|
|
141
|
+
* },
|
|
142
|
+
* maxResults: 20,
|
|
143
|
+
* statuses: [
|
|
144
|
+
* "PENDING"
|
|
145
|
+
* ]
|
|
146
|
+
* };
|
|
147
|
+
* const command = new ListChannelContractsCommand(input);
|
|
148
|
+
* const response = await client.send(command);
|
|
149
|
+
* /* response is
|
|
150
|
+
* {
|
|
151
|
+
* items: [
|
|
152
|
+
* {
|
|
153
|
+
* arn: "arn:aws:partnercentral:us-east-1:111122223333:catalog/AWS/channel-contract/cc-4fj3bd2o3vb91",
|
|
154
|
+
* catalog: "AWS",
|
|
155
|
+
* contractType: "MANAGED_SERVICES_ATTESTATION",
|
|
156
|
+
* createdAt: "2026-09-08T16:18:16.000Z",
|
|
157
|
+
* details: {
|
|
158
|
+
* managedServicesAttestationDetails: {
|
|
159
|
+
* endDate: "2027-03-31T00:00:00Z",
|
|
160
|
+
* legalEntityName: "Example Partner Corp",
|
|
161
|
+
* memberAccountIds: [
|
|
162
|
+
* "111122224444"
|
|
163
|
+
* ],
|
|
164
|
+
* programManagementAccountIdentifier: "pma-abcdef123456g",
|
|
165
|
+
* relationshipIdentifier: "rs-abc123def456g",
|
|
166
|
+
* supportedServices: [
|
|
167
|
+
* "MONITORING",
|
|
168
|
+
* "SECURITY"
|
|
169
|
+
* ]
|
|
170
|
+
* }
|
|
171
|
+
* },
|
|
172
|
+
* id: "cc-4fj3bd2o3vb91",
|
|
173
|
+
* status: "PENDING",
|
|
174
|
+
* updatedAt: "2026-09-08T16:18:16.000Z"
|
|
175
|
+
* }
|
|
176
|
+
* ],
|
|
177
|
+
* nextToken: "nextToken"
|
|
178
|
+
* }
|
|
179
|
+
* *\/
|
|
180
|
+
* ```
|
|
181
|
+
*
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export declare class ListChannelContractsCommand extends ListChannelContractsCommand_base {
|
|
185
|
+
/** @internal type navigation helper, not in runtime. */
|
|
186
|
+
protected static __types: {
|
|
187
|
+
api: {
|
|
188
|
+
input: ListChannelContractsRequest;
|
|
189
|
+
output: ListChannelContractsResponse;
|
|
190
|
+
};
|
|
191
|
+
sdk: {
|
|
192
|
+
input: ListChannelContractsCommandInput;
|
|
193
|
+
output: ListChannelContractsCommandOutput;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}
|
|
@@ -57,7 +57,7 @@ declare const ListChannelHandshakesCommand_base: {
|
|
|
57
57
|
* },
|
|
58
58
|
* programManagementAccountTypeFilters: { // ProgramManagementAccountTypeFilters
|
|
59
59
|
* programs: [ // ProgramList
|
|
60
|
-
* "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER",
|
|
60
|
+
* "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER" || "MANAGED_SERVICES_PROVIDER",
|
|
61
61
|
* ],
|
|
62
62
|
* },
|
|
63
63
|
* },
|
|
@@ -107,7 +107,7 @@ declare const ListChannelHandshakesCommand_base: {
|
|
|
107
107
|
* // endDate: new Date("TIMESTAMP"),
|
|
108
108
|
* // },
|
|
109
109
|
* // programManagementAccountHandshakeDetail: { // ProgramManagementAccountHandshakeDetail
|
|
110
|
-
* // program: "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER",
|
|
110
|
+
* // program: "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER" || "MANAGED_SERVICES_PROVIDER",
|
|
111
111
|
* // },
|
|
112
112
|
* // },
|
|
113
113
|
* // createdAt: new Date("TIMESTAMP"),
|
|
@@ -40,7 +40,7 @@ declare const ListProgramManagementAccountsCommand_base: {
|
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* programs: [ // ProgramList
|
|
43
|
-
* "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER",
|
|
43
|
+
* "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER" || "MANAGED_SERVICES_PROVIDER",
|
|
44
44
|
* ],
|
|
45
45
|
* accountIds: [ // AccountIdList
|
|
46
46
|
* "STRING_VALUE",
|
|
@@ -53,6 +53,7 @@ declare const ListProgramManagementAccountsCommand_base: {
|
|
|
53
53
|
* sortBy: "UpdatedAt", // required
|
|
54
54
|
* },
|
|
55
55
|
* nextToken: "STRING_VALUE",
|
|
56
|
+
* type: "RESALE_BILLING_TRANSFER" || "MANAGED_SERVICES",
|
|
56
57
|
* };
|
|
57
58
|
* const command = new ListProgramManagementAccountsCommand(input);
|
|
58
59
|
* const response = await client.send(command);
|
|
@@ -62,7 +63,7 @@ declare const ListProgramManagementAccountsCommand_base: {
|
|
|
62
63
|
* // id: "STRING_VALUE",
|
|
63
64
|
* // revision: "STRING_VALUE",
|
|
64
65
|
* // catalog: "STRING_VALUE",
|
|
65
|
-
* // program: "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER",
|
|
66
|
+
* // program: "SOLUTION_PROVIDER" || "DISTRIBUTION" || "DISTRIBUTION_SELLER" || "MANAGED_SERVICES_PROVIDER",
|
|
66
67
|
* // displayName: "STRING_VALUE",
|
|
67
68
|
* // accountId: "STRING_VALUE",
|
|
68
69
|
* // arn: "STRING_VALUE",
|
|
@@ -70,6 +71,7 @@ declare const ListProgramManagementAccountsCommand_base: {
|
|
|
70
71
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
71
72
|
* // startDate: new Date("TIMESTAMP"),
|
|
72
73
|
* // status: "PENDING" || "ACTIVE" || "INACTIVE",
|
|
74
|
+
* // type: "RESALE_BILLING_TRANSFER" || "MANAGED_SERVICES",
|
|
73
75
|
* // },
|
|
74
76
|
* // ],
|
|
75
77
|
* // nextToken: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ declare const ListRelationshipsCommand_base: {
|
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* associationTypes: [ // AssociationTypeList
|
|
43
|
-
* "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL",
|
|
43
|
+
* "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL" || "MANAGED_SERVICES_END_CUSTOMER",
|
|
44
44
|
* ],
|
|
45
45
|
* displayNames: [ // RelationshipDisplayNameList
|
|
46
46
|
* "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ declare const ListRelationshipsCommand_base: {
|
|
|
63
63
|
* // id: "STRING_VALUE",
|
|
64
64
|
* // revision: "STRING_VALUE",
|
|
65
65
|
* // catalog: "STRING_VALUE",
|
|
66
|
-
* // associationType: "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL",
|
|
66
|
+
* // associationType: "DOWNSTREAM_SELLER" || "END_CUSTOMER" || "INTERNAL" || "MANAGED_SERVICES_END_CUSTOMER",
|
|
67
67
|
* // programManagementAccountId: "STRING_VALUE",
|
|
68
68
|
* // associatedAccountId: "STRING_VALUE",
|
|
69
69
|
* // displayName: "STRING_VALUE",
|
|
@@ -95,6 +95,25 @@ declare const TagResourceCommand_base: {
|
|
|
95
95
|
* *\/
|
|
96
96
|
* ```
|
|
97
97
|
*
|
|
98
|
+
* @example Example for TagResource - ChannelContract
|
|
99
|
+
* ```javascript
|
|
100
|
+
* //
|
|
101
|
+
* const input = {
|
|
102
|
+
* resourceArn: "arn:aws:partnercentral:us-east-1:123456789012:catalog/AWS/channel-contract/cc-4fj3bd2o3vb91",
|
|
103
|
+
* tags: [
|
|
104
|
+
* {
|
|
105
|
+
* key: "ExampleKey",
|
|
106
|
+
* value: "ExampleValue"
|
|
107
|
+
* }
|
|
108
|
+
* ]
|
|
109
|
+
* };
|
|
110
|
+
* const command = new TagResourceCommand(input);
|
|
111
|
+
* const response = await client.send(command);
|
|
112
|
+
* /* response is
|
|
113
|
+
* { /* empty *\/ }
|
|
114
|
+
* *\/
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
98
117
|
* @public
|
|
99
118
|
*/
|
|
100
119
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
export * from "./AcceptChannelHandshakeCommand";
|
|
2
|
+
export * from "./CancelChannelContractCommand";
|
|
2
3
|
export * from "./CancelChannelHandshakeCommand";
|
|
4
|
+
export * from "./CreateChannelContractCommand";
|
|
3
5
|
export * from "./CreateChannelHandshakeCommand";
|
|
4
6
|
export * from "./CreateProgramManagementAccountCommand";
|
|
5
7
|
export * from "./CreateRelationshipCommand";
|
|
6
8
|
export * from "./DeleteProgramManagementAccountCommand";
|
|
7
9
|
export * from "./DeleteRelationshipCommand";
|
|
10
|
+
export * from "./GetChannelContractCommand";
|
|
8
11
|
export * from "./GetRelationshipCommand";
|
|
12
|
+
export * from "./ListChannelContractsCommand";
|
|
9
13
|
export * from "./ListChannelHandshakesCommand";
|
|
10
14
|
export * from "./ListProgramManagementAccountsCommand";
|
|
11
15
|
export * from "./ListRelationshipsCommand";
|