@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,106 @@
|
|
|
1
|
+
export declare const HandshakeStatus: {
|
|
2
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
3
|
+
readonly CANCELED: "CANCELED";
|
|
4
|
+
readonly EXPIRED: "EXPIRED";
|
|
5
|
+
readonly PENDING: "PENDING";
|
|
6
|
+
readonly REJECTED: "REJECTED";
|
|
7
|
+
};
|
|
8
|
+
export type HandshakeStatus =
|
|
9
|
+
(typeof HandshakeStatus)[keyof typeof HandshakeStatus];
|
|
10
|
+
export declare const ValidationExceptionReason: {
|
|
11
|
+
readonly BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED";
|
|
12
|
+
readonly REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED";
|
|
13
|
+
};
|
|
14
|
+
export type ValidationExceptionReason =
|
|
15
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
16
|
+
export declare const AssociationType: {
|
|
17
|
+
readonly DOWNSTREAM_SELLER: "DOWNSTREAM_SELLER";
|
|
18
|
+
readonly END_CUSTOMER: "END_CUSTOMER";
|
|
19
|
+
readonly INTERNAL: "INTERNAL";
|
|
20
|
+
};
|
|
21
|
+
export type AssociationType =
|
|
22
|
+
(typeof AssociationType)[keyof typeof AssociationType];
|
|
23
|
+
export declare const ServicePeriodType: {
|
|
24
|
+
readonly FIXED_COMMITMENT_PERIOD: "FIXED_COMMITMENT_PERIOD";
|
|
25
|
+
readonly MINIMUM_NOTICE_PERIOD: "MINIMUM_NOTICE_PERIOD";
|
|
26
|
+
};
|
|
27
|
+
export type ServicePeriodType =
|
|
28
|
+
(typeof ServicePeriodType)[keyof typeof ServicePeriodType];
|
|
29
|
+
export declare const HandshakeType: {
|
|
30
|
+
readonly PROGRAM_MANAGEMENT_ACCOUNT: "PROGRAM_MANAGEMENT_ACCOUNT";
|
|
31
|
+
readonly REVOKE_SERVICE_PERIOD: "REVOKE_SERVICE_PERIOD";
|
|
32
|
+
readonly START_SERVICE_PERIOD: "START_SERVICE_PERIOD";
|
|
33
|
+
};
|
|
34
|
+
export type HandshakeType = (typeof HandshakeType)[keyof typeof HandshakeType];
|
|
35
|
+
export declare const Program: {
|
|
36
|
+
readonly DISTRIBUTION: "DISTRIBUTION";
|
|
37
|
+
readonly DISTRIBUTION_SELLER: "DISTRIBUTION_SELLER";
|
|
38
|
+
readonly SOLUTION_PROVIDER: "SOLUTION_PROVIDER";
|
|
39
|
+
};
|
|
40
|
+
export type Program = (typeof Program)[keyof typeof Program];
|
|
41
|
+
export declare const ProgramManagementAccountTypeSortName: {
|
|
42
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
43
|
+
};
|
|
44
|
+
export type ProgramManagementAccountTypeSortName =
|
|
45
|
+
(typeof ProgramManagementAccountTypeSortName)[keyof typeof ProgramManagementAccountTypeSortName];
|
|
46
|
+
export declare const SortOrder: {
|
|
47
|
+
readonly ASCENDING: "Ascending";
|
|
48
|
+
readonly DESCENDING: "Descending";
|
|
49
|
+
};
|
|
50
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
51
|
+
export declare const RevokeServicePeriodTypeSortName: {
|
|
52
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
53
|
+
};
|
|
54
|
+
export type RevokeServicePeriodTypeSortName =
|
|
55
|
+
(typeof RevokeServicePeriodTypeSortName)[keyof typeof RevokeServicePeriodTypeSortName];
|
|
56
|
+
export declare const StartServicePeriodTypeSortName: {
|
|
57
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
58
|
+
};
|
|
59
|
+
export type StartServicePeriodTypeSortName =
|
|
60
|
+
(typeof StartServicePeriodTypeSortName)[keyof typeof StartServicePeriodTypeSortName];
|
|
61
|
+
export declare const ParticipantType: {
|
|
62
|
+
readonly RECEIVER: "RECEIVER";
|
|
63
|
+
readonly SENDER: "SENDER";
|
|
64
|
+
};
|
|
65
|
+
export type ParticipantType =
|
|
66
|
+
(typeof ParticipantType)[keyof typeof ParticipantType];
|
|
67
|
+
export declare const Coverage: {
|
|
68
|
+
readonly ENTIRE_ORGANIZATION: "ENTIRE_ORGANIZATION";
|
|
69
|
+
readonly MANAGEMENT_ACCOUNT_ONLY: "MANAGEMENT_ACCOUNT_ONLY";
|
|
70
|
+
};
|
|
71
|
+
export type Coverage = (typeof Coverage)[keyof typeof Coverage];
|
|
72
|
+
export declare const Provider: {
|
|
73
|
+
readonly DISTRIBUTION_SELLER: "DISTRIBUTION_SELLER";
|
|
74
|
+
readonly DISTRIBUTOR: "DISTRIBUTOR";
|
|
75
|
+
};
|
|
76
|
+
export type Provider = (typeof Provider)[keyof typeof Provider];
|
|
77
|
+
export declare const ResaleAccountModel: {
|
|
78
|
+
readonly DISTRIBUTOR: "DISTRIBUTOR";
|
|
79
|
+
readonly END_CUSTOMER: "END_CUSTOMER";
|
|
80
|
+
readonly SOLUTION_PROVIDER: "SOLUTION_PROVIDER";
|
|
81
|
+
};
|
|
82
|
+
export type ResaleAccountModel =
|
|
83
|
+
(typeof ResaleAccountModel)[keyof typeof ResaleAccountModel];
|
|
84
|
+
export declare const Sector: {
|
|
85
|
+
readonly COMMERCIAL: "COMMERCIAL";
|
|
86
|
+
readonly GOVERNMENT: "GOVERNMENT";
|
|
87
|
+
readonly GOVERNMENT_EXCEPTION: "GOVERNMENT_EXCEPTION";
|
|
88
|
+
};
|
|
89
|
+
export type Sector = (typeof Sector)[keyof typeof Sector];
|
|
90
|
+
export declare const ListProgramManagementAccountsSortName: {
|
|
91
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
92
|
+
};
|
|
93
|
+
export type ListProgramManagementAccountsSortName =
|
|
94
|
+
(typeof ListProgramManagementAccountsSortName)[keyof typeof ListProgramManagementAccountsSortName];
|
|
95
|
+
export declare const ProgramManagementAccountStatus: {
|
|
96
|
+
readonly ACTIVE: "ACTIVE";
|
|
97
|
+
readonly INACTIVE: "INACTIVE";
|
|
98
|
+
readonly PENDING: "PENDING";
|
|
99
|
+
};
|
|
100
|
+
export type ProgramManagementAccountStatus =
|
|
101
|
+
(typeof ProgramManagementAccountStatus)[keyof typeof ProgramManagementAccountStatus];
|
|
102
|
+
export declare const ListRelationshipsSortName: {
|
|
103
|
+
readonly UPDATED_AT: "UpdatedAt";
|
|
104
|
+
};
|
|
105
|
+
export type ListRelationshipsSortName =
|
|
106
|
+
(typeof ListRelationshipsSortName)[keyof typeof ListRelationshipsSortName];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { PartnerCentralChannelServiceException as __BaseException } from "./PartnerCentralChannelServiceException";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
reason?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class InternalServerException extends __BaseException {
|
|
14
|
+
readonly name: "InternalServerException";
|
|
15
|
+
readonly $fault: "server";
|
|
16
|
+
$retryable: {};
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
resourceId?: string | undefined;
|
|
25
|
+
resourceType?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ThrottlingException extends __BaseException {
|
|
31
|
+
readonly name: "ThrottlingException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
$retryable: {
|
|
34
|
+
throttling: boolean;
|
|
35
|
+
};
|
|
36
|
+
serviceCode?: string | undefined;
|
|
37
|
+
quotaCode?: string | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ValidationException extends __BaseException {
|
|
43
|
+
readonly name: "ValidationException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
reason: ValidationExceptionReason | undefined;
|
|
46
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
export declare class ConflictException extends __BaseException {
|
|
52
|
+
readonly name: "ConflictException";
|
|
53
|
+
readonly $fault: "client";
|
|
54
|
+
resourceId: string | undefined;
|
|
55
|
+
resourceType: string | undefined;
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
57
|
+
}
|
|
58
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
59
|
+
readonly name: "ServiceQuotaExceededException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
$retryable: {};
|
|
62
|
+
resourceId: string | undefined;
|
|
63
|
+
resourceType: string | undefined;
|
|
64
|
+
quotaCode: string | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|