@aws-sdk/client-partnercentral-selling 3.1172.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 +126 -0
- package/dist-cjs/index.js +1380 -140
- package/dist-es/PartnerCentralSelling.js +52 -0
- package/dist-es/commands/CreateCustomerAccountCommand.js +4 -0
- package/dist-es/commands/DeleteCustomerAccountCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountBulkJobCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountBulkJobReportUrlCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountCommand.js +4 -0
- package/dist-es/commands/GetCustomerAccountStatisticsCommand.js +4 -0
- package/dist-es/commands/GetOpportunityBulkJobReportUrlCommand.js +4 -0
- package/dist-es/commands/ListCustomerAccountBulkJobResultsCommand.js +4 -0
- package/dist-es/commands/ListCustomerAccountBulkJobsCommand.js +4 -0
- package/dist-es/commands/ListEngagementGroupsCommand.js +4 -0
- package/dist-es/commands/ListOpportunityBulkJobResultsCommand.js +4 -0
- package/dist-es/commands/ListOpportunityBulkJobsCommand.js +4 -0
- package/dist-es/commands/SearchCustomerAccountsCommand.js +4 -0
- package/dist-es/commands/SearchEngagementsCommand.js +4 -0
- package/dist-es/commands/SearchOpportunitiesCommand.js +4 -0
- package/dist-es/commands/StartCustomerAccountBulkJobCommand.js +4 -0
- package/dist-es/commands/StartOpportunityBulkJobCommand.js +4 -0
- package/dist-es/commands/UpdateCustomerAccountCommand.js +4 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/models/enums.js +224 -7
- package/dist-es/pagination/ListCustomerAccountBulkJobResultsPaginator.js +4 -0
- package/dist-es/pagination/ListCustomerAccountBulkJobsPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListOpportunityBulkJobResultsPaginator.js +4 -0
- package/dist-es/pagination/ListOpportunityBulkJobsPaginator.js +4 -0
- package/dist-es/pagination/SearchCustomerAccountsPaginator.js +4 -0
- package/dist-es/pagination/SearchEngagementsPaginator.js +4 -0
- package/dist-es/pagination/SearchOpportunitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/schemas/schemas_0.js +914 -132
- package/dist-types/PartnerCentralSelling.d.ts +182 -0
- package/dist-types/PartnerCentralSellingClient.d.ts +20 -2
- package/dist-types/commands/CreateCustomerAccountCommand.d.ts +118 -0
- package/dist-types/commands/CreateEngagementCommand.d.ts +20 -1
- package/dist-types/commands/CreateEngagementContextCommand.d.ts +20 -1
- package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +24 -1
- package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomerAccountCommand.d.ts +82 -0
- package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +1 -1
- package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +1 -0
- package/dist-types/commands/GetCustomerAccountBulkJobCommand.d.ts +98 -0
- package/dist-types/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +95 -0
- package/dist-types/commands/GetCustomerAccountCommand.d.ts +149 -0
- package/dist-types/commands/GetCustomerAccountStatisticsCommand.d.ts +188 -0
- package/dist-types/commands/GetEngagementCommand.d.ts +20 -1
- package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -1
- package/dist-types/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +97 -0
- package/dist-types/commands/GetResourceSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +99 -0
- package/dist-types/commands/ListCustomerAccountBulkJobsCommand.d.ts +105 -0
- package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListEngagementGroupsCommand.d.ts +137 -0
- package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +2 -2
- package/dist-types/commands/ListEngagementsCommand.d.ts +3 -3
- package/dist-types/commands/ListOpportunityBulkJobResultsCommand.d.ts +99 -0
- package/dist-types/commands/ListOpportunityBulkJobsCommand.d.ts +106 -0
- package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCustomerAccountsCommand.d.ts +201 -0
- package/dist-types/commands/SearchEngagementsCommand.d.ts +331 -0
- package/dist-types/commands/SearchOpportunitiesCommand.d.ts +253 -0
- package/dist-types/commands/StartCustomerAccountBulkJobCommand.d.ts +94 -0
- package/dist-types/commands/StartOpportunityBulkJobCommand.d.ts +92 -0
- package/dist-types/commands/UpdateCustomerAccountCommand.d.ts +114 -0
- package/dist-types/commands/UpdateEngagementContextCommand.d.ts +11 -1
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/models/enums.d.ts +748 -16
- package/dist-types/models/errors.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +3776 -1130
- package/dist-types/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOpportunityBulkJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchCustomerAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchEngagementsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchOpportunitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/schemas/schemas_0.d.ts +104 -0
- package/dist-types/ts3.4/PartnerCentralSelling.d.ts +362 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +108 -0
- package/dist-types/ts3.4/commands/CreateCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCustomerAccountStatisticsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEngagementGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListOpportunityBulkJobResultsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOpportunityBulkJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchCustomerAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchEngagementsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchOpportunitiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartCustomerAccountBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartOpportunityBulkJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCustomerAccountCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/models/enums.d.ts +253 -9
- package/dist-types/ts3.4/models/models_0.d.ts +745 -11
- package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOpportunityBulkJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchCustomerAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchEngagementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchOpportunitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ declare const CreateEngagementContextCommand_base: {
|
|
|
37
37
|
* Catalog: "STRING_VALUE", // required
|
|
38
38
|
* EngagementIdentifier: "STRING_VALUE", // required
|
|
39
39
|
* ClientToken: "STRING_VALUE", // required
|
|
40
|
-
* Type: "CustomerProject" || "Lead" || "ProspectingResult", // required
|
|
40
|
+
* Type: "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount", // required
|
|
41
41
|
* Payload: { // EngagementContextPayload Union: only one key present
|
|
42
42
|
* CustomerProject: { // CustomerProjectsContext
|
|
43
43
|
* Customer: { // EngagementCustomer
|
|
@@ -55,6 +55,16 @@ declare const CreateEngagementContextCommand_base: {
|
|
|
55
55
|
* Lead: { // LeadContext
|
|
56
56
|
* Insights: { // LeadInsights
|
|
57
57
|
* LeadReadinessScore: "STRING_VALUE",
|
|
58
|
+
* ChannelRecommendation: { // ChannelRecommendation
|
|
59
|
+
* RecommendedChannel: "STRING_VALUE", // required
|
|
60
|
+
* BestOutreachWindows: [ // BestOutreachWindowList
|
|
61
|
+
* { // BestOutreachWindow
|
|
62
|
+
* Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
|
|
63
|
+
* StartTimeUtc: "STRING_VALUE", // required
|
|
64
|
+
* EndTimeUtc: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
58
68
|
* },
|
|
59
69
|
* QualificationStatus: "STRING_VALUE",
|
|
60
70
|
* Customer: { // LeadCustomer
|
|
@@ -119,6 +129,15 @@ declare const CreateEngagementContextCommand_base: {
|
|
|
119
129
|
* TaskName: "STRING_VALUE",
|
|
120
130
|
* },
|
|
121
131
|
* },
|
|
132
|
+
* CustomerAccount: { // CustomerAccountContext
|
|
133
|
+
* AccountIdentifier: "STRING_VALUE",
|
|
134
|
+
* Customer: { // AccountCustomer
|
|
135
|
+
* Industry: "STRING_VALUE",
|
|
136
|
+
* CompanyName: "STRING_VALUE", // required
|
|
137
|
+
* WebsiteUrl: "STRING_VALUE",
|
|
138
|
+
* CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
139
|
+
* },
|
|
140
|
+
* },
|
|
122
141
|
* },
|
|
123
142
|
* };
|
|
124
143
|
* const command = new CreateEngagementContextCommand(input);
|
|
@@ -24,7 +24,7 @@ declare const CreateEngagementInvitationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action creates an invitation from a sender to a single receiver to join an engagement.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -79,6 +79,7 @@ declare const CreateEngagementInvitationCommand_base: {
|
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
81
|
* },
|
|
82
|
+
* OpportunityType: "Net New Business" || "Flat Renewal" || "Expansion",
|
|
82
83
|
* },
|
|
83
84
|
* LeadInvitation: { // LeadInvitationPayload
|
|
84
85
|
* Customer: { // LeadInvitationCustomer
|
|
@@ -97,6 +98,28 @@ declare const CreateEngagementInvitationCommand_base: {
|
|
|
97
98
|
* ContactBusinessTitle: "STRING_VALUE", // required
|
|
98
99
|
* },
|
|
99
100
|
* },
|
|
101
|
+
* AccountPlanningInvitation: { // AccountPlanningInvitationPayload
|
|
102
|
+
* AccountIdentifier: "STRING_VALUE",
|
|
103
|
+
* Customer: { // AccountCustomer
|
|
104
|
+
* Industry: "STRING_VALUE",
|
|
105
|
+
* CompanyName: "STRING_VALUE", // required
|
|
106
|
+
* WebsiteUrl: "STRING_VALUE",
|
|
107
|
+
* CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
108
|
+
* },
|
|
109
|
+
* SenderContacts: [
|
|
110
|
+
* {
|
|
111
|
+
* Email: "STRING_VALUE", // required
|
|
112
|
+
* FirstName: "STRING_VALUE",
|
|
113
|
+
* LastName: "STRING_VALUE",
|
|
114
|
+
* BusinessTitle: "STRING_VALUE",
|
|
115
|
+
* Phone: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* ],
|
|
118
|
+
* PreferredContact: { // PreferredContactWindow
|
|
119
|
+
* Window: "MORNING" || "AFTERNOON" || "EVENING",
|
|
120
|
+
* Timezone: "STRING_VALUE",
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
100
123
|
* },
|
|
101
124
|
* },
|
|
102
125
|
* };
|
|
@@ -24,7 +24,7 @@ declare const CreateResourceSnapshotCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteCustomerAccountRequest, DeleteCustomerAccountResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteCustomerAccountCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteCustomerAccountCommandInput extends DeleteCustomerAccountRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteCustomerAccountCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteCustomerAccountCommandOutput extends DeleteCustomerAccountResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteCustomerAccountCommand_base: {
|
|
22
|
+
new (input: DeleteCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomerAccountCommandInput, DeleteCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomerAccountCommandInput, DeleteCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>DeleteCustomerAccount</code> to delete a customer account. This operation is idempotent. Deleting a customer account that was already deleted succeeds.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, DeleteCustomerAccountCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, DeleteCustomerAccountCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // DeleteCustomerAccountRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteCustomerAccountCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteCustomerAccountCommandInput - {@link DeleteCustomerAccountCommandInput}
|
|
47
|
+
* @returns {@link DeleteCustomerAccountCommandOutput}
|
|
48
|
+
* @see {@link DeleteCustomerAccountCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteCustomerAccountCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
59
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DeleteCustomerAccountCommand extends DeleteCustomerAccountCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DeleteCustomerAccountRequest;
|
|
75
|
+
output: {};
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DeleteCustomerAccountCommandInput;
|
|
79
|
+
output: DeleteCustomerAccountCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const DeleteResourceSnapshotJobCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Use this action to deletes a previously created resource snapshot job. The job must be in a stopped state before it can be deleted.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -178,6 +178,7 @@ declare const GetAwsOpportunitySummaryCommand_base: {
|
|
|
178
178
|
* // AwsPartition: "aws-eusc",
|
|
179
179
|
* // },
|
|
180
180
|
* // CosellMotion: "STRING_VALUE",
|
|
181
|
+
* // CosellMotionReason: "STRING_VALUE",
|
|
181
182
|
* // SoftwareRevenue: { // AwsSoftwareRevenue
|
|
182
183
|
* // Value: { // MonetaryValue
|
|
183
184
|
* // Amount: "STRING_VALUE", // required
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCustomerAccountBulkJobRequest, GetCustomerAccountBulkJobResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCustomerAccountBulkJobCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCustomerAccountBulkJobCommandInput extends GetCustomerAccountBulkJobRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCustomerAccountBulkJobCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCustomerAccountBulkJobCommandOutput extends GetCustomerAccountBulkJobResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCustomerAccountBulkJobCommand_base: {
|
|
22
|
+
new (input: GetCustomerAccountBulkJobCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountBulkJobCommandInput, GetCustomerAccountBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCustomerAccountBulkJobCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountBulkJobCommandInput, GetCustomerAccountBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>GetCustomerAccountBulkJob</code> to retrieve the status and record counts of a bulk job.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, GetCustomerAccountBulkJobCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, GetCustomerAccountBulkJobCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // GetCustomerAccountBulkJobRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCustomerAccountBulkJobCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCustomerAccountBulkJobResponse
|
|
43
|
+
* // Arn: "STRING_VALUE", // required
|
|
44
|
+
* // Id: "STRING_VALUE", // required
|
|
45
|
+
* // Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
46
|
+
* // FileName: "STRING_VALUE",
|
|
47
|
+
* // TotalRecords: Number("int"), // required
|
|
48
|
+
* // ProcessedRecords: Number("int"), // required
|
|
49
|
+
* // SuccessCount: Number("int"), // required
|
|
50
|
+
* // FailureCount: Number("int"), // required
|
|
51
|
+
* // DeletedCount: Number("int"), // required
|
|
52
|
+
* // FailureReason: "STRING_VALUE",
|
|
53
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // CompletedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetCustomerAccountBulkJobCommandInput - {@link GetCustomerAccountBulkJobCommandInput}
|
|
60
|
+
* @returns {@link GetCustomerAccountBulkJobCommandOutput}
|
|
61
|
+
* @see {@link GetCustomerAccountBulkJobCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetCustomerAccountBulkJobCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetCustomerAccountBulkJobCommand extends GetCustomerAccountBulkJobCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetCustomerAccountBulkJobRequest;
|
|
91
|
+
output: GetCustomerAccountBulkJobResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetCustomerAccountBulkJobCommandInput;
|
|
95
|
+
output: GetCustomerAccountBulkJobCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCustomerAccountBulkJobReportUrlRequest, GetCustomerAccountBulkJobReportUrlResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCustomerAccountBulkJobReportUrlCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCustomerAccountBulkJobReportUrlCommandInput extends GetCustomerAccountBulkJobReportUrlRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCustomerAccountBulkJobReportUrlCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCustomerAccountBulkJobReportUrlCommandOutput extends GetCustomerAccountBulkJobReportUrlResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCustomerAccountBulkJobReportUrlCommand_base: {
|
|
22
|
+
new (input: GetCustomerAccountBulkJobReportUrlCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountBulkJobReportUrlCommandInput, GetCustomerAccountBulkJobReportUrlCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCustomerAccountBulkJobReportUrlCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountBulkJobReportUrlCommandInput, GetCustomerAccountBulkJobReportUrlCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>GetCustomerAccountBulkJobReportUrl</code> to get a temporary URL for downloading the report of a bulk job, such as the list of records that failed. A report is available only after the job is <code>COMPLETED</code> or <code>FAILED</code>. For a job that is still running, the request fails with a <code>ConflictException</code>.</p> <p>The report is generated on request. If <code>ReportStatus</code> is not <code>AVAILABLE</code>, call the operation again later.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, GetCustomerAccountBulkJobReportUrlCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, GetCustomerAccountBulkJobReportUrlCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // GetCustomerAccountBulkJobReportUrlRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* ReportType: "FAILED_RECORDS" || "ALL_RECORDS",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetCustomerAccountBulkJobReportUrlCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetCustomerAccountBulkJobReportUrlResponse
|
|
44
|
+
* // ReportStatus: "NOT_STARTED" || "IN_PROGRESS" || "AVAILABLE" || "FAILED" || "EXPIRED", // required
|
|
45
|
+
* // ReportType: "FAILED_RECORDS" || "ALL_RECORDS", // required
|
|
46
|
+
* // Url: "STRING_VALUE",
|
|
47
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // FailureReason: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetCustomerAccountBulkJobReportUrlCommandInput - {@link GetCustomerAccountBulkJobReportUrlCommandInput}
|
|
54
|
+
* @returns {@link GetCustomerAccountBulkJobReportUrlCommandOutput}
|
|
55
|
+
* @see {@link GetCustomerAccountBulkJobReportUrlCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetCustomerAccountBulkJobReportUrlCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.</p> <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetCustomerAccountBulkJobReportUrlCommand extends GetCustomerAccountBulkJobReportUrlCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetCustomerAccountBulkJobReportUrlRequest;
|
|
88
|
+
output: GetCustomerAccountBulkJobReportUrlResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetCustomerAccountBulkJobReportUrlCommandInput;
|
|
92
|
+
output: GetCustomerAccountBulkJobReportUrlCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCustomerAccountRequest, GetCustomerAccountResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCustomerAccountCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCustomerAccountCommandInput extends GetCustomerAccountRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCustomerAccountCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCustomerAccountCommandOutput extends GetCustomerAccountResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCustomerAccountCommand_base: {
|
|
22
|
+
new (input: GetCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountCommandInput, GetCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<GetCustomerAccountCommandInput, GetCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>GetCustomerAccount</code> to retrieve the details of a customer account, including the customer information that you provided, the enrichment status, and the enrichment information that AWS provides when the status is <code>ENRICHED</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, GetCustomerAccountCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, GetCustomerAccountCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
|
|
33
|
+
* // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
|
|
34
|
+
* const config = {}; // type is PartnerCentralSellingClientConfig
|
|
35
|
+
* const client = new PartnerCentralSellingClient(config);
|
|
36
|
+
* const input = { // GetCustomerAccountRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCustomerAccountCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCustomerAccountResponse
|
|
43
|
+
* // Arn: "STRING_VALUE", // required
|
|
44
|
+
* // Id: "STRING_VALUE", // required
|
|
45
|
+
* // Catalog: "STRING_VALUE", // required
|
|
46
|
+
* // EnrichmentStatus: "PENDING" || "ENRICHED" || "NO_MATCH_FOUND" || "ACTION_REQUIRED", // required
|
|
47
|
+
* // PartnerAccountIdentifier: "STRING_VALUE",
|
|
48
|
+
* // CreatedDate: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // LastModifiedDate: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // Issues: [ // IssueList
|
|
51
|
+
* // { // Issue
|
|
52
|
+
* // Severity: "STRING_VALUE",
|
|
53
|
+
* // Code: "STRING_VALUE",
|
|
54
|
+
* // Message: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // AwsEnrichment: { // AwsEnrichment
|
|
58
|
+
* // Customer: { // AwsEnrichmentCustomer
|
|
59
|
+
* // AccountName: "STRING_VALUE",
|
|
60
|
+
* // Industry: "STRING_VALUE",
|
|
61
|
+
* // SubIndustry: "STRING_VALUE",
|
|
62
|
+
* // Sector: "STRING_VALUE",
|
|
63
|
+
* // Segment: "STRING_VALUE",
|
|
64
|
+
* // CompanySize: "STRING_VALUE",
|
|
65
|
+
* // Region: "STRING_VALUE",
|
|
66
|
+
* // SubRegion: "STRING_VALUE",
|
|
67
|
+
* // Geo: "STRING_VALUE",
|
|
68
|
+
* // Country: "STRING_VALUE",
|
|
69
|
+
* // CustomerAccountPlanningQualification: "STRING_VALUE",
|
|
70
|
+
* // EligiblePrograms: [ // EligibleProgramList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // Insights: { // AwsEnrichmentInsights
|
|
75
|
+
* // MarketplaceEngagementScore: "STRING_VALUE",
|
|
76
|
+
* // SolutionCategory: "STRING_VALUE",
|
|
77
|
+
* // SolutionScore: "STRING_VALUE",
|
|
78
|
+
* // SolutionSubCategory: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // ReasonCode: "DUPLICATE_CUSTOMER_MATCH" || "PROCESSING_ERROR",
|
|
82
|
+
* // Message: "STRING_VALUE",
|
|
83
|
+
* // ExistingCustomerAccountArn: "STRING_VALUE",
|
|
84
|
+
* // Account: { // CustomerAccountData
|
|
85
|
+
* // CompanyName: "STRING_VALUE", // required
|
|
86
|
+
* // WebsiteUrl: "STRING_VALUE",
|
|
87
|
+
* // Duns: "STRING_VALUE",
|
|
88
|
+
* // Address: { // Address
|
|
89
|
+
* // City: "STRING_VALUE",
|
|
90
|
+
* // PostalCode: "STRING_VALUE",
|
|
91
|
+
* // StateOrRegion: "STRING_VALUE",
|
|
92
|
+
* // CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
|
|
93
|
+
* // StreetAddress: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // Industry: "STRING_VALUE",
|
|
96
|
+
* // OtherIndustry: "STRING_VALUE",
|
|
97
|
+
* // Domain: "STRING_VALUE",
|
|
98
|
+
* // ParentCompanyName: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // Tags: [ // TagList
|
|
101
|
+
* // { // Tag
|
|
102
|
+
* // Key: "STRING_VALUE", // required
|
|
103
|
+
* // Value: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param GetCustomerAccountCommandInput - {@link GetCustomerAccountCommandInput}
|
|
111
|
+
* @returns {@link GetCustomerAccountCommandOutput}
|
|
112
|
+
* @see {@link GetCustomerAccountCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link GetCustomerAccountCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
117
|
+
* <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link InternalServerException} (server fault)
|
|
120
|
+
* <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
123
|
+
* <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
126
|
+
* <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ValidationException} (client fault)
|
|
129
|
+
* <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class GetCustomerAccountCommand extends GetCustomerAccountCommand_base {
|
|
138
|
+
/** @internal type navigation helper, not in runtime. */
|
|
139
|
+
protected static __types: {
|
|
140
|
+
api: {
|
|
141
|
+
input: GetCustomerAccountRequest;
|
|
142
|
+
output: GetCustomerAccountResponse;
|
|
143
|
+
};
|
|
144
|
+
sdk: {
|
|
145
|
+
input: GetCustomerAccountCommandInput;
|
|
146
|
+
output: GetCustomerAccountCommandOutput;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}
|