| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpsWorks.StopStack
Description
Stops a specified stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Synopsis
- data StopStack = StopStack' {}
- newStopStack :: Text -> StopStack
- stopStack_stackId :: Lens' StopStack Text
- data StopStackResponse = StopStackResponse' {
- newStopStackResponse :: StopStackResponse
Creating a Request
See: newStopStack smart constructor.
Constructors
| StopStack' | |
Instances
Create a value of StopStack with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StopStack, stopStack_stackId - The stack ID.
Request Lenses
Destructuring the Response
data StopStackResponse Source #
See: newStopStackResponse smart constructor.
Constructors
| StopStackResponse' | |
Instances
| Generic StopStackResponse Source # | |
Defined in Amazonka.OpsWorks.StopStack Associated Types type Rep StopStackResponse :: Type -> Type # Methods from :: StopStackResponse -> Rep StopStackResponse x # to :: Rep StopStackResponse x -> StopStackResponse # | |
| Read StopStackResponse Source # | |
Defined in Amazonka.OpsWorks.StopStack Methods readsPrec :: Int -> ReadS StopStackResponse # readList :: ReadS [StopStackResponse] # | |
| Show StopStackResponse Source # | |
Defined in Amazonka.OpsWorks.StopStack Methods showsPrec :: Int -> StopStackResponse -> ShowS # show :: StopStackResponse -> String # showList :: [StopStackResponse] -> ShowS # | |
| NFData StopStackResponse Source # | |
Defined in Amazonka.OpsWorks.StopStack Methods rnf :: StopStackResponse -> () # | |
| Eq StopStackResponse Source # | |
Defined in Amazonka.OpsWorks.StopStack Methods (==) :: StopStackResponse -> StopStackResponse -> Bool # (/=) :: StopStackResponse -> StopStackResponse -> Bool # | |
| type Rep StopStackResponse Source # | |
newStopStackResponse :: StopStackResponse Source #
Create a value of StopStackResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.