Skip to content

ApiCall

Source code in docs_src/capo_guardduty/types/api_call.py
class ApiCall(TypedDict, closed=True):
    operation: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the API operation that was invoked.</p>"""
    service: NotRequired["capo_guardduty.types.string.String"]
    """<p>The service that the API operation was invoked against.</p>"""
    error: NotRequired["capo_guardduty.types.string.String"]
    """<p>The error code that was returned, if the API call failed.</p>"""
    user_agent: NotRequired["capo_guardduty.types.string.String"]
    """<p>User agent in the request to the API operation</p>"""

error instance-attribute

error: NotRequired[String]

The error code that was returned, if the API call failed.

operation instance-attribute

operation: NotRequired[String]

The name of the API operation that was invoked.

service instance-attribute

service: NotRequired[String]

The service that the API operation was invoked against.

user_agent instance-attribute

user_agent: NotRequired[String]

User agent in the request to the API operation