Class: Aws::SSMIncidents::Types::ItemValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSMIncidents::Types::ItemValue
- Defined in:
- gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb
Overview
ItemValue is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
Arn, MetricDefinition, PagerDutyIncidentDetail, Unknown, Url
Defined Under Namespace
Classes: Arn, MetricDefinition, PagerDutyIncidentDetail, Unknown, Url
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
-
#metric_definition ⇒ String
The metric definition, if the related item is a metric in Amazon CloudWatch.
-
#pager_duty_incident_detail ⇒ Types::PagerDutyIncidentDetail
Details about an incident that is associated with a PagerDuty incident.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#url ⇒ String
The URL, if the related item is a non-Amazon Web Services resource.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
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_definition ⇒ String
The metric definition, if the related item is a metric in Amazon CloudWatch.
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_detail ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1109 1110 1111 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1109 def unknown @unknown end |
#url ⇒ String
The URL, if the related item is a non-Amazon Web Services resource.
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 |