@aws-sdk/client-marketplace-deployment 3.796.0 → 3.797.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 +4 -1
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/dist-types/MarketplaceDeployment.d.ts +4 -1
- package/dist-types/MarketplaceDeploymentClient.d.ts +4 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript MarketplaceDeployment Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
9
|
+
<p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
10
|
+
Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products.
|
|
11
|
+
The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as
|
|
12
|
+
API keys and external IDs, to buyers during the Quick Launch experience.</p>
|
|
10
13
|
|
|
11
14
|
## Installing
|
|
12
15
|
|
|
@@ -40,6 +40,8 @@ const defaultMarketplaceDeploymentHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultMarketplaceDeploymentHttpAuthSchemeProvider = defaultMarketplaceDeploymentHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return Object.assign(config_0, {
|
|
43
|
+
return Object.assign(config_0, {
|
|
44
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
45
|
+
});
|
|
44
46
|
};
|
|
45
47
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -35,5 +35,7 @@ export const defaultMarketplaceDeploymentHttpAuthSchemeProvider = (authParameter
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return Object.assign(config_0, {
|
|
38
|
+
return Object.assign(config_0, {
|
|
39
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
40
|
+
});
|
|
39
41
|
};
|
|
@@ -31,7 +31,10 @@ export interface MarketplaceDeployment {
|
|
|
31
31
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
34
|
+
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
35
|
+
* Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products.
|
|
36
|
+
* The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as
|
|
37
|
+
* API keys and external IDs, to buyers during the Quick Launch experience.</p>
|
|
35
38
|
* @public
|
|
36
39
|
*/
|
|
37
40
|
export declare class MarketplaceDeployment extends MarketplaceDeploymentClient implements MarketplaceDeployment {
|
|
@@ -173,7 +173,10 @@ export type MarketplaceDeploymentClientResolvedConfigType = __SmithyResolvedConf
|
|
|
173
173
|
export interface MarketplaceDeploymentClientResolvedConfig extends MarketplaceDeploymentClientResolvedConfigType {
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
176
|
+
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
177
|
+
* Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products.
|
|
178
|
+
* The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as
|
|
179
|
+
* API keys and external IDs, to buyers during the Quick Launch experience.</p>
|
|
177
180
|
* @public
|
|
178
181
|
*/
|
|
179
182
|
export declare class MarketplaceDeploymentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MarketplaceDeploymentClientResolvedConfig> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { MarketplaceDeploymentClientResolvedConfig } from "../MarketplaceDeploymentClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -29,6 +29,13 @@ export declare const defaultMarketplaceDeploymentHttpAuthSchemeProvider: Marketp
|
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
32
39
|
/**
|
|
33
40
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
41
|
* @internal
|
|
@@ -44,6 +51,13 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
44
51
|
* @internal
|
|
45
52
|
*/
|
|
46
53
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
47
61
|
/**
|
|
48
62
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
63
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
2
|
+
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
3
|
+
* Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products.
|
|
4
|
+
* The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as
|
|
5
|
+
* API keys and external IDs, to buyers during the Quick Launch experience.</p>
|
|
3
6
|
*
|
|
4
7
|
* @packageDocumentation
|
|
5
8
|
*/
|
|
@@ -44,6 +44,11 @@ export declare class InternalServerException extends __BaseException {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* <p>The shape containing the requested deployment parameter name and secretString.</p>
|
|
47
|
+
* <note>
|
|
48
|
+
* <p>To support AWS CloudFormation dynamic references to this resource using Quick Launch,
|
|
49
|
+
* this value must match a parameter defined in the CloudFormation templated provided to
|
|
50
|
+
* buyers.</p>
|
|
51
|
+
* </note>
|
|
47
52
|
* @public
|
|
48
53
|
*/
|
|
49
54
|
export interface DeploymentParameterInput {
|
|
@@ -63,7 +68,7 @@ export interface DeploymentParameterInput {
|
|
|
63
68
|
*/
|
|
64
69
|
export interface PutDeploymentParameterRequest {
|
|
65
70
|
/**
|
|
66
|
-
* <p>The catalog related to the request. Fixed value: <code>
|
|
71
|
+
* <p>The catalog related to the request. Fixed value: <code>AWSMarketplace</code>
|
|
67
72
|
* </p>
|
|
68
73
|
* @public
|
|
69
74
|
*/
|
|
@@ -95,6 +100,10 @@ export interface PutDeploymentParameterRequest {
|
|
|
95
100
|
expirationDate?: Date | undefined;
|
|
96
101
|
/**
|
|
97
102
|
* <p>The idempotency token for deployment parameters. A unique identifier for the new version.</p>
|
|
103
|
+
* <note>
|
|
104
|
+
* <p>This field is not required if you're calling using an AWS SDK. Otherwise, a
|
|
105
|
+
* <code>clientToken</code> must be provided with the request.</p>
|
|
106
|
+
* </note>
|
|
98
107
|
* @public
|
|
99
108
|
*/
|
|
100
109
|
clientToken?: string | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: MarketplaceDeploymentClientConfi
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: MarketplaceDeploymentClientConfi
|
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
39
|
tls?: boolean | undefined;
|
|
40
40
|
serviceConfiguredEndpoint?: undefined;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
43
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -37,6 +37,7 @@ export declare const getRuntimeConfig: (config: MarketplaceDeploymentClientConfi
|
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
38
|
tls?: boolean | undefined;
|
|
39
39
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
40
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
42
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
HttpAuthSchemeParameters,
|
|
10
10
|
HttpAuthSchemeParametersProvider,
|
|
11
11
|
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
12
13
|
} from "@smithy/types";
|
|
13
14
|
import { MarketplaceDeploymentClientResolvedConfig } from "../MarketplaceDeploymentClient";
|
|
14
15
|
export interface MarketplaceDeploymentHttpAuthSchemeParameters
|
|
@@ -31,11 +32,13 @@ export interface MarketplaceDeploymentHttpAuthSchemeProvider
|
|
|
31
32
|
extends HttpAuthSchemeProvider<MarketplaceDeploymentHttpAuthSchemeParameters> {}
|
|
32
33
|
export declare const defaultMarketplaceDeploymentHttpAuthSchemeProvider: MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
33
34
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
34
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
37
|
httpAuthSchemeProvider?: MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
36
38
|
}
|
|
37
39
|
export interface HttpAuthSchemeResolvedConfig
|
|
38
40
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
39
42
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
43
|
readonly httpAuthSchemeProvider: MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
41
44
|
}
|
|
@@ -74,6 +74,10 @@ export declare const getRuntimeConfig: (
|
|
|
74
74
|
) => import("@smithy/types").EndpointV2;
|
|
75
75
|
tls?: boolean | undefined;
|
|
76
76
|
serviceConfiguredEndpoint?: undefined;
|
|
77
|
+
authSchemePreference?:
|
|
78
|
+
| string[]
|
|
79
|
+
| import("@smithy/types").Provider<string[]>
|
|
80
|
+
| undefined;
|
|
77
81
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
78
82
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
79
83
|
credentials?:
|
|
@@ -75,6 +75,10 @@ export declare const getRuntimeConfig: (
|
|
|
75
75
|
) => import("@smithy/types").EndpointV2;
|
|
76
76
|
tls?: boolean | undefined;
|
|
77
77
|
serviceConfiguredEndpoint?: undefined;
|
|
78
|
+
authSchemePreference?:
|
|
79
|
+
| string[]
|
|
80
|
+
| import("@smithy/types").Provider<string[]>
|
|
81
|
+
| undefined;
|
|
78
82
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
79
83
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
80
84
|
credentials?:
|
|
@@ -78,6 +78,10 @@ export declare const getRuntimeConfig: (
|
|
|
78
78
|
) => import("@smithy/types").EndpointV2;
|
|
79
79
|
tls?: boolean | undefined;
|
|
80
80
|
serviceConfiguredEndpoint?: undefined;
|
|
81
|
+
authSchemePreference?:
|
|
82
|
+
| string[]
|
|
83
|
+
| import("@smithy/types").Provider<string[]>
|
|
84
|
+
| undefined;
|
|
81
85
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
82
86
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").MarketplaceDeploymentHttpAuthSchemeProvider;
|
|
83
87
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-marketplace-deployment",
|
|
3
3
|
"description": "AWS SDK for JavaScript Marketplace Deployment Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.797.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-marketplace-deployment",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.796.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.797.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|