@@ -52,7 +52,6 @@ def __init__(self, verbose: bool = False):
5252 'AppSyncCwlRole' ,
5353 'AppSyncServiceRole' ,
5454 'TrackingTableDataSource' ,
55- 'AnalyticsTableDataSource' ,
5655 'UpdateDocumentResolver' ,
5756 'GetDocumentResolver' ,
5857 'ListDocumentResolver' ,
@@ -103,12 +102,15 @@ def __init__(self, verbose: bool = False):
103102 'CreateDocumentResolverFunctionLogGroup' ,
104103 'CreateDocumentDataSource' ,
105104 'CreateDocumentResolver' ,
106- 'SubmitAnalyticsQueryResolver' ,
107- 'AnalyticsRequestHandlerDataSource' ,
108- 'GetAnalyticsJobStatusResolver' ,
109- 'ListAnalyticsJobsResolver' ,
110- 'UpdateAnalyticsJobStatusResolver' ,
111- 'DeleteAnalyticsJobResolver'
105+ 'AgentTableDataSource' ,
106+ 'SubmitAgentQueryResolver' ,
107+ 'AgentRequestHandlerDataSource' ,
108+ 'GetAgentJobStatusResolver' ,
109+ 'ListAgentJobsResolver' ,
110+ 'UpdateAgentJobStatusResolver' ,
111+ 'DeleteAgentJobResolver' ,
112+ 'ListAvailableAgentsResolver' ,
113+ 'ListAvailableAgentsDataSource'
112114 }
113115
114116 self .auth_resources = {
@@ -137,12 +139,15 @@ def __init__(self, verbose: bool = False):
137139 'IPSetUpdaterCustomResource'
138140 }
139141
140- self .analytics_resources = {
141- 'AnalyticsTable' ,
142- 'AnalyticsRequestHandlerFunction' ,
143- 'AnalyticsRequestHandlerLogGroup' ,
144- 'AnalyticsProcessorFunction' ,
145- 'AnalyticsProcessorLogGroup'
142+ self .agent_resources = {
143+ 'AgentTable' ,
144+ 'AgentRequestHandlerFunction' ,
145+ 'AgentRequestHandlerLogGroup' ,
146+ 'AgentProcessorFunction' ,
147+ 'AgentProcessorLogGroup' ,
148+ 'ExternalMCPAgentsSecret' ,
149+ 'ListAvailableAgentsFunction' ,
150+ 'ListAvailableAgentsLogGroup'
146151 }
147152
148153 self .hitl_resources = {
@@ -188,7 +193,8 @@ def __init__(self, verbose: bool = False):
188193 'WebUIBucketName' ,
189194 'WebUITestEnvFile' ,
190195 'SageMakerA2IReviewPortalURL' ,
191- 'LabelingConsoleURL'
196+ 'LabelingConsoleURL' ,
197+ 'ExternalMCPAgentsSecretName'
192198 }
193199
194200 def setup_logging (self ):
@@ -328,7 +334,7 @@ def remove_resources(self, template: Dict[str, Any]) -> Dict[str, Any]:
328334 self .appsync_dependent_resources |
329335 self .auth_resources |
330336 self .waf_resources |
331- self .analytics_resources |
337+ self .agent_resources |
332338 self .hitl_resources
333339 )
334340
@@ -627,10 +633,10 @@ def clean_template_for_headless_deployment(self, template: Dict[str, Any]) -> Di
627633
628634 # Remove outputs that reference analytics table (removed)
629635 if (isinstance (output_value , dict ) and
630- output_value .get ('Ref' ) == 'AnalyticsTable ' ):
636+ output_value .get ('Ref' ) == 'AgentTable ' ):
631637 outputs_to_clean .append (output_name )
632638 elif (isinstance (output_value , dict ) and
633- 'AnalyticsTable ' in str (output_value )):
639+ 'AgentTable ' in str (output_value )):
634640 outputs_to_clean .append (output_name )
635641 # Remove outputs that reference WebUIBucket (removed)
636642 elif (isinstance (output_value , dict ) and
0 commit comments