@@ -143,7 +143,7 @@ def add_tags(tag_resource: AwsResource) -> None:
143143 resourceARN = tag_resource .arn ,
144144 )
145145 if tags :
146- tag_resource .tags .update (tags )
146+ tag_resource .tags .update (tags [ 0 ] )
147147 else :
148148 tags = builder .client .list (
149149 service_name ,
@@ -356,9 +356,9 @@ class AwsQBusinessDataSource(AmazonQTaggable, AwsResource):
356356 metadata : ClassVar [Dict [str , Any ]] = {"icon" : "bucket" , "group" : "ai" }
357357 # Collected via AwsQBusinessApplication()
358358 aws_metadata : ClassVar [Dict [str , Any ]] = {
359- "provider_link_tpl" : "https://{region_id}.console.aws.amazon.com/amazonq/business/applications/{app_id }/indices/{indice_id}/datasources/{id}/details?region={region}" , # fmt: skip
359+ "provider_link_tpl" : "https://{region_id}.console.aws.amazon.com/amazonq/business/applications/{application_id }/indices/{indice_id}/datasources/{id}/details?region={region}" , # fmt: skip
360360 "arn_tpl" : "arn:{partition}:qbusiness:{region}:{account}:application/{application_id}/index/{indice_id}/data-source/{id}" ,
361- "extra_args " : ["application_id" , "indice_id" ],
361+ "extra_args_for_arn " : ["application_id" , "indice_id" ],
362362 }
363363 mapping : ClassVar [Dict [str , Bender ]] = {
364364 "id" : S ("dataSourceId" ),
@@ -528,7 +528,7 @@ class AwsQBusinessIndice(AmazonQTaggable, AwsResource):
528528 metadata : ClassVar [Dict [str , Any ]] = {"icon" : "config" , "group" : "ai" }
529529 aws_metadata : ClassVar [Dict [str , Any ]] = {
530530 "arn_tpl" : "arn:{partition}:qbusiness:{region}:{account}:application/{application_id}/index/{id}" ,
531- "extra_args " : ["application_id" ],
531+ "extra_args_for_arn " : ["application_id" ],
532532 }
533533 # Collected via AwsQBusinessApplication()
534534 mapping : ClassVar [Dict [str , Bender ]] = {
@@ -753,7 +753,7 @@ class AwsQBusinessPlugin(AmazonQTaggable, AwsResource):
753753 metadata : ClassVar [Dict [str , Any ]] = {"icon" : "resource" , "group" : "ai" }
754754 aws_metadata : ClassVar [Dict [str , Any ]] = {
755755 "arn_tpl" : "arn:{partition}:qbusiness:{region}:{account}:application/{application_id}/plugin/{id}" ,
756- "extra_args " : ["application_id" ],
756+ "extra_args_for_arn " : ["application_id" ],
757757 }
758758 # Collected via AwsQBusinessApplication()
759759 mapping : ClassVar [Dict [str , Bender ]] = {
@@ -819,7 +819,7 @@ class AwsQBusinessRetriever(AmazonQTaggable, AwsResource):
819819 metadata : ClassVar [Dict [str , Any ]] = {"icon" : "application" , "group" : "ai" }
820820 aws_metadata : ClassVar [Dict [str , Any ]] = {
821821 "arn_tpl" : "arn:{partition}:qbusiness:{region}:{account}:application/{application_id}/retriever/{id}" ,
822- "extra_args " : ["application_id" ],
822+ "extra_args_for_arn " : ["application_id" ],
823823 }
824824 # Collected via AwsQBusinessApplication()
825825 mapping : ClassVar [Dict [str , Bender ]] = {
@@ -876,7 +876,7 @@ class AwsQBusinessWebExperience(AmazonQTaggable, AwsResource):
876876 metadata : ClassVar [Dict [str , Any ]] = {"icon" : "application" , "group" : "ai" }
877877 aws_metadata : ClassVar [Dict [str , Any ]] = {
878878 "arn_tpl" : "arn:{partition}:qbusiness:{region}:{account}:application/{application_id}/web-experience/{id}" ,
879- "extra_args " : ["application_id" ],
879+ "extra_args_for_arn " : ["application_id" ],
880880 }
881881 # Collected via AwsQBusinessApplication()
882882 mapping : ClassVar [Dict [str , Bender ]] = {
0 commit comments