@aws-sdk/client-partnercentral-selling 3.1172.0 → 3.1173.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
|
@@ -24,7 +24,7 @@ declare const ListEngagementFromOpportunityTasksCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account. </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,137 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEngagementGroupsRequest, ListEngagementGroupsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEngagementGroupsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEngagementGroupsCommandInput extends ListEngagementGroupsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEngagementGroupsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEngagementGroupsCommandOutput extends ListEngagementGroupsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEngagementGroupsCommand_base: {
|
|
22
|
+
new (input: ListEngagementGroupsCommandInput): import("@smithy/core/client").CommandImpl<ListEngagementGroupsCommandInput, ListEngagementGroupsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListEngagementGroupsCommandInput): import("@smithy/core/client").CommandImpl<ListEngagementGroupsCommandInput, ListEngagementGroupsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the active, fully curated AWS Partner Central engagement groups that are available to you in the specified catalog. An engagement group is a curated set of engagements that share common characteristics, such as customer geography, industry, or solution category. To retrieve the engagements in a group, pass the group <code>Id</code> to <code>SearchEngagements</code> as <code>GroupId</code>, and use <code>NextToken</code> to retrieve additional pages of groups.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, ListEngagementGroupsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, ListEngagementGroupsCommand } = 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 = { // ListEngagementGroupsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* ReadinessLevel: "SalesReady" || "MarketingReady" || "LowPotential",
|
|
39
|
+
* Sort: { // EngagementGroupSort
|
|
40
|
+
* SortBy: "Count" || "UpdatedAt", // required
|
|
41
|
+
* SortOrder: "ASCENDING" || "DESCENDING", // required
|
|
42
|
+
* },
|
|
43
|
+
* EngagementGroupIdentifiers: [ // EngagementGroupIdentifiers
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListEngagementGroupsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListEngagementGroupsResponse
|
|
52
|
+
* // EngagementGroupSummaries: [ // EngagementGroupSummaries
|
|
53
|
+
* // { // EngagementGroupSummary
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Arn: "STRING_VALUE",
|
|
56
|
+
* // Catalog: "STRING_VALUE",
|
|
57
|
+
* // Name: "STRING_VALUE",
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // Count: Number("int"),
|
|
60
|
+
* // ReadinessLevel: "SalesReady" || "MarketingReady" || "LowPotential",
|
|
61
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListEngagementGroupsCommandInput - {@link ListEngagementGroupsCommandInput}
|
|
70
|
+
* @returns {@link ListEngagementGroupsCommandOutput}
|
|
71
|
+
* @see {@link ListEngagementGroupsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListEngagementGroupsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <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>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <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>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @example List sales-ready engagement groups
|
|
92
|
+
* ```javascript
|
|
93
|
+
* // Returns the sales-ready engagement groups available in the AWS catalog, largest first.
|
|
94
|
+
* const input = {
|
|
95
|
+
* Catalog: "AWS",
|
|
96
|
+
* MaxResults: 10,
|
|
97
|
+
* ReadinessLevel: "SalesReady",
|
|
98
|
+
* Sort: {
|
|
99
|
+
* SortBy: "Count",
|
|
100
|
+
* SortOrder: "DESCENDING"
|
|
101
|
+
* }
|
|
102
|
+
* };
|
|
103
|
+
* const command = new ListEngagementGroupsCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* /* response is
|
|
106
|
+
* {
|
|
107
|
+
* EngagementGroupSummaries: [
|
|
108
|
+
* {
|
|
109
|
+
* Arn: "arn:aws:partnercentral:us-east-1::catalog/AWS/engagement-group/eng-grp-0a1b2c3d4e5f6g",
|
|
110
|
+
* Catalog: "AWS",
|
|
111
|
+
* Count: 42,
|
|
112
|
+
* Description: "Retail customers in the United States that are likely to adopt data analytics solutions.",
|
|
113
|
+
* Id: "eng-grp-0a1b2c3d4e5f6g",
|
|
114
|
+
* Name: "US retail data analytics",
|
|
115
|
+
* ReadinessLevel: "SalesReady",
|
|
116
|
+
* UpdatedAt: "2026-10-22T18:30:00Z"
|
|
117
|
+
* }
|
|
118
|
+
* ]
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class ListEngagementGroupsCommand extends ListEngagementGroupsCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: ListEngagementGroupsRequest;
|
|
130
|
+
output: ListEngagementGroupsResponse;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: ListEngagementGroupsCommandInput;
|
|
134
|
+
output: ListEngagementGroupsCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -42,7 +42,7 @@ declare const ListEngagementInvitationsCommand_base: {
|
|
|
42
42
|
* SortBy: "InvitationDate", // required
|
|
43
43
|
* },
|
|
44
44
|
* PayloadType: [ // EngagementInvitationsPayloadType
|
|
45
|
-
* "OpportunityInvitation" || "LeadInvitation",
|
|
45
|
+
* "OpportunityInvitation" || "LeadInvitation" || "AccountPlanningInvitation",
|
|
46
46
|
* ],
|
|
47
47
|
* ParticipantType: "SENDER" || "RECEIVER", // required
|
|
48
48
|
* Status: [ // InvitationStatusList
|
|
@@ -61,7 +61,7 @@ declare const ListEngagementInvitationsCommand_base: {
|
|
|
61
61
|
* // EngagementInvitationSummaries: [ // EngagementInvitationSummaries
|
|
62
62
|
* // { // EngagementInvitationSummary
|
|
63
63
|
* // Arn: "STRING_VALUE",
|
|
64
|
-
* // PayloadType: "OpportunityInvitation" || "LeadInvitation",
|
|
64
|
+
* // PayloadType: "OpportunityInvitation" || "LeadInvitation" || "AccountPlanningInvitation",
|
|
65
65
|
* // Id: "STRING_VALUE", // required
|
|
66
66
|
* // EngagementId: "STRING_VALUE",
|
|
67
67
|
* // EngagementTitle: "STRING_VALUE",
|
|
@@ -42,10 +42,10 @@ declare const ListEngagementsCommand_base: {
|
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* ContextTypes: [ // EngagementContextTypeList
|
|
45
|
-
* "CustomerProject" || "Lead" || "ProspectingResult",
|
|
45
|
+
* "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount",
|
|
46
46
|
* ],
|
|
47
47
|
* ExcludeContextTypes: [
|
|
48
|
-
* "CustomerProject" || "Lead" || "ProspectingResult",
|
|
48
|
+
* "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount",
|
|
49
49
|
* ],
|
|
50
50
|
* Sort: { // EngagementSort
|
|
51
51
|
* SortOrder: "ASCENDING" || "DESCENDING", // required
|
|
@@ -71,7 +71,7 @@ declare const ListEngagementsCommand_base: {
|
|
|
71
71
|
* // ModifiedAt: new Date("TIMESTAMP"),
|
|
72
72
|
* // ModifiedBy: "STRING_VALUE",
|
|
73
73
|
* // ContextTypes: [ // EngagementContextTypeList
|
|
74
|
-
* // "CustomerProject" || "Lead" || "ProspectingResult",
|
|
74
|
+
* // "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount",
|
|
75
75
|
* // ],
|
|
76
76
|
* // },
|
|
77
77
|
* // ],
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListOpportunityBulkJobResultsRequest, ListOpportunityBulkJobResultsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListOpportunityBulkJobResultsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListOpportunityBulkJobResultsCommandInput extends ListOpportunityBulkJobResultsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListOpportunityBulkJobResultsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListOpportunityBulkJobResultsCommandOutput extends ListOpportunityBulkJobResultsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListOpportunityBulkJobResultsCommand_base: {
|
|
22
|
+
new (input: ListOpportunityBulkJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListOpportunityBulkJobResultsCommandInput, ListOpportunityBulkJobResultsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListOpportunityBulkJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListOpportunityBulkJobResultsCommandInput, ListOpportunityBulkJobResultsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the outcome of each record in an opportunity bulk job. You can filter the results by record status.</p> <p>Results are paginated. Use <code>NextToken</code> to retrieve additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, ListOpportunityBulkJobResultsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, ListOpportunityBulkJobResultsCommand } = 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 = { // ListOpportunityBulkJobResultsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* JobId: "STRING_VALUE", // required
|
|
41
|
+
* Status: "SUCCEEDED" || "FAILED",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListOpportunityBulkJobResultsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListOpportunityBulkJobResultsResponse
|
|
46
|
+
* // Results: [ // BulkJobResultList // required
|
|
47
|
+
* // { // BulkJobResult
|
|
48
|
+
* // RequestId: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "SUCCEEDED" || "FAILED", // required
|
|
50
|
+
* // ResourceIdentifier: "STRING_VALUE",
|
|
51
|
+
* // ErrorCode: "STRING_VALUE",
|
|
52
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListOpportunityBulkJobResultsCommandInput - {@link ListOpportunityBulkJobResultsCommandInput}
|
|
61
|
+
* @returns {@link ListOpportunityBulkJobResultsCommandOutput}
|
|
62
|
+
* @see {@link ListOpportunityBulkJobResultsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListOpportunityBulkJobResultsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <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>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListOpportunityBulkJobResultsCommand extends ListOpportunityBulkJobResultsCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListOpportunityBulkJobResultsRequest;
|
|
92
|
+
output: ListOpportunityBulkJobResultsResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListOpportunityBulkJobResultsCommandInput;
|
|
96
|
+
output: ListOpportunityBulkJobResultsCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListOpportunityBulkJobsRequest, ListOpportunityBulkJobsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListOpportunityBulkJobsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListOpportunityBulkJobsCommandInput extends ListOpportunityBulkJobsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListOpportunityBulkJobsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListOpportunityBulkJobsCommandOutput extends ListOpportunityBulkJobsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListOpportunityBulkJobsCommand_base: {
|
|
22
|
+
new (input: ListOpportunityBulkJobsCommandInput): import("@smithy/core/client").CommandImpl<ListOpportunityBulkJobsCommandInput, ListOpportunityBulkJobsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListOpportunityBulkJobsCommandInput): import("@smithy/core/client").CommandImpl<ListOpportunityBulkJobsCommandInput, ListOpportunityBulkJobsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the opportunity bulk jobs in the specified catalog, newest first. You can filter the results by job identifier or status.</p> <p>Results are paginated. Use <code>NextToken</code> to retrieve additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, ListOpportunityBulkJobsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, ListOpportunityBulkJobsCommand } = 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 = { // ListOpportunityBulkJobsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* JobId: "STRING_VALUE",
|
|
41
|
+
* Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListOpportunityBulkJobsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListOpportunityBulkJobsResponse
|
|
46
|
+
* // OpportunityBulkJobSummaries: [ // OpportunityBulkJobSummaryList // required
|
|
47
|
+
* // { // OpportunityBulkJobSummary
|
|
48
|
+
* // JobId: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
50
|
+
* // TotalRecords: Number("int"), // required
|
|
51
|
+
* // ProcessedRecords: Number("int"), // required
|
|
52
|
+
* // SuccessCount: Number("int"), // required
|
|
53
|
+
* // FailureCount: Number("int"), // required
|
|
54
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // CompletedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // FailureReason: "STRING_VALUE",
|
|
58
|
+
* // FileName: "STRING_VALUE",
|
|
59
|
+
* // OperationType: "BULK_CREATE" || "BULK_UPDATE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListOpportunityBulkJobsCommandInput - {@link ListOpportunityBulkJobsCommandInput}
|
|
68
|
+
* @returns {@link ListOpportunityBulkJobsCommandOutput}
|
|
69
|
+
* @see {@link ListOpportunityBulkJobsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListOpportunityBulkJobsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <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>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <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>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListOpportunityBulkJobsCommand extends ListOpportunityBulkJobsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListOpportunityBulkJobsRequest;
|
|
99
|
+
output: ListOpportunityBulkJobsResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListOpportunityBulkJobsCommandInput;
|
|
103
|
+
output: ListOpportunityBulkJobsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const ListResourceSnapshotJobsCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>
|
|
27
|
+
* <p>Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters. </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,201 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { SearchCustomerAccountsRequest, SearchCustomerAccountsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link SearchCustomerAccountsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface SearchCustomerAccountsCommandInput extends SearchCustomerAccountsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link SearchCustomerAccountsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface SearchCustomerAccountsCommandOutput extends SearchCustomerAccountsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const SearchCustomerAccountsCommand_base: {
|
|
22
|
+
new (input: SearchCustomerAccountsCommandInput): import("@smithy/core/client").CommandImpl<SearchCustomerAccountsCommandInput, SearchCustomerAccountsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: SearchCustomerAccountsCommandInput): import("@smithy/core/client").CommandImpl<SearchCustomerAccountsCommandInput, SearchCustomerAccountsCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use <code>SearchCustomerAccounts</code> to find customer accounts in the specified catalog. You can filter the results by fields such as enrichment status, industry, geography, and creation date, and sort them by company name, date, or score.</p> <p>Results are paginated. Use <code>NextToken</code> to retrieve additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { PartnerCentralSellingClient, SearchCustomerAccountsCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
|
|
32
|
+
* // const { PartnerCentralSellingClient, SearchCustomerAccountsCommand } = 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 = { // SearchCustomerAccountsRequest
|
|
37
|
+
* Catalog: "STRING_VALUE", // required
|
|
38
|
+
* Filter: { // Filter
|
|
39
|
+
* AndAllFilters: [ // FilterList
|
|
40
|
+
* {
|
|
41
|
+
* AndAllFilters: [
|
|
42
|
+
* "<Filter>",
|
|
43
|
+
* ],
|
|
44
|
+
* OrAllFilters: [
|
|
45
|
+
* "<Filter>",
|
|
46
|
+
* ],
|
|
47
|
+
* NotFilter: "<Filter>",
|
|
48
|
+
* EqualsTo: { // FilterCondition
|
|
49
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
50
|
+
* Value: { // FilterValue Union: only one key present
|
|
51
|
+
* StringValue: "STRING_VALUE",
|
|
52
|
+
* StringListValue: [ // AccountFilterStringList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* LongValue: Number("long"),
|
|
56
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ContainsAny: {
|
|
60
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
61
|
+
* Value: {// Union: only one key present
|
|
62
|
+
* StringValue: "STRING_VALUE",
|
|
63
|
+
* StringListValue: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* LongValue: Number("long"),
|
|
67
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* ContainsAll: {
|
|
71
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
72
|
+
* Value: {// Union: only one key present
|
|
73
|
+
* StringValue: "STRING_VALUE",
|
|
74
|
+
* StringListValue: [
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* LongValue: Number("long"),
|
|
78
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* GreaterThan: {
|
|
82
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
83
|
+
* Value: {// Union: only one key present
|
|
84
|
+
* StringValue: "STRING_VALUE",
|
|
85
|
+
* StringListValue: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* LongValue: Number("long"),
|
|
89
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* GreaterThanOrEquals: {
|
|
93
|
+
* Key: "ENRICHMENT_STATUS" || "COMPANY_NAME" || "AWS_INDUSTRY" || "ACCOUNT_PLANNING_QUALIFICATION" || "PROGRAM_ELIGIBILITY" || "IMPORT_ID" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "GEO" || "COUNTRY" || "SEGMENT" || "SOLUTION_CATEGORY" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
94
|
+
* Value: {// Union: only one key present
|
|
95
|
+
* StringValue: "STRING_VALUE",
|
|
96
|
+
* StringListValue: [
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* LongValue: Number("long"),
|
|
100
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* LessThan: "<FilterCondition>",
|
|
104
|
+
* LessThanOrEquals: "<FilterCondition>",
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* OrAllFilters: [
|
|
108
|
+
* "<Filter>",
|
|
109
|
+
* ],
|
|
110
|
+
* NotFilter: "<Filter>",
|
|
111
|
+
* EqualsTo: "<FilterCondition>",
|
|
112
|
+
* ContainsAny: "<FilterCondition>",
|
|
113
|
+
* ContainsAll: "<FilterCondition>",
|
|
114
|
+
* GreaterThan: "<FilterCondition>",
|
|
115
|
+
* GreaterThanOrEquals: "<FilterCondition>",
|
|
116
|
+
* LessThan: "<FilterCondition>",
|
|
117
|
+
* LessThanOrEquals: "<FilterCondition>",
|
|
118
|
+
* },
|
|
119
|
+
* Sort: { // CustomerAccountSort
|
|
120
|
+
* SortBy: "COMPANY_NAME" || "CREATED_DATE" || "LAST_MODIFIED_DATE" || "MARKETPLACE_ENGAGEMENT_SCORE" || "SOLUTION_SCORE", // required
|
|
121
|
+
* SortOrder: "ASCENDING" || "DESCENDING", // required
|
|
122
|
+
* },
|
|
123
|
+
* MaxResults: Number("int"),
|
|
124
|
+
* NextToken: "STRING_VALUE",
|
|
125
|
+
* };
|
|
126
|
+
* const command = new SearchCustomerAccountsCommand(input);
|
|
127
|
+
* const response = await client.send(command);
|
|
128
|
+
* // { // SearchCustomerAccountsResponse
|
|
129
|
+
* // CustomerAccountSummaries: [ // CustomerAccountSummaryList // required
|
|
130
|
+
* // { // CustomerAccountSummary
|
|
131
|
+
* // Arn: "STRING_VALUE", // required
|
|
132
|
+
* // Id: "STRING_VALUE", // required
|
|
133
|
+
* // Catalog: "STRING_VALUE", // required
|
|
134
|
+
* // EnrichmentStatus: "PENDING" || "ENRICHED" || "NO_MATCH_FOUND" || "ACTION_REQUIRED", // required
|
|
135
|
+
* // PartnerAccountIdentifier: "STRING_VALUE",
|
|
136
|
+
* // CreatedDate: new Date("TIMESTAMP"), // required
|
|
137
|
+
* // LastModifiedDate: new Date("TIMESTAMP"), // required
|
|
138
|
+
* // CustomerAccount: { // CustomerAccountDetailsSummary
|
|
139
|
+
* // CompanyName: "STRING_VALUE", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // AwsEnrichment: { // AwsEnrichmentSummary
|
|
142
|
+
* // Customer: { // AwsEnrichmentCustomerSummary
|
|
143
|
+
* // Industry: "STRING_VALUE",
|
|
144
|
+
* // AccountPlanningQualification: "STRING_VALUE",
|
|
145
|
+
* // EligiblePrograms: [ // EligibleProgramList
|
|
146
|
+
* // "STRING_VALUE",
|
|
147
|
+
* // ],
|
|
148
|
+
* // Geo: "STRING_VALUE",
|
|
149
|
+
* // Country: "STRING_VALUE",
|
|
150
|
+
* // Segment: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // Insights: { // AwsEnrichmentInsightsSummary
|
|
153
|
+
* // MarketplaceEngagementScore: "STRING_VALUE",
|
|
154
|
+
* // SolutionCategory: "STRING_VALUE",
|
|
155
|
+
* // SolutionScore: "STRING_VALUE",
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // NextToken: "STRING_VALUE",
|
|
161
|
+
* // };
|
|
162
|
+
*
|
|
163
|
+
* ```
|
|
164
|
+
*
|
|
165
|
+
* @param SearchCustomerAccountsCommandInput - {@link SearchCustomerAccountsCommandInput}
|
|
166
|
+
* @returns {@link SearchCustomerAccountsCommandOutput}
|
|
167
|
+
* @see {@link SearchCustomerAccountsCommandInput} for command's `input` shape.
|
|
168
|
+
* @see {@link SearchCustomerAccountsCommandOutput} for command's `response` shape.
|
|
169
|
+
* @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
172
|
+
* <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>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link InternalServerException} (server fault)
|
|
175
|
+
* <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>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
178
|
+
* <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>
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link ValidationException} (client fault)
|
|
181
|
+
* <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>
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link PartnerCentralSellingServiceException}
|
|
184
|
+
* <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export declare class SearchCustomerAccountsCommand extends SearchCustomerAccountsCommand_base {
|
|
190
|
+
/** @internal type navigation helper, not in runtime. */
|
|
191
|
+
protected static __types: {
|
|
192
|
+
api: {
|
|
193
|
+
input: SearchCustomerAccountsRequest;
|
|
194
|
+
output: SearchCustomerAccountsResponse;
|
|
195
|
+
};
|
|
196
|
+
sdk: {
|
|
197
|
+
input: SearchCustomerAccountsCommandInput;
|
|
198
|
+
output: SearchCustomerAccountsCommandOutput;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
}
|