Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a new stack set in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import.
ImportStacksToStackSet
is only supported by self-managed permissions.
Synopsis
- data ImportStacksToStackSet = ImportStacksToStackSet' {}
- newImportStacksToStackSet :: Text -> ImportStacksToStackSet
- importStacksToStackSet_callAs :: Lens' ImportStacksToStackSet (Maybe CallAs)
- importStacksToStackSet_operationPreferences :: Lens' ImportStacksToStackSet (Maybe StackSetOperationPreferences)
- importStacksToStackSet_operationId :: Lens' ImportStacksToStackSet (Maybe Text)
- importStacksToStackSet_stackSetName :: Lens' ImportStacksToStackSet Text
- importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet [Text]
- data ImportStacksToStackSetResponse = ImportStacksToStackSetResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newImportStacksToStackSetResponse :: Int -> ImportStacksToStackSetResponse
- importStacksToStackSetResponse_operationId :: Lens' ImportStacksToStackSetResponse (Maybe Text)
- importStacksToStackSetResponse_httpStatus :: Lens' ImportStacksToStackSetResponse Int
Creating a Request
data ImportStacksToStackSet Source #
See: newImportStacksToStackSet
smart constructor.
ImportStacksToStackSet' | |
|
Instances
newImportStacksToStackSet Source #
Create a value of ImportStacksToStackSet
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:
$sel:callAs:ImportStacksToStackSet'
, importStacksToStackSet_callAs
- By default, SELF
is specified. Use SELF
for stack sets with
self-managed permissions.
- If you are signed in to the management account, specify
SELF
. - For service managed stack sets, specify
DELEGATED_ADMIN
.
$sel:operationPreferences:ImportStacksToStackSet'
, importStacksToStackSet_operationPreferences
- Undocumented member.
$sel:operationId:ImportStacksToStackSet'
, importStacksToStackSet_operationId
- A unique, user defined, identifier for the stack set operation.
$sel:stackSetName:ImportStacksToStackSet'
, importStacksToStackSet_stackSetName
- The name of the stack set. The name must be unique in the Region where
you create your stack set.
$sel:stackIds:ImportStacksToStackSet'
, importStacksToStackSet_stackIds
- The IDs of the stacks you are importing into a stack set. You import up
to 10 stacks per stack set at a time.
Request Lenses
importStacksToStackSet_callAs :: Lens' ImportStacksToStackSet (Maybe CallAs) Source #
By default, SELF
is specified. Use SELF
for stack sets with
self-managed permissions.
- If you are signed in to the management account, specify
SELF
. - For service managed stack sets, specify
DELEGATED_ADMIN
.
importStacksToStackSet_operationPreferences :: Lens' ImportStacksToStackSet (Maybe StackSetOperationPreferences) Source #
Undocumented member.
importStacksToStackSet_operationId :: Lens' ImportStacksToStackSet (Maybe Text) Source #
A unique, user defined, identifier for the stack set operation.
importStacksToStackSet_stackSetName :: Lens' ImportStacksToStackSet Text Source #
The name of the stack set. The name must be unique in the Region where you create your stack set.
importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet [Text] Source #
The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.
Destructuring the Response
data ImportStacksToStackSetResponse Source #
See: newImportStacksToStackSetResponse
smart constructor.
ImportStacksToStackSetResponse' | |
|
Instances
Eq ImportStacksToStackSetResponse Source # | |
Read ImportStacksToStackSetResponse Source # | |
Show ImportStacksToStackSetResponse Source # | |
Generic ImportStacksToStackSetResponse Source # | |
NFData ImportStacksToStackSetResponse Source # | |
Defined in Amazonka.CloudFormation.ImportStacksToStackSet rnf :: ImportStacksToStackSetResponse -> () # | |
type Rep ImportStacksToStackSetResponse Source # | |
Defined in Amazonka.CloudFormation.ImportStacksToStackSet type Rep ImportStacksToStackSetResponse = D1 ('MetaData "ImportStacksToStackSetResponse" "Amazonka.CloudFormation.ImportStacksToStackSet" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ImportStacksToStackSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newImportStacksToStackSetResponse Source #
Create a value of ImportStacksToStackSetResponse
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:
$sel:operationId:ImportStacksToStackSet'
, importStacksToStackSetResponse_operationId
- The unique identifier for the stack set operation.
$sel:httpStatus:ImportStacksToStackSetResponse'
, importStacksToStackSetResponse_httpStatus
- The response's http status code.
Response Lenses
importStacksToStackSetResponse_operationId :: Lens' ImportStacksToStackSetResponse (Maybe Text) Source #
The unique identifier for the stack set operation.
importStacksToStackSetResponse_httpStatus :: Lens' ImportStacksToStackSetResponse Int Source #
The response's http status code.