@aws-sdk/client-partnercentral-selling 3.699.0 → 3.709.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.
Files changed (153) hide show
  1. package/README.md +206 -45
  2. package/dist-cjs/PartnerCentralSelling.js +42 -0
  3. package/dist-cjs/commands/AcceptEngagementInvitationCommand.js +26 -0
  4. package/dist-cjs/commands/CreateEngagementCommand.js +27 -0
  5. package/dist-cjs/commands/CreateEngagementInvitationCommand.js +27 -0
  6. package/dist-cjs/commands/CreateResourceSnapshotCommand.js +26 -0
  7. package/dist-cjs/commands/CreateResourceSnapshotJobCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteResourceSnapshotJobCommand.js +26 -0
  9. package/dist-cjs/commands/GetEngagementCommand.js +27 -0
  10. package/dist-cjs/commands/GetResourceSnapshotCommand.js +27 -0
  11. package/dist-cjs/commands/GetResourceSnapshotJobCommand.js +26 -0
  12. package/dist-cjs/commands/GetSellingSystemSettingsCommand.js +26 -0
  13. package/dist-cjs/commands/ListEngagementByAcceptingInvitationTasksCommand.js +26 -0
  14. package/dist-cjs/commands/ListEngagementFromOpportunityTasksCommand.js +26 -0
  15. package/dist-cjs/commands/ListEngagementInvitationsCommand.js +1 -1
  16. package/dist-cjs/commands/ListEngagementMembersCommand.js +27 -0
  17. package/dist-cjs/commands/ListEngagementResourceAssociationsCommand.js +27 -0
  18. package/dist-cjs/commands/ListEngagementsCommand.js +27 -0
  19. package/dist-cjs/commands/ListResourceSnapshotJobsCommand.js +26 -0
  20. package/dist-cjs/commands/ListResourceSnapshotsCommand.js +27 -0
  21. package/dist-cjs/commands/PutSellingSystemSettingsCommand.js +26 -0
  22. package/dist-cjs/commands/StartResourceSnapshotJobCommand.js +26 -0
  23. package/dist-cjs/commands/StopResourceSnapshotJobCommand.js +26 -0
  24. package/dist-cjs/commands/SubmitOpportunityCommand.js +26 -0
  25. package/dist-cjs/commands/index.js +21 -0
  26. package/dist-cjs/models/models_0.js +281 -87
  27. package/dist-cjs/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +7 -0
  28. package/dist-cjs/pagination/ListEngagementFromOpportunityTasksPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListEngagementMembersPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListEngagementResourceAssociationsPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListEngagementsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListResourceSnapshotJobsPaginator.js +7 -0
  33. package/dist-cjs/pagination/ListResourceSnapshotsPaginator.js +7 -0
  34. package/dist-cjs/pagination/index.js +7 -0
  35. package/dist-cjs/protocols/Aws_json1_0.js +599 -1
  36. package/dist-es/PartnerCentralSelling.js +42 -0
  37. package/dist-es/commands/AcceptEngagementInvitationCommand.js +22 -0
  38. package/dist-es/commands/CreateEngagementCommand.js +23 -0
  39. package/dist-es/commands/CreateEngagementInvitationCommand.js +23 -0
  40. package/dist-es/commands/CreateResourceSnapshotCommand.js +22 -0
  41. package/dist-es/commands/CreateResourceSnapshotJobCommand.js +22 -0
  42. package/dist-es/commands/DeleteResourceSnapshotJobCommand.js +22 -0
  43. package/dist-es/commands/GetEngagementCommand.js +23 -0
  44. package/dist-es/commands/GetResourceSnapshotCommand.js +23 -0
  45. package/dist-es/commands/GetResourceSnapshotJobCommand.js +22 -0
  46. package/dist-es/commands/GetSellingSystemSettingsCommand.js +22 -0
  47. package/dist-es/commands/ListEngagementByAcceptingInvitationTasksCommand.js +22 -0
  48. package/dist-es/commands/ListEngagementFromOpportunityTasksCommand.js +22 -0
  49. package/dist-es/commands/ListEngagementInvitationsCommand.js +2 -2
  50. package/dist-es/commands/ListEngagementMembersCommand.js +23 -0
  51. package/dist-es/commands/ListEngagementResourceAssociationsCommand.js +23 -0
  52. package/dist-es/commands/ListEngagementsCommand.js +23 -0
  53. package/dist-es/commands/ListResourceSnapshotJobsCommand.js +22 -0
  54. package/dist-es/commands/ListResourceSnapshotsCommand.js +23 -0
  55. package/dist-es/commands/PutSellingSystemSettingsCommand.js +22 -0
  56. package/dist-es/commands/StartResourceSnapshotJobCommand.js +22 -0
  57. package/dist-es/commands/StopResourceSnapshotJobCommand.js +22 -0
  58. package/dist-es/commands/SubmitOpportunityCommand.js +22 -0
  59. package/dist-es/commands/index.js +21 -0
  60. package/dist-es/models/models_0.js +249 -81
  61. package/dist-es/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +4 -0
  62. package/dist-es/pagination/ListEngagementFromOpportunityTasksPaginator.js +4 -0
  63. package/dist-es/pagination/ListEngagementMembersPaginator.js +4 -0
  64. package/dist-es/pagination/ListEngagementResourceAssociationsPaginator.js +4 -0
  65. package/dist-es/pagination/ListEngagementsPaginator.js +4 -0
  66. package/dist-es/pagination/ListResourceSnapshotJobsPaginator.js +4 -0
  67. package/dist-es/pagination/ListResourceSnapshotsPaginator.js +4 -0
  68. package/dist-es/pagination/index.js +7 -0
  69. package/dist-es/protocols/Aws_json1_0.js +556 -1
  70. package/dist-types/PartnerCentralSelling.d.ts +182 -42
  71. package/dist-types/PartnerCentralSellingClient.d.ts +58 -44
  72. package/dist-types/commands/AcceptEngagementInvitationCommand.d.ts +103 -0
  73. package/dist-types/commands/AssignOpportunityCommand.d.ts +27 -32
  74. package/dist-types/commands/AssociateOpportunityCommand.d.ts +40 -46
  75. package/dist-types/commands/CreateEngagementCommand.d.ts +136 -0
  76. package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +158 -0
  77. package/dist-types/commands/CreateOpportunityCommand.d.ts +40 -46
  78. package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +117 -0
  79. package/dist-types/commands/CreateResourceSnapshotJobCommand.d.ts +119 -0
  80. package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +96 -0
  81. package/dist-types/commands/DisassociateOpportunityCommand.d.ts +29 -34
  82. package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +24 -28
  83. package/dist-types/commands/GetEngagementCommand.d.ts +124 -0
  84. package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -24
  85. package/dist-types/commands/GetOpportunityCommand.d.ts +24 -29
  86. package/dist-types/commands/GetResourceSnapshotCommand.d.ts +186 -0
  87. package/dist-types/commands/GetResourceSnapshotJobCommand.d.ts +109 -0
  88. package/dist-types/commands/GetSellingSystemSettingsCommand.d.ts +95 -0
  89. package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +128 -0
  90. package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +129 -0
  91. package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +34 -25
  92. package/dist-types/commands/ListEngagementMembersCommand.d.ts +109 -0
  93. package/dist-types/commands/ListEngagementResourceAssociationsCommand.d.ts +112 -0
  94. package/dist-types/commands/ListEngagementsCommand.d.ts +123 -0
  95. package/dist-types/commands/ListOpportunitiesCommand.d.ts +35 -39
  96. package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +108 -0
  97. package/dist-types/commands/ListResourceSnapshotsCommand.d.ts +113 -0
  98. package/dist-types/commands/ListSolutionsCommand.d.ts +20 -20
  99. package/dist-types/commands/PutSellingSystemSettingsCommand.d.ts +96 -0
  100. package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +22 -27
  101. package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +37 -35
  102. package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +37 -35
  103. package/dist-types/commands/StartResourceSnapshotJobCommand.d.ts +95 -0
  104. package/dist-types/commands/StopResourceSnapshotJobCommand.d.ts +95 -0
  105. package/dist-types/commands/SubmitOpportunityCommand.d.ts +106 -0
  106. package/dist-types/commands/UpdateOpportunityCommand.d.ts +33 -35
  107. package/dist-types/commands/index.d.ts +21 -0
  108. package/dist-types/index.d.ts +35 -42
  109. package/dist-types/models/models_0.d.ts +4764 -2209
  110. package/dist-types/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListEngagementMembersPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListEngagementResourceAssociationsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListEngagementsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListResourceSnapshotJobsPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListResourceSnapshotsPaginator.d.ts +7 -0
  117. package/dist-types/pagination/index.d.ts +7 -0
  118. package/dist-types/protocols/Aws_json1_0.d.ts +189 -0
  119. package/dist-types/ts3.4/PartnerCentralSelling.d.ts +375 -0
  120. package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +126 -0
  121. package/dist-types/ts3.4/commands/AcceptEngagementInvitationCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/CreateEngagementCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/CreateEngagementInvitationCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/CreateResourceSnapshotCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/CreateResourceSnapshotJobCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/DeleteResourceSnapshotJobCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/GetEngagementCommand.d.ts +50 -0
  128. package/dist-types/ts3.4/commands/GetResourceSnapshotCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/GetResourceSnapshotJobCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/GetSellingSystemSettingsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/ListEngagementFromOpportunityTasksCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/ListEngagementMembersCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ListEngagementResourceAssociationsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +50 -0
  136. package/dist-types/ts3.4/commands/ListResourceSnapshotJobsCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/ListResourceSnapshotsCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/PutSellingSystemSettingsCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/StartResourceSnapshotJobCommand.d.ts +47 -0
  140. package/dist-types/ts3.4/commands/StopResourceSnapshotJobCommand.d.ts +47 -0
  141. package/dist-types/ts3.4/commands/SubmitOpportunityCommand.d.ts +46 -0
  142. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  143. package/dist-types/ts3.4/models/models_0.d.ts +587 -86
  144. package/dist-types/ts3.4/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +11 -0
  145. package/dist-types/ts3.4/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListEngagementMembersPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListEngagementResourceAssociationsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListResourceSnapshotJobsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListResourceSnapshotsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  152. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +252 -0
  153. package/package.json +35 -35
@@ -13,6 +13,75 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
+ export class InternalServerException extends __BaseException {
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ this.name = "InternalServerException";
24
+ this.$fault = "server";
25
+ Object.setPrototypeOf(this, InternalServerException.prototype);
26
+ this.Message = opts.Message;
27
+ }
28
+ }
29
+ export class ResourceNotFoundException extends __BaseException {
30
+ constructor(opts) {
31
+ super({
32
+ name: "ResourceNotFoundException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ this.name = "ResourceNotFoundException";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
39
+ this.Message = opts.Message;
40
+ }
41
+ }
42
+ export class ThrottlingException extends __BaseException {
43
+ constructor(opts) {
44
+ super({
45
+ name: "ThrottlingException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ this.name = "ThrottlingException";
50
+ this.$fault = "client";
51
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
52
+ this.Message = opts.Message;
53
+ }
54
+ }
55
+ export const ValidationExceptionErrorCode = {
56
+ ACTION_NOT_PERMITTED: "ACTION_NOT_PERMITTED",
57
+ DUPLICATE_KEY_VALUE: "DUPLICATE_KEY_VALUE",
58
+ INVALID_ENUM_VALUE: "INVALID_ENUM_VALUE",
59
+ INVALID_RESOURCE_STATE: "INVALID_RESOURCE_STATE",
60
+ INVALID_STRING_FORMAT: "INVALID_STRING_FORMAT",
61
+ INVALID_VALUE: "INVALID_VALUE",
62
+ REQUIRED_FIELD_MISSING: "REQUIRED_FIELD_MISSING",
63
+ TOO_MANY_VALUES: "TOO_MANY_VALUES",
64
+ VALUE_OUT_OF_RANGE: "VALUE_OUT_OF_RANGE",
65
+ };
66
+ export const ValidationExceptionReason = {
67
+ BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED",
68
+ REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED",
69
+ };
70
+ export class ValidationException extends __BaseException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "ValidationException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ this.name = "ValidationException";
78
+ this.$fault = "client";
79
+ Object.setPrototypeOf(this, ValidationException.prototype);
80
+ this.Message = opts.Message;
81
+ this.Reason = opts.Reason;
82
+ this.ErrorList = opts.ErrorList;
83
+ }
84
+ }
16
85
  export const CountryCode = {
17
86
  AD: "AD",
18
87
  AE: "AE",
@@ -294,75 +363,6 @@ export const Industry = {
294
363
  TRAVEL: "Travel",
295
364
  WHOLESALE_DISTRIBUTION: "Wholesale and Distribution",
296
365
  };
297
- export class InternalServerException extends __BaseException {
298
- constructor(opts) {
299
- super({
300
- name: "InternalServerException",
301
- $fault: "server",
302
- ...opts,
303
- });
304
- this.name = "InternalServerException";
305
- this.$fault = "server";
306
- Object.setPrototypeOf(this, InternalServerException.prototype);
307
- this.Message = opts.Message;
308
- }
309
- }
310
- export class ResourceNotFoundException extends __BaseException {
311
- constructor(opts) {
312
- super({
313
- name: "ResourceNotFoundException",
314
- $fault: "client",
315
- ...opts,
316
- });
317
- this.name = "ResourceNotFoundException";
318
- this.$fault = "client";
319
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
320
- this.Message = opts.Message;
321
- }
322
- }
323
- export class ThrottlingException extends __BaseException {
324
- constructor(opts) {
325
- super({
326
- name: "ThrottlingException",
327
- $fault: "client",
328
- ...opts,
329
- });
330
- this.name = "ThrottlingException";
331
- this.$fault = "client";
332
- Object.setPrototypeOf(this, ThrottlingException.prototype);
333
- this.Message = opts.Message;
334
- }
335
- }
336
- export const ValidationExceptionErrorCode = {
337
- ACTION_NOT_PERMITTED: "ACTION_NOT_PERMITTED",
338
- DUPLICATE_KEY_VALUE: "DUPLICATE_KEY_VALUE",
339
- INVALID_ENUM_VALUE: "INVALID_ENUM_VALUE",
340
- INVALID_RESOURCE_STATE: "INVALID_RESOURCE_STATE",
341
- INVALID_STRING_FORMAT: "INVALID_STRING_FORMAT",
342
- INVALID_VALUE: "INVALID_VALUE",
343
- REQUIRED_FIELD_MISSING: "REQUIRED_FIELD_MISSING",
344
- TOO_MANY_VALUES: "TOO_MANY_VALUES",
345
- VALUE_OUT_OF_RANGE: "VALUE_OUT_OF_RANGE",
346
- };
347
- export const ValidationExceptionReason = {
348
- BUSINESS_VALIDATION_FAILED: "BUSINESS_VALIDATION_FAILED",
349
- REQUEST_VALIDATION_FAILED: "REQUEST_VALIDATION_FAILED",
350
- };
351
- export class ValidationException extends __BaseException {
352
- constructor(opts) {
353
- super({
354
- name: "ValidationException",
355
- $fault: "client",
356
- ...opts,
357
- });
358
- this.name = "ValidationException";
359
- this.$fault = "client";
360
- Object.setPrototypeOf(this, ValidationException.prototype);
361
- this.Message = opts.Message;
362
- this.Reason = opts.Reason;
363
- this.ErrorList = opts.ErrorList;
364
- }
365
- }
366
366
  export const RelatedEntityType = {
367
367
  AWS_MARKETPLACE_OFFERS: "AwsMarketplaceOffers",
368
368
  AWS_PRODUCTS: "AwsProducts",
@@ -647,6 +647,17 @@ export class ConflictException extends __BaseException {
647
647
  this.Message = opts.Message;
648
648
  }
649
649
  }
650
+ export var EngagementContextPayload;
651
+ (function (EngagementContextPayload) {
652
+ EngagementContextPayload.visit = (value, visitor) => {
653
+ if (value.CustomerProject !== undefined)
654
+ return visitor.CustomerProject(value.CustomerProject);
655
+ return visitor._(value.$unknown[0], value.$unknown[1]);
656
+ };
657
+ })(EngagementContextPayload || (EngagementContextPayload = {}));
658
+ export const EngagementContextType = {
659
+ CUSTOMER_PROJECT: "CustomerProject",
660
+ };
650
661
  export class ServiceQuotaExceededException extends __BaseException {
651
662
  constructor(opts) {
652
663
  super({
@@ -660,23 +671,41 @@ export class ServiceQuotaExceededException extends __BaseException {
660
671
  this.Message = opts.Message;
661
672
  }
662
673
  }
674
+ export const EngagementSortName = {
675
+ CreatedDate: "CreatedDate",
676
+ };
677
+ export const SortOrder = {
678
+ ASCENDING: "ASCENDING",
679
+ DESCENDING: "DESCENDING",
680
+ };
681
+ export const ListTasksSortName = {
682
+ START_TIME: "StartTime",
683
+ };
684
+ export const TaskStatus = {
685
+ COMPLETE: "COMPLETE",
686
+ FAILED: "FAILED",
687
+ IN_PROGRESS: "IN_PROGRESS",
688
+ };
663
689
  export const ReasonCode = {
664
690
  ENGAGEMENT_ACCESS_DENIED: "EngagementAccessDenied",
691
+ ENGAGEMENT_CONFLICT: "EngagementConflict",
665
692
  ENGAGEMENT_INVITATION_CONFLICT: "EngagementInvitationConflict",
666
693
  ENGAGEMENT_VALIDATION_FAILED: "EngagementValidationFailed",
667
694
  INTERNAL_ERROR: "InternalError",
668
695
  INVITATION_ACCESS_DENIED: "InvitationAccessDenied",
696
+ INVITATION_VALIDATION_FAILED: "InvitationValidationFailed",
669
697
  OPPORTUNITY_ACCESS_DENIED: "OpportunityAccessDenied",
670
698
  OPPORTUNITY_CONFLICT: "OpportunityConflict",
671
699
  OPPORTUNITY_SUBMISSION_FAILED: "OpportunitySubmissionFailed",
672
700
  OPPORTUNITY_VALIDATION_FAILED: "OpportunityValidationFailed",
701
+ REQUEST_THROTTLED: "RequestThrottled",
673
702
  RESOURCE_SNAPSHOT_ACCESS_DENIED: "ResourceSnapshotAccessDenied",
703
+ RESOURCE_SNAPSHOT_CONFLICT: "ResourceSnapshotConflict",
674
704
  RESOURCE_SNAPSHOT_JOB_ACCESS_DENIED: "ResourceSnapshotJobAccessDenied",
675
- };
676
- export const TaskStatus = {
677
- COMPLETE: "COMPLETE",
678
- FAILED: "FAILED",
679
- IN_PROGRESS: "IN_PROGRESS",
705
+ RESOURCE_SNAPSHOT_JOB_CONFLICT: "ResourceSnapshotJobConflict",
706
+ RESOURCE_SNAPSHOT_JOB_VALIDATION_FAILED: "ResourceSnapshotJobValidationFailed",
707
+ RESOURCE_SNAPSHOT_VALIDATION_FAILED: "ResourceSnapshotValidationFailed",
708
+ SERVICE_QUOTA_EXCEEDED: "ServiceQuotaExceeded",
680
709
  };
681
710
  export const SalesInvolvementType = {
682
711
  CO_SELL: "Co-Sell",
@@ -705,9 +734,6 @@ export var Payload;
705
734
  return visitor._(value.$unknown[0], value.$unknown[1]);
706
735
  };
707
736
  })(Payload || (Payload = {}));
708
- export const EngagementInvitationPayloadType = {
709
- OPPORTUNITY_INVITATION: "OpportunityInvitation",
710
- };
711
737
  export var Receiver;
712
738
  (function (Receiver) {
713
739
  Receiver.visit = (value, visitor) => {
@@ -716,6 +742,9 @@ export var Receiver;
716
742
  return visitor._(value.$unknown[0], value.$unknown[1]);
717
743
  };
718
744
  })(Receiver || (Receiver = {}));
745
+ export const EngagementInvitationPayloadType = {
746
+ OPPORTUNITY_INVITATION: "OpportunityInvitation",
747
+ };
719
748
  export const InvitationStatus = {
720
749
  ACCEPTED: "ACCEPTED",
721
750
  EXPIRED: "EXPIRED",
@@ -724,14 +753,11 @@ export const InvitationStatus = {
724
753
  };
725
754
  export const ParticipantType = {
726
755
  RECEIVER: "RECEIVER",
756
+ SENDER: "SENDER",
727
757
  };
728
758
  export const OpportunityEngagementInvitationSortName = {
729
759
  INVITATION_DATE: "InvitationDate",
730
760
  };
731
- export const SortOrder = {
732
- ASCENDING: "ASCENDING",
733
- DESCENDING: "DESCENDING",
734
- };
735
761
  export const ClosedLostReason = {
736
762
  CUSTOMER_DEFICIENCY: "Customer Deficiency",
737
763
  CUSTOMER_EXPERIENCE: "Customer Experience",
@@ -860,6 +886,24 @@ export const OpportunitySortName = {
860
886
  IDENTIFIER: "Identifier",
861
887
  LAST_MODIFIEDDATE: "LastModifiedDate",
862
888
  };
889
+ export const ResourceType = {
890
+ OPPORTUNITY: "Opportunity",
891
+ };
892
+ export var ResourceSnapshotPayload;
893
+ (function (ResourceSnapshotPayload) {
894
+ ResourceSnapshotPayload.visit = (value, visitor) => {
895
+ if (value.OpportunitySummary !== undefined)
896
+ return visitor.OpportunitySummary(value.OpportunitySummary);
897
+ return visitor._(value.$unknown[0], value.$unknown[1]);
898
+ };
899
+ })(ResourceSnapshotPayload || (ResourceSnapshotPayload = {}));
900
+ export const ResourceSnapshotJobStatus = {
901
+ RUNNING: "Running",
902
+ STOPPED: "Stopped",
903
+ };
904
+ export const SortBy = {
905
+ CREATED_DATE: "CreatedDate",
906
+ };
863
907
  export const SolutionSortName = {
864
908
  CATEGORY: "Category",
865
909
  CREATEDDATE: "CreatedDate",
@@ -935,6 +979,7 @@ export const AwsOpportunityLifeCycleFilterSensitiveLog = (obj) => ({
935
979
  export const ExpectedCustomerSpendFilterSensitiveLog = (obj) => ({
936
980
  ...obj,
937
981
  ...(obj.CurrencyCode && { CurrencyCode: SENSITIVE_STRING }),
982
+ ...(obj.EstimationUrl && { EstimationUrl: SENSITIVE_STRING }),
938
983
  });
939
984
  export const AwsOpportunityProjectFilterSensitiveLog = (obj) => ({
940
985
  ...obj,
@@ -953,6 +998,59 @@ export const EngagementCustomerFilterSensitiveLog = (obj) => ({
953
998
  ...(obj.WebsiteUrl && { WebsiteUrl: SENSITIVE_STRING }),
954
999
  ...(obj.CountryCode && { CountryCode: SENSITIVE_STRING }),
955
1000
  });
1001
+ export const EngagementCustomerProjectDetailsFilterSensitiveLog = (obj) => ({
1002
+ ...obj,
1003
+ ...(obj.BusinessProblem && { BusinessProblem: SENSITIVE_STRING }),
1004
+ });
1005
+ export const CustomerProjectsContextFilterSensitiveLog = (obj) => ({
1006
+ ...obj,
1007
+ ...(obj.Customer && { Customer: EngagementCustomerFilterSensitiveLog(obj.Customer) }),
1008
+ ...(obj.Project && { Project: EngagementCustomerProjectDetailsFilterSensitiveLog(obj.Project) }),
1009
+ });
1010
+ export const EngagementContextPayloadFilterSensitiveLog = (obj) => {
1011
+ if (obj.CustomerProject !== undefined)
1012
+ return { CustomerProject: CustomerProjectsContextFilterSensitiveLog(obj.CustomerProject) };
1013
+ if (obj.$unknown !== undefined)
1014
+ return { [obj.$unknown[0]]: "UNKNOWN" };
1015
+ };
1016
+ export const EngagementContextDetailsFilterSensitiveLog = (obj) => ({
1017
+ ...obj,
1018
+ ...(obj.Payload && { Payload: EngagementContextPayloadFilterSensitiveLog(obj.Payload) }),
1019
+ });
1020
+ export const CreateEngagementRequestFilterSensitiveLog = (obj) => ({
1021
+ ...obj,
1022
+ ...(obj.Contexts && { Contexts: obj.Contexts.map((item) => EngagementContextDetailsFilterSensitiveLog(item)) }),
1023
+ });
1024
+ export const GetEngagementResponseFilterSensitiveLog = (obj) => ({
1025
+ ...obj,
1026
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1027
+ ...(obj.Contexts && { Contexts: obj.Contexts.map((item) => EngagementContextDetailsFilterSensitiveLog(item)) }),
1028
+ });
1029
+ export const EngagementMemberFilterSensitiveLog = (obj) => ({
1030
+ ...obj,
1031
+ ...(obj.AccountId && { AccountId: SENSITIVE_STRING }),
1032
+ });
1033
+ export const ListEngagementMembersResponseFilterSensitiveLog = (obj) => ({
1034
+ ...obj,
1035
+ ...(obj.EngagementMemberList && {
1036
+ EngagementMemberList: obj.EngagementMemberList.map((item) => EngagementMemberFilterSensitiveLog(item)),
1037
+ }),
1038
+ });
1039
+ export const ListEngagementsRequestFilterSensitiveLog = (obj) => ({
1040
+ ...obj,
1041
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1042
+ ...(obj.ExcludeCreatedBy && { ExcludeCreatedBy: SENSITIVE_STRING }),
1043
+ });
1044
+ export const EngagementSummaryFilterSensitiveLog = (obj) => ({
1045
+ ...obj,
1046
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1047
+ });
1048
+ export const ListEngagementsResponseFilterSensitiveLog = (obj) => ({
1049
+ ...obj,
1050
+ ...(obj.EngagementSummaryList && {
1051
+ EngagementSummaryList: obj.EngagementSummaryList.map((item) => EngagementSummaryFilterSensitiveLog(item)),
1052
+ }),
1053
+ });
956
1054
  export const ProjectDetailsFilterSensitiveLog = (obj) => ({
957
1055
  ...obj,
958
1056
  ...(obj.BusinessProblem && { BusinessProblem: SENSITIVE_STRING }),
@@ -988,12 +1086,25 @@ export const ReceiverFilterSensitiveLog = (obj) => {
988
1086
  if (obj.$unknown !== undefined)
989
1087
  return { [obj.$unknown[0]]: "UNKNOWN" };
990
1088
  };
1089
+ export const InvitationFilterSensitiveLog = (obj) => ({
1090
+ ...obj,
1091
+ ...(obj.Receiver && { Receiver: ReceiverFilterSensitiveLog(obj.Receiver) }),
1092
+ ...(obj.Payload && { Payload: PayloadFilterSensitiveLog(obj.Payload) }),
1093
+ });
1094
+ export const CreateEngagementInvitationRequestFilterSensitiveLog = (obj) => ({
1095
+ ...obj,
1096
+ ...(obj.Invitation && { Invitation: InvitationFilterSensitiveLog(obj.Invitation) }),
1097
+ });
991
1098
  export const GetEngagementInvitationResponseFilterSensitiveLog = (obj) => ({
992
1099
  ...obj,
993
1100
  ...(obj.SenderAwsAccountId && { SenderAwsAccountId: SENSITIVE_STRING }),
994
1101
  ...(obj.Receiver && { Receiver: ReceiverFilterSensitiveLog(obj.Receiver) }),
995
1102
  ...(obj.Payload && { Payload: PayloadFilterSensitiveLog(obj.Payload) }),
996
1103
  });
1104
+ export const ListEngagementInvitationsRequestFilterSensitiveLog = (obj) => ({
1105
+ ...obj,
1106
+ ...(obj.SenderAwsAccountId && { SenderAwsAccountId: SENSITIVE_STRING }),
1107
+ });
997
1108
  export const EngagementInvitationSummaryFilterSensitiveLog = (obj) => ({
998
1109
  ...obj,
999
1110
  ...(obj.SenderAwsAccountId && { SenderAwsAccountId: SENSITIVE_STRING }),
@@ -1089,3 +1200,60 @@ export const UpdateOpportunityRequestFilterSensitiveLog = (obj) => ({
1089
1200
  ...(obj.SoftwareRevenue && { SoftwareRevenue: SoftwareRevenueFilterSensitiveLog(obj.SoftwareRevenue) }),
1090
1201
  ...(obj.LifeCycle && { LifeCycle: LifeCycleFilterSensitiveLog(obj.LifeCycle) }),
1091
1202
  });
1203
+ export const LifeCycleForViewFilterSensitiveLog = (obj) => ({
1204
+ ...obj,
1205
+ ...(obj.NextSteps && { NextSteps: SENSITIVE_STRING }),
1206
+ });
1207
+ export const ProjectViewFilterSensitiveLog = (obj) => ({
1208
+ ...obj,
1209
+ ...(obj.ExpectedCustomerSpend && {
1210
+ ExpectedCustomerSpend: obj.ExpectedCustomerSpend.map((item) => ExpectedCustomerSpendFilterSensitiveLog(item)),
1211
+ }),
1212
+ ...(obj.OtherSolutionDescription && { OtherSolutionDescription: SENSITIVE_STRING }),
1213
+ });
1214
+ export const OpportunitySummaryViewFilterSensitiveLog = (obj) => ({
1215
+ ...obj,
1216
+ ...(obj.Lifecycle && { Lifecycle: LifeCycleForViewFilterSensitiveLog(obj.Lifecycle) }),
1217
+ ...(obj.OpportunityTeam && { OpportunityTeam: obj.OpportunityTeam.map((item) => ContactFilterSensitiveLog(item)) }),
1218
+ ...(obj.Customer && { Customer: CustomerFilterSensitiveLog(obj.Customer) }),
1219
+ ...(obj.Project && { Project: ProjectViewFilterSensitiveLog(obj.Project) }),
1220
+ });
1221
+ export const ResourceSnapshotPayloadFilterSensitiveLog = (obj) => {
1222
+ if (obj.OpportunitySummary !== undefined)
1223
+ return { OpportunitySummary: OpportunitySummaryViewFilterSensitiveLog(obj.OpportunitySummary) };
1224
+ if (obj.$unknown !== undefined)
1225
+ return { [obj.$unknown[0]]: "UNKNOWN" };
1226
+ };
1227
+ export const GetResourceSnapshotResponseFilterSensitiveLog = (obj) => ({
1228
+ ...obj,
1229
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1230
+ ...(obj.Payload && { Payload: ResourceSnapshotPayloadFilterSensitiveLog(obj.Payload) }),
1231
+ });
1232
+ export const ListEngagementResourceAssociationsRequestFilterSensitiveLog = (obj) => ({
1233
+ ...obj,
1234
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1235
+ });
1236
+ export const EngagementResourceAssociationSummaryFilterSensitiveLog = (obj) => ({
1237
+ ...obj,
1238
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1239
+ });
1240
+ export const ListEngagementResourceAssociationsResponseFilterSensitiveLog = (obj) => ({
1241
+ ...obj,
1242
+ ...(obj.EngagementResourceAssociationSummaries && {
1243
+ EngagementResourceAssociationSummaries: obj.EngagementResourceAssociationSummaries.map((item) => EngagementResourceAssociationSummaryFilterSensitiveLog(item)),
1244
+ }),
1245
+ });
1246
+ export const ListResourceSnapshotsRequestFilterSensitiveLog = (obj) => ({
1247
+ ...obj,
1248
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1249
+ });
1250
+ export const ResourceSnapshotSummaryFilterSensitiveLog = (obj) => ({
1251
+ ...obj,
1252
+ ...(obj.CreatedBy && { CreatedBy: SENSITIVE_STRING }),
1253
+ });
1254
+ export const ListResourceSnapshotsResponseFilterSensitiveLog = (obj) => ({
1255
+ ...obj,
1256
+ ...(obj.ResourceSnapshotSummaries && {
1257
+ ResourceSnapshotSummaries: obj.ResourceSnapshotSummaries.map((item) => ResourceSnapshotSummaryFilterSensitiveLog(item)),
1258
+ }),
1259
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEngagementByAcceptingInvitationTasksCommand, } from "../commands/ListEngagementByAcceptingInvitationTasksCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListEngagementByAcceptingInvitationTasks = createPaginator(PartnerCentralSellingClient, ListEngagementByAcceptingInvitationTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEngagementFromOpportunityTasksCommand, } from "../commands/ListEngagementFromOpportunityTasksCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListEngagementFromOpportunityTasks = createPaginator(PartnerCentralSellingClient, ListEngagementFromOpportunityTasksCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEngagementMembersCommand, } from "../commands/ListEngagementMembersCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListEngagementMembers = createPaginator(PartnerCentralSellingClient, ListEngagementMembersCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEngagementResourceAssociationsCommand, } from "../commands/ListEngagementResourceAssociationsCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListEngagementResourceAssociations = createPaginator(PartnerCentralSellingClient, ListEngagementResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEngagementsCommand, } from "../commands/ListEngagementsCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListEngagements = createPaginator(PartnerCentralSellingClient, ListEngagementsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceSnapshotJobsCommand, } from "../commands/ListResourceSnapshotJobsCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListResourceSnapshotJobs = createPaginator(PartnerCentralSellingClient, ListResourceSnapshotJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListResourceSnapshotsCommand, } from "../commands/ListResourceSnapshotsCommand";
3
+ import { PartnerCentralSellingClient } from "../PartnerCentralSellingClient";
4
+ export const paginateListResourceSnapshots = createPaginator(PartnerCentralSellingClient, ListResourceSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,4 +1,11 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListEngagementByAcceptingInvitationTasksPaginator";
3
+ export * from "./ListEngagementFromOpportunityTasksPaginator";
2
4
  export * from "./ListEngagementInvitationsPaginator";
5
+ export * from "./ListEngagementMembersPaginator";
6
+ export * from "./ListEngagementResourceAssociationsPaginator";
7
+ export * from "./ListEngagementsPaginator";
3
8
  export * from "./ListOpportunitiesPaginator";
9
+ export * from "./ListResourceSnapshotJobsPaginator";
10
+ export * from "./ListResourceSnapshotsPaginator";
4
11
  export * from "./ListSolutionsPaginator";