@aws-sdk/client-marketplace-deployment 3.463.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/LICENSE +201 -0
- package/README.md +237 -0
- package/dist-cjs/MarketplaceDeployment.js +19 -0
- package/dist-cjs/MarketplaceDeploymentClient.js +43 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/PutDeploymentParameterCommand.js +52 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MarketplaceDeploymentServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +114 -0
- package/dist-cjs/protocols/Aws_restJson1.js +436 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/MarketplaceDeployment.js +15 -0
- package/dist-es/MarketplaceDeploymentClient.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/PutDeploymentParameterCommand.js +48 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MarketplaceDeploymentServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +102 -0
- package/dist-es/protocols/Aws_restJson1.js +425 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/MarketplaceDeployment.d.ts +38 -0
- package/dist-types/MarketplaceDeploymentClient.d.ts +173 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
- package/dist-types/commands/PutDeploymentParameterCommand.d.ts +110 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/MarketplaceDeploymentServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +250 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/MarketplaceDeployment.d.ts +75 -0
- package/dist-types/ts3.4/MarketplaceDeploymentClient.d.ts +145 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutDeploymentParameterCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/MarketplaceDeploymentServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +96 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +104 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
12
|
+
import { PutDeploymentParameterCommandInput, PutDeploymentParameterCommandOutput } from "./commands/PutDeploymentParameterCommand";
|
|
13
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
14
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
17
|
+
export { __Client };
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type ServiceInputTypes = ListTagsForResourceCommandInput | PutDeploymentParameterCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ServiceOutputTypes = ListTagsForResourceCommandOutput | PutDeploymentParameterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
30
|
+
/**
|
|
31
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
32
|
+
*/
|
|
33
|
+
requestHandler?: __HttpHandler;
|
|
34
|
+
/**
|
|
35
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
36
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
40
|
+
/**
|
|
41
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
urlParser?: __UrlParser;
|
|
45
|
+
/**
|
|
46
|
+
* A function that can calculate the length of a request body.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
50
|
+
/**
|
|
51
|
+
* A function that converts a stream into an array of bytes.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
streamCollector?: __StreamCollector;
|
|
55
|
+
/**
|
|
56
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
base64Decoder?: __Decoder;
|
|
60
|
+
/**
|
|
61
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
base64Encoder?: __Encoder;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
utf8Decoder?: __Decoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
utf8Encoder?: __Encoder;
|
|
75
|
+
/**
|
|
76
|
+
* The runtime environment.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
runtime?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
82
|
+
* trait of an operation.
|
|
83
|
+
*/
|
|
84
|
+
disableHostPrefix?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Unique service identifier.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
serviceId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
92
|
+
*/
|
|
93
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Enables FIPS compatible endpoints.
|
|
96
|
+
*/
|
|
97
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* The AWS region to which this client will send requests
|
|
100
|
+
*/
|
|
101
|
+
region?: string | __Provider<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Default credentials provider; Not available in browser runtime.
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
107
|
+
/**
|
|
108
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
/**
|
|
113
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
114
|
+
*/
|
|
115
|
+
maxAttempts?: number | __Provider<number>;
|
|
116
|
+
/**
|
|
117
|
+
* Specifies which retry algorithm to use.
|
|
118
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
retryMode?: string | __Provider<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Optional logger for logging debug/info/warn/error.
|
|
124
|
+
*/
|
|
125
|
+
logger?: __Logger;
|
|
126
|
+
/**
|
|
127
|
+
* Optional extensions
|
|
128
|
+
*/
|
|
129
|
+
extensions?: RuntimeExtension[];
|
|
130
|
+
/**
|
|
131
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
132
|
+
*/
|
|
133
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export type MarketplaceDeploymentClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*
|
|
142
|
+
* The configuration interface of MarketplaceDeploymentClient class constructor that set the region, credentials and other options.
|
|
143
|
+
*/
|
|
144
|
+
export interface MarketplaceDeploymentClientConfig extends MarketplaceDeploymentClientConfigType {
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type MarketplaceDeploymentClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*
|
|
153
|
+
* The resolved configuration interface of MarketplaceDeploymentClient class. This is resolved and normalized from the {@link MarketplaceDeploymentClientConfig | constructor configuration interface}.
|
|
154
|
+
*/
|
|
155
|
+
export interface MarketplaceDeploymentClientResolvedConfig extends MarketplaceDeploymentClientResolvedConfigType {
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.</p>
|
|
160
|
+
*/
|
|
161
|
+
export declare class MarketplaceDeploymentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MarketplaceDeploymentClientResolvedConfig> {
|
|
162
|
+
/**
|
|
163
|
+
* The resolved configuration of MarketplaceDeploymentClient class. This is resolved and normalized from the {@link MarketplaceDeploymentClientConfig | constructor configuration interface}.
|
|
164
|
+
*/
|
|
165
|
+
readonly config: MarketplaceDeploymentClientResolvedConfig;
|
|
166
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<MarketplaceDeploymentClientConfig>);
|
|
167
|
+
/**
|
|
168
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
169
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
170
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
171
|
+
*/
|
|
172
|
+
destroy(): void;
|
|
173
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MarketplaceDeploymentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDeploymentClient";
|
|
5
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Lists all tags that have been added to a deployment parameter resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MarketplaceDeploymentClient, ListTagsForResourceCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
31
|
+
* // const { MarketplaceDeploymentClient, ListTagsForResourceCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
32
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
33
|
+
* const input = { // ListTagsForResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // ListTagsForResourceResponse
|
|
39
|
+
* // tags: { // Tags
|
|
40
|
+
* // "<keys>": "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
47
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
48
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>There was an internal service exception.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource wasn't found.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>Too many requests.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>An error occurred during validation.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MarketplaceDeploymentClientResolvedConfig> {
|
|
72
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
73
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceDeploymentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MarketplaceDeploymentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDeploymentClient";
|
|
5
|
+
import { PutDeploymentParameterRequest, PutDeploymentParameterResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutDeploymentParameterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutDeploymentParameterCommandInput extends PutDeploymentParameterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutDeploymentParameterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutDeploymentParameterCommandOutput extends PutDeploymentParameterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates or updates a deployment parameter and is targeted by <code>catalog</code> and <code>agreementId</code>.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MarketplaceDeploymentClient, PutDeploymentParameterCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
31
|
+
* // const { MarketplaceDeploymentClient, PutDeploymentParameterCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
32
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
33
|
+
* const input = { // PutDeploymentParameterRequest
|
|
34
|
+
* catalog: "STRING_VALUE", // required
|
|
35
|
+
* productId: "STRING_VALUE", // required
|
|
36
|
+
* agreementId: "STRING_VALUE", // required
|
|
37
|
+
* deploymentParameter: { // DeploymentParameterInput
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* secretString: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* tags: { // TagsMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* expirationDate: new Date("TIMESTAMP"),
|
|
45
|
+
* clientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new PutDeploymentParameterCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // PutDeploymentParameterResponse
|
|
50
|
+
* // resourceArn: "STRING_VALUE", // required
|
|
51
|
+
* // agreementId: "STRING_VALUE", // required
|
|
52
|
+
* // deploymentParameterId: "STRING_VALUE", // required
|
|
53
|
+
* // tags: { // TagsMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param PutDeploymentParameterCommandInput - {@link PutDeploymentParameterCommandInput}
|
|
61
|
+
* @returns {@link PutDeploymentParameterCommandOutput}
|
|
62
|
+
* @see {@link PutDeploymentParameterCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link PutDeploymentParameterCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>There was an internal service exception.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The specified resource wasn't found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>The maximum number of requests per account has been exceeded.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>Too many requests.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>An error occurred during validation.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class PutDeploymentParameterCommand extends $Command<PutDeploymentParameterCommandInput, PutDeploymentParameterCommandOutput, MarketplaceDeploymentClientResolvedConfig> {
|
|
92
|
+
readonly input: PutDeploymentParameterCommandInput;
|
|
93
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
constructor(input: PutDeploymentParameterCommandInput);
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceDeploymentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutDeploymentParameterCommandInput, PutDeploymentParameterCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private serialize;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MarketplaceDeploymentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDeploymentClient";
|
|
5
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Tags a resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MarketplaceDeploymentClient, TagResourceCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
31
|
+
* // const { MarketplaceDeploymentClient, TagResourceCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
32
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tags: { // Tags
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
39
|
+
* const command = new TagResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
46
|
+
* @returns {@link TagResourceCommandOutput}
|
|
47
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>There was an internal service exception.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource wasn't found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>Too many requests.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>An error occurred during validation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MarketplaceDeploymentClientResolvedConfig> {
|
|
74
|
+
readonly input: TagResourceCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: TagResourceCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceDeploymentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { MarketplaceDeploymentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MarketplaceDeploymentClient";
|
|
5
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Removes a tag or list of tags from a resource.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { MarketplaceDeploymentClient, UntagResourceCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
31
|
+
* // const { MarketplaceDeploymentClient, UntagResourceCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
32
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
33
|
+
* const input = { // UntagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tagKeys: [ // StringList // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new UntagResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
46
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
47
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>There was an internal service exception.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The specified resource wasn't found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>Too many requests.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>An error occurred during validation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MarketplaceDeploymentClientResolvedConfig> {
|
|
74
|
+
readonly input: UntagResourceCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: UntagResourceCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MarketplaceDeploymentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
18
|
+
Region?: string;
|
|
19
|
+
UseDualStack?: boolean;
|
|
20
|
+
UseFIPS?: boolean;
|
|
21
|
+
Endpoint?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface MarketplaceDeploymentExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./MarketplaceDeploymentClient";
|
|
7
|
+
export * from "./MarketplaceDeployment";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export { MarketplaceDeploymentExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./models";
|
|
13
|
+
import "@aws-sdk/util-endpoints";
|
|
14
|
+
export { MarketplaceDeploymentServiceException } from "./models/MarketplaceDeploymentServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from MarketplaceDeployment service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MarketplaceDeploymentServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|