Class: Aws::SSMIncidents::Types::ItemValue

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

Overview

Note:

ItemValue is a union - when making an API calls you must set exactly one of the members.

Note:

ItemValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ItemValue corresponding to the set member.

Describes a related item.

Defined Under Namespace

Classes: Arn, MetricDefinition, PagerDutyIncidentDetail, Unknown, Url

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

Returns:

  • (String)


1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :pager_duty_incident_detail,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class PagerDutyIncidentDetail < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end

#metric_definitionString

The metric definition, if the related item is a metric in Amazon CloudWatch.

Returns:

  • (String)


1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :pager_duty_incident_detail,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class PagerDutyIncidentDetail < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end

#pager_duty_incident_detailTypes::PagerDutyIncidentDetail

Details about an incident that is associated with a PagerDuty incident.



1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :pager_duty_incident_detail,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class PagerDutyIncidentDetail < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1109
1110
1111
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109

def unknown
  @unknown
end

#urlString

The URL, if the related item is a non-Amazon Web Services resource.

Returns:

  • (String)


1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109

class ItemValue < Struct.new(
  :arn,
  :metric_definition,
  :pager_duty_incident_detail,
  :url,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Arn < ItemValue; end
  class MetricDefinition < ItemValue; end
  class PagerDutyIncidentDetail < ItemValue; end
  class Url < ItemValue; end
  class Unknown < ItemValue; end
end