@aws-sdk/client-partnercentral-selling 3.1075.0 → 3.1077.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 (36) hide show
  1. package/dist-cjs/index.js +2190 -15
  2. package/dist-es/models/enums.js +2 -0
  3. package/dist-es/runtimeConfig.browser.js +0 -2
  4. package/dist-es/runtimeConfig.js +1 -2
  5. package/dist-es/runtimeConfig.native.js +0 -2
  6. package/dist-es/runtimeConfig.shared.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +14 -8
  8. package/dist-types/commands/AssociateOpportunityCommand.d.ts +1 -1
  9. package/dist-types/commands/DisassociateOpportunityCommand.d.ts +1 -1
  10. package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +6 -0
  11. package/dist-types/commands/GetOpportunityCommand.d.ts +6 -0
  12. package/dist-types/commands/GetResourceSnapshotCommand.d.ts +12 -0
  13. package/dist-types/commands/ListSolutionsCommand.d.ts +4 -0
  14. package/dist-types/models/enums.d.ts +2 -0
  15. package/dist-types/models/models_0.d.ts +30 -0
  16. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  17. package/dist-types/runtimeConfig.d.ts +2 -2
  18. package/dist-types/runtimeConfig.native.d.ts +2 -2
  19. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  20. package/dist-types/ts3.4/models/enums.d.ts +2 -0
  21. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  22. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  23. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  24. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  25. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  26. package/package.json +8 -10
  27. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  28. package/dist-cjs/endpoint/bdd.js +0 -29
  29. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  30. package/dist-cjs/models/PartnerCentralSellingServiceException.js +0 -8
  31. package/dist-cjs/models/errors.js +0 -105
  32. package/dist-cjs/runtimeConfig.browser.js +0 -32
  33. package/dist-cjs/runtimeConfig.js +0 -45
  34. package/dist-cjs/runtimeConfig.native.js +0 -12
  35. package/dist-cjs/runtimeConfig.shared.js +0 -38
  36. package/dist-cjs/schemas/schemas_0.js +0 -1889
@@ -301,6 +301,8 @@ export const Industry = {
301
301
  export const RelatedEntityType = {
302
302
  AWS_MARKETPLACE_OFFERS: "AwsMarketplaceOffers",
303
303
  AWS_MARKETPLACE_OFFER_SETS: "AwsMarketplaceOfferSets",
304
+ AWS_MARKETPLACE_PRODUCTS: "AwsMarketplaceProducts",
305
+ AWS_MARKETPLACE_SOLUTIONS: "AwsMarketplaceSolutions",
304
306
  AWS_PRODUCTS: "AwsProducts",
305
307
  SOLUTIONS: "Solutions",
306
308
  };
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "AWSPartnerCentralSelling",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "PartnerCentral Selling",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -15,6 +15,9 @@ const _ALMD = "AfterLastModifiedDate";
15
15
  const _AM = "AwsMaturity";
16
16
  const _AMO = "AwsMarketplaceOffers";
17
17
  const _AMOS = "AwsMarketplaceOfferSets";
18
+ const _AMP = "AwsMarketplaceProducts";
19
+ const _AMS = "AwsMarketplaceSolutions";
20
+ const _AMSA = "AwsMarketplaceSolutionArn";
18
21
  const _AMm = "AmountMap";
19
22
  const _AN = "AccountName";
20
23
  const _AO = "AssignOpportunity";
@@ -639,8 +642,8 @@ export var AwsOpportunityProject$ = [3, n0, _AOP,
639
642
  ];
640
643
  export var AwsOpportunityRelatedEntities$ = [3, n0, _AORE,
641
644
  0,
642
- [_APws, _So],
643
- [64 | 0, 64 | 0]
645
+ [_APws, _So, _AMS, _AMP],
646
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0]
644
647
  ];
645
648
  export var AwsOpportunitySummaryFullView$ = [3, n0, _AOSFV,
646
649
  0,
@@ -1104,8 +1107,8 @@ export var ListResourceSnapshotsResponse$ = [3, n0, _LRSRi,
1104
1107
  ];
1105
1108
  export var ListSolutionsRequest$ = [3, n0, _LSR,
1106
1109
  0,
1107
- [_C, _MR, _NT, _Sor, _St, _I, _Cat],
1108
- [0, 1, 0, () => SolutionSort$, 64 | 0, 64 | 0, 64 | 0], 1
1110
+ [_C, _MR, _NT, _Sor, _St, _I, _Cat, _AMSA],
1111
+ [0, 1, 0, () => SolutionSort$, 64 | 0, 64 | 0, 64 | 0, 64 | 0], 1
1109
1112
  ];
1110
1113
  export var ListSolutionsResponse$ = [3, n0, _LSRi,
1111
1114
  0,
@@ -1249,8 +1252,8 @@ export var RejectEngagementInvitationRequest$ = [3, n0, _REIR,
1249
1252
  ];
1250
1253
  export var RelatedEntityIdentifiers$ = [3, n0, _REIel,
1251
1254
  0,
1252
- [_AMO, _AMOS, _So, _APws],
1253
- [64 | 0, 64 | 0, 64 | 0, 64 | 0]
1255
+ [_AMO, _AMOS, _So, _APws, _AMS, _AMP],
1256
+ [64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0]
1254
1257
  ];
1255
1258
  export var ResourceSnapshotJobSummary$ = [3, n0, _RSJSe,
1256
1259
  0,
@@ -1274,8 +1277,8 @@ export var SoftwareRevenue$ = [3, n0, _SR,
1274
1277
  ];
1275
1278
  export var SolutionBase$ = [3, n0, _SBo,
1276
1279
  0,
1277
- [_C, _Id, _N, _St, _Cat, _CD, _Ar],
1278
- [0, 0, 0, 0, 0, 5, 0], 6
1280
+ [_C, _Id, _N, _St, _Cat, _CD, _Ar, _AMSA],
1281
+ [0, 0, 0, 0, 0, 5, 0, 0], 6
1279
1282
  ];
1280
1283
  export var SolutionSort$ = [3, n0, _SSol,
1281
1284
  0,
@@ -1414,6 +1417,9 @@ var AwsAccountList = [1, n0, _AAL,
1414
1417
  ];
1415
1418
  var AwsMarketplaceOfferIdentifiers = 64 | 0;
1416
1419
  var AwsMarketplaceOfferSetIdentifiers = 64 | 0;
1420
+ var AwsMarketplaceProductIdentifiers = 64 | 0;
1421
+ var AwsMarketplaceSolutionArnList = 64 | 0;
1422
+ var AwsMarketplaceSolutionIdentifiers = 64 | 0;
1417
1423
  var AwsOpportunityTeamMembersList = [1, n0, _AOTML,
1418
1424
  0, [() => AwsTeamMember$,
1419
1425
  0]
@@ -41,7 +41,7 @@ declare const AssociateOpportunityCommand_base: {
41
41
  * const input = { // AssociateOpportunityRequest
42
42
  * Catalog: "STRING_VALUE", // required
43
43
  * OpportunityIdentifier: "STRING_VALUE", // required
44
- * RelatedEntityType: "Solutions" || "AwsProducts" || "AwsMarketplaceOffers" || "AwsMarketplaceOfferSets", // required
44
+ * RelatedEntityType: "Solutions" || "AwsProducts" || "AwsMarketplaceOffers" || "AwsMarketplaceOfferSets" || "AwsMarketplaceSolutions" || "AwsMarketplaceProducts", // required
45
45
  * RelatedEntityIdentifier: "STRING_VALUE", // required
46
46
  * };
47
47
  * const command = new AssociateOpportunityCommand(input);
@@ -41,7 +41,7 @@ declare const DisassociateOpportunityCommand_base: {
41
41
  * const input = { // DisassociateOpportunityRequest
42
42
  * Catalog: "STRING_VALUE", // required
43
43
  * OpportunityIdentifier: "STRING_VALUE", // required
44
- * RelatedEntityType: "Solutions" || "AwsProducts" || "AwsMarketplaceOffers" || "AwsMarketplaceOfferSets", // required
44
+ * RelatedEntityType: "Solutions" || "AwsProducts" || "AwsMarketplaceOffers" || "AwsMarketplaceOfferSets" || "AwsMarketplaceSolutions" || "AwsMarketplaceProducts", // required
45
45
  * RelatedEntityIdentifier: "STRING_VALUE", // required
46
46
  * };
47
47
  * const command = new DisassociateOpportunityCommand(input);
@@ -152,6 +152,12 @@ declare const GetAwsOpportunitySummaryCommand_base: {
152
152
  * // Solutions: [ // SolutionIdentifiers
153
153
  * // "STRING_VALUE",
154
154
  * // ],
155
+ * // AwsMarketplaceSolutions: [ // AwsMarketplaceSolutionIdentifiers
156
+ * // "STRING_VALUE",
157
+ * // ],
158
+ * // AwsMarketplaceProducts: [ // AwsMarketplaceProductIdentifiers
159
+ * // "STRING_VALUE",
160
+ * // ],
155
161
  * // },
156
162
  * // Customer: { // AwsOpportunityCustomer
157
163
  * // Contacts: [ // CustomerContactsList
@@ -148,6 +148,12 @@ declare const GetOpportunityCommand_base: {
148
148
  * // AwsProducts: [ // AwsProductIdentifiers
149
149
  * // "STRING_VALUE",
150
150
  * // ],
151
+ * // AwsMarketplaceSolutions: [ // AwsMarketplaceSolutionIdentifiers
152
+ * // "STRING_VALUE",
153
+ * // ],
154
+ * // AwsMarketplaceProducts: [ // AwsMarketplaceProductIdentifiers
155
+ * // "STRING_VALUE",
156
+ * // ],
151
157
  * // },
152
158
  * // LifeCycle: { // LifeCycle
153
159
  * // Stage: "Prospect" || "Qualified" || "Technical Validation" || "Business Validation" || "Committed" || "Launched" || "Closed Lost",
@@ -141,6 +141,12 @@ declare const GetResourceSnapshotCommand_base: {
141
141
  * // AwsProducts: [ // AwsProductIdentifiers
142
142
  * // "STRING_VALUE",
143
143
  * // ],
144
+ * // AwsMarketplaceSolutions: [ // AwsMarketplaceSolutionIdentifiers
145
+ * // "STRING_VALUE",
146
+ * // ],
147
+ * // AwsMarketplaceProducts: [ // AwsMarketplaceProductIdentifiers
148
+ * // "STRING_VALUE",
149
+ * // ],
144
150
  * // },
145
151
  * // },
146
152
  * // AwsOpportunitySummaryFullView: { // AwsOpportunitySummaryFullView
@@ -251,6 +257,12 @@ declare const GetResourceSnapshotCommand_base: {
251
257
  * // Solutions: [
252
258
  * // "STRING_VALUE",
253
259
  * // ],
260
+ * // AwsMarketplaceSolutions: [
261
+ * // "STRING_VALUE",
262
+ * // ],
263
+ * // AwsMarketplaceProducts: [
264
+ * // "STRING_VALUE",
265
+ * // ],
254
266
  * // },
255
267
  * // Customer: { // AwsOpportunityCustomer
256
268
  * // Contacts: [
@@ -55,6 +55,9 @@ declare const ListSolutionsCommand_base: {
55
55
  * Category: [ // StringList
56
56
  * "STRING_VALUE",
57
57
  * ],
58
+ * AwsMarketplaceSolutionArn: [ // AwsMarketplaceSolutionArnList
59
+ * "STRING_VALUE",
60
+ * ],
58
61
  * };
59
62
  * const command = new ListSolutionsCommand(input);
60
63
  * const response = await client.send(command);
@@ -68,6 +71,7 @@ declare const ListSolutionsCommand_base: {
68
71
  * // Status: "Active" || "Inactive" || "Draft", // required
69
72
  * // Category: "STRING_VALUE", // required
70
73
  * // CreatedDate: new Date("TIMESTAMP"), // required
74
+ * // AwsMarketplaceSolutionArn: "STRING_VALUE",
71
75
  * // },
72
76
  * // ],
73
77
  * // NextToken: "STRING_VALUE",
@@ -345,6 +345,8 @@ export type Industry = (typeof Industry)[keyof typeof Industry];
345
345
  export declare const RelatedEntityType: {
346
346
  readonly AWS_MARKETPLACE_OFFERS: "AwsMarketplaceOffers";
347
347
  readonly AWS_MARKETPLACE_OFFER_SETS: "AwsMarketplaceOfferSets";
348
+ readonly AWS_MARKETPLACE_PRODUCTS: "AwsMarketplaceProducts";
349
+ readonly AWS_MARKETPLACE_SOLUTIONS: "AwsMarketplaceSolutions";
348
350
  readonly AWS_PRODUCTS: "AwsProducts";
349
351
  readonly SOLUTIONS: "Solutions";
350
352
  };
@@ -589,6 +589,16 @@ export interface AwsOpportunityRelatedEntities {
589
589
  * @public
590
590
  */
591
591
  Solutions?: string[] | undefined;
592
+ /**
593
+ * <p>The AWS Marketplace solution ARNs associated with this opportunity.</p>
594
+ * @public
595
+ */
596
+ AwsMarketplaceSolutions?: string[] | undefined;
597
+ /**
598
+ * <p>The AWS Marketplace product ARNs associated with this opportunity.</p>
599
+ * @public
600
+ */
601
+ AwsMarketplaceProducts?: string[] | undefined;
592
602
  }
593
603
  /**
594
604
  * <p>Represents an Amazon Web Services team member for the engagement. This structure includes details such as name, email, and business title.</p>
@@ -3048,6 +3058,16 @@ export interface RelatedEntityIdentifiers {
3048
3058
  * @public
3049
3059
  */
3050
3060
  AwsProducts?: string[] | undefined;
3061
+ /**
3062
+ * <p>Specifies the AWS Marketplace solutions to associate with the <code>Opportunity</code>. Each value is an Amazon Resource Name (ARN) that identifies a solution listing in AWS Marketplace.</p>
3063
+ * @public
3064
+ */
3065
+ AwsMarketplaceSolutions?: string[] | undefined;
3066
+ /**
3067
+ * <p>Specifies the AWS Marketplace products to associate with the <code>Opportunity</code>. Each value is an Amazon Resource Name (ARN) that identifies a product listing in AWS Marketplace.</p>
3068
+ * @public
3069
+ */
3070
+ AwsMarketplaceProducts?: string[] | undefined;
3051
3071
  }
3052
3072
  /**
3053
3073
  * @public
@@ -4824,6 +4844,11 @@ export interface ListSolutionsRequest {
4824
4844
  * @public
4825
4845
  */
4826
4846
  Category?: string[] | undefined;
4847
+ /**
4848
+ * <p>Filters results by AWS Marketplace solution ARN. You can provide up to 10 ARNs.</p>
4849
+ * @public
4850
+ */
4851
+ AwsMarketplaceSolutionArn?: string[] | undefined;
4827
4852
  }
4828
4853
  /**
4829
4854
  * <p>Specifies minimal information for the solution offered to solve the customer's business problem.</p>
@@ -4865,6 +4890,11 @@ export interface SolutionBase {
4865
4890
  * @public
4866
4891
  */
4867
4892
  CreatedDate: Date | undefined;
4893
+ /**
4894
+ * <p>The Amazon Resource Name (ARN) of the AWS Marketplace solution associated with this partner solution.</p>
4895
+ * @public
4896
+ */
4897
+ AwsMarketplaceSolutionArn?: string | undefined;
4868
4898
  }
4869
4899
  /**
4870
4900
  * @public
@@ -13,8 +13,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
19
  cacheMiddleware?: boolean | undefined;
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,8 +14,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { PartnerCentralSellingClientConfig } from "./PartnerCentralSellingC
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
@@ -13,9 +12,10 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
19
  base64Decoder: import("@smithy/types").Decoder;
20
20
  base64Encoder: (_input: Uint8Array | string) => string;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: PartnerCentralSellingClientConfi
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -309,6 +309,8 @@ export type Industry = (typeof Industry)[keyof typeof Industry];
309
309
  export declare const RelatedEntityType: {
310
310
  readonly AWS_MARKETPLACE_OFFERS: "AwsMarketplaceOffers";
311
311
  readonly AWS_MARKETPLACE_OFFER_SETS: "AwsMarketplaceOfferSets";
312
+ readonly AWS_MARKETPLACE_PRODUCTS: "AwsMarketplaceProducts";
313
+ readonly AWS_MARKETPLACE_SOLUTIONS: "AwsMarketplaceSolutions";
312
314
  readonly AWS_PRODUCTS: "AwsProducts";
313
315
  readonly SOLUTIONS: "Solutions";
314
316
  };
@@ -188,6 +188,8 @@ export interface AwsOpportunityProject {
188
188
  export interface AwsOpportunityRelatedEntities {
189
189
  AwsProducts?: string[] | undefined;
190
190
  Solutions?: string[] | undefined;
191
+ AwsMarketplaceSolutions?: string[] | undefined;
192
+ AwsMarketplaceProducts?: string[] | undefined;
191
193
  }
192
194
  export interface AwsTeamMember {
193
195
  Email?: string | undefined;
@@ -799,6 +801,8 @@ export interface RelatedEntityIdentifiers {
799
801
  AwsMarketplaceOfferSets?: string[] | undefined;
800
802
  Solutions?: string[] | undefined;
801
803
  AwsProducts?: string[] | undefined;
804
+ AwsMarketplaceSolutions?: string[] | undefined;
805
+ AwsMarketplaceProducts?: string[] | undefined;
802
806
  }
803
807
  export interface GetOpportunityResponse {
804
808
  Catalog: string | undefined;
@@ -1224,6 +1228,7 @@ export interface ListSolutionsRequest {
1224
1228
  Status?: SolutionStatus[] | undefined;
1225
1229
  Identifier?: string[] | undefined;
1226
1230
  Category?: string[] | undefined;
1231
+ AwsMarketplaceSolutionArn?: string[] | undefined;
1227
1232
  }
1228
1233
  export interface SolutionBase {
1229
1234
  Catalog: string | undefined;
@@ -1233,6 +1238,7 @@ export interface SolutionBase {
1233
1238
  Status: SolutionStatus | undefined;
1234
1239
  Category: string | undefined;
1235
1240
  CreatedDate: Date | undefined;
1241
+ AwsMarketplaceSolutionArn?: string | undefined;
1236
1242
  }
1237
1243
  export interface ListSolutionsResponse {
1238
1244
  SolutionSummaries: SolutionBase[] | undefined;
@@ -22,8 +22,13 @@ export declare const getRuntimeConfig: (
22
22
  | import("@smithy/core/protocols").HttpHandler<any>
23
23
  | RequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
- streamCollector: import("@smithy/types").StreamCollector;
25
+ streamCollector: (
26
+ stream:
27
+ | import("stream").Readable
28
+ | import("stream/web").ReadableStream
29
+ | ReadableStream
30
+ | Blob
31
+ ) => Promise<Uint8Array>;
27
32
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
33
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
34
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -38,6 +43,7 @@ export declare const getRuntimeConfig: (
38
43
  [setting: string]: unknown;
39
44
  };
40
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
41
47
  urlParser: import("@smithy/types").UrlParser;
42
48
  base64Decoder: import("@smithy/types").Decoder;
43
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -23,8 +23,13 @@ export declare const getRuntimeConfig: (
23
23
  | RequestHandler
24
24
  | import("@smithy/core/protocols").HttpHandler<any>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@smithy/types").HashConstructor;
27
- streamCollector: import("@smithy/types").StreamCollector;
26
+ streamCollector: (
27
+ stream:
28
+ | import("stream").Readable
29
+ | import("stream/web").ReadableStream
30
+ | ReadableStream
31
+ | Blob
32
+ ) => Promise<Uint8Array>;
28
33
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
34
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
35
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -38,6 +43,7 @@ export declare const getRuntimeConfig: (
38
43
  [setting: string]: unknown;
39
44
  };
40
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
41
47
  urlParser: import("@smithy/types").UrlParser;
42
48
  base64Decoder: import("@smithy/types").Decoder;
43
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
3
3
  config: PartnerCentralSellingClientConfig
4
4
  ) => {
5
5
  runtime: string;
6
- sha256: import("@smithy/types").HashConstructor;
7
6
  requestHandler:
8
7
  | import("@smithy/types").NodeHttpHandlerOptions
9
8
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -20,9 +19,16 @@ export declare const getRuntimeConfig: (
20
19
  [setting: string]: unknown;
21
20
  };
22
21
  apiVersion: string;
22
+ sha256: import("@smithy/types").HashConstructor;
23
23
  urlParser: import("@smithy/types").UrlParser;
24
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
- streamCollector: import("@smithy/types").StreamCollector;
25
+ streamCollector: (
26
+ stream:
27
+ | import("stream").Readable
28
+ | import("stream/web").ReadableStream
29
+ | ReadableStream
30
+ | Blob
31
+ ) => Promise<Uint8Array>;
26
32
  base64Decoder: import("@smithy/types").Decoder;
27
33
  base64Encoder: (_input: Uint8Array | string) => string;
28
34
  utf8Decoder: import("@smithy/types").Decoder;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
26
26
  defaultNamespace?: string;
27
27
  };
28
28
  serviceId: string;
29
+ sha256: import("@smithy/types").HashConstructor;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
31
32
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-partnercentral-selling",
3
3
  "description": "AWS SDK for JavaScript Partnercentral Selling Client for Node.js, Browser and React Native",
4
- "version": "3.1075.0",
4
+ "version": "3.1077.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.23",
25
- "@aws-sdk/credential-provider-node": "^3.972.58",
26
- "@aws-sdk/types": "^3.973.13",
27
- "@smithy/core": "^3.24.6",
28
- "@smithy/fetch-http-handler": "^5.4.6",
29
- "@smithy/node-http-handler": "^4.7.6",
30
- "@smithy/types": "^4.14.3",
22
+ "@aws-sdk/core": "^3.974.25",
23
+ "@aws-sdk/credential-provider-node": "^3.972.60",
24
+ "@aws-sdk/types": "^3.973.14",
25
+ "@smithy/core": "^3.28.0",
26
+ "@smithy/fetch-http-handler": "^5.6.1",
27
+ "@smithy/node-http-handler": "^4.9.1",
28
+ "@smithy/types": "^4.15.0",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {
@@ -1,40 +0,0 @@
1
- const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
- const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
3
- exports.defaultPartnerCentralSellingHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
- return {
5
- operation: getSmithyContext(context).operation,
6
- region: await normalizeProvider(config.region)() || (() => {
7
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
- })(),
9
- };
10
- };
11
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
12
- return {
13
- schemeId: "aws.auth#sigv4",
14
- signingProperties: {
15
- name: "partnercentral-selling",
16
- region: authParameters.region,
17
- },
18
- propertiesExtractor: (config, context) => ({
19
- signingProperties: {
20
- config,
21
- context,
22
- },
23
- }),
24
- };
25
- }
26
- exports.defaultPartnerCentralSellingHttpAuthSchemeProvider = (authParameters) => {
27
- const options = [];
28
- switch (authParameters.operation) {
29
- default: {
30
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
31
- }
32
- }
33
- return options;
34
- };
35
- exports.resolveHttpAuthSchemeConfig = (config) => {
36
- const config_0 = resolveAwsSdkSigV4Config(config);
37
- return Object.assign(config_0, {
38
- authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
39
- });
40
- };
@@ -1,29 +0,0 @@
1
- const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
2
- const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
3
- const _data = {
4
- conditions: [
5
- [a, [b]],
6
- [a, c],
7
- ["aws.partition", c, "PartitionResult"],
8
- ["booleanEquals", [{ ref: "UseFIPS" }, true]]
9
- ],
10
- results: [
11
- [-1],
12
- [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
13
- [b, {}],
14
- ["https://partnercentral-selling-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
15
- ["https://partnercentral-selling.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
16
- [-1, "Invalid Configuration: Missing Region"]
17
- ]
18
- };
19
- const root = 2;
20
- const r = 100_000_000;
21
- const nodes = new Int32Array([
22
- -1, 1, -1,
23
- 0, 6, 3,
24
- 1, 4, r + 5,
25
- 2, 5, r + 5,
26
- 3, r + 3, r + 4,
27
- 3, r + 1, r + 2,
28
- ]);
29
- exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,14 +0,0 @@
1
- const { awsEndpointFunctions } = require("@aws-sdk/core/client");
2
- const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
3
- const { bdd } = require("./bdd");
4
- const cache = new EndpointCache({
5
- size: 50,
6
- params: ["Endpoint", "Region", "UseFIPS"],
7
- });
8
- exports.defaultEndpointResolver = (endpointParams, context = {}) => {
9
- return cache.get(endpointParams, () => decideEndpoint(bdd, {
10
- endpointParams: endpointParams,
11
- logger: context.logger,
12
- }));
13
- };
14
- customEndpointFunctions.aws = awsEndpointFunctions;
@@ -1,8 +0,0 @@
1
- const { ServiceException: __ServiceException } = require("@smithy/core/client");
2
- exports.__ServiceException = __ServiceException;
3
- exports.PartnerCentralSellingServiceException = class PartnerCentralSellingServiceException extends __ServiceException {
4
- constructor(options) {
5
- super(options);
6
- Object.setPrototypeOf(this, PartnerCentralSellingServiceException.prototype);
7
- }
8
- };