<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Installing minimum dependencies for use with AWS Lambda in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1288375#M8685</link>
    <description>&lt;P&gt;I've run into the Lambda deployment size limitation in the past, so I understand your predicament. What functionality do you need from the Python API? On at least one occasion, it was easier to just write a custom class for my Lambdas that handled the essentials. I was doing simple stuff like querying a service to generate a report.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 20:45:18 GMT</pubDate>
    <dc:creator>EarlMedina</dc:creator>
    <dc:date>2023-05-11T20:45:18Z</dc:date>
    <item>
      <title>Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1287549#M8676</link>
      <description>&lt;P&gt;I'm looking at using ArcGIS Python API in an AWS Lambda function. I have installed all of the minimum dependencies based on&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/#install-with-minimum-dependencies" target="_blank"&gt;Install and Setup | ArcGIS API for Python&lt;/A&gt;&amp;nbsp;but some of these dependencies seem to be an overkill when used in AWS. Would the kerberos &amp;amp; ntlm packages actually be required and probably the same with oauthlib?&lt;/P&gt;&lt;P&gt;At the moment, I leaning towards ujson, six &amp;amp; requests are probably the bare minimum for AWS Lambda.&lt;/P&gt;&lt;P&gt;It would be great to find out the actual bare minimum per scenario (eg. If server/portal using local win accounts then only&amp;nbsp;ujson, six &amp;amp; requests are required, etc)&lt;/P&gt;&lt;P&gt;Thanks for any help with this.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 05:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1287549#M8676</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2023-05-10T05:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1288375#M8685</link>
      <description>&lt;P&gt;I've run into the Lambda deployment size limitation in the past, so I understand your predicament. What functionality do you need from the Python API? On at least one occasion, it was easier to just write a custom class for my Lambdas that handled the essentials. I was doing simple stuff like querying a service to generate a report.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 20:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1288375#M8685</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-05-11T20:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1288417#M8686</link>
      <description>&lt;P&gt;Earl,&lt;/P&gt;&lt;P&gt;The use case I'm looking at this for CI/CD pipeline. Storing artifacts in S3 bucket (eg. sd files, mapx files, json for web maps) and then invoking lambda via a schedule to take these artifacts from S3 and publish them into ArcGIS Enterprise.&lt;/P&gt;&lt;P&gt;I'm thinking of building a docker file and using it that way instead now.&lt;/P&gt;&lt;P&gt;At the moment, I'm getting an error in loading the packages 'asn1' cannot be found for the crypto package&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 23:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1288417#M8686</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2023-05-11T23:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1562922#M10914</link>
      <description>&lt;P&gt;HI - if I can re-open this thread -&lt;/P&gt;&lt;P&gt;My use case is, to pull a latitude/longitude from a MapServiceLayer&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-map-service-layer/" target="_self"&gt;Docs&lt;/A&gt;&amp;nbsp;:&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; from arcgis.mapping import MapServiceLayer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;map_service_layer = MapServiceLayer(url='...../GISViewer/MapServer/57')&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; feature_set=map_service_layer.query(where='', text=text)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;featureset.to_json&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;this seems like a fairly small-sized package, but I am currently forced to load a Docker image when I run this lambda; any suggestions on fitting the software for MapServiceLayer into a lambda layer would be by me appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 04:10:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1562922#M10914</guid>
      <dc:creator>RKatz</dc:creator>
      <dc:date>2024-11-27T04:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1562925#M10916</link>
      <description>&lt;P&gt;RKatz,&lt;/P&gt;&lt;P&gt;You don't need the arcgis python api to do this.&lt;/P&gt;&lt;P&gt;Using the requests module and send a GET request to your url (eg.&amp;nbsp;&lt;SPAN&gt;url='...../GISViewer/MapServer/57/query?f=json&amp;amp;token=.....) will return json data&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 04:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1562925#M10916</guid>
      <dc:creator>AnthonyRyanEQL</dc:creator>
      <dc:date>2024-11-27T04:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Installing minimum dependencies for use with AWS Lambda</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1563543#M10919</link>
      <description>&lt;P&gt;worked like a charm&lt;/P&gt;</description>
      <pubDate>Sun, 01 Dec 2024 15:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-minimum-dependencies-for-use-with-aws/m-p/1563543#M10919</guid>
      <dc:creator>RKatz</dc:creator>
      <dc:date>2024-12-01T15:13:10Z</dc:date>
    </item>
  </channel>
</rss>

