// 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.
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.
// 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 .
func (c *Client) PutConfigurationRecorder(ctx context.Context, params *PutConfigurationRecorderInput, optFns ...func(*Options)) (*PutConfigurationRecorderOutput, error) {
	if params == nil {
		params = &PutConfigurationRecorderInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutConfigurationRecorder", params, optFns, addOperationPutConfigurationRecorderMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutConfigurationRecorderOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutConfigurationRecorder ( ctx context . Context , params * PutConfigurationRecorderInput , optFns ... func ( * Options ) ) ( * PutConfigurationRecorderOutput , error ) { if params == nil { params = & PutConfigurationRecorderInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutConfigurationRecorderMiddlewares ) if err != nil { return nil , err } out := result . ( * PutConfigurationRecorderOutput ) out . ResultMetadata = metadata return out , nil }
Creates a new configuration recorder to record the selected resource
configurations.
Creates a new configuration recorder to record the selected resource configurations .