PutDeploymentParameter - AWS Marketplace Deployment Service

PutDeploymentParameter

Creates or updates a deployment parameter and is targeted by catalog and agreementId.

Request Syntax

POST /catalogs/catalog/products/productId/deployment-parameters HTTP/1.1 Content-type: application/json { "agreementId": "string", "clientToken": "string", "deploymentParameter": { "name": "string", "secretString": "string" }, "expirationDate": "string", "tags": { "string" : "string" } }

URI Request Parameters

The request uses the following URI parameters.

catalog

The catalog related to the request. Fixed value: AWSMarketplace

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z_-]+$

Required: Yes

productId

The product for which AWS Marketplace will save secrets for the buyer’s account.

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[A-Za-z0-9_/-]+$

Required: Yes

Request Body

The request accepts the following data in JSON format.

agreementId

The unique identifier of the agreement.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[A-Za-z0-9_/-]+$

Required: Yes

clientToken

The idempotency token for deployment parameters. A unique identifier for the new version.

Note

This field is not required if you're calling using an AWS SDK. Otherwise, a clientToken must be provided with the request.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 64.

Pattern: ^[a-zA-Z0-9/_+=.:@-]+$

Required: No

deploymentParameter

The deployment parameter targeted to the acceptor of an agreement for which to create the AWS Secret Manager resource.

Type: DeploymentParameterInput object

Required: Yes

expirationDate

The date when deployment parameters expire and are scheduled for deletion.

Type: Timestamp

Required: No

tags

A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ^[a-zA-Z0-9/_+=.:@-]+$

Value Length Constraints: Minimum length of 1. Maximum length of 256.

Value Pattern: ^[a-zA-Z0-9/_+=.:@-]+$

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "agreementId": "string", "deploymentParameterId": "string", "resourceArn": "string", "tags": { "string" : "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

agreementId

The unique identifier of the agreement.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[A-Za-z0-9_/-]+$

deploymentParameterId

The unique identifier of the deployment parameter.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 32.

Pattern: ^dp-[a-zA-Z0-9]+$

resourceArn

The Amazon Resource Name (ARN) associated with the deployment parameter resource you want to create or update.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: ^[a-zA-Z0-9:*/-]+$

tags

A map of key-value pairs, where each pair represents a tag saved to the resource. Tags will only be applied for create operations, and they'll be ignored if the resource already exists.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ^[a-zA-Z0-9/_+=.:@-]+$

Value Length Constraints: Minimum length of 1. Maximum length of 256.

Value Pattern: ^[a-zA-Z0-9/_+=.:@-]+$

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

ConflictException

The request configuration has conflicts. For details, see the accompanying error message.

HTTP Status Code: 409

InternalServerException

There was an internal service exception.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource wasn't found.

HTTP Status Code: 404

ServiceQuotaExceededException

The maximum number of requests per account has been exceeded.

HTTP Status Code: 402

ThrottlingException

Too many requests.

HTTP Status Code: 429

ValidationException

An error occurred during validation.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: