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

Class: Aws::SSM::Types::LabelParameterVersionRequest

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

Overview

Note:

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

{
  name: "PSParameterName", # required
  parameter_version: 1,
  labels: ["ParameterLabel"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#labelsArray<String>

One or more labels to attach to the specified parameter version.

Returns:

  • (Array<String>)


9542
9543
9544
9545
9546
9547
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9542

class LabelParameterVersionRequest < Struct.new(
  :name,
  :parameter_version,
  :labels)
  include Aws::Structure
end

#nameString

The parameter name on which you want to attach one or more labels.

Returns:

  • (String)


9542
9543
9544
9545
9546
9547
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9542

class LabelParameterVersionRequest < Struct.new(
  :name,
  :parameter_version,
  :labels)
  include Aws::Structure
end

#parameter_versionInteger

The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.

Returns:

  • (Integer)


9542
9543
9544
9545
9546
9547
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9542

class LabelParameterVersionRequest < Struct.new(
  :name,
  :parameter_version,
  :labels)
  include Aws::Structure
end