diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,367 @@
+Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+    means each individual or legal entity that creates, contributes to
+    the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+    means the combination of the Contributions of others (if any) used
+    by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+    means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+    means Source Code Form to which the initial Contributor has attached
+    the notice in Exhibit A, the Executable Form of such Source Code
+    Form, and Modifications of such Source Code Form, in each case
+    including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+    means
+
+    (a) that the initial Contributor has attached the notice described
+        in Exhibit B to the Covered Software; or
+
+    (b) that the Covered Software was made available under the terms of
+        version 1.1 or earlier of the License, but not also under the
+        terms of a Secondary License.
+
+1.6. "Executable Form"
+    means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+    means a work that combines Covered Software with other material, in
+    a separate file or files, that is not Covered Software.
+
+1.8. "License"
+    means this document.
+
+1.9. "Licensable"
+    means having the right to grant, to the maximum extent possible,
+    whether at the time of the initial grant or subsequently, any and
+    all of the rights conveyed by this License.
+
+1.10. "Modifications"
+    means any of the following:
+
+    (a) any file in Source Code Form that results from an addition to,
+        deletion from, or modification of the contents of Covered
+        Software; or
+
+    (b) any new file in Source Code Form that contains any Covered
+        Software.
+
+1.11. "Patent Claims" of a Contributor
+    means any patent claim(s), including without limitation, method,
+    process, and apparatus claims, in any patent Licensable by such
+    Contributor that would be infringed, but for the grant of the
+    License, by the making, using, selling, offering for sale, having
+    made, import, or transfer of either its Contributions or its
+    Contributor Version.
+
+1.12. "Secondary License"
+    means either the GNU General Public License, Version 2.0, the GNU
+    Lesser General Public License, Version 2.1, the GNU Affero General
+    Public License, Version 3.0, or any later versions of those
+    licenses.
+
+1.13. "Source Code Form"
+    means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+    means an individual or a legal entity exercising rights under this
+    License. For legal entities, "You" includes any entity that
+    controls, is controlled by, or is under common control with You. For
+    purposes of this definition, "control" means (a) the power, direct
+    or indirect, to cause the direction or management of such entity,
+    whether by contract or otherwise, or (b) ownership of more than
+    fifty percent (50%) of the outstanding shares or beneficial
+    ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+    Licensable by such Contributor to use, reproduce, make available,
+    modify, display, perform, distribute, and otherwise exploit its
+    Contributions, either on an unmodified basis, with Modifications, or
+    as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+    for sale, have made, import, and otherwise transfer either its
+    Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+    or
+
+(b) for infringements caused by: (i) Your and any other third party's
+    modifications of Covered Software, or (ii) the combination of its
+    Contributions with other software (except as part of its Contributor
+    Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+    its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+    Form, as described in Section 3.1, and You must inform recipients of
+    the Executable Form how they can obtain a copy of such Source Code
+    Form by reasonable means in a timely manner, at a charge no more
+    than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+    License, or sublicense it under different terms, provided that the
+    license for the Executable Form does not attempt to limit or alter
+    the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+*                                                                      *
+*  6. Disclaimer of Warranty                                           *
+*  -------------------------                                           *
+*                                                                      *
+*  Covered Software is provided under this License on an "as is"       *
+*  basis, without warranty of any kind, either expressed, implied, or  *
+*  statutory, including, without limitation, warranties that the       *
+*  Covered Software is free of defects, merchantable, fit for a        *
+*  particular purpose or non-infringing. The entire risk as to the     *
+*  quality and performance of the Covered Software is with You.        *
+*  Should any Covered Software prove defective in any respect, You     *
+*  (not any Contributor) assume the cost of any necessary servicing,   *
+*  repair, or correction. This disclaimer of warranty constitutes an   *
+*  essential part of this License. No use of any Covered Software is   *
+*  authorized under this License except under this disclaimer.         *
+*                                                                      *
+************************************************************************
+
+************************************************************************
+*                                                                      *
+*  7. Limitation of Liability                                          *
+*  --------------------------                                          *
+*                                                                      *
+*  Under no circumstances and under no legal theory, whether tort      *
+*  (including negligence), contract, or otherwise, shall any           *
+*  Contributor, or anyone who distributes Covered Software as          *
+*  permitted above, be liable to You for any direct, indirect,         *
+*  special, incidental, or consequential damages of any character      *
+*  including, without limitation, damages for lost profits, loss of    *
+*  goodwill, work stoppage, computer failure or malfunction, or any    *
+*  and all other commercial damages or losses, even if such party      *
+*  shall have been informed of the possibility of such damages. This   *
+*  limitation of liability shall not apply to liability for death or   *
+*  personal injury resulting from such party's negligence to the       *
+*  extent applicable law prohibits such limitation. Some               *
+*  jurisdictions do not allow the exclusion or limitation of           *
+*  incidental or consequential damages, so this exclusion and          *
+*  limitation may not apply to You.                                    *
+*                                                                      *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+  This Source Code Form is subject to the terms of the Mozilla Public
+  License, v. 2.0. If a copy of the MPL was not distributed with this
+  file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,44 @@
+# Amazon Sagemaker Edge Manager SDK
+
+* [Version](#version)
+* [Description](#description)
+* [Contribute](#contribute)
+* [Licence](#licence)
+
+
+## Version
+ 
+`2.0` - Derived from API version @2020-09-23@ of the AWS service descriptions, licensed under Apache 2.0.
+
+## Description
+
+Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-sagemaker-edge)
+and the [AWS API Reference](https://aws.amazon.com/documentation/).
+
+The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),
+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,
+and receiving responses.
+
+Lenses are used for constructing and manipulating types,
+due to the depth of nesting of AWS types and transparency regarding
+de/serialisation into more palatable Haskell values.
+The provided lenses should be compatible with any of the major lens libraries
+[lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).
+
+See [Amazonka.SageMakerEdge](http://hackage.haskell.org/package/amazonka-sagemaker-edge/docs/Amazonka-SageMakerEdge.html)
+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
+
+
+## Contribute
+
+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues).
+
+> _Note:_ this library is an auto-generated Haskell package. Please see `amazonka-gen` for more information.
+
+
+## Licence
+
+`amazonka-sagemaker-edge` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
+
+Parts of the code are derived from AWS service descriptions, licensed under Apache 2.0.
+Source files subject to this contain an additional licensing clause in their header.
diff --git a/amazonka-sagemaker-edge.cabal b/amazonka-sagemaker-edge.cabal
new file mode 100644
--- /dev/null
+++ b/amazonka-sagemaker-edge.cabal
@@ -0,0 +1,98 @@
+cabal-version:      2.2
+name:               amazonka-sagemaker-edge
+version:            2.0
+synopsis:           Amazon Sagemaker Edge Manager SDK.
+homepage:           https://github.com/brendanhay/amazonka
+bug-reports:        https://github.com/brendanhay/amazonka/issues
+license:            MPL-2.0
+license-file:       LICENSE
+author:             Brendan Hay
+maintainer:
+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>
+
+copyright:          Copyright (c) 2013-2023 Brendan Hay
+category:           AWS
+build-type:         Simple
+extra-source-files:
+  fixture/*.proto
+  fixture/*.yaml
+  README.md
+  src/.gitkeep
+
+description:
+  Derived from API version @2020-09-23@ of the AWS service descriptions, licensed under Apache 2.0.
+  .
+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,
+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.
+  .
+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.
+  .
+  Generated lenses can be found in "Amazonka.SageMakerEdge.Lens" and are
+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
+  .
+  See "Amazonka.SageMakerEdge" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.
+
+source-repository head
+  type:     git
+  location: git://github.com/brendanhay/amazonka.git
+  subdir:   amazonka-sagemaker-edge
+
+library
+  default-language: Haskell2010
+  hs-source-dirs:   src gen
+  ghc-options:
+    -Wall -fwarn-incomplete-uni-patterns
+    -fwarn-incomplete-record-updates -funbox-strict-fields
+
+  exposed-modules:
+    Amazonka.SageMakerEdge
+    Amazonka.SageMakerEdge.GetDeployments
+    Amazonka.SageMakerEdge.GetDeviceRegistration
+    Amazonka.SageMakerEdge.Lens
+    Amazonka.SageMakerEdge.SendHeartbeat
+    Amazonka.SageMakerEdge.Types
+    Amazonka.SageMakerEdge.Types.Checksum
+    Amazonka.SageMakerEdge.Types.ChecksumType
+    Amazonka.SageMakerEdge.Types.Definition
+    Amazonka.SageMakerEdge.Types.DeploymentModel
+    Amazonka.SageMakerEdge.Types.DeploymentResult
+    Amazonka.SageMakerEdge.Types.DeploymentStatus
+    Amazonka.SageMakerEdge.Types.DeploymentType
+    Amazonka.SageMakerEdge.Types.EdgeDeployment
+    Amazonka.SageMakerEdge.Types.EdgeMetric
+    Amazonka.SageMakerEdge.Types.FailureHandlingPolicy
+    Amazonka.SageMakerEdge.Types.Model
+    Amazonka.SageMakerEdge.Types.ModelState
+    Amazonka.SageMakerEdge.Waiters
+
+  build-depends:
+    , amazonka-core  >=2.0  && <2.1
+    , base           >=4.12 && <5
+
+test-suite amazonka-sagemaker-edge-test
+  type:             exitcode-stdio-1.0
+  default-language: Haskell2010
+  hs-source-dirs:   test
+  main-is:          Main.hs
+  ghc-options:      -Wall -threaded
+
+  -- This section is encoded by the template and any modules added by
+  -- hand outside these namespaces will not correctly be added to the
+  -- distribution package.
+  other-modules:
+    Test.Amazonka.Gen.SageMakerEdge
+    Test.Amazonka.SageMakerEdge
+    Test.Amazonka.SageMakerEdge.Internal
+
+  build-depends:
+    , amazonka-core            >=2.0 && <2.1
+    , amazonka-sagemaker-edge
+    , amazonka-test            >=2.0 && <2.1
+    , base
+    , bytestring
+    , case-insensitive
+    , tasty
+    , tasty-hunit
+    , text
+    , time
+    , unordered-containers
diff --git a/fixture/GetDeployments.yaml b/fixture/GetDeployments.yaml
new file mode 100644
--- /dev/null
+++ b/fixture/GetDeployments.yaml
@@ -0,0 +1,10 @@
+---
+method: POST
+headers:
+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/edge.sagemaker/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?
+  Host:                  edge.sagemaker.us-east-1.amazonaws.com
+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8
+  X-Amz-Content-SHA256:  abcdef
+  X-Amz-Date:            20091028T223200Z
+body:
+  ''
diff --git a/fixture/GetDeploymentsResponse.proto b/fixture/GetDeploymentsResponse.proto
new file mode 100644
--- /dev/null
+++ b/fixture/GetDeploymentsResponse.proto
diff --git a/fixture/GetDeviceRegistration.yaml b/fixture/GetDeviceRegistration.yaml
new file mode 100644
--- /dev/null
+++ b/fixture/GetDeviceRegistration.yaml
@@ -0,0 +1,10 @@
+---
+method: POST
+headers:
+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/edge.sagemaker/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?
+  Host:                  edge.sagemaker.us-east-1.amazonaws.com
+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8
+  X-Amz-Content-SHA256:  abcdef
+  X-Amz-Date:            20091028T223200Z
+body:
+  ''
diff --git a/fixture/GetDeviceRegistrationResponse.proto b/fixture/GetDeviceRegistrationResponse.proto
new file mode 100644
--- /dev/null
+++ b/fixture/GetDeviceRegistrationResponse.proto
diff --git a/fixture/SendHeartbeat.yaml b/fixture/SendHeartbeat.yaml
new file mode 100644
--- /dev/null
+++ b/fixture/SendHeartbeat.yaml
@@ -0,0 +1,10 @@
+---
+method: POST
+headers:
+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/edge.sagemaker/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?
+  Host:                  edge.sagemaker.us-east-1.amazonaws.com
+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8
+  X-Amz-Content-SHA256:  abcdef
+  X-Amz-Date:            20091028T223200Z
+body:
+  ''
diff --git a/fixture/SendHeartbeatResponse.proto b/fixture/SendHeartbeatResponse.proto
new file mode 100644
--- /dev/null
+++ b/fixture/SendHeartbeatResponse.proto
diff --git a/gen/Amazonka/SageMakerEdge.hs b/gen/Amazonka/SageMakerEdge.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge.hs
@@ -0,0 +1,129 @@
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- |
+-- Module      : Amazonka.SageMakerEdge
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Derived from API version @2020-09-23@ of the AWS service descriptions, licensed under Apache 2.0.
+--
+-- SageMaker Edge Manager dataplane service for communicating with active
+-- agents.
+module Amazonka.SageMakerEdge
+  ( -- * Service Configuration
+    defaultService,
+
+    -- * Errors
+    -- $errors
+
+    -- ** InternalServiceException
+    _InternalServiceException,
+
+    -- * Waiters
+    -- $waiters
+
+    -- * Operations
+    -- $operations
+
+    -- ** GetDeployments
+    GetDeployments (GetDeployments'),
+    newGetDeployments,
+    GetDeploymentsResponse (GetDeploymentsResponse'),
+    newGetDeploymentsResponse,
+
+    -- ** GetDeviceRegistration
+    GetDeviceRegistration (GetDeviceRegistration'),
+    newGetDeviceRegistration,
+    GetDeviceRegistrationResponse (GetDeviceRegistrationResponse'),
+    newGetDeviceRegistrationResponse,
+
+    -- ** SendHeartbeat
+    SendHeartbeat (SendHeartbeat'),
+    newSendHeartbeat,
+    SendHeartbeatResponse (SendHeartbeatResponse'),
+    newSendHeartbeatResponse,
+
+    -- * Types
+
+    -- ** ChecksumType
+    ChecksumType (..),
+
+    -- ** DeploymentStatus
+    DeploymentStatus (..),
+
+    -- ** DeploymentType
+    DeploymentType (..),
+
+    -- ** FailureHandlingPolicy
+    FailureHandlingPolicy (..),
+
+    -- ** ModelState
+    ModelState (..),
+
+    -- ** Checksum
+    Checksum (Checksum'),
+    newChecksum,
+
+    -- ** Definition
+    Definition (Definition'),
+    newDefinition,
+
+    -- ** DeploymentModel
+    DeploymentModel (DeploymentModel'),
+    newDeploymentModel,
+
+    -- ** DeploymentResult
+    DeploymentResult (DeploymentResult'),
+    newDeploymentResult,
+
+    -- ** EdgeDeployment
+    EdgeDeployment (EdgeDeployment'),
+    newEdgeDeployment,
+
+    -- ** EdgeMetric
+    EdgeMetric (EdgeMetric'),
+    newEdgeMetric,
+
+    -- ** Model
+    Model (Model'),
+    newModel,
+  )
+where
+
+import Amazonka.SageMakerEdge.GetDeployments
+import Amazonka.SageMakerEdge.GetDeviceRegistration
+import Amazonka.SageMakerEdge.Lens
+import Amazonka.SageMakerEdge.SendHeartbeat
+import Amazonka.SageMakerEdge.Types
+import Amazonka.SageMakerEdge.Waiters
+
+-- $errors
+-- Error matchers are designed for use with the functions provided by
+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.
+-- This allows catching (and rethrowing) service specific errors returned
+-- by 'SageMakerEdge'.
+
+-- $operations
+-- Some AWS operations return results that are incomplete and require subsequent
+-- requests in order to obtain the entire result set. The process of sending
+-- subsequent requests to continue where a previous request left off is called
+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to
+-- 1000 objects at a time, and you must send subsequent requests with the
+-- appropriate Marker in order to retrieve the next page of results.
+--
+-- Operations that have an 'AWSPager' instance can transparently perform subsequent
+-- requests, correctly setting Markers and other request facets to iterate through
+-- the entire result set of a truncated API operation. Operations which support
+-- this have an additional note in the documentation.
+--
+-- Many operations have the ability to filter results on the server side. See the
+-- individual operation parameters for details.
+
+-- $waiters
+-- Waiters poll by repeatedly sending a request until some remote success condition
+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification
+-- determines how many attempts should be made, in addition to delay and retry strategies.
diff --git a/gen/Amazonka/SageMakerEdge/GetDeployments.hs b/gen/Amazonka/SageMakerEdge/GetDeployments.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/GetDeployments.hs
@@ -0,0 +1,191 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.GetDeployments
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Use to get the active deployments from a device.
+module Amazonka.SageMakerEdge.GetDeployments
+  ( -- * Creating a Request
+    GetDeployments (..),
+    newGetDeployments,
+
+    -- * Request Lenses
+    getDeployments_deviceName,
+    getDeployments_deviceFleetName,
+
+    -- * Destructuring the Response
+    GetDeploymentsResponse (..),
+    newGetDeploymentsResponse,
+
+    -- * Response Lenses
+    getDeploymentsResponse_deployments,
+    getDeploymentsResponse_httpStatus,
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import qualified Amazonka.Request as Request
+import qualified Amazonka.Response as Response
+import Amazonka.SageMakerEdge.Types
+
+-- | /See:/ 'newGetDeployments' smart constructor.
+data GetDeployments = GetDeployments'
+  { -- | The unique name of the device you want to get the configuration of
+    -- active deployments from.
+    deviceName :: Prelude.Text,
+    -- | The name of the fleet that the device belongs to.
+    deviceFleetName :: Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'GetDeployments' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'deviceName', 'getDeployments_deviceName' - The unique name of the device you want to get the configuration of
+-- active deployments from.
+--
+-- 'deviceFleetName', 'getDeployments_deviceFleetName' - The name of the fleet that the device belongs to.
+newGetDeployments ::
+  -- | 'deviceName'
+  Prelude.Text ->
+  -- | 'deviceFleetName'
+  Prelude.Text ->
+  GetDeployments
+newGetDeployments pDeviceName_ pDeviceFleetName_ =
+  GetDeployments'
+    { deviceName = pDeviceName_,
+      deviceFleetName = pDeviceFleetName_
+    }
+
+-- | The unique name of the device you want to get the configuration of
+-- active deployments from.
+getDeployments_deviceName :: Lens.Lens' GetDeployments Prelude.Text
+getDeployments_deviceName = Lens.lens (\GetDeployments' {deviceName} -> deviceName) (\s@GetDeployments' {} a -> s {deviceName = a} :: GetDeployments)
+
+-- | The name of the fleet that the device belongs to.
+getDeployments_deviceFleetName :: Lens.Lens' GetDeployments Prelude.Text
+getDeployments_deviceFleetName = Lens.lens (\GetDeployments' {deviceFleetName} -> deviceFleetName) (\s@GetDeployments' {} a -> s {deviceFleetName = a} :: GetDeployments)
+
+instance Core.AWSRequest GetDeployments where
+  type
+    AWSResponse GetDeployments =
+      GetDeploymentsResponse
+  request overrides =
+    Request.postJSON (overrides defaultService)
+  response =
+    Response.receiveJSON
+      ( \s h x ->
+          GetDeploymentsResponse'
+            Prelude.<$> (x Data..?> "Deployments" Core..!@ Prelude.mempty)
+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))
+      )
+
+instance Prelude.Hashable GetDeployments where
+  hashWithSalt _salt GetDeployments' {..} =
+    _salt
+      `Prelude.hashWithSalt` deviceName
+      `Prelude.hashWithSalt` deviceFleetName
+
+instance Prelude.NFData GetDeployments where
+  rnf GetDeployments' {..} =
+    Prelude.rnf deviceName
+      `Prelude.seq` Prelude.rnf deviceFleetName
+
+instance Data.ToHeaders GetDeployments where
+  toHeaders =
+    Prelude.const
+      ( Prelude.mconcat
+          [ "Content-Type"
+              Data.=# ( "application/x-amz-json-1.1" ::
+                          Prelude.ByteString
+                      )
+          ]
+      )
+
+instance Data.ToJSON GetDeployments where
+  toJSON GetDeployments' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ Prelude.Just ("DeviceName" Data..= deviceName),
+            Prelude.Just
+              ("DeviceFleetName" Data..= deviceFleetName)
+          ]
+      )
+
+instance Data.ToPath GetDeployments where
+  toPath = Prelude.const "/GetDeployments"
+
+instance Data.ToQuery GetDeployments where
+  toQuery = Prelude.const Prelude.mempty
+
+-- | /See:/ 'newGetDeploymentsResponse' smart constructor.
+data GetDeploymentsResponse = GetDeploymentsResponse'
+  { -- | Returns a list of the configurations of the active deployments on the
+    -- device.
+    deployments :: Prelude.Maybe [EdgeDeployment],
+    -- | The response's http status code.
+    httpStatus :: Prelude.Int
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'GetDeploymentsResponse' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'deployments', 'getDeploymentsResponse_deployments' - Returns a list of the configurations of the active deployments on the
+-- device.
+--
+-- 'httpStatus', 'getDeploymentsResponse_httpStatus' - The response's http status code.
+newGetDeploymentsResponse ::
+  -- | 'httpStatus'
+  Prelude.Int ->
+  GetDeploymentsResponse
+newGetDeploymentsResponse pHttpStatus_ =
+  GetDeploymentsResponse'
+    { deployments =
+        Prelude.Nothing,
+      httpStatus = pHttpStatus_
+    }
+
+-- | Returns a list of the configurations of the active deployments on the
+-- device.
+getDeploymentsResponse_deployments :: Lens.Lens' GetDeploymentsResponse (Prelude.Maybe [EdgeDeployment])
+getDeploymentsResponse_deployments = Lens.lens (\GetDeploymentsResponse' {deployments} -> deployments) (\s@GetDeploymentsResponse' {} a -> s {deployments = a} :: GetDeploymentsResponse) Prelude.. Lens.mapping Lens.coerced
+
+-- | The response's http status code.
+getDeploymentsResponse_httpStatus :: Lens.Lens' GetDeploymentsResponse Prelude.Int
+getDeploymentsResponse_httpStatus = Lens.lens (\GetDeploymentsResponse' {httpStatus} -> httpStatus) (\s@GetDeploymentsResponse' {} a -> s {httpStatus = a} :: GetDeploymentsResponse)
+
+instance Prelude.NFData GetDeploymentsResponse where
+  rnf GetDeploymentsResponse' {..} =
+    Prelude.rnf deployments
+      `Prelude.seq` Prelude.rnf httpStatus
diff --git a/gen/Amazonka/SageMakerEdge/GetDeviceRegistration.hs b/gen/Amazonka/SageMakerEdge/GetDeviceRegistration.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/GetDeviceRegistration.hs
@@ -0,0 +1,208 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.GetDeviceRegistration
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Use to check if a device is registered with SageMaker Edge Manager.
+module Amazonka.SageMakerEdge.GetDeviceRegistration
+  ( -- * Creating a Request
+    GetDeviceRegistration (..),
+    newGetDeviceRegistration,
+
+    -- * Request Lenses
+    getDeviceRegistration_deviceName,
+    getDeviceRegistration_deviceFleetName,
+
+    -- * Destructuring the Response
+    GetDeviceRegistrationResponse (..),
+    newGetDeviceRegistrationResponse,
+
+    -- * Response Lenses
+    getDeviceRegistrationResponse_cacheTTL,
+    getDeviceRegistrationResponse_deviceRegistration,
+    getDeviceRegistrationResponse_httpStatus,
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import qualified Amazonka.Request as Request
+import qualified Amazonka.Response as Response
+import Amazonka.SageMakerEdge.Types
+
+-- | /See:/ 'newGetDeviceRegistration' smart constructor.
+data GetDeviceRegistration = GetDeviceRegistration'
+  { -- | The unique name of the device you want to get the registration status
+    -- from.
+    deviceName :: Prelude.Text,
+    -- | The name of the fleet that the device belongs to.
+    deviceFleetName :: Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'GetDeviceRegistration' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'deviceName', 'getDeviceRegistration_deviceName' - The unique name of the device you want to get the registration status
+-- from.
+--
+-- 'deviceFleetName', 'getDeviceRegistration_deviceFleetName' - The name of the fleet that the device belongs to.
+newGetDeviceRegistration ::
+  -- | 'deviceName'
+  Prelude.Text ->
+  -- | 'deviceFleetName'
+  Prelude.Text ->
+  GetDeviceRegistration
+newGetDeviceRegistration
+  pDeviceName_
+  pDeviceFleetName_ =
+    GetDeviceRegistration'
+      { deviceName = pDeviceName_,
+        deviceFleetName = pDeviceFleetName_
+      }
+
+-- | The unique name of the device you want to get the registration status
+-- from.
+getDeviceRegistration_deviceName :: Lens.Lens' GetDeviceRegistration Prelude.Text
+getDeviceRegistration_deviceName = Lens.lens (\GetDeviceRegistration' {deviceName} -> deviceName) (\s@GetDeviceRegistration' {} a -> s {deviceName = a} :: GetDeviceRegistration)
+
+-- | The name of the fleet that the device belongs to.
+getDeviceRegistration_deviceFleetName :: Lens.Lens' GetDeviceRegistration Prelude.Text
+getDeviceRegistration_deviceFleetName = Lens.lens (\GetDeviceRegistration' {deviceFleetName} -> deviceFleetName) (\s@GetDeviceRegistration' {} a -> s {deviceFleetName = a} :: GetDeviceRegistration)
+
+instance Core.AWSRequest GetDeviceRegistration where
+  type
+    AWSResponse GetDeviceRegistration =
+      GetDeviceRegistrationResponse
+  request overrides =
+    Request.postJSON (overrides defaultService)
+  response =
+    Response.receiveJSON
+      ( \s h x ->
+          GetDeviceRegistrationResponse'
+            Prelude.<$> (x Data..?> "CacheTTL")
+            Prelude.<*> (x Data..?> "DeviceRegistration")
+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))
+      )
+
+instance Prelude.Hashable GetDeviceRegistration where
+  hashWithSalt _salt GetDeviceRegistration' {..} =
+    _salt
+      `Prelude.hashWithSalt` deviceName
+      `Prelude.hashWithSalt` deviceFleetName
+
+instance Prelude.NFData GetDeviceRegistration where
+  rnf GetDeviceRegistration' {..} =
+    Prelude.rnf deviceName
+      `Prelude.seq` Prelude.rnf deviceFleetName
+
+instance Data.ToHeaders GetDeviceRegistration where
+  toHeaders =
+    Prelude.const
+      ( Prelude.mconcat
+          [ "Content-Type"
+              Data.=# ( "application/x-amz-json-1.1" ::
+                          Prelude.ByteString
+                      )
+          ]
+      )
+
+instance Data.ToJSON GetDeviceRegistration where
+  toJSON GetDeviceRegistration' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ Prelude.Just ("DeviceName" Data..= deviceName),
+            Prelude.Just
+              ("DeviceFleetName" Data..= deviceFleetName)
+          ]
+      )
+
+instance Data.ToPath GetDeviceRegistration where
+  toPath = Prelude.const "/GetDeviceRegistration"
+
+instance Data.ToQuery GetDeviceRegistration where
+  toQuery = Prelude.const Prelude.mempty
+
+-- | /See:/ 'newGetDeviceRegistrationResponse' smart constructor.
+data GetDeviceRegistrationResponse = GetDeviceRegistrationResponse'
+  { -- | The amount of time, in seconds, that the registration status is stored
+    -- on the device’s cache before it is refreshed.
+    cacheTTL :: Prelude.Maybe Prelude.Text,
+    -- | Describes if the device is currently registered with SageMaker Edge
+    -- Manager.
+    deviceRegistration :: Prelude.Maybe Prelude.Text,
+    -- | The response's http status code.
+    httpStatus :: Prelude.Int
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'GetDeviceRegistrationResponse' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'cacheTTL', 'getDeviceRegistrationResponse_cacheTTL' - The amount of time, in seconds, that the registration status is stored
+-- on the device’s cache before it is refreshed.
+--
+-- 'deviceRegistration', 'getDeviceRegistrationResponse_deviceRegistration' - Describes if the device is currently registered with SageMaker Edge
+-- Manager.
+--
+-- 'httpStatus', 'getDeviceRegistrationResponse_httpStatus' - The response's http status code.
+newGetDeviceRegistrationResponse ::
+  -- | 'httpStatus'
+  Prelude.Int ->
+  GetDeviceRegistrationResponse
+newGetDeviceRegistrationResponse pHttpStatus_ =
+  GetDeviceRegistrationResponse'
+    { cacheTTL =
+        Prelude.Nothing,
+      deviceRegistration = Prelude.Nothing,
+      httpStatus = pHttpStatus_
+    }
+
+-- | The amount of time, in seconds, that the registration status is stored
+-- on the device’s cache before it is refreshed.
+getDeviceRegistrationResponse_cacheTTL :: Lens.Lens' GetDeviceRegistrationResponse (Prelude.Maybe Prelude.Text)
+getDeviceRegistrationResponse_cacheTTL = Lens.lens (\GetDeviceRegistrationResponse' {cacheTTL} -> cacheTTL) (\s@GetDeviceRegistrationResponse' {} a -> s {cacheTTL = a} :: GetDeviceRegistrationResponse)
+
+-- | Describes if the device is currently registered with SageMaker Edge
+-- Manager.
+getDeviceRegistrationResponse_deviceRegistration :: Lens.Lens' GetDeviceRegistrationResponse (Prelude.Maybe Prelude.Text)
+getDeviceRegistrationResponse_deviceRegistration = Lens.lens (\GetDeviceRegistrationResponse' {deviceRegistration} -> deviceRegistration) (\s@GetDeviceRegistrationResponse' {} a -> s {deviceRegistration = a} :: GetDeviceRegistrationResponse)
+
+-- | The response's http status code.
+getDeviceRegistrationResponse_httpStatus :: Lens.Lens' GetDeviceRegistrationResponse Prelude.Int
+getDeviceRegistrationResponse_httpStatus = Lens.lens (\GetDeviceRegistrationResponse' {httpStatus} -> httpStatus) (\s@GetDeviceRegistrationResponse' {} a -> s {httpStatus = a} :: GetDeviceRegistrationResponse)
+
+instance Prelude.NFData GetDeviceRegistrationResponse where
+  rnf GetDeviceRegistrationResponse' {..} =
+    Prelude.rnf cacheTTL
+      `Prelude.seq` Prelude.rnf deviceRegistration
+      `Prelude.seq` Prelude.rnf httpStatus
diff --git a/gen/Amazonka/SageMakerEdge/Lens.hs b/gen/Amazonka/SageMakerEdge/Lens.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Lens.hs
@@ -0,0 +1,98 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Lens
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Lens
+  ( -- * Operations
+
+    -- ** GetDeployments
+    getDeployments_deviceName,
+    getDeployments_deviceFleetName,
+    getDeploymentsResponse_deployments,
+    getDeploymentsResponse_httpStatus,
+
+    -- ** GetDeviceRegistration
+    getDeviceRegistration_deviceName,
+    getDeviceRegistration_deviceFleetName,
+    getDeviceRegistrationResponse_cacheTTL,
+    getDeviceRegistrationResponse_deviceRegistration,
+    getDeviceRegistrationResponse_httpStatus,
+
+    -- ** SendHeartbeat
+    sendHeartbeat_agentMetrics,
+    sendHeartbeat_deploymentResult,
+    sendHeartbeat_models,
+    sendHeartbeat_agentVersion,
+    sendHeartbeat_deviceName,
+    sendHeartbeat_deviceFleetName,
+
+    -- * Types
+
+    -- ** Checksum
+    checksum_sum,
+    checksum_type,
+
+    -- ** Definition
+    definition_checksum,
+    definition_modelHandle,
+    definition_s3Url,
+    definition_state,
+
+    -- ** DeploymentModel
+    deploymentModel_desiredState,
+    deploymentModel_modelHandle,
+    deploymentModel_modelName,
+    deploymentModel_modelVersion,
+    deploymentModel_rollbackFailureReason,
+    deploymentModel_state,
+    deploymentModel_status,
+    deploymentModel_statusReason,
+
+    -- ** DeploymentResult
+    deploymentResult_deploymentEndTime,
+    deploymentResult_deploymentModels,
+    deploymentResult_deploymentName,
+    deploymentResult_deploymentStartTime,
+    deploymentResult_deploymentStatus,
+    deploymentResult_deploymentStatusMessage,
+
+    -- ** EdgeDeployment
+    edgeDeployment_definitions,
+    edgeDeployment_deploymentName,
+    edgeDeployment_failureHandlingPolicy,
+    edgeDeployment_type,
+
+    -- ** EdgeMetric
+    edgeMetric_dimension,
+    edgeMetric_metricName,
+    edgeMetric_timestamp,
+    edgeMetric_value,
+
+    -- ** Model
+    model_latestInference,
+    model_latestSampleTime,
+    model_modelMetrics,
+    model_modelName,
+    model_modelVersion,
+  )
+where
+
+import Amazonka.SageMakerEdge.GetDeployments
+import Amazonka.SageMakerEdge.GetDeviceRegistration
+import Amazonka.SageMakerEdge.SendHeartbeat
+import Amazonka.SageMakerEdge.Types.Checksum
+import Amazonka.SageMakerEdge.Types.Definition
+import Amazonka.SageMakerEdge.Types.DeploymentModel
+import Amazonka.SageMakerEdge.Types.DeploymentResult
+import Amazonka.SageMakerEdge.Types.EdgeDeployment
+import Amazonka.SageMakerEdge.Types.EdgeMetric
+import Amazonka.SageMakerEdge.Types.Model
diff --git a/gen/Amazonka/SageMakerEdge/SendHeartbeat.hs b/gen/Amazonka/SageMakerEdge/SendHeartbeat.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/SendHeartbeat.hs
@@ -0,0 +1,211 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.SendHeartbeat
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+-- Use to get the current status of devices registered on SageMaker Edge
+-- Manager.
+module Amazonka.SageMakerEdge.SendHeartbeat
+  ( -- * Creating a Request
+    SendHeartbeat (..),
+    newSendHeartbeat,
+
+    -- * Request Lenses
+    sendHeartbeat_agentMetrics,
+    sendHeartbeat_deploymentResult,
+    sendHeartbeat_models,
+    sendHeartbeat_agentVersion,
+    sendHeartbeat_deviceName,
+    sendHeartbeat_deviceFleetName,
+
+    -- * Destructuring the Response
+    SendHeartbeatResponse (..),
+    newSendHeartbeatResponse,
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import qualified Amazonka.Request as Request
+import qualified Amazonka.Response as Response
+import Amazonka.SageMakerEdge.Types
+
+-- | /See:/ 'newSendHeartbeat' smart constructor.
+data SendHeartbeat = SendHeartbeat'
+  { -- | For internal use. Returns a list of SageMaker Edge Manager agent
+    -- operating metrics.
+    agentMetrics :: Prelude.Maybe [EdgeMetric],
+    -- | Returns the result of a deployment on the device.
+    deploymentResult :: Prelude.Maybe DeploymentResult,
+    -- | Returns a list of models deployed on the the device.
+    models :: Prelude.Maybe [Model],
+    -- | Returns the version of the agent.
+    agentVersion :: Prelude.Text,
+    -- | The unique name of the device.
+    deviceName :: Prelude.Text,
+    -- | The name of the fleet that the device belongs to.
+    deviceFleetName :: Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'SendHeartbeat' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'agentMetrics', 'sendHeartbeat_agentMetrics' - For internal use. Returns a list of SageMaker Edge Manager agent
+-- operating metrics.
+--
+-- 'deploymentResult', 'sendHeartbeat_deploymentResult' - Returns the result of a deployment on the device.
+--
+-- 'models', 'sendHeartbeat_models' - Returns a list of models deployed on the the device.
+--
+-- 'agentVersion', 'sendHeartbeat_agentVersion' - Returns the version of the agent.
+--
+-- 'deviceName', 'sendHeartbeat_deviceName' - The unique name of the device.
+--
+-- 'deviceFleetName', 'sendHeartbeat_deviceFleetName' - The name of the fleet that the device belongs to.
+newSendHeartbeat ::
+  -- | 'agentVersion'
+  Prelude.Text ->
+  -- | 'deviceName'
+  Prelude.Text ->
+  -- | 'deviceFleetName'
+  Prelude.Text ->
+  SendHeartbeat
+newSendHeartbeat
+  pAgentVersion_
+  pDeviceName_
+  pDeviceFleetName_ =
+    SendHeartbeat'
+      { agentMetrics = Prelude.Nothing,
+        deploymentResult = Prelude.Nothing,
+        models = Prelude.Nothing,
+        agentVersion = pAgentVersion_,
+        deviceName = pDeviceName_,
+        deviceFleetName = pDeviceFleetName_
+      }
+
+-- | For internal use. Returns a list of SageMaker Edge Manager agent
+-- operating metrics.
+sendHeartbeat_agentMetrics :: Lens.Lens' SendHeartbeat (Prelude.Maybe [EdgeMetric])
+sendHeartbeat_agentMetrics = Lens.lens (\SendHeartbeat' {agentMetrics} -> agentMetrics) (\s@SendHeartbeat' {} a -> s {agentMetrics = a} :: SendHeartbeat) Prelude.. Lens.mapping Lens.coerced
+
+-- | Returns the result of a deployment on the device.
+sendHeartbeat_deploymentResult :: Lens.Lens' SendHeartbeat (Prelude.Maybe DeploymentResult)
+sendHeartbeat_deploymentResult = Lens.lens (\SendHeartbeat' {deploymentResult} -> deploymentResult) (\s@SendHeartbeat' {} a -> s {deploymentResult = a} :: SendHeartbeat)
+
+-- | Returns a list of models deployed on the the device.
+sendHeartbeat_models :: Lens.Lens' SendHeartbeat (Prelude.Maybe [Model])
+sendHeartbeat_models = Lens.lens (\SendHeartbeat' {models} -> models) (\s@SendHeartbeat' {} a -> s {models = a} :: SendHeartbeat) Prelude.. Lens.mapping Lens.coerced
+
+-- | Returns the version of the agent.
+sendHeartbeat_agentVersion :: Lens.Lens' SendHeartbeat Prelude.Text
+sendHeartbeat_agentVersion = Lens.lens (\SendHeartbeat' {agentVersion} -> agentVersion) (\s@SendHeartbeat' {} a -> s {agentVersion = a} :: SendHeartbeat)
+
+-- | The unique name of the device.
+sendHeartbeat_deviceName :: Lens.Lens' SendHeartbeat Prelude.Text
+sendHeartbeat_deviceName = Lens.lens (\SendHeartbeat' {deviceName} -> deviceName) (\s@SendHeartbeat' {} a -> s {deviceName = a} :: SendHeartbeat)
+
+-- | The name of the fleet that the device belongs to.
+sendHeartbeat_deviceFleetName :: Lens.Lens' SendHeartbeat Prelude.Text
+sendHeartbeat_deviceFleetName = Lens.lens (\SendHeartbeat' {deviceFleetName} -> deviceFleetName) (\s@SendHeartbeat' {} a -> s {deviceFleetName = a} :: SendHeartbeat)
+
+instance Core.AWSRequest SendHeartbeat where
+  type
+    AWSResponse SendHeartbeat =
+      SendHeartbeatResponse
+  request overrides =
+    Request.postJSON (overrides defaultService)
+  response =
+    Response.receiveNull SendHeartbeatResponse'
+
+instance Prelude.Hashable SendHeartbeat where
+  hashWithSalt _salt SendHeartbeat' {..} =
+    _salt
+      `Prelude.hashWithSalt` agentMetrics
+      `Prelude.hashWithSalt` deploymentResult
+      `Prelude.hashWithSalt` models
+      `Prelude.hashWithSalt` agentVersion
+      `Prelude.hashWithSalt` deviceName
+      `Prelude.hashWithSalt` deviceFleetName
+
+instance Prelude.NFData SendHeartbeat where
+  rnf SendHeartbeat' {..} =
+    Prelude.rnf agentMetrics
+      `Prelude.seq` Prelude.rnf deploymentResult
+      `Prelude.seq` Prelude.rnf models
+      `Prelude.seq` Prelude.rnf agentVersion
+      `Prelude.seq` Prelude.rnf deviceName
+      `Prelude.seq` Prelude.rnf deviceFleetName
+
+instance Data.ToHeaders SendHeartbeat where
+  toHeaders =
+    Prelude.const
+      ( Prelude.mconcat
+          [ "Content-Type"
+              Data.=# ( "application/x-amz-json-1.1" ::
+                          Prelude.ByteString
+                      )
+          ]
+      )
+
+instance Data.ToJSON SendHeartbeat where
+  toJSON SendHeartbeat' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ ("AgentMetrics" Data..=) Prelude.<$> agentMetrics,
+            ("DeploymentResult" Data..=)
+              Prelude.<$> deploymentResult,
+            ("Models" Data..=) Prelude.<$> models,
+            Prelude.Just ("AgentVersion" Data..= agentVersion),
+            Prelude.Just ("DeviceName" Data..= deviceName),
+            Prelude.Just
+              ("DeviceFleetName" Data..= deviceFleetName)
+          ]
+      )
+
+instance Data.ToPath SendHeartbeat where
+  toPath = Prelude.const "/SendHeartbeat"
+
+instance Data.ToQuery SendHeartbeat where
+  toQuery = Prelude.const Prelude.mempty
+
+-- | /See:/ 'newSendHeartbeatResponse' smart constructor.
+data SendHeartbeatResponse = SendHeartbeatResponse'
+  {
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'SendHeartbeatResponse' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+newSendHeartbeatResponse ::
+  SendHeartbeatResponse
+newSendHeartbeatResponse = SendHeartbeatResponse'
+
+instance Prelude.NFData SendHeartbeatResponse where
+  rnf _ = ()
diff --git a/gen/Amazonka/SageMakerEdge/Types.hs b/gen/Amazonka/SageMakerEdge/Types.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types.hs
@@ -0,0 +1,194 @@
+{-# LANGUAGE DisambiguateRecordFields #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types
+  ( -- * Service Configuration
+    defaultService,
+
+    -- * Errors
+    _InternalServiceException,
+
+    -- * ChecksumType
+    ChecksumType (..),
+
+    -- * DeploymentStatus
+    DeploymentStatus (..),
+
+    -- * DeploymentType
+    DeploymentType (..),
+
+    -- * FailureHandlingPolicy
+    FailureHandlingPolicy (..),
+
+    -- * ModelState
+    ModelState (..),
+
+    -- * Checksum
+    Checksum (..),
+    newChecksum,
+    checksum_sum,
+    checksum_type,
+
+    -- * Definition
+    Definition (..),
+    newDefinition,
+    definition_checksum,
+    definition_modelHandle,
+    definition_s3Url,
+    definition_state,
+
+    -- * DeploymentModel
+    DeploymentModel (..),
+    newDeploymentModel,
+    deploymentModel_desiredState,
+    deploymentModel_modelHandle,
+    deploymentModel_modelName,
+    deploymentModel_modelVersion,
+    deploymentModel_rollbackFailureReason,
+    deploymentModel_state,
+    deploymentModel_status,
+    deploymentModel_statusReason,
+
+    -- * DeploymentResult
+    DeploymentResult (..),
+    newDeploymentResult,
+    deploymentResult_deploymentEndTime,
+    deploymentResult_deploymentModels,
+    deploymentResult_deploymentName,
+    deploymentResult_deploymentStartTime,
+    deploymentResult_deploymentStatus,
+    deploymentResult_deploymentStatusMessage,
+
+    -- * EdgeDeployment
+    EdgeDeployment (..),
+    newEdgeDeployment,
+    edgeDeployment_definitions,
+    edgeDeployment_deploymentName,
+    edgeDeployment_failureHandlingPolicy,
+    edgeDeployment_type,
+
+    -- * EdgeMetric
+    EdgeMetric (..),
+    newEdgeMetric,
+    edgeMetric_dimension,
+    edgeMetric_metricName,
+    edgeMetric_timestamp,
+    edgeMetric_value,
+
+    -- * Model
+    Model (..),
+    newModel,
+    model_latestInference,
+    model_latestSampleTime,
+    model_modelMetrics,
+    model_modelName,
+    model_modelVersion,
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.Checksum
+import Amazonka.SageMakerEdge.Types.ChecksumType
+import Amazonka.SageMakerEdge.Types.Definition
+import Amazonka.SageMakerEdge.Types.DeploymentModel
+import Amazonka.SageMakerEdge.Types.DeploymentResult
+import Amazonka.SageMakerEdge.Types.DeploymentStatus
+import Amazonka.SageMakerEdge.Types.DeploymentType
+import Amazonka.SageMakerEdge.Types.EdgeDeployment
+import Amazonka.SageMakerEdge.Types.EdgeMetric
+import Amazonka.SageMakerEdge.Types.FailureHandlingPolicy
+import Amazonka.SageMakerEdge.Types.Model
+import Amazonka.SageMakerEdge.Types.ModelState
+import qualified Amazonka.Sign.V4 as Sign
+
+-- | API version @2020-09-23@ of the Amazon Sagemaker Edge Manager SDK configuration.
+defaultService :: Core.Service
+defaultService =
+  Core.Service
+    { Core.abbrev = "SageMakerEdge",
+      Core.signer = Sign.v4,
+      Core.endpointPrefix = "edge.sagemaker",
+      Core.signingName = "sagemaker",
+      Core.version = "2020-09-23",
+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,
+      Core.endpoint = Core.defaultEndpoint defaultService,
+      Core.timeout = Prelude.Just 70,
+      Core.check = Core.statusSuccess,
+      Core.error = Core.parseJSONError "SageMakerEdge",
+      Core.retry = retry
+    }
+  where
+    retry =
+      Core.Exponential
+        { Core.base = 5.0e-2,
+          Core.growth = 2,
+          Core.attempts = 5,
+          Core.check = check
+        }
+    check e
+      | Lens.has (Core.hasStatus 502) e =
+          Prelude.Just "bad_gateway"
+      | Lens.has (Core.hasStatus 504) e =
+          Prelude.Just "gateway_timeout"
+      | Lens.has (Core.hasStatus 500) e =
+          Prelude.Just "general_server_error"
+      | Lens.has (Core.hasStatus 509) e =
+          Prelude.Just "limit_exceeded"
+      | Lens.has
+          ( Core.hasCode "RequestThrottledException"
+              Prelude.. Core.hasStatus 400
+          )
+          e =
+          Prelude.Just "request_throttled_exception"
+      | Lens.has (Core.hasStatus 503) e =
+          Prelude.Just "service_unavailable"
+      | Lens.has
+          ( Core.hasCode "ThrottledException"
+              Prelude.. Core.hasStatus 400
+          )
+          e =
+          Prelude.Just "throttled_exception"
+      | Lens.has
+          ( Core.hasCode "Throttling"
+              Prelude.. Core.hasStatus 400
+          )
+          e =
+          Prelude.Just "throttling"
+      | Lens.has
+          ( Core.hasCode "ThrottlingException"
+              Prelude.. Core.hasStatus 400
+          )
+          e =
+          Prelude.Just "throttling_exception"
+      | Lens.has
+          ( Core.hasCode
+              "ProvisionedThroughputExceededException"
+              Prelude.. Core.hasStatus 400
+          )
+          e =
+          Prelude.Just "throughput_exceeded"
+      | Lens.has (Core.hasStatus 429) e =
+          Prelude.Just "too_many_requests"
+      | Prelude.otherwise = Prelude.Nothing
+
+-- | An internal failure occurred. Try your request again. If the problem
+-- persists, contact Amazon Web Services customer support.
+_InternalServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
+_InternalServiceException =
+  Core._MatchServiceError
+    defaultService
+    "InternalServiceException"
diff --git a/gen/Amazonka/SageMakerEdge/Types/Checksum.hs b/gen/Amazonka/SageMakerEdge/Types/Checksum.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/Checksum.hs
@@ -0,0 +1,84 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.Checksum
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.Checksum where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.ChecksumType
+
+-- | Information about the checksum of a model deployed on a device.
+--
+-- /See:/ 'newChecksum' smart constructor.
+data Checksum = Checksum'
+  { -- | The checksum of the model.
+    sum :: Prelude.Maybe Prelude.Text,
+    -- | The type of the checksum.
+    type' :: Prelude.Maybe ChecksumType
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'Checksum' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'sum', 'checksum_sum' - The checksum of the model.
+--
+-- 'type'', 'checksum_type' - The type of the checksum.
+newChecksum ::
+  Checksum
+newChecksum =
+  Checksum'
+    { sum = Prelude.Nothing,
+      type' = Prelude.Nothing
+    }
+
+-- | The checksum of the model.
+checksum_sum :: Lens.Lens' Checksum (Prelude.Maybe Prelude.Text)
+checksum_sum = Lens.lens (\Checksum' {sum} -> sum) (\s@Checksum' {} a -> s {sum = a} :: Checksum)
+
+-- | The type of the checksum.
+checksum_type :: Lens.Lens' Checksum (Prelude.Maybe ChecksumType)
+checksum_type = Lens.lens (\Checksum' {type'} -> type') (\s@Checksum' {} a -> s {type' = a} :: Checksum)
+
+instance Data.FromJSON Checksum where
+  parseJSON =
+    Data.withObject
+      "Checksum"
+      ( \x ->
+          Checksum'
+            Prelude.<$> (x Data..:? "Sum")
+            Prelude.<*> (x Data..:? "Type")
+      )
+
+instance Prelude.Hashable Checksum where
+  hashWithSalt _salt Checksum' {..} =
+    _salt
+      `Prelude.hashWithSalt` sum
+      `Prelude.hashWithSalt` type'
+
+instance Prelude.NFData Checksum where
+  rnf Checksum' {..} =
+    Prelude.rnf sum `Prelude.seq` Prelude.rnf type'
diff --git a/gen/Amazonka/SageMakerEdge/Types/ChecksumType.hs b/gen/Amazonka/SageMakerEdge/Types/ChecksumType.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/ChecksumType.hs
@@ -0,0 +1,66 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.ChecksumType
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.ChecksumType
+  ( ChecksumType
+      ( ..,
+        ChecksumType_SHA1
+      ),
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+newtype ChecksumType = ChecksumType'
+  { fromChecksumType ::
+      Data.Text
+  }
+  deriving stock
+    ( Prelude.Show,
+      Prelude.Read,
+      Prelude.Eq,
+      Prelude.Ord,
+      Prelude.Generic
+    )
+  deriving newtype
+    ( Prelude.Hashable,
+      Prelude.NFData,
+      Data.FromText,
+      Data.ToText,
+      Data.ToByteString,
+      Data.ToLog,
+      Data.ToHeader,
+      Data.ToQuery,
+      Data.FromJSON,
+      Data.FromJSONKey,
+      Data.ToJSON,
+      Data.ToJSONKey,
+      Data.FromXML,
+      Data.ToXML
+    )
+
+pattern ChecksumType_SHA1 :: ChecksumType
+pattern ChecksumType_SHA1 = ChecksumType' "SHA1"
+
+{-# COMPLETE
+  ChecksumType_SHA1,
+  ChecksumType'
+  #-}
diff --git a/gen/Amazonka/SageMakerEdge/Types/Definition.hs b/gen/Amazonka/SageMakerEdge/Types/Definition.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/Definition.hs
@@ -0,0 +1,110 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.Definition
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.Definition where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.Checksum
+import Amazonka.SageMakerEdge.Types.ModelState
+
+-- |
+--
+-- /See:/ 'newDefinition' smart constructor.
+data Definition = Definition'
+  { -- | The checksum information of the model.
+    checksum :: Prelude.Maybe Checksum,
+    -- | The unique model handle.
+    modelHandle :: Prelude.Maybe Prelude.Text,
+    -- | The absolute S3 location of the model.
+    s3Url :: Prelude.Maybe Prelude.Text,
+    -- | The desired state of the model.
+    state :: Prelude.Maybe ModelState
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'Definition' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'checksum', 'definition_checksum' - The checksum information of the model.
+--
+-- 'modelHandle', 'definition_modelHandle' - The unique model handle.
+--
+-- 's3Url', 'definition_s3Url' - The absolute S3 location of the model.
+--
+-- 'state', 'definition_state' - The desired state of the model.
+newDefinition ::
+  Definition
+newDefinition =
+  Definition'
+    { checksum = Prelude.Nothing,
+      modelHandle = Prelude.Nothing,
+      s3Url = Prelude.Nothing,
+      state = Prelude.Nothing
+    }
+
+-- | The checksum information of the model.
+definition_checksum :: Lens.Lens' Definition (Prelude.Maybe Checksum)
+definition_checksum = Lens.lens (\Definition' {checksum} -> checksum) (\s@Definition' {} a -> s {checksum = a} :: Definition)
+
+-- | The unique model handle.
+definition_modelHandle :: Lens.Lens' Definition (Prelude.Maybe Prelude.Text)
+definition_modelHandle = Lens.lens (\Definition' {modelHandle} -> modelHandle) (\s@Definition' {} a -> s {modelHandle = a} :: Definition)
+
+-- | The absolute S3 location of the model.
+definition_s3Url :: Lens.Lens' Definition (Prelude.Maybe Prelude.Text)
+definition_s3Url = Lens.lens (\Definition' {s3Url} -> s3Url) (\s@Definition' {} a -> s {s3Url = a} :: Definition)
+
+-- | The desired state of the model.
+definition_state :: Lens.Lens' Definition (Prelude.Maybe ModelState)
+definition_state = Lens.lens (\Definition' {state} -> state) (\s@Definition' {} a -> s {state = a} :: Definition)
+
+instance Data.FromJSON Definition where
+  parseJSON =
+    Data.withObject
+      "Definition"
+      ( \x ->
+          Definition'
+            Prelude.<$> (x Data..:? "Checksum")
+            Prelude.<*> (x Data..:? "ModelHandle")
+            Prelude.<*> (x Data..:? "S3Url")
+            Prelude.<*> (x Data..:? "State")
+      )
+
+instance Prelude.Hashable Definition where
+  hashWithSalt _salt Definition' {..} =
+    _salt
+      `Prelude.hashWithSalt` checksum
+      `Prelude.hashWithSalt` modelHandle
+      `Prelude.hashWithSalt` s3Url
+      `Prelude.hashWithSalt` state
+
+instance Prelude.NFData Definition where
+  rnf Definition' {..} =
+    Prelude.rnf checksum
+      `Prelude.seq` Prelude.rnf modelHandle
+      `Prelude.seq` Prelude.rnf s3Url
+      `Prelude.seq` Prelude.rnf state
diff --git a/gen/Amazonka/SageMakerEdge/Types/DeploymentModel.hs b/gen/Amazonka/SageMakerEdge/Types/DeploymentModel.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/DeploymentModel.hs
@@ -0,0 +1,158 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.DeploymentModel
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.DeploymentModel where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.DeploymentStatus
+import Amazonka.SageMakerEdge.Types.ModelState
+
+-- |
+--
+-- /See:/ 'newDeploymentModel' smart constructor.
+data DeploymentModel = DeploymentModel'
+  { -- | The desired state of the model.
+    desiredState :: Prelude.Maybe ModelState,
+    -- | The unique handle of the model.
+    modelHandle :: Prelude.Maybe Prelude.Text,
+    -- | The name of the model.
+    modelName :: Prelude.Maybe Prelude.Text,
+    -- | The version of the model.
+    modelVersion :: Prelude.Maybe Prelude.Text,
+    -- | Returns the error message if there is a rollback.
+    rollbackFailureReason :: Prelude.Maybe Prelude.Text,
+    -- | Returns the current state of the model.
+    state :: Prelude.Maybe ModelState,
+    -- | Returns the deployment status of the model.
+    status :: Prelude.Maybe DeploymentStatus,
+    -- | Returns the error message for the deployment status result.
+    statusReason :: Prelude.Maybe Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'DeploymentModel' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'desiredState', 'deploymentModel_desiredState' - The desired state of the model.
+--
+-- 'modelHandle', 'deploymentModel_modelHandle' - The unique handle of the model.
+--
+-- 'modelName', 'deploymentModel_modelName' - The name of the model.
+--
+-- 'modelVersion', 'deploymentModel_modelVersion' - The version of the model.
+--
+-- 'rollbackFailureReason', 'deploymentModel_rollbackFailureReason' - Returns the error message if there is a rollback.
+--
+-- 'state', 'deploymentModel_state' - Returns the current state of the model.
+--
+-- 'status', 'deploymentModel_status' - Returns the deployment status of the model.
+--
+-- 'statusReason', 'deploymentModel_statusReason' - Returns the error message for the deployment status result.
+newDeploymentModel ::
+  DeploymentModel
+newDeploymentModel =
+  DeploymentModel'
+    { desiredState = Prelude.Nothing,
+      modelHandle = Prelude.Nothing,
+      modelName = Prelude.Nothing,
+      modelVersion = Prelude.Nothing,
+      rollbackFailureReason = Prelude.Nothing,
+      state = Prelude.Nothing,
+      status = Prelude.Nothing,
+      statusReason = Prelude.Nothing
+    }
+
+-- | The desired state of the model.
+deploymentModel_desiredState :: Lens.Lens' DeploymentModel (Prelude.Maybe ModelState)
+deploymentModel_desiredState = Lens.lens (\DeploymentModel' {desiredState} -> desiredState) (\s@DeploymentModel' {} a -> s {desiredState = a} :: DeploymentModel)
+
+-- | The unique handle of the model.
+deploymentModel_modelHandle :: Lens.Lens' DeploymentModel (Prelude.Maybe Prelude.Text)
+deploymentModel_modelHandle = Lens.lens (\DeploymentModel' {modelHandle} -> modelHandle) (\s@DeploymentModel' {} a -> s {modelHandle = a} :: DeploymentModel)
+
+-- | The name of the model.
+deploymentModel_modelName :: Lens.Lens' DeploymentModel (Prelude.Maybe Prelude.Text)
+deploymentModel_modelName = Lens.lens (\DeploymentModel' {modelName} -> modelName) (\s@DeploymentModel' {} a -> s {modelName = a} :: DeploymentModel)
+
+-- | The version of the model.
+deploymentModel_modelVersion :: Lens.Lens' DeploymentModel (Prelude.Maybe Prelude.Text)
+deploymentModel_modelVersion = Lens.lens (\DeploymentModel' {modelVersion} -> modelVersion) (\s@DeploymentModel' {} a -> s {modelVersion = a} :: DeploymentModel)
+
+-- | Returns the error message if there is a rollback.
+deploymentModel_rollbackFailureReason :: Lens.Lens' DeploymentModel (Prelude.Maybe Prelude.Text)
+deploymentModel_rollbackFailureReason = Lens.lens (\DeploymentModel' {rollbackFailureReason} -> rollbackFailureReason) (\s@DeploymentModel' {} a -> s {rollbackFailureReason = a} :: DeploymentModel)
+
+-- | Returns the current state of the model.
+deploymentModel_state :: Lens.Lens' DeploymentModel (Prelude.Maybe ModelState)
+deploymentModel_state = Lens.lens (\DeploymentModel' {state} -> state) (\s@DeploymentModel' {} a -> s {state = a} :: DeploymentModel)
+
+-- | Returns the deployment status of the model.
+deploymentModel_status :: Lens.Lens' DeploymentModel (Prelude.Maybe DeploymentStatus)
+deploymentModel_status = Lens.lens (\DeploymentModel' {status} -> status) (\s@DeploymentModel' {} a -> s {status = a} :: DeploymentModel)
+
+-- | Returns the error message for the deployment status result.
+deploymentModel_statusReason :: Lens.Lens' DeploymentModel (Prelude.Maybe Prelude.Text)
+deploymentModel_statusReason = Lens.lens (\DeploymentModel' {statusReason} -> statusReason) (\s@DeploymentModel' {} a -> s {statusReason = a} :: DeploymentModel)
+
+instance Prelude.Hashable DeploymentModel where
+  hashWithSalt _salt DeploymentModel' {..} =
+    _salt
+      `Prelude.hashWithSalt` desiredState
+      `Prelude.hashWithSalt` modelHandle
+      `Prelude.hashWithSalt` modelName
+      `Prelude.hashWithSalt` modelVersion
+      `Prelude.hashWithSalt` rollbackFailureReason
+      `Prelude.hashWithSalt` state
+      `Prelude.hashWithSalt` status
+      `Prelude.hashWithSalt` statusReason
+
+instance Prelude.NFData DeploymentModel where
+  rnf DeploymentModel' {..} =
+    Prelude.rnf desiredState
+      `Prelude.seq` Prelude.rnf modelHandle
+      `Prelude.seq` Prelude.rnf modelName
+      `Prelude.seq` Prelude.rnf modelVersion
+      `Prelude.seq` Prelude.rnf rollbackFailureReason
+      `Prelude.seq` Prelude.rnf state
+      `Prelude.seq` Prelude.rnf status
+      `Prelude.seq` Prelude.rnf statusReason
+
+instance Data.ToJSON DeploymentModel where
+  toJSON DeploymentModel' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ ("DesiredState" Data..=) Prelude.<$> desiredState,
+            ("ModelHandle" Data..=) Prelude.<$> modelHandle,
+            ("ModelName" Data..=) Prelude.<$> modelName,
+            ("ModelVersion" Data..=) Prelude.<$> modelVersion,
+            ("RollbackFailureReason" Data..=)
+              Prelude.<$> rollbackFailureReason,
+            ("State" Data..=) Prelude.<$> state,
+            ("Status" Data..=) Prelude.<$> status,
+            ("StatusReason" Data..=) Prelude.<$> statusReason
+          ]
+      )
diff --git a/gen/Amazonka/SageMakerEdge/Types/DeploymentResult.hs b/gen/Amazonka/SageMakerEdge/Types/DeploymentResult.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/DeploymentResult.hs
@@ -0,0 +1,143 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.DeploymentResult
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.DeploymentResult where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.DeploymentModel
+
+-- | Information about the result of a deployment on an edge device that is
+-- registered with SageMaker Edge Manager.
+--
+-- /See:/ 'newDeploymentResult' smart constructor.
+data DeploymentResult = DeploymentResult'
+  { -- | The timestamp of when the deployment was ended, and the agent got the
+    -- deployment results.
+    deploymentEndTime :: Prelude.Maybe Data.POSIX,
+    -- | Returns a list of models deployed on the agent.
+    deploymentModels :: Prelude.Maybe [DeploymentModel],
+    -- | The name and unique ID of the deployment.
+    deploymentName :: Prelude.Maybe Prelude.Text,
+    -- | The timestamp of when the deployment was started on the agent.
+    deploymentStartTime :: Prelude.Maybe Data.POSIX,
+    -- | Returns the bucket error code.
+    deploymentStatus :: Prelude.Maybe Prelude.Text,
+    -- | Returns the detailed error message.
+    deploymentStatusMessage :: Prelude.Maybe Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'DeploymentResult' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'deploymentEndTime', 'deploymentResult_deploymentEndTime' - The timestamp of when the deployment was ended, and the agent got the
+-- deployment results.
+--
+-- 'deploymentModels', 'deploymentResult_deploymentModels' - Returns a list of models deployed on the agent.
+--
+-- 'deploymentName', 'deploymentResult_deploymentName' - The name and unique ID of the deployment.
+--
+-- 'deploymentStartTime', 'deploymentResult_deploymentStartTime' - The timestamp of when the deployment was started on the agent.
+--
+-- 'deploymentStatus', 'deploymentResult_deploymentStatus' - Returns the bucket error code.
+--
+-- 'deploymentStatusMessage', 'deploymentResult_deploymentStatusMessage' - Returns the detailed error message.
+newDeploymentResult ::
+  DeploymentResult
+newDeploymentResult =
+  DeploymentResult'
+    { deploymentEndTime =
+        Prelude.Nothing,
+      deploymentModels = Prelude.Nothing,
+      deploymentName = Prelude.Nothing,
+      deploymentStartTime = Prelude.Nothing,
+      deploymentStatus = Prelude.Nothing,
+      deploymentStatusMessage = Prelude.Nothing
+    }
+
+-- | The timestamp of when the deployment was ended, and the agent got the
+-- deployment results.
+deploymentResult_deploymentEndTime :: Lens.Lens' DeploymentResult (Prelude.Maybe Prelude.UTCTime)
+deploymentResult_deploymentEndTime = Lens.lens (\DeploymentResult' {deploymentEndTime} -> deploymentEndTime) (\s@DeploymentResult' {} a -> s {deploymentEndTime = a} :: DeploymentResult) Prelude.. Lens.mapping Data._Time
+
+-- | Returns a list of models deployed on the agent.
+deploymentResult_deploymentModels :: Lens.Lens' DeploymentResult (Prelude.Maybe [DeploymentModel])
+deploymentResult_deploymentModels = Lens.lens (\DeploymentResult' {deploymentModels} -> deploymentModels) (\s@DeploymentResult' {} a -> s {deploymentModels = a} :: DeploymentResult) Prelude.. Lens.mapping Lens.coerced
+
+-- | The name and unique ID of the deployment.
+deploymentResult_deploymentName :: Lens.Lens' DeploymentResult (Prelude.Maybe Prelude.Text)
+deploymentResult_deploymentName = Lens.lens (\DeploymentResult' {deploymentName} -> deploymentName) (\s@DeploymentResult' {} a -> s {deploymentName = a} :: DeploymentResult)
+
+-- | The timestamp of when the deployment was started on the agent.
+deploymentResult_deploymentStartTime :: Lens.Lens' DeploymentResult (Prelude.Maybe Prelude.UTCTime)
+deploymentResult_deploymentStartTime = Lens.lens (\DeploymentResult' {deploymentStartTime} -> deploymentStartTime) (\s@DeploymentResult' {} a -> s {deploymentStartTime = a} :: DeploymentResult) Prelude.. Lens.mapping Data._Time
+
+-- | Returns the bucket error code.
+deploymentResult_deploymentStatus :: Lens.Lens' DeploymentResult (Prelude.Maybe Prelude.Text)
+deploymentResult_deploymentStatus = Lens.lens (\DeploymentResult' {deploymentStatus} -> deploymentStatus) (\s@DeploymentResult' {} a -> s {deploymentStatus = a} :: DeploymentResult)
+
+-- | Returns the detailed error message.
+deploymentResult_deploymentStatusMessage :: Lens.Lens' DeploymentResult (Prelude.Maybe Prelude.Text)
+deploymentResult_deploymentStatusMessage = Lens.lens (\DeploymentResult' {deploymentStatusMessage} -> deploymentStatusMessage) (\s@DeploymentResult' {} a -> s {deploymentStatusMessage = a} :: DeploymentResult)
+
+instance Prelude.Hashable DeploymentResult where
+  hashWithSalt _salt DeploymentResult' {..} =
+    _salt
+      `Prelude.hashWithSalt` deploymentEndTime
+      `Prelude.hashWithSalt` deploymentModels
+      `Prelude.hashWithSalt` deploymentName
+      `Prelude.hashWithSalt` deploymentStartTime
+      `Prelude.hashWithSalt` deploymentStatus
+      `Prelude.hashWithSalt` deploymentStatusMessage
+
+instance Prelude.NFData DeploymentResult where
+  rnf DeploymentResult' {..} =
+    Prelude.rnf deploymentEndTime
+      `Prelude.seq` Prelude.rnf deploymentModels
+      `Prelude.seq` Prelude.rnf deploymentName
+      `Prelude.seq` Prelude.rnf deploymentStartTime
+      `Prelude.seq` Prelude.rnf deploymentStatus
+      `Prelude.seq` Prelude.rnf deploymentStatusMessage
+
+instance Data.ToJSON DeploymentResult where
+  toJSON DeploymentResult' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ ("DeploymentEndTime" Data..=)
+              Prelude.<$> deploymentEndTime,
+            ("DeploymentModels" Data..=)
+              Prelude.<$> deploymentModels,
+            ("DeploymentName" Data..=)
+              Prelude.<$> deploymentName,
+            ("DeploymentStartTime" Data..=)
+              Prelude.<$> deploymentStartTime,
+            ("DeploymentStatus" Data..=)
+              Prelude.<$> deploymentStatus,
+            ("DeploymentStatusMessage" Data..=)
+              Prelude.<$> deploymentStatusMessage
+          ]
+      )
diff --git a/gen/Amazonka/SageMakerEdge/Types/DeploymentStatus.hs b/gen/Amazonka/SageMakerEdge/Types/DeploymentStatus.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/DeploymentStatus.hs
@@ -0,0 +1,71 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.DeploymentStatus
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.DeploymentStatus
+  ( DeploymentStatus
+      ( ..,
+        DeploymentStatus_FAIL,
+        DeploymentStatus_SUCCESS
+      ),
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+newtype DeploymentStatus = DeploymentStatus'
+  { fromDeploymentStatus ::
+      Data.Text
+  }
+  deriving stock
+    ( Prelude.Show,
+      Prelude.Read,
+      Prelude.Eq,
+      Prelude.Ord,
+      Prelude.Generic
+    )
+  deriving newtype
+    ( Prelude.Hashable,
+      Prelude.NFData,
+      Data.FromText,
+      Data.ToText,
+      Data.ToByteString,
+      Data.ToLog,
+      Data.ToHeader,
+      Data.ToQuery,
+      Data.FromJSON,
+      Data.FromJSONKey,
+      Data.ToJSON,
+      Data.ToJSONKey,
+      Data.FromXML,
+      Data.ToXML
+    )
+
+pattern DeploymentStatus_FAIL :: DeploymentStatus
+pattern DeploymentStatus_FAIL = DeploymentStatus' "FAIL"
+
+pattern DeploymentStatus_SUCCESS :: DeploymentStatus
+pattern DeploymentStatus_SUCCESS = DeploymentStatus' "SUCCESS"
+
+{-# COMPLETE
+  DeploymentStatus_FAIL,
+  DeploymentStatus_SUCCESS,
+  DeploymentStatus'
+  #-}
diff --git a/gen/Amazonka/SageMakerEdge/Types/DeploymentType.hs b/gen/Amazonka/SageMakerEdge/Types/DeploymentType.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/DeploymentType.hs
@@ -0,0 +1,66 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.DeploymentType
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.DeploymentType
+  ( DeploymentType
+      ( ..,
+        DeploymentType_Model
+      ),
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+newtype DeploymentType = DeploymentType'
+  { fromDeploymentType ::
+      Data.Text
+  }
+  deriving stock
+    ( Prelude.Show,
+      Prelude.Read,
+      Prelude.Eq,
+      Prelude.Ord,
+      Prelude.Generic
+    )
+  deriving newtype
+    ( Prelude.Hashable,
+      Prelude.NFData,
+      Data.FromText,
+      Data.ToText,
+      Data.ToByteString,
+      Data.ToLog,
+      Data.ToHeader,
+      Data.ToQuery,
+      Data.FromJSON,
+      Data.FromJSONKey,
+      Data.ToJSON,
+      Data.ToJSONKey,
+      Data.FromXML,
+      Data.ToXML
+    )
+
+pattern DeploymentType_Model :: DeploymentType
+pattern DeploymentType_Model = DeploymentType' "Model"
+
+{-# COMPLETE
+  DeploymentType_Model,
+  DeploymentType'
+  #-}
diff --git a/gen/Amazonka/SageMakerEdge/Types/EdgeDeployment.hs b/gen/Amazonka/SageMakerEdge/Types/EdgeDeployment.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/EdgeDeployment.hs
@@ -0,0 +1,115 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.EdgeDeployment
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.EdgeDeployment where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.Definition
+import Amazonka.SageMakerEdge.Types.DeploymentType
+import Amazonka.SageMakerEdge.Types.FailureHandlingPolicy
+
+-- | Information about a deployment on an edge device that is registered with
+-- SageMaker Edge Manager.
+--
+-- /See:/ 'newEdgeDeployment' smart constructor.
+data EdgeDeployment = EdgeDeployment'
+  { -- | Returns a list of Definition objects.
+    definitions :: Prelude.Maybe [Definition],
+    -- | The name and unique ID of the deployment.
+    deploymentName :: Prelude.Maybe Prelude.Text,
+    -- | Determines whether to rollback to previous configuration if deployment
+    -- fails.
+    failureHandlingPolicy :: Prelude.Maybe FailureHandlingPolicy,
+    -- | The type of the deployment.
+    type' :: Prelude.Maybe DeploymentType
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'EdgeDeployment' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'definitions', 'edgeDeployment_definitions' - Returns a list of Definition objects.
+--
+-- 'deploymentName', 'edgeDeployment_deploymentName' - The name and unique ID of the deployment.
+--
+-- 'failureHandlingPolicy', 'edgeDeployment_failureHandlingPolicy' - Determines whether to rollback to previous configuration if deployment
+-- fails.
+--
+-- 'type'', 'edgeDeployment_type' - The type of the deployment.
+newEdgeDeployment ::
+  EdgeDeployment
+newEdgeDeployment =
+  EdgeDeployment'
+    { definitions = Prelude.Nothing,
+      deploymentName = Prelude.Nothing,
+      failureHandlingPolicy = Prelude.Nothing,
+      type' = Prelude.Nothing
+    }
+
+-- | Returns a list of Definition objects.
+edgeDeployment_definitions :: Lens.Lens' EdgeDeployment (Prelude.Maybe [Definition])
+edgeDeployment_definitions = Lens.lens (\EdgeDeployment' {definitions} -> definitions) (\s@EdgeDeployment' {} a -> s {definitions = a} :: EdgeDeployment) Prelude.. Lens.mapping Lens.coerced
+
+-- | The name and unique ID of the deployment.
+edgeDeployment_deploymentName :: Lens.Lens' EdgeDeployment (Prelude.Maybe Prelude.Text)
+edgeDeployment_deploymentName = Lens.lens (\EdgeDeployment' {deploymentName} -> deploymentName) (\s@EdgeDeployment' {} a -> s {deploymentName = a} :: EdgeDeployment)
+
+-- | Determines whether to rollback to previous configuration if deployment
+-- fails.
+edgeDeployment_failureHandlingPolicy :: Lens.Lens' EdgeDeployment (Prelude.Maybe FailureHandlingPolicy)
+edgeDeployment_failureHandlingPolicy = Lens.lens (\EdgeDeployment' {failureHandlingPolicy} -> failureHandlingPolicy) (\s@EdgeDeployment' {} a -> s {failureHandlingPolicy = a} :: EdgeDeployment)
+
+-- | The type of the deployment.
+edgeDeployment_type :: Lens.Lens' EdgeDeployment (Prelude.Maybe DeploymentType)
+edgeDeployment_type = Lens.lens (\EdgeDeployment' {type'} -> type') (\s@EdgeDeployment' {} a -> s {type' = a} :: EdgeDeployment)
+
+instance Data.FromJSON EdgeDeployment where
+  parseJSON =
+    Data.withObject
+      "EdgeDeployment"
+      ( \x ->
+          EdgeDeployment'
+            Prelude.<$> (x Data..:? "Definitions" Data..!= Prelude.mempty)
+            Prelude.<*> (x Data..:? "DeploymentName")
+            Prelude.<*> (x Data..:? "FailureHandlingPolicy")
+            Prelude.<*> (x Data..:? "Type")
+      )
+
+instance Prelude.Hashable EdgeDeployment where
+  hashWithSalt _salt EdgeDeployment' {..} =
+    _salt
+      `Prelude.hashWithSalt` definitions
+      `Prelude.hashWithSalt` deploymentName
+      `Prelude.hashWithSalt` failureHandlingPolicy
+      `Prelude.hashWithSalt` type'
+
+instance Prelude.NFData EdgeDeployment where
+  rnf EdgeDeployment' {..} =
+    Prelude.rnf definitions
+      `Prelude.seq` Prelude.rnf deploymentName
+      `Prelude.seq` Prelude.rnf failureHandlingPolicy
+      `Prelude.seq` Prelude.rnf type'
diff --git a/gen/Amazonka/SageMakerEdge/Types/EdgeMetric.hs b/gen/Amazonka/SageMakerEdge/Types/EdgeMetric.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/EdgeMetric.hs
@@ -0,0 +1,107 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.EdgeMetric
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.EdgeMetric where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+-- | Information required for edge device metrics.
+--
+-- /See:/ 'newEdgeMetric' smart constructor.
+data EdgeMetric = EdgeMetric'
+  { -- | The dimension of metrics published.
+    dimension :: Prelude.Maybe Prelude.Text,
+    -- | Returns the name of the metric.
+    metricName :: Prelude.Maybe Prelude.Text,
+    -- | Timestamp of when the metric was requested.
+    timestamp :: Prelude.Maybe Data.POSIX,
+    -- | Returns the value of the metric.
+    value :: Prelude.Maybe Prelude.Double
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'EdgeMetric' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'dimension', 'edgeMetric_dimension' - The dimension of metrics published.
+--
+-- 'metricName', 'edgeMetric_metricName' - Returns the name of the metric.
+--
+-- 'timestamp', 'edgeMetric_timestamp' - Timestamp of when the metric was requested.
+--
+-- 'value', 'edgeMetric_value' - Returns the value of the metric.
+newEdgeMetric ::
+  EdgeMetric
+newEdgeMetric =
+  EdgeMetric'
+    { dimension = Prelude.Nothing,
+      metricName = Prelude.Nothing,
+      timestamp = Prelude.Nothing,
+      value = Prelude.Nothing
+    }
+
+-- | The dimension of metrics published.
+edgeMetric_dimension :: Lens.Lens' EdgeMetric (Prelude.Maybe Prelude.Text)
+edgeMetric_dimension = Lens.lens (\EdgeMetric' {dimension} -> dimension) (\s@EdgeMetric' {} a -> s {dimension = a} :: EdgeMetric)
+
+-- | Returns the name of the metric.
+edgeMetric_metricName :: Lens.Lens' EdgeMetric (Prelude.Maybe Prelude.Text)
+edgeMetric_metricName = Lens.lens (\EdgeMetric' {metricName} -> metricName) (\s@EdgeMetric' {} a -> s {metricName = a} :: EdgeMetric)
+
+-- | Timestamp of when the metric was requested.
+edgeMetric_timestamp :: Lens.Lens' EdgeMetric (Prelude.Maybe Prelude.UTCTime)
+edgeMetric_timestamp = Lens.lens (\EdgeMetric' {timestamp} -> timestamp) (\s@EdgeMetric' {} a -> s {timestamp = a} :: EdgeMetric) Prelude.. Lens.mapping Data._Time
+
+-- | Returns the value of the metric.
+edgeMetric_value :: Lens.Lens' EdgeMetric (Prelude.Maybe Prelude.Double)
+edgeMetric_value = Lens.lens (\EdgeMetric' {value} -> value) (\s@EdgeMetric' {} a -> s {value = a} :: EdgeMetric)
+
+instance Prelude.Hashable EdgeMetric where
+  hashWithSalt _salt EdgeMetric' {..} =
+    _salt
+      `Prelude.hashWithSalt` dimension
+      `Prelude.hashWithSalt` metricName
+      `Prelude.hashWithSalt` timestamp
+      `Prelude.hashWithSalt` value
+
+instance Prelude.NFData EdgeMetric where
+  rnf EdgeMetric' {..} =
+    Prelude.rnf dimension
+      `Prelude.seq` Prelude.rnf metricName
+      `Prelude.seq` Prelude.rnf timestamp
+      `Prelude.seq` Prelude.rnf value
+
+instance Data.ToJSON EdgeMetric where
+  toJSON EdgeMetric' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ ("Dimension" Data..=) Prelude.<$> dimension,
+            ("MetricName" Data..=) Prelude.<$> metricName,
+            ("Timestamp" Data..=) Prelude.<$> timestamp,
+            ("Value" Data..=) Prelude.<$> value
+          ]
+      )
diff --git a/gen/Amazonka/SageMakerEdge/Types/FailureHandlingPolicy.hs b/gen/Amazonka/SageMakerEdge/Types/FailureHandlingPolicy.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/FailureHandlingPolicy.hs
@@ -0,0 +1,71 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.FailureHandlingPolicy
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.FailureHandlingPolicy
+  ( FailureHandlingPolicy
+      ( ..,
+        FailureHandlingPolicy_DO_NOTHING,
+        FailureHandlingPolicy_ROLLBACK_ON_FAILURE
+      ),
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+newtype FailureHandlingPolicy = FailureHandlingPolicy'
+  { fromFailureHandlingPolicy ::
+      Data.Text
+  }
+  deriving stock
+    ( Prelude.Show,
+      Prelude.Read,
+      Prelude.Eq,
+      Prelude.Ord,
+      Prelude.Generic
+    )
+  deriving newtype
+    ( Prelude.Hashable,
+      Prelude.NFData,
+      Data.FromText,
+      Data.ToText,
+      Data.ToByteString,
+      Data.ToLog,
+      Data.ToHeader,
+      Data.ToQuery,
+      Data.FromJSON,
+      Data.FromJSONKey,
+      Data.ToJSON,
+      Data.ToJSONKey,
+      Data.FromXML,
+      Data.ToXML
+    )
+
+pattern FailureHandlingPolicy_DO_NOTHING :: FailureHandlingPolicy
+pattern FailureHandlingPolicy_DO_NOTHING = FailureHandlingPolicy' "DO_NOTHING"
+
+pattern FailureHandlingPolicy_ROLLBACK_ON_FAILURE :: FailureHandlingPolicy
+pattern FailureHandlingPolicy_ROLLBACK_ON_FAILURE = FailureHandlingPolicy' "ROLLBACK_ON_FAILURE"
+
+{-# COMPLETE
+  FailureHandlingPolicy_DO_NOTHING,
+  FailureHandlingPolicy_ROLLBACK_ON_FAILURE,
+  FailureHandlingPolicy'
+  #-}
diff --git a/gen/Amazonka/SageMakerEdge/Types/Model.hs b/gen/Amazonka/SageMakerEdge/Types/Model.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/Model.hs
@@ -0,0 +1,123 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE NamedFieldPuns #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE RecordWildCards #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.Model
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.Model where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Types.EdgeMetric
+
+-- | Information about a model deployed on an edge device that is registered
+-- with SageMaker Edge Manager.
+--
+-- /See:/ 'newModel' smart constructor.
+data Model = Model'
+  { -- | The timestamp of the last inference that was made.
+    latestInference :: Prelude.Maybe Data.POSIX,
+    -- | The timestamp of the last data sample taken.
+    latestSampleTime :: Prelude.Maybe Data.POSIX,
+    -- | Information required for model metrics.
+    modelMetrics :: Prelude.Maybe [EdgeMetric],
+    -- | The name of the model.
+    modelName :: Prelude.Maybe Prelude.Text,
+    -- | The version of the model.
+    modelVersion :: Prelude.Maybe Prelude.Text
+  }
+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
+
+-- |
+-- Create a value of 'Model' with all optional fields omitted.
+--
+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
+--
+-- The following record fields are available, with the corresponding lenses provided
+-- for backwards compatibility:
+--
+-- 'latestInference', 'model_latestInference' - The timestamp of the last inference that was made.
+--
+-- 'latestSampleTime', 'model_latestSampleTime' - The timestamp of the last data sample taken.
+--
+-- 'modelMetrics', 'model_modelMetrics' - Information required for model metrics.
+--
+-- 'modelName', 'model_modelName' - The name of the model.
+--
+-- 'modelVersion', 'model_modelVersion' - The version of the model.
+newModel ::
+  Model
+newModel =
+  Model'
+    { latestInference = Prelude.Nothing,
+      latestSampleTime = Prelude.Nothing,
+      modelMetrics = Prelude.Nothing,
+      modelName = Prelude.Nothing,
+      modelVersion = Prelude.Nothing
+    }
+
+-- | The timestamp of the last inference that was made.
+model_latestInference :: Lens.Lens' Model (Prelude.Maybe Prelude.UTCTime)
+model_latestInference = Lens.lens (\Model' {latestInference} -> latestInference) (\s@Model' {} a -> s {latestInference = a} :: Model) Prelude.. Lens.mapping Data._Time
+
+-- | The timestamp of the last data sample taken.
+model_latestSampleTime :: Lens.Lens' Model (Prelude.Maybe Prelude.UTCTime)
+model_latestSampleTime = Lens.lens (\Model' {latestSampleTime} -> latestSampleTime) (\s@Model' {} a -> s {latestSampleTime = a} :: Model) Prelude.. Lens.mapping Data._Time
+
+-- | Information required for model metrics.
+model_modelMetrics :: Lens.Lens' Model (Prelude.Maybe [EdgeMetric])
+model_modelMetrics = Lens.lens (\Model' {modelMetrics} -> modelMetrics) (\s@Model' {} a -> s {modelMetrics = a} :: Model) Prelude.. Lens.mapping Lens.coerced
+
+-- | The name of the model.
+model_modelName :: Lens.Lens' Model (Prelude.Maybe Prelude.Text)
+model_modelName = Lens.lens (\Model' {modelName} -> modelName) (\s@Model' {} a -> s {modelName = a} :: Model)
+
+-- | The version of the model.
+model_modelVersion :: Lens.Lens' Model (Prelude.Maybe Prelude.Text)
+model_modelVersion = Lens.lens (\Model' {modelVersion} -> modelVersion) (\s@Model' {} a -> s {modelVersion = a} :: Model)
+
+instance Prelude.Hashable Model where
+  hashWithSalt _salt Model' {..} =
+    _salt
+      `Prelude.hashWithSalt` latestInference
+      `Prelude.hashWithSalt` latestSampleTime
+      `Prelude.hashWithSalt` modelMetrics
+      `Prelude.hashWithSalt` modelName
+      `Prelude.hashWithSalt` modelVersion
+
+instance Prelude.NFData Model where
+  rnf Model' {..} =
+    Prelude.rnf latestInference
+      `Prelude.seq` Prelude.rnf latestSampleTime
+      `Prelude.seq` Prelude.rnf modelMetrics
+      `Prelude.seq` Prelude.rnf modelName
+      `Prelude.seq` Prelude.rnf modelVersion
+
+instance Data.ToJSON Model where
+  toJSON Model' {..} =
+    Data.object
+      ( Prelude.catMaybes
+          [ ("LatestInference" Data..=)
+              Prelude.<$> latestInference,
+            ("LatestSampleTime" Data..=)
+              Prelude.<$> latestSampleTime,
+            ("ModelMetrics" Data..=) Prelude.<$> modelMetrics,
+            ("ModelName" Data..=) Prelude.<$> modelName,
+            ("ModelVersion" Data..=) Prelude.<$> modelVersion
+          ]
+      )
diff --git a/gen/Amazonka/SageMakerEdge/Types/ModelState.hs b/gen/Amazonka/SageMakerEdge/Types/ModelState.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Types/ModelState.hs
@@ -0,0 +1,71 @@
+{-# LANGUAGE DeriveGeneric #-}
+{-# LANGUAGE DerivingStrategies #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE LambdaCase #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE PatternSynonyms #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Types.ModelState
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Types.ModelState
+  ( ModelState
+      ( ..,
+        ModelState_DEPLOY,
+        ModelState_UNDEPLOY
+      ),
+  )
+where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+
+newtype ModelState = ModelState'
+  { fromModelState ::
+      Data.Text
+  }
+  deriving stock
+    ( Prelude.Show,
+      Prelude.Read,
+      Prelude.Eq,
+      Prelude.Ord,
+      Prelude.Generic
+    )
+  deriving newtype
+    ( Prelude.Hashable,
+      Prelude.NFData,
+      Data.FromText,
+      Data.ToText,
+      Data.ToByteString,
+      Data.ToLog,
+      Data.ToHeader,
+      Data.ToQuery,
+      Data.FromJSON,
+      Data.FromJSONKey,
+      Data.ToJSON,
+      Data.ToJSONKey,
+      Data.FromXML,
+      Data.ToXML
+    )
+
+pattern ModelState_DEPLOY :: ModelState
+pattern ModelState_DEPLOY = ModelState' "DEPLOY"
+
+pattern ModelState_UNDEPLOY :: ModelState
+pattern ModelState_UNDEPLOY = ModelState' "UNDEPLOY"
+
+{-# COMPLETE
+  ModelState_DEPLOY,
+  ModelState_UNDEPLOY,
+  ModelState'
+  #-}
diff --git a/gen/Amazonka/SageMakerEdge/Waiters.hs b/gen/Amazonka/SageMakerEdge/Waiters.hs
new file mode 100644
--- /dev/null
+++ b/gen/Amazonka/SageMakerEdge/Waiters.hs
@@ -0,0 +1,24 @@
+{-# LANGUAGE DisambiguateRecordFields #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE StrictData #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Amazonka.SageMakerEdge.Waiters
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Amazonka.SageMakerEdge.Waiters where
+
+import qualified Amazonka.Core as Core
+import qualified Amazonka.Core.Lens.Internal as Lens
+import qualified Amazonka.Data as Data
+import qualified Amazonka.Prelude as Prelude
+import Amazonka.SageMakerEdge.Lens
+import Amazonka.SageMakerEdge.Types
diff --git a/src/.gitkeep b/src/.gitkeep
new file mode 100644
--- /dev/null
+++ b/src/.gitkeep
diff --git a/test/Main.hs b/test/Main.hs
new file mode 100644
--- /dev/null
+++ b/test/Main.hs
@@ -0,0 +1,23 @@
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- |
+-- Module      : Main
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Main (main) where
+
+import Test.Amazonka.SageMakerEdge
+import Test.Amazonka.SageMakerEdge.Internal
+import Test.Tasty
+
+main :: IO ()
+main =
+  defaultMain $
+    testGroup
+      "SageMakerEdge"
+      [ testGroup "tests" tests,
+        testGroup "fixtures" fixtures
+      ]
diff --git a/test/Test/Amazonka/Gen/SageMakerEdge.hs b/test/Test/Amazonka/Gen/SageMakerEdge.hs
new file mode 100644
--- /dev/null
+++ b/test/Test/Amazonka/Gen/SageMakerEdge.hs
@@ -0,0 +1,98 @@
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module      : Test.Amazonka.Gen.SageMakerEdge
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Test.Amazonka.Gen.SageMakerEdge where
+
+import Amazonka.SageMakerEdge
+import qualified Data.Proxy as Proxy
+import Test.Amazonka.Fixture
+import Test.Amazonka.Prelude
+import Test.Amazonka.SageMakerEdge.Internal
+import Test.Tasty
+
+-- Auto-generated: the actual test selection needs to be manually placed into
+-- the top-level so that real test data can be incrementally added.
+--
+-- This commented snippet is what the entire set should look like:
+
+-- fixtures :: TestTree
+-- fixtures =
+--     [ testGroup "request"
+--         [ requestGetDeployments $
+--             newGetDeployments
+--
+--         , requestGetDeviceRegistration $
+--             newGetDeviceRegistration
+--
+--         , requestSendHeartbeat $
+--             newSendHeartbeat
+--
+--           ]
+
+--     , testGroup "response"
+--         [ responseGetDeployments $
+--             newGetDeploymentsResponse
+--
+--         , responseGetDeviceRegistration $
+--             newGetDeviceRegistrationResponse
+--
+--         , responseSendHeartbeat $
+--             newSendHeartbeatResponse
+--
+--           ]
+--     ]
+
+-- Requests
+
+requestGetDeployments :: GetDeployments -> TestTree
+requestGetDeployments =
+  req
+    "GetDeployments"
+    "fixture/GetDeployments.yaml"
+
+requestGetDeviceRegistration :: GetDeviceRegistration -> TestTree
+requestGetDeviceRegistration =
+  req
+    "GetDeviceRegistration"
+    "fixture/GetDeviceRegistration.yaml"
+
+requestSendHeartbeat :: SendHeartbeat -> TestTree
+requestSendHeartbeat =
+  req
+    "SendHeartbeat"
+    "fixture/SendHeartbeat.yaml"
+
+-- Responses
+
+responseGetDeployments :: GetDeploymentsResponse -> TestTree
+responseGetDeployments =
+  res
+    "GetDeploymentsResponse"
+    "fixture/GetDeploymentsResponse.proto"
+    defaultService
+    (Proxy.Proxy :: Proxy.Proxy GetDeployments)
+
+responseGetDeviceRegistration :: GetDeviceRegistrationResponse -> TestTree
+responseGetDeviceRegistration =
+  res
+    "GetDeviceRegistrationResponse"
+    "fixture/GetDeviceRegistrationResponse.proto"
+    defaultService
+    (Proxy.Proxy :: Proxy.Proxy GetDeviceRegistration)
+
+responseSendHeartbeat :: SendHeartbeatResponse -> TestTree
+responseSendHeartbeat =
+  res
+    "SendHeartbeatResponse"
+    "fixture/SendHeartbeatResponse.proto"
+    defaultService
+    (Proxy.Proxy :: Proxy.Proxy SendHeartbeat)
diff --git a/test/Test/Amazonka/SageMakerEdge.hs b/test/Test/Amazonka/SageMakerEdge.hs
new file mode 100644
--- /dev/null
+++ b/test/Test/Amazonka/SageMakerEdge.hs
@@ -0,0 +1,20 @@
+-- |
+-- Module      : Test.Amazonka.SageMakerEdge
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Test.Amazonka.SageMakerEdge
+  ( tests,
+    fixtures,
+  )
+where
+
+import Test.Tasty (TestTree)
+
+tests :: [TestTree]
+tests = []
+
+fixtures :: [TestTree]
+fixtures = []
diff --git a/test/Test/Amazonka/SageMakerEdge/Internal.hs b/test/Test/Amazonka/SageMakerEdge/Internal.hs
new file mode 100644
--- /dev/null
+++ b/test/Test/Amazonka/SageMakerEdge/Internal.hs
@@ -0,0 +1,8 @@
+-- |
+-- Module      : Test.Amazonka.SageMakerEdge.Internal
+-- Copyright   : (c) 2013-2023 Brendan Hay
+-- License     : Mozilla Public License, v. 2.0.
+-- Maintainer  : Brendan Hay
+-- Stability   : auto-generated
+-- Portability : non-portable (GHC extensions)
+module Test.Amazonka.SageMakerEdge.Internal where
