{"id":523,"date":"2021-11-10T12:09:26","date_gmt":"2021-11-10T12:09:26","guid":{"rendered":"http:\/\/18.141.20.153\/?p=523"},"modified":"2023-04-28T11:22:21","modified_gmt":"2023-04-28T11:22:21","slug":"how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/","title":{"rendered":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1)"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh5.googleusercontent.com\/t2zPl_M-f5r2t24VGcBr2cGHNK686BQgHV7oLxZKgBaPSQDVvcMXb_nyTalbdVbpT1HQcQ9E4XP4BzfTlS3umDf-894kVWwzHXv4XNSEyxlAbSDzlHoIh1j5n4MhnUfVXAPAH1lL\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL and adds a few more cool features to its web and mobile <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-fetch-contents-of-json-files-stored-in-amazon-s3-using-express-js-and-aws-sdk\/\">SDKs<\/a>. AppSync is the best of GraphQL with less complexity than before, which works out great for Serverless applications.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">You can refer to our blog <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-2\/\">How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 2)<\/a> to understand and create an API endpoint to provision a DynamoDB table using AWS AppSync.&nbsp;<\/p>\n\n\n\n<p>In this blog, we will cover:<\/p>\n\n\n\n<ul><li>What is AWS AppSync<\/li><li>How does it work?\u00a0<\/li><li>Five reasons you should consider AppSync over API Gateway<\/li><li>Use Cases of AWS AppSync<\/li><li>Pricing of AWS AppSync<\/li><li>Companies using AWS AppSync<\/li><li>Hands-On\u00a0<\/li><li>Conclusion<\/li><\/ul>\n\n\n\n<h2>What is AWS AppSync?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><a href=\"https:\/\/aws.amazon.com\/pm\/appsync\/?trk=a0465925-8003-4d68-bc59-c7cd4211829e&amp;sc_channel=ps&amp;ef_id=Cj0KCQjw3a2iBhCFARIsAD4jQB0NKwUwHOWHRT_wrxudWF1lQ2YtRYJGYnNfqKYAMi_aTKaMInncVQ0aAhwzEALw_wcB:G:s&amp;s_kwcid=AL!4422!3!647258140311!e!!g!!aws%20appsync!19621397201!145160426349\" target=\"_blank\" rel=\"noreferrer noopener\">AWS AppSync<\/a> simplifies the development of GraphQL APIs by securely connecting to data sources such as AWS DynamoDB, Lambda, and others. Caches for better speed, subscriptions for real-time updates, and client-side data storage to keep offline clients in sync are all simple to implement. AWS AppSync scales your GraphQL API execution engine up and down automatically to match API request levels once it&#8217;s launched.<\/p>\n\n\n\n<h3>Features<\/h3>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Immediate updates across clients and devices:<\/strong> GraphQL Subscriptions in AWS AppSync allow you to designate which parts of your data should be exposed in real-time. Subscriptions in GraphQL are simple statements in the application code that notify the service of what data it should update in real-time.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Simplified Data Access and Querying: <\/strong>Employs GraphQL, a data language that allows client apps to fetch, update, and subscribe to data from servers, simplifying data access and querying. In a GraphQL query, the client specifies how the data is to be structured when it is returned by the server. This makes it possible for the client to query only for the data it needs, in the format that it needs it in. Introspection is a feature of GraphQL that allows new developers on a project to learn about the data accessible without having to know anything about the backend.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Cache your data that doesn&#8217;t change frequently for improved performance:<\/strong> The server-side data caching features of AWS AppSync eliminate the need to access data sources directly by storing data in high-speed in-memory managed caches and delivering data with minimal latency. It avoids the operational overhead of operating cache clusters because it is completely managed. Data caching allows developers to design maximum performance for their business needs by allowing them to selectively cache data fields and actions defined in the GraphQL schema with customizable expiration.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Preconfigured access to AWS data sources: <\/strong>AWS AppSync gives client applications the ability to specify data requirements with GraphQL so that only the needed data is fetched, allowing for both server and client filtering. Since AWS AppSync supports AWS Lambda, Amazon DynamoDB, and Amazon Elasticsearch, the GraphQL operations can be simple lookups, complex queries &amp; mappings, full-text searches, fuzzy\/keyword searches, or geo lookups.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Enterprise security and fine-grained access control:<\/strong> AWS AppSync allows several levels of data access and authorization depending on the needs of an application. A key may be used to safeguard simple access, and AWS Identity and Access Management can be used to provide more limited permissions using Roles. Additionally, it integrates with Amazon Cognito User Pools for email and password functionality, social providers (Facebook, Google+, and log-in with Amazon), and enterprise federation with SAML. Customers may utilize the Group feature to organize users and roles logically, as well as the OAuth features for application access.<\/p>\n\n\n\n<h3>Benefits<\/h3>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Built-in real-time &amp; offline capabilities:<\/strong> With managed GraphQL subscriptions, AWS AppSync can push real-time data updates over WebSockets to millions of clients. It also enables local data access for mobile and web apps when they go offline, as well as data synchronization with customizable conflict resolution when they come back online.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>No servers to manage:<\/strong> AWS AppSync offers fully managed GraphQL API setup, administration, and maintenance, with high-availability serverless infrastructure built-in. Using the AWS CLI, terminal, Amplify CLI, or CloudFormation, you can quickly create a GraphQL API. For faultless functioning, use CloudWatch and X-Ray to effortlessly monitor and get insights.<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Simple &amp; secure data access: <\/strong>With GraphQL, you can get the correct data from one or more data sources with a single network request. AWS AppSync makes it simple to protect your app data with several concurrent authentication mechanisms and lets you configure security, caching, and fine-grained access control right from your GraphQL schema at the data definition level.<\/p>\n\n\n\n<h2>How does it work?<\/h2>\n\n\n\n<h2><img src=\"https:\/\/lh3.googleusercontent.com\/gFjRRiXOJNT4anB_I2DqxFqYbAGsv_R83NMaYI8AZPnJYL_ebO7OvI_eRFx4ne31ZTc2LOs4AuywZgLnibbwdPH_6i-qMCONEFkZSfuVjYthfVE164tqKqmtTblBe1131r0jSR-E\" style=\"width: 1600px;\"><\/h2>\n\n\n\n<h2>Five reasons you should consider AppSync over API Gateway<\/h2>\n\n\n\n<ul><li>Request Validation&nbsp;<\/li><\/ul>\n\n\n\n<ul><li>Scalable&nbsp; Websockets&nbsp;<\/li><\/ul>\n\n\n\n<ul><li>Automated API documentation&nbsp;<\/li><\/ul>\n\n\n\n<ul><li>Integration with DynamoDB\/ElasticSearch \/ RDS&nbsp;<\/li><\/ul>\n\n\n\n<ul><li>Cognito group-based authorization&nbsp;<\/li><\/ul>\n\n\n\n<h2>Use Cases of AWS AppSync<\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Real-time collaboration:<\/strong> Broadcast data from the backend to all connected clients (one-to-many) or amongst clients (many-to-many), similar to a second screen situation where the same data is broadcast to all viewers, who may then respond.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/H6LYF_Df_a31Wyyjl9ZETgKotaTYHQb_MCa7b4m4qAsKa-5inriIpd62icT0mCKpCCar4AD-b6llsBhCc9aF90y24D4n_r9-WOqIy990zAXeKApDJrTZA-GRwqx4rPiZqv7gsKNQ\" alt=\"Use Cases of AWS AppSync\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Real-Time Chat Application: <\/strong>Conversational mobile or online apps that support several private chat rooms, provide access to discussion history, and queue outgoing messages may be constructed, even while a device is offline.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/DwIPXAsSXsF6RBfu7Itd-Qz6HCgVLlDHhNIfoPwoqY207anirzAdajpdzs_TezvZc6jUVm0XmS40waMIY7gmzRoS9xjtXF83uIWsn59I43b_Tu5YeqkIJMAnrP7BJTsVWbyFOgXR\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Real-time loT Dashboard: <\/strong>&nbsp;Access IoT device data delivered to AWS IoT to create real-time dashboards in a mobile or online application that visualizes telemetry from a connected IoT device, such as a vehicle.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/xT9CVmsIaHMrk4IRQxkJ9I1L16PP2AaTR6M9q0H_0FoOk5idC5YM21dY0J3gKJodw97izK0UBa6as6ms1Vm3oIG4oxJ1lE0AUPw2tZ8ss0oiYm-9mEGCkbaIoyACmJAyMvpJB0iP\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Unified microservices access:<\/strong>&nbsp; Access and integrate data from various microservices operating in containers in a VPC, using a single interface that includes a REST API endpoint, a GraphQL API endpoint, and more.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Z7ahKEQSzNZdPZkALqRgn8CEaBs_UW1VkIu7VNxsNVLQv1KZDsZiBiL6K2iMnjYpZSwWVppcU_VhBtou6L266DlyKyajY0J8ZHFhgSPNnMcmdE4GcvoB6AZGAZJYTq4XosYNmzXH\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Unified data access:<\/strong> With a single request, you may retrieve or edit data from a variety of data sources (SQL, NoSQL, search data, REST endpoints, and serverless backends). GraphQL connections can be used to query and create relationships between data sources.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/RhdJ5T0oHeMxL0bBa0Ppnv4bpYJPEG-ZFzSwD82LwfU4oWDdbMFc5DV4qDSznE1mFqnRFVhPQFaWtri02ANvc8BOdKlgDIJfiW9fj28jV5PbCBqKS7peR4ZCcBAEwIWy3D2J5HqX\" alt=\"Use Cases of AWS AppSync\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Offline application sync:<\/strong> Using AWS AppSync and Amplify DataStore, an on-device persistent storage engine with built-in support for data versioning and conflict detection and resolution, automatically synchronize data between mobile\/web apps and the cloud.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/iGpomGCfKiGecliifnqwJBZ6lP8zXU_p7UWir2FtaYyItK0DLGH9SOnNZTAQAjf_YjHGM9LhfwADPGnwhJCBdwbbCTr1GpYmgZY6mrQTjna6nl0oMxco9dYR_oP0rSXjqU4PvWpF\" alt=\"Use Cases of AWS AppSync\"\/><\/figure>\n\n\n\n<h2>Pricing of AWS AppSync<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">After you sign up for an AWS account, you can use the following monthly consumption levels for free for the first 12 months.<\/p>\n\n\n\n<ul><li>250,000 data modification or query operations<\/li><li>250,000 updates in real-time<\/li><li>600,000 minutes of connectivity<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-justify\">Beyond these limits, you&#8217;ll be charged at the advertised rates. After 12 months, the AWS AppSync Free Tier will expire.<\/p>\n\n\n\n<h2>Companies using AWS AppSync<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/0YbEAynzAJiJiG93XWqgzoQ_1UTfx7z2bzlNeQ_jbO0ucrd2UUDYklw6ri3dXESIjvmKM3TUiCOyWWRdmOwc0S-WvN1PnlIoLuMsXlGlhnptl-tFgEcZHreQkodHsp0kmgWHsOpV\" alt=\"Companies using AWS AppSync\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we have discussed AWS AppSync, its features, benefits, use cases, etc. You can refer to our blog How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 2), to see it in action for a business use case creating a new API endpoint that provisions a DynamoDB table and tests the API via a react application. We will also explore the DynamoDB Dashboard and execute some basic queries to test the functionality of the API in our coming blog. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Meanwhile \u2026<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">6<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL and adds a few more cool features to its web and mobile SDKs. AppSync is the best of GraphQL with less complexity than before, which works out great for Serverless applications. You can refer to our blog How to create an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":525,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[85,166,86,3,4,87,164,165,57,163,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL &amp; adds a few more cool features to its web and mobile SDKs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL &amp; adds a few more cool features to its web and mobile SDKs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-10T12:09:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-28T11:22:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png\",\"width\":1200,\"height\":628,\"caption\":\"AWS AppSync - Integration with React Application\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage\",\"url\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/\",\"name\":\"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage\"},\"datePublished\":\"2021-11-10T12:09:26+00:00\",\"dateModified\":\"2023-04-28T11:22:21+00:00\",\"description\":\"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL & adds a few more cool features to its web and mobile SDKs.\",\"breadcrumb\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1)\",\"datePublished\":\"2021-11-10T12:09:26+00:00\",\"dateModified\":\"2023-04-28T11:22:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage\"},\"wordCount\":1229,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png\",\"keywords\":[\"api\",\"apiendpoint\",\"appsync\",\"AWS\",\"Cloud\",\"dynamodb\",\"graphql\",\"integration\",\"lambda\",\"react\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog","description":"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL & adds a few more cool features to its web and mobile SDKs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/","og_locale":"en_US","og_type":"article","og_title":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog","og_description":"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL & adds a few more cool features to its web and mobile SDKs.","og_url":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-10T12:09:26+00:00","article_modified_time":"2023-04-28T11:22:21+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png","width":1200,"height":628,"caption":"AWS AppSync - Integration with React Application"},{"@type":"WebPage","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage","url":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/","name":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1) - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage"},"datePublished":"2021-11-10T12:09:26+00:00","dateModified":"2023-04-28T11:22:21+00:00","description":"AppSync is an AWS-managed GraphQL layer that is built on the benefits of GraphQL & adds a few more cool features to its web and mobile SDKs.","breadcrumb":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1)"}]},{"@type":"Article","@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#article","isPartOf":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1)","datePublished":"2021-11-10T12:09:26+00:00","dateModified":"2023-04-28T11:22:21+00:00","mainEntityOfPage":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#webpage"},"wordCount":1229,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-1\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png","keywords":["api","apiendpoint","appsync","AWS","Cloud","dynamodb","graphql","integration","lambda","react","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-1-1.png","jetpack-related-posts":[{"id":316,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-an-api-endpoint-to-provision-a-dynamodb-table-using-aws-appsync-part-2\/","url_meta":{"origin":523,"position":0},"title":"How to create an API endpoint to provision a DynamoDB table using AWS AppSync?","date":"November 1, 2021","format":false,"excerpt":"In our previous blog How to create an API endpoint to provision a DynamoDB table using AWS AppSync? (Part 1), we have discussed AWS AppSync, its features, benefits, use cases, etc. In this blog, we will discuss a business scenario to understand and create an API endpoint to provision a\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Amazon AppSync - Integration with React Application","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/AppSync.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1680,"url":"https:\/\/learning.workfall.com\/learning\/blog\/create-a-no-code-graphql-server-using-hasura-and-postgresql\/","url_meta":{"origin":523,"position":1},"title":"Create a No-code GraphQL Server Using Hasura and PostgreSQL","date":"March 28, 2023","format":false,"excerpt":"To handle CRUD, authorization, and business logic, backend developers frequently need to write several lines of code. All of this code must be tested, debugged, and maintained for the duration of the project. This consumes a significant amount of time that developers could be used to create new features. This\u2026","rel":"","context":"In &quot;Backend Development&quot;","img":{"alt_text":"No-code GraphQL Server Using Hasura and PostgreSQL","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/03\/Cover-Images_Part2-1-3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1684,"url":"https:\/\/learning.workfall.com\/learning\/blog\/building-real-time-apps-with-nestjs-and-graphql-subscriptions\/","url_meta":{"origin":523,"position":2},"title":"Building Real-Time Apps with NestJS and GraphQL Subscriptions","date":"April 6, 2023","format":false,"excerpt":"Real-time applications are important in several instances. Especially in a scenario whereby immediate feedback is important such as messaging apps and IoT apps. Let\u2019s imagine a case in IoT whereby a smoke detector needs to relay information to water sprinklers in a burning building. This information has to be in\u2026","rel":"","context":"In &quot;Backend Development&quot;","img":{"alt_text":"Building Real-Time Apps with NestJS and GraphQL Subscriptions","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/04\/Cover-Images_Part2-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":322,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-publish-and-maintain-high-scalable-apis-using-aws-api-gateway\/","url_meta":{"origin":523,"position":3},"title":"How to create, publish and maintain high scalable APIs using AWS API Gateway?","date":"November 1, 2021","format":false,"excerpt":"To access data, business logic, and functionalities from backend services, API can act as an interface! Using API Gateway, we can enable two-way communication in real-time applications. In this blog, we will discuss Amazon API Gateway, its architecture, key concepts, use cases, and features. As part of hands-on, we will\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS API Gatway - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/API-Gateway.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1498,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-etl-api-data-to-aws-s3-bucket-using-apache-airflow\/","url_meta":{"origin":523,"position":4},"title":"How to ETL API data to AWS S3 Bucket using Apache Airflow?","date":"November 1, 2022","format":false,"excerpt":"2.5 quintillion bytes of data are produced every day with 90% of it generated solely in the last 2 years (Source: Forbes). Data is pulled, cleaned, transfigured & then presented for analytical purposes & put to use in thousands of applications to fulfill consumer needs & more. While generating insights\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"How to ETL API data to AWS S3 Bucket using Apache Airflow?","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2022\/11\/Cover-Images_Part2-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":221,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-migrate-rds-mysql-database-to-rds-postgresql-database-using-aws-database-migration-servicedms\/","url_meta":{"origin":523,"position":5},"title":"How to migrate RDS MySQL database to RDS PostgreSQL database using AWS Database Migration Service(DMS)?","date":"October 27, 2021","format":false,"excerpt":"Do you want to migrate data from one type of DB engine (MySQL) to another type of DB engine(PostgreSQL) with little or no downtime? In today's fast-paced environment, application, and database availability must be considered 24 hours a day, seven days a week. Some of your applications may be unable\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Database Migration Service","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/DMS.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/523"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":4,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":1860,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions\/1860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/525"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}