Skip to content

StartResourceActivitiesQueryInput

Source code in docs_src/capo_assurance/types/start_resource_activities_query_input.py
class StartResourceActivitiesQueryInput(TypedDict, closed=True):
    environment_arn: "capo_assurance.types.environment_arn.EnvironmentArn"
    """<p>The ARN of the environment to query in.</p>"""
    project: "capo_assurance.types.project_name.ProjectName"
    """<p>The project to query in.</p>"""
    actor_arn: "capo_assurance.types.resource_arn.ResourceArn"
    """<p>The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.</p>"""
    start_time: NotRequired["datetime.datetime"]
    """<p>The start of the time range to query, inclusive. The default is 24 hours before the request.</p>"""
    end_time: NotRequired["datetime.datetime"]
    """<p>The end of the time range to query, exclusive. The default is the time of the request.</p>"""
    aggregation_levels: NotRequired[
        "capo_assurance.types.activity_aggregation_level_list.ActivityAggregationLevelList"
    ]
    """<p>The ways to group the results. By default, the results include every grouping. Valid values:</p> <ul> <li> <p> <code>ACTION</code> – Call counts for each AWS service and API action.</p> </li> <li> <p> <code>RESOURCE</code> – Call counts for each resource.</p> </li> <li> <p> <code>SESSION</code> – The agent sessions in the time range.</p> </li> </ul>"""
    filters: NotRequired[
        "capo_assurance.types.resource_activities_filter_list.ResourceActivitiesFilterList"
    ]
    """<p>The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.</p>"""

actor_arn instance-attribute

actor_arn: ResourceArn

The ARN of the agent runtime whose activity to query. The agent runtime must be in your AWS account.

aggregation_levels instance-attribute

aggregation_levels: NotRequired[ActivityAggregationLevelList]

The ways to group the results. By default, the results include every grouping. Valid values:

  • ACTION – Call counts for each AWS service and API action.

  • RESOURCE – Call counts for each resource.

  • SESSION – The agent sessions in the time range.

end_time instance-attribute

end_time: NotRequired[datetime]

The end of the time range to query, exclusive. The default is the time of the request.

environment_arn instance-attribute

environment_arn: EnvironmentArn

The ARN of the environment to query in.

filters instance-attribute

filters: NotRequired[ResourceActivitiesFilterList]

The filters to apply to the results. A result must match every filter. Within one filter, a result must match at least one of the values. If you don't specify any filters, the query returns all activity in the time range.

project instance-attribute

project: ProjectName

The project to query in.

start_time instance-attribute

start_time: NotRequired[datetime]

The start of the time range to query, inclusive. The default is 24 hours before the request.