You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServiceCatalog::Types::CreateProductInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb

Overview

Note:

When making an API call, you may pass CreateProductInput data as a hash:

{
  accept_language: "AcceptLanguage",
  name: "ProductViewName", # required
  owner: "ProductViewOwner", # required
  description: "ProductViewShortDescription",
  distributor: "ProductViewOwner",
  support_description: "SupportDescription",
  support_email: "SupportEmail",
  support_url: "SupportUrl",
  product_type: "CLOUD_FORMATION_TEMPLATE", # required, accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  provisioning_artifact_parameters: { # required
    name: "ProvisioningArtifactName",
    description: "ProvisioningArtifactDescription",
    info: { # required
      "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
    },
    type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
  },
  idempotency_token: "IdempotencyToken", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code to use for this operation. Supported language codes are as follows:

"en" (English)

"jp" (Japanese)

"zh" (Chinese)

If no code is specified, "en" is used as the default.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#descriptionString

The text description of the product.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#distributorString

The distributor of the product.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#idempotency_tokenString

A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#nameString

The name of the product.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#ownerString

The owner of the product.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#product_typeString

The type of the product to create.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#provisioning_artifact_parametersTypes::ProvisioningArtifactProperties

Parameters for the provisioning artifact.



573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#support_descriptionString

Support information about the product.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#support_emailString

Contact email for product support.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#support_urlString

Contact URL for product support.

Returns:

  • (String)


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags to associate with the new product.

Returns:



573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 573

class CreateProductInput < Struct.new(
  :accept_language,
  :name,
  :owner,
  :description,
  :distributor,
  :support_description,
  :support_email,
  :support_url,
  :product_type,
  :tags,
  :provisioning_artifact_parameters,
  :idempotency_token)
  include Aws::Structure
end