@aws-sdk/client-partnercentral-channel 3.1087.0 → 3.1089.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 +1 -1
  2. package/dist-types/ts3.4/PartnerCentralChannel.d.ts +55 -58
  3. package/dist-types/ts3.4/PartnerCentralChannelClient.d.ts +6 -19
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +12 -18
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +4 -6
  11. package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +4 -6
  13. package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +4 -9
  15. package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +5 -10
  16. package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +4 -6
  17. package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  21. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +4 -6
  23. package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +5 -10
  24. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  25. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  26. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  27. package/dist-types/ts3.4/models/enums.d.ts +5 -10
  28. package/dist-types/ts3.4/models/errors.d.ts +6 -18
  29. package/dist-types/ts3.4/models/models_0.d.ts +8 -24
  30. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +10 -22
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -5
  35. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  36. package/package.json +39 -39
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { PartnerCentralChannelClientConfig } from "./PartnerCentralChannelClient";
3
- export declare const getRuntimeConfig: (
4
- config: PartnerCentralChannelClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: PartnerCentralChannelClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -96,7 +81,7 @@ export declare const getRuntimeConfig: (
96
81
  signer?:
97
82
  | import("@smithy/types").RequestSigner
98
83
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
100
85
  ) => Promise<import("@smithy/types").RequestSigner>);
101
86
  signingEscapePath?: boolean;
102
87
  systemClockOffset?: number;
@@ -105,7 +90,7 @@ export declare const getRuntimeConfig: (
105
90
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
106
91
  | (new (
107
92
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
94
  ) => import("@smithy/types").RequestSigner);
110
95
  sigv4aSigningRegionSet?:
111
96
  | string[]
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { PartnerCentralChannelClientConfig } from "./PartnerCentralChannelClient";
3
- export declare const getRuntimeConfig: (
4
- config: PartnerCentralChannelClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: PartnerCentralChannelClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,26 +10,18 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sigv4aSigningRegionSet:
27
- | string[]
28
- | import("@smithy/types").Provider<string[] | undefined>;
22
+ sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
29
23
  streamCollector: (
30
- stream:
31
- | import("stream").Readable
32
- | import("stream/web").ReadableStream
33
- | ReadableStream
34
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
35
25
  ) => Promise<Uint8Array>;
36
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -58,9 +48,7 @@ export declare const getRuntimeConfig: (
58
48
  logger: import("@smithy/types").Logger;
59
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
60
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
61
- retryStrategy?:
62
- | import("@smithy/types").RetryStrategy
63
- | import("@smithy/types").RetryStrategyV2;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
64
52
  endpoint?:
65
53
  | ((
66
54
  | string
@@ -82,7 +70,7 @@ export declare const getRuntimeConfig: (
82
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
83
71
  context?: {
84
72
  logger?: import("@smithy/types").Logger;
85
- }
73
+ },
86
74
  ) => import("@smithy/types").EndpointV2;
87
75
  tls?: boolean;
88
76
  serviceConfiguredEndpoint?: never;
@@ -94,7 +82,7 @@ export declare const getRuntimeConfig: (
94
82
  signer?:
95
83
  | import("@smithy/types").RequestSigner
96
84
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
98
86
  ) => Promise<import("@smithy/types").RequestSigner>);
99
87
  signingEscapePath?: boolean;
100
88
  systemClockOffset?: number;
@@ -103,6 +91,6 @@ export declare const getRuntimeConfig: (
103
91
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
104
92
  | (new (
105
93
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
95
  ) => import("@smithy/types").RequestSigner);
108
96
  };
@@ -1,7 +1,5 @@
1
1
  import { PartnerCentralChannelClientConfig } from "./PartnerCentralChannelClient";
2
- export declare const getRuntimeConfig: (
3
- config: PartnerCentralChannelClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: PartnerCentralChannelClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,7 +85,7 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
@@ -109,7 +94,7 @@ export declare const getRuntimeConfig: (
109
94
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
110
95
  | (new (
111
96
  options: import("@smithy/signature-v4").SignatureV4Init &
112
- import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
113
98
  ) => import("@smithy/types").RequestSigner);
114
99
  sigv4aSigningRegionSet?:
115
100
  | string[]
@@ -1,9 +1,7 @@
1
1
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
2
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
3
  import { PartnerCentralChannelClientConfig } from "./PartnerCentralChannelClient";
4
- export declare const getRuntimeConfig: (
5
- config: PartnerCentralChannelClientConfig
6
- ) => {
4
+ export declare const getRuntimeConfig: (config: PartnerCentralChannelClientConfig) => {
7
5
  apiVersion: string;
8
6
  base64Decoder: import("@smithy/types").Decoder;
9
7
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -12,7 +10,7 @@ export declare const getRuntimeConfig: (
12
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
13
11
  context?: {
14
12
  logger?: import("@smithy/types").Logger;
15
- }
13
+ },
16
14
  ) => import("@smithy/types").EndpointV2;
17
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
18
16
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PartnerCentralChannelHttpAuthSchemeProvider;
@@ -32,7 +30,7 @@ export declare const getRuntimeConfig: (
32
30
  | typeof SignatureV4MultiRegion
33
31
  | (new (
34
32
  options: import("@smithy/signature-v4").SignatureV4Init &
35
- import("@smithy/signature-v4").SignatureV4CryptoInit
33
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
36
34
  ) => import("@smithy/types").RequestSigner);
37
35
  urlParser: import("@smithy/types").UrlParser;
38
36
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,13 +1,11 @@
1
1
  import { PartnerCentralChannelExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: PartnerCentralChannelExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: PartnerCentralChannelExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-partnercentral-channel",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Partnercentral Channel Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-partnercentral-channel",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-partnercentral-channel"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/signature-v4-multi-region": "^3.996.40",
25
- "@aws-sdk/types": "^3.974.1",
26
- "@smithy/core": "^3.29.3",
27
- "@smithy/fetch-http-handler": "^5.6.5",
28
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.70",
51
+ "@aws-sdk/signature-v4-multi-region": "^3.996.41",
52
+ "@aws-sdk/types": "^3.974.2",
53
+ "@smithy/core": "^3.29.4",
54
+ "@smithy/fetch-http-handler": "^5.6.6",
55
+ "@smithy/node-http-handler": "^4.9.6",
29
56
  "@smithy/types": "^4.16.1",
30
57
  "tslib": "^2.6.2"
31
58
  },
@@ -39,32 +66,5 @@
39
66
  },
40
67
  "engines": {
41
68
  "node": ">=20.0.0"
42
- },
43
- "typesVersions": {
44
- "<4.5": {
45
- "dist-types/*": [
46
- "dist-types/ts3.4/*"
47
- ]
48
- }
49
- },
50
- "files": [
51
- "dist-*/**"
52
- ],
53
- "author": {
54
- "name": "AWS SDK for JavaScript Team",
55
- "url": "https://aws.amazon.com/sdk-for-javascript/"
56
- },
57
- "license": "Apache-2.0",
58
- "browser": {
59
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
60
- },
61
- "react-native": {
62
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
63
- },
64
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-partnercentral-channel",
65
- "repository": {
66
- "type": "git",
67
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
68
- "directory": "clients/client-partnercentral-channel"
69
69
  }
70
70
  }