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 |
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_operationId :: Lens' ImportStacksToStackSet (Maybe Text)
- importStacksToStackSet_operationPreferences :: Lens' ImportStacksToStackSet (Maybe StackSetOperationPreferences)
- importStacksToStackSet_organizationalUnitIds :: Lens' ImportStacksToStackSet (Maybe [Text])
- importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet (Maybe [Text])
- importStacksToStackSet_stackIdsUrl :: Lens' ImportStacksToStackSet (Maybe Text)
- importStacksToStackSet_stackSetName :: 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
.
ImportStacksToStackSet
, importStacksToStackSet_operationId
- A unique, user defined, identifier for the stack set operation.
ImportStacksToStackSet
, importStacksToStackSet_operationPreferences
- Undocumented member.
ImportStacksToStackSet
, importStacksToStackSet_organizationalUnitIds
- The list of OU ID's to which the stacks being imported has to be mapped
as deployment target.
$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.
Specify either StackIds
or StackIdsUrl
.
$sel:stackIdsUrl:ImportStacksToStackSet'
, importStacksToStackSet_stackIdsUrl
- The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either StackIds
or StackIdsUrl
.
ImportStacksToStackSet
, importStacksToStackSet_stackSetName
- The name of the stack set. The name must be unique in the Region where
you create your stack set.
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_operationId :: Lens' ImportStacksToStackSet (Maybe Text) Source #
A unique, user defined, identifier for the stack set operation.
importStacksToStackSet_operationPreferences :: Lens' ImportStacksToStackSet (Maybe StackSetOperationPreferences) Source #
Undocumented member.
importStacksToStackSet_organizationalUnitIds :: Lens' ImportStacksToStackSet (Maybe [Text]) Source #
The list of OU ID's to which the stacks being imported has to be mapped as deployment target.
importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet (Maybe [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.
Specify either StackIds
or StackIdsUrl
.
importStacksToStackSet_stackIdsUrl :: Lens' ImportStacksToStackSet (Maybe Text) Source #
The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either StackIds
or StackIdsUrl
.
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.
Destructuring the Response
data ImportStacksToStackSetResponse Source #
See: newImportStacksToStackSetResponse
smart constructor.
ImportStacksToStackSetResponse' | |
|
Instances
Generic ImportStacksToStackSetResponse Source # | |
Read ImportStacksToStackSetResponse Source # | |
Show ImportStacksToStackSetResponse Source # | |
NFData ImportStacksToStackSetResponse Source # | |
Defined in Amazonka.CloudFormation.ImportStacksToStackSet rnf :: ImportStacksToStackSetResponse -> () # | |
Eq ImportStacksToStackSetResponse Source # | |
type Rep ImportStacksToStackSetResponse Source # | |
Defined in Amazonka.CloudFormation.ImportStacksToStackSet type Rep ImportStacksToStackSetResponse = D1 ('MetaData "ImportStacksToStackSetResponse" "Amazonka.CloudFormation.ImportStacksToStackSet" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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:
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.