AWSConnectMetricFilterV2
Objective-C
@interface AWSConnectMetricFilterV2
Swift
class AWSConnectMetricFilterV2
Contains information about the filter used when retrieving metrics. MetricFiltersV2
can be used on the following metrics: AVG_AGENT_CONNECTING_TIME
, CONTACTS_CREATED
, CONTACTS_HANDLED
, SUM_CONTACTS_DISCONNECTED
.
-
The key to use for filtering data.
Valid metric filter keys:
INITIATION_METHOD
,DISCONNECT_REASON
. These are the same values as theInitiationMethod
andDisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator Guide.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable metricFilterKey;
Swift
var metricFilterKey: String? { get set }
-
The values to use for filtering data.
Valid metric filter values for
INITIATION_METHOD
:INBOUND
|OUTBOUND
|TRANSFER
|QUEUE_TRANSFER
|CALLBACK
|API
Valid metric filter values for
DISCONNECT_REASON
:CUSTOMER_DISCONNECT
|AGENT_DISCONNECT
|THIRD_PARTY_DISCONNECT
|TELECOM_PROBLEM
|BARGED
|CONTACT_FLOW_DISCONNECT
|OTHER
|EXPIRED
|API
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable metricFilterValues;
Swift
var metricFilterValues: [String]? { get set }
-
The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is
false
, which indicates to filter on the requested metric filter.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable negate;
Swift
var negate: NSNumber? { get set }