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)


1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360

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)


1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360

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.



1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360

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



1360
1361
1362
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360

def unknown
  @unknown
end

#urlString

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

Returns:

  • (String)


1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360

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