Skip to content

Update Product

servicecatalog_update_product R Documentation

Updates the specified product

Description

Updates the specified product.

Usage

servicecatalog_update_product(AcceptLanguage, Id, Name, Owner,
  Description, Distributor, SupportDescription, SupportEmail, SupportUrl,
  AddTags, RemoveTags, SourceConnection)

Arguments

AcceptLanguage

The language code.

  • jp - Japanese

  • zh - Chinese

Id

[required] The product identifier.

Name

The updated product name.

Owner

The updated owner of the product.

Description

The updated description of the product.

Distributor

The updated distributor of the product.

SupportDescription

The updated support description for the product.

SupportEmail

The updated support email for the product.

SupportUrl

The updated support URL for the product.

AddTags

The tags to add to the product.

RemoveTags

The tags to remove from the product.

SourceConnection

Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

  • Type

  • ConnectionParamters

Value

A list with the following syntax:

list(
  ProductViewDetail = list(
    ProductViewSummary = list(
      Id = "string",
      ProductId = "string",
      Name = "string",
      Owner = "string",
      ShortDescription = "string",
      Type = "CLOUD_FORMATION_TEMPLATE"|"MARKETPLACE"|"TERRAFORM_OPEN_SOURCE"|"TERRAFORM_CLOUD"|"EXTERNAL",
      Distributor = "string",
      HasDefaultPath = TRUE|FALSE,
      SupportEmail = "string",
      SupportDescription = "string",
      SupportUrl = "string"
    ),
    Status = "AVAILABLE"|"CREATING"|"FAILED",
    ProductARN = "string",
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    SourceConnection = list(
      Type = "CODESTAR",
      ConnectionParameters = list(
        CodeStar = list(
          ConnectionArn = "string",
          Repository = "string",
          Branch = "string",
          ArtifactPath = "string"
        )
      ),
      LastSync = list(
        LastSyncTime = as.POSIXct(
          "2015-01-01"
        ),
        LastSyncStatus = "SUCCEEDED"|"FAILED",
        LastSyncStatusMessage = "string",
        LastSuccessfulSyncTime = as.POSIXct(
          "2015-01-01"
        ),
        LastSuccessfulSyncProvisioningArtifactId = "string"
      )
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$update_product(
  AcceptLanguage = "string",
  Id = "string",
  Name = "string",
  Owner = "string",
  Description = "string",
  Distributor = "string",
  SupportDescription = "string",
  SupportEmail = "string",
  SupportUrl = "string",
  AddTags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  RemoveTags = list(
    "string"
  ),
  SourceConnection = list(
    Type = "CODESTAR",
    ConnectionParameters = list(
      CodeStar = list(
        ConnectionArn = "string",
        Repository = "string",
        Branch = "string",
        ArtifactPath = "string"
      )
    )
  )
)