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>)


8184
8185
8186
8187
8188
8189
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8184

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)


8184
8185
8186
8187
8188
8189
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8184

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)


8184
8185
8186
8187
8188
8189
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8184

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