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.
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_definition ⇒ String
The metric definition, if the related item is a metric in Amazon CloudWatch.
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_detail ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1360 1361 1362 |
# File 'gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/types.rb', line 1360 def unknown @unknown end |
#url ⇒ String
The URL, if the related item is a non-Amazon Web Services resource.
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 |