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 |
Amazonka.Config.PutConfigurationRecorder
Description
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role roleARN
or the
recordingGroup
of an existing recorder. To change the role, call the
action on the existing configuration recorder and specify a role.
Currently, you can specify only one configuration recorder per region in your account.
If ConfigurationRecorder
does not have the recordingGroup
parameter specified, the default is to record all supported resource
types.
Synopsis
- data PutConfigurationRecorder = PutConfigurationRecorder' {}
- newPutConfigurationRecorder :: ConfigurationRecorder -> PutConfigurationRecorder
- putConfigurationRecorder_configurationRecorder :: Lens' PutConfigurationRecorder ConfigurationRecorder
- data PutConfigurationRecorderResponse = PutConfigurationRecorderResponse' {
- newPutConfigurationRecorderResponse :: PutConfigurationRecorderResponse
Creating a Request
data PutConfigurationRecorder Source #
The input for the PutConfigurationRecorder action.
See: newPutConfigurationRecorder
smart constructor.
Constructors
PutConfigurationRecorder' | |
Fields
|
Instances
newPutConfigurationRecorder Source #
Arguments
:: ConfigurationRecorder | |
-> PutConfigurationRecorder |
Create a value of PutConfigurationRecorder
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:configurationRecorder:PutConfigurationRecorder'
, putConfigurationRecorder_configurationRecorder
- The configuration recorder object that records each configuration change
made to the resources.
Request Lenses
putConfigurationRecorder_configurationRecorder :: Lens' PutConfigurationRecorder ConfigurationRecorder Source #
The configuration recorder object that records each configuration change made to the resources.
Destructuring the Response
data PutConfigurationRecorderResponse Source #
See: newPutConfigurationRecorderResponse
smart constructor.
Constructors
PutConfigurationRecorderResponse' | |
Instances
Eq PutConfigurationRecorderResponse Source # | |
Read PutConfigurationRecorderResponse Source # | |
Show PutConfigurationRecorderResponse Source # | |
Defined in Amazonka.Config.PutConfigurationRecorder Methods showsPrec :: Int -> PutConfigurationRecorderResponse -> ShowS # | |
Generic PutConfigurationRecorderResponse Source # | |
Defined in Amazonka.Config.PutConfigurationRecorder Associated Types type Rep PutConfigurationRecorderResponse :: Type -> Type # | |
NFData PutConfigurationRecorderResponse Source # | |
Defined in Amazonka.Config.PutConfigurationRecorder Methods rnf :: PutConfigurationRecorderResponse -> () # | |
type Rep PutConfigurationRecorderResponse Source # | |
Defined in Amazonka.Config.PutConfigurationRecorder |
newPutConfigurationRecorderResponse :: PutConfigurationRecorderResponse Source #
Create a value of PutConfigurationRecorderResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.