@aws-sdk/client-marketplace-deployment 3.775.0 → 3.782.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.
@@ -71,6 +71,25 @@ declare const ListTagsForResourceCommand_base: {
71
71
  * @throws {@link MarketplaceDeploymentServiceException}
72
72
  * <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
73
73
  *
74
+ *
75
+ * @example Listing tags for a deployment parameter
76
+ * ```javascript
77
+ * // The following example demonstrates listing the tags for a deployment parameter. If no tags are present, the API will return an empty map.
78
+ * const input = {
79
+ * resourceArn: "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier"
80
+ * };
81
+ * const command = new ListTagsForResourceCommand(input);
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * {
85
+ * tags: {
86
+ * FooKey: "BarValue",
87
+ * HelloKey: "WorldValue"
88
+ * }
89
+ * }
90
+ * *\/
91
+ * ```
92
+ *
74
93
  * @public
75
94
  */
76
95
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -91,6 +91,65 @@ declare const PutDeploymentParameterCommand_base: {
91
91
  * @throws {@link MarketplaceDeploymentServiceException}
92
92
  * <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
93
93
  *
94
+ *
95
+ * @example Creating or updating a deployment parameter
96
+ * ```javascript
97
+ * // The following example demonstrates creating or updating a deployment parameter named "ExampleDeploymentParameterName". The secret will be saved in the Buyer account associated with the passed `agreementId`, with the value set to the provided `secretString`. Note that the deployment parameter `secretString` can be passed in JSON string format, allowing [json-key specific CloudFormation dynamic references](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html) from a single deployment parameter.
98
+ * const input = {
99
+ * agreementId: "agmt-1234",
100
+ * catalog: "AWSMarketplace",
101
+ * clientToken: "some-unique-uuid-between-32-and-64-characters",
102
+ * deploymentParameter: {
103
+ * name: "ExampleDeploymentParameterName",
104
+ * secretString: `{"apiKey": "helloWorldApiKey", "entityId": "fooBarEntityId"}`
105
+ * },
106
+ * productId: "product-1234"
107
+ * };
108
+ * const command = new PutDeploymentParameterCommand(input);
109
+ * const response = await client.send(command);
110
+ * /* response is
111
+ * {
112
+ * agreementId: "agmt-1234",
113
+ * deploymentParameterId: "dp-uniqueidentifier",
114
+ * resourceArn: "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier",
115
+ * tags: { /* empty *\/ }
116
+ * }
117
+ * *\/
118
+ * ```
119
+ *
120
+ * @example Creating a simple deployment parameter, with tags and expiration.
121
+ * ```javascript
122
+ * // The following example demonstrates creating a simple deployment parameter named "ExampleSimpleDeploymentParameterName". If multiple secrets are not required, the `secretString` may be provided in String format. The provided tags are only applied on resource creation and will be ignored if the operation results in an update. The API response includes the tags present on the resource after completion of the operation.
123
+ * const input = {
124
+ * agreementId: "agmt-1234",
125
+ * catalog: "AWSMarketplace",
126
+ * clientToken: "some-unique-uuid-between-32-and-64-characters",
127
+ * deploymentParameter: {
128
+ * name: "ExampleSimpleDeploymentParameterName",
129
+ * secretString: "MySimpleValue"
130
+ * },
131
+ * expirationDate: "2099-11-18T08:52:46.397Z",
132
+ * productId: "product-1234",
133
+ * tags: {
134
+ * FooKey: "BarValue",
135
+ * HelloKey: "WorldValue"
136
+ * }
137
+ * };
138
+ * const command = new PutDeploymentParameterCommand(input);
139
+ * const response = await client.send(command);
140
+ * /* response is
141
+ * {
142
+ * agreementId: "agmt-1234",
143
+ * deploymentParameterId: "dp-uniqueidentifier",
144
+ * resourceArn: "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier",
145
+ * tags: {
146
+ * FooKey: "BarValue",
147
+ * HelloKey: "WorldValue"
148
+ * }
149
+ * }
150
+ * *\/
151
+ * ```
152
+ *
94
153
  * @public
95
154
  */
96
155
  export declare class PutDeploymentParameterCommand extends PutDeploymentParameterCommand_base {
@@ -73,6 +73,24 @@ declare const TagResourceCommand_base: {
73
73
  * @throws {@link MarketplaceDeploymentServiceException}
74
74
  * <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
75
75
  *
76
+ *
77
+ * @example Adding tags to a deployment parameter
78
+ * ```javascript
79
+ * // The following example demonstrates adding two tags to a deployment parameter. There is no output from this API.
80
+ * const input = {
81
+ * resourceArn: "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier",
82
+ * tags: {
83
+ * FooKey: "BarValue",
84
+ * HelloKey: "WorldValue"
85
+ * }
86
+ * };
87
+ * const command = new TagResourceCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* empty *\/ }
91
+ * *\/
92
+ * ```
93
+ *
76
94
  * @public
77
95
  */
78
96
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -73,6 +73,24 @@ declare const UntagResourceCommand_base: {
73
73
  * @throws {@link MarketplaceDeploymentServiceException}
74
74
  * <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
75
75
  *
76
+ *
77
+ * @example Removing tags from a deployment parameter
78
+ * ```javascript
79
+ * // The following example demonstrates removing two tags from a deployment parameter. For each, both the tag and the associated value are removed. There is no output from this API.
80
+ * const input = {
81
+ * resourceArn: "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier",
82
+ * tagKeys: [
83
+ * "FooKey",
84
+ * "HelloKey"
85
+ * ]
86
+ * };
87
+ * const command = new UntagResourceCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response is
90
+ * { /* empty *\/ }
91
+ * *\/
92
+ * ```
93
+ *
76
94
  * @public
77
95
  */
78
96
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
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.775.0",
4
+ "version": "3.782.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,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.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",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",