Unable to get AWS AppConfig configuration file with boto3_client passed to AppConfigStore #5511
-
| Hello When I am trying to run  I am trying to run this code: When I use this restricted_client (its a my own class which inherits from boto3) for example to: Can someone help me? What I do wrong? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            leandrodamascena
          
      
      
        Nov 11, 2024 
      
    
    Replies: 1 comment 4 replies
-
| Hi @Rogalek sorry for the super late reply. Let me try to run this code and I'll get back to you soon. | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hi @Rogalek! I finally found some time to inspect it. The problem is that you are using an instance of
appconfigboto3.client, when in reality you need to useappconfigdatabecause this is the client that can communicate with the AppConfig Data Plane and query its values stored in your application and environment. We mention that in our documentation.restricted_client(service_name="appconfig", region_name=APPCONFIG_REGION)should be
restricted_client(service_name="appconfigdata", region_name=APPCONFIG_REGION)Please let me know if this works.