Class: Aws::ServiceCatalog::Types::CopyProductInput

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 CopyProductInput data as a hash:

{
  accept_language: "AcceptLanguage",
  source_product_arn: "ProductArn", # required
  target_product_id: "Id",
  target_product_name: "ProductViewName",
  source_provisioning_artifact_identifiers: [
    {
      "Id" => "ProvisioningArtifactPropertyValue",
    },
  ],
  copy_options: ["CopyTags"], # accepts CopyTags
  idempotency_token: "IdempotencyToken", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#copy_optionsArray<String>

The copy options. If the value is CopyTags, the tags from the source product are copied to the target product.

Returns:

  • (Array<String>)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#idempotency_tokenString

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

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

Returns:

  • (String)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#source_product_arnString

The Amazon Resource Name (ARN) of the source product.

Returns:

  • (String)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#source_provisioning_artifact_identifiersArray<Hash<String,String>>

The identifiers of the provisioning artifacts (also known as versions) of the product to copy. By default, all provisioning artifacts are copied.

Returns:

  • (Array<Hash<String,String>>)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#target_product_idString

The identifier of the target product. By default, a new product is created.

Returns:

  • (String)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#target_product_nameString

A name for the target product. The default is the name of the source product.

Returns:

  • (String)


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

class CopyProductInput < Struct.new(
  :accept_language,
  :source_product_arn,
  :target_product_id,
  :target_product_name,
  :source_provisioning_artifact_identifiers,
  :copy_options,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end