ConfigService / Client / exceptions / InvalidRecordingGroupException
InvalidRecordingGroupException#
- class ConfigService.Client.exceptions.InvalidRecordingGroupException#
Indicates one of the following errors:
You have provided a combination of parameter values that is not valid. For example:
Setting the
allSupported
field of RecordingGroup totrue
, but providing a non-empty list for the ``resourceTypes``field of RecordingGroup.Setting the
allSupported
field of RecordingGroup totrue
, but also setting theuseOnly
field of RecordingStrategy toEXCLUSION_BY_RESOURCE_TYPES
.
Every parameter is either null, false, or empty.
You have reached the limit of the number of resource types you can provide for the recording group.
You have provided resource types or a recording strategy that are not valid.
Example
try: ... except client.exceptions.InvalidRecordingGroupException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{}
Structure
(dict) –
Indicates one of the following errors:
You have provided a combination of parameter values that is not valid. For example:
Setting the
allSupported
field of RecordingGroup totrue
, but providing a non-empty list for the ``resourceTypes``field of RecordingGroup.Setting the
allSupported
field of RecordingGroup totrue
, but also setting theuseOnly
field of RecordingStrategy toEXCLUSION_BY_RESOURCE_TYPES
.
Every parameter is either null, false, or empty.
You have reached the limit of the number of resource types you can provide for the recording group.
You have provided resource types or a recording strategy that are not valid.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.